/* Options: Date: 2024-05-02 09:38:47 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetUserInfo.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route("/userinfo/{Id}") public static class GetUserInfo implements IReturn, IGet { public Integer id = null; public String userName = null; public Integer getId() { return id; } public GetUserInfo setId(Integer value) { this.id = value; return this; } public String getUserName() { return userName; } public GetUserInfo setUserName(String value) { this.userName = value; return this; } private static Object responseType = GetUserInfoResponse.class; public Object getResponseType() { return responseType; } } public static class GetUserInfoResponse { public Integer id = null; public String userName = null; public Date created = null; public String avatarUrl = null; public ArrayList techStacks = null; public ArrayList favoriteTechStacks = null; public ArrayList favoriteTechnologies = null; public UserActivity userActivity = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public GetUserInfoResponse setId(Integer value) { this.id = value; return this; } public String getUserName() { return userName; } public GetUserInfoResponse setUserName(String value) { this.userName = value; return this; } public Date getCreated() { return created; } public GetUserInfoResponse setCreated(Date value) { this.created = value; return this; } public String getAvatarUrl() { return avatarUrl; } public GetUserInfoResponse setAvatarUrl(String value) { this.avatarUrl = value; return this; } public ArrayList getTechStacks() { return techStacks; } public GetUserInfoResponse setTechStacks(ArrayList value) { this.techStacks = value; return this; } public ArrayList getFavoriteTechStacks() { return favoriteTechStacks; } public GetUserInfoResponse setFavoriteTechStacks(ArrayList value) { this.favoriteTechStacks = value; return this; } public ArrayList getFavoriteTechnologies() { return favoriteTechnologies; } public GetUserInfoResponse setFavoriteTechnologies(ArrayList value) { this.favoriteTechnologies = value; return this; } public UserActivity getUserActivity() { return userActivity; } public GetUserInfoResponse setUserActivity(UserActivity value) { this.userActivity = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetUserInfoResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class Technology extends TechnologyBase { public Long id = null; public String name = null; public String vendorName = null; public String vendorUrl = null; public String productUrl = null; public String logoUrl = null; public String description = null; public Date created = null; public String createdBy = null; public Date lastModified = null; public String lastModifiedBy = null; public String ownerId = null; public String slug = null; public Boolean logoApproved = null; public Boolean isLocked = null; public TechnologyTier tier = null; public Date lastStatusUpdate = null; public Integer organizationId = null; public Long commentsPostId = null; public Integer viewCount = null; public Integer favCount = null; public Long getId() { return id; } public Technology setId(Long value) { this.id = value; return this; } public String getName() { return name; } public Technology setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public Technology setVendorName(String value) { this.vendorName = value; return this; } public String getVendorUrl() { return vendorUrl; } public Technology setVendorUrl(String value) { this.vendorUrl = value; return this; } public String getProductUrl() { return productUrl; } public Technology setProductUrl(String value) { this.productUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public Technology setLogoUrl(String value) { this.logoUrl = value; return this; } public String getDescription() { return description; } public Technology setDescription(String value) { this.description = value; return this; } public Date getCreated() { return created; } public Technology setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public Technology setCreatedBy(String value) { this.createdBy = value; return this; } public Date getLastModified() { return lastModified; } public Technology setLastModified(Date value) { this.lastModified = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public Technology setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } public String getOwnerId() { return ownerId; } public Technology setOwnerId(String value) { this.ownerId = value; return this; } public String getSlug() { return slug; } public Technology setSlug(String value) { this.slug = value; return this; } public Boolean isLogoApproved() { return logoApproved; } public Technology setLogoApproved(Boolean value) { this.logoApproved = value; return this; } public Boolean getIsLocked() { return isLocked; } public Technology setIsLocked(Boolean value) { this.isLocked = value; return this; } public TechnologyTier getTier() { return tier; } public Technology setTier(TechnologyTier value) { this.tier = value; return this; } public Date getLastStatusUpdate() { return lastStatusUpdate; } public Technology setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; } public Integer getOrganizationId() { return organizationId; } public Technology setOrganizationId(Integer value) { this.organizationId = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public Technology setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public Integer getViewCount() { return viewCount; } public Technology setViewCount(Integer value) { this.viewCount = value; return this; } public Integer getFavCount() { return favCount; } public Technology setFavCount(Integer value) { this.favCount = value; return this; } } public static enum TechnologyTier { ProgrammingLanguage, Client, Http, Server, Data, SoftwareInfrastructure, OperatingSystem, HardwareInfrastructure, ThirdPartyServices; } public static class TechnologyStack extends TechnologyStackBase { public Long id = null; public String name = null; public String vendorName = null; public String description = null; public String appUrl = null; public String screenshotUrl = null; public Date created = null; public String createdBy = null; public Date lastModified = null; public String lastModifiedBy = null; public Boolean isLocked = null; public String ownerId = null; public String slug = null; @StringLength(2147483647) public String details = null; @StringLength(2147483647) public String detailsHtml = null; public Date lastStatusUpdate = null; public Integer organizationId = null; public Long commentsPostId = null; public Integer viewCount = null; public Integer favCount = null; public Long getId() { return id; } public TechnologyStack setId(Long value) { this.id = value; return this; } public String getName() { return name; } public TechnologyStack setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public TechnologyStack setVendorName(String value) { this.vendorName = value; return this; } public String getDescription() { return description; } public TechnologyStack setDescription(String value) { this.description = value; return this; } public String getAppUrl() { return appUrl; } public TechnologyStack setAppUrl(String value) { this.appUrl = value; return this; } public String getScreenshotUrl() { return screenshotUrl; } public TechnologyStack setScreenshotUrl(String value) { this.screenshotUrl = value; return this; } public Date getCreated() { return created; } public TechnologyStack setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public TechnologyStack setCreatedBy(String value) { this.createdBy = value; return this; } public Date getLastModified() { return lastModified; } public TechnologyStack setLastModified(Date value) { this.lastModified = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public TechnologyStack setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } public Boolean getIsLocked() { return isLocked; } public TechnologyStack setIsLocked(Boolean value) { this.isLocked = value; return this; } public String getOwnerId() { return ownerId; } public TechnologyStack setOwnerId(String value) { this.ownerId = value; return this; } public String getSlug() { return slug; } public TechnologyStack setSlug(String value) { this.slug = value; return this; } public String getDetails() { return details; } public TechnologyStack setDetails(String value) { this.details = value; return this; } public String getDetailsHtml() { return detailsHtml; } public TechnologyStack setDetailsHtml(String value) { this.detailsHtml = value; return this; } public Date getLastStatusUpdate() { return lastStatusUpdate; } public TechnologyStack setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; } public Integer getOrganizationId() { return organizationId; } public TechnologyStack setOrganizationId(Integer value) { this.organizationId = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public TechnologyStack setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public Integer getViewCount() { return viewCount; } public TechnologyStack setViewCount(Integer value) { this.viewCount = value; return this; } public Integer getFavCount() { return favCount; } public TechnologyStack setFavCount(Integer value) { this.favCount = value; return this; } } public static class UserActivity { public Integer id = null; public String userName = null; public Integer karma = null; public Integer technologyCount = null; public Integer techStacksCount = null; public Integer postsCount = null; public Integer postUpVotes = null; public Integer postDownVotes = null; public Integer commentUpVotes = null; public Integer commentDownVotes = null; public Integer postCommentsCount = null; public Integer pinnedCommentCount = null; public Integer postReportCount = null; public Integer postCommentReportCount = null; public Date created = null; public Date modified = null; public Integer getId() { return id; } public UserActivity setId(Integer value) { this.id = value; return this; } public String getUserName() { return userName; } public UserActivity setUserName(String value) { this.userName = value; return this; } public Integer getKarma() { return karma; } public UserActivity setKarma(Integer value) { this.karma = value; return this; } public Integer getTechnologyCount() { return technologyCount; } public UserActivity setTechnologyCount(Integer value) { this.technologyCount = value; return this; } public Integer getTechStacksCount() { return techStacksCount; } public UserActivity setTechStacksCount(Integer value) { this.techStacksCount = value; return this; } public Integer getPostsCount() { return postsCount; } public UserActivity setPostsCount(Integer value) { this.postsCount = value; return this; } public Integer getPostUpVotes() { return postUpVotes; } public UserActivity setPostUpVotes(Integer value) { this.postUpVotes = value; return this; } public Integer getPostDownVotes() { return postDownVotes; } public UserActivity setPostDownVotes(Integer value) { this.postDownVotes = value; return this; } public Integer getCommentUpVotes() { return commentUpVotes; } public UserActivity setCommentUpVotes(Integer value) { this.commentUpVotes = value; return this; } public Integer getCommentDownVotes() { return commentDownVotes; } public UserActivity setCommentDownVotes(Integer value) { this.commentDownVotes = value; return this; } public Integer getPostCommentsCount() { return postCommentsCount; } public UserActivity setPostCommentsCount(Integer value) { this.postCommentsCount = value; return this; } public Integer getPinnedCommentCount() { return pinnedCommentCount; } public UserActivity setPinnedCommentCount(Integer value) { this.pinnedCommentCount = value; return this; } public Integer getPostReportCount() { return postReportCount; } public UserActivity setPostReportCount(Integer value) { this.postReportCount = value; return this; } public Integer getPostCommentReportCount() { return postCommentReportCount; } public UserActivity setPostCommentReportCount(Integer value) { this.postCommentReportCount = value; return this; } public Date getCreated() { return created; } public UserActivity setCreated(Date value) { this.created = value; return this; } public Date getModified() { return modified; } public UserActivity setModified(Date value) { this.modified = value; return this; } } public static class TechnologyBase { public Long id = null; public String name = null; public String vendorName = null; public String vendorUrl = null; public String productUrl = null; public String logoUrl = null; public String description = null; public Date created = null; public String createdBy = null; public Date lastModified = null; public String lastModifiedBy = null; public String ownerId = null; public String slug = null; public Boolean logoApproved = null; public Boolean isLocked = null; public TechnologyTier tier = null; public Date lastStatusUpdate = null; public Integer organizationId = null; public Long commentsPostId = null; public Integer viewCount = null; public Integer favCount = null; public Long getId() { return id; } public TechnologyBase setId(Long value) { this.id = value; return this; } public String getName() { return name; } public TechnologyBase setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public TechnologyBase setVendorName(String value) { this.vendorName = value; return this; } public String getVendorUrl() { return vendorUrl; } public TechnologyBase setVendorUrl(String value) { this.vendorUrl = value; return this; } public String getProductUrl() { return productUrl; } public TechnologyBase setProductUrl(String value) { this.productUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public TechnologyBase setLogoUrl(String value) { this.logoUrl = value; return this; } public String getDescription() { return description; } public TechnologyBase setDescription(String value) { this.description = value; return this; } public Date getCreated() { return created; } public TechnologyBase setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public TechnologyBase setCreatedBy(String value) { this.createdBy = value; return this; } public Date getLastModified() { return lastModified; } public TechnologyBase setLastModified(Date value) { this.lastModified = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public TechnologyBase setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } public String getOwnerId() { return ownerId; } public TechnologyBase setOwnerId(String value) { this.ownerId = value; return this; } public String getSlug() { return slug; } public TechnologyBase setSlug(String value) { this.slug = value; return this; } public Boolean isLogoApproved() { return logoApproved; } public TechnologyBase setLogoApproved(Boolean value) { this.logoApproved = value; return this; } public Boolean getIsLocked() { return isLocked; } public TechnologyBase setIsLocked(Boolean value) { this.isLocked = value; return this; } public TechnologyTier getTier() { return tier; } public TechnologyBase setTier(TechnologyTier value) { this.tier = value; return this; } public Date getLastStatusUpdate() { return lastStatusUpdate; } public TechnologyBase setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; } public Integer getOrganizationId() { return organizationId; } public TechnologyBase setOrganizationId(Integer value) { this.organizationId = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public TechnologyBase setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public Integer getViewCount() { return viewCount; } public TechnologyBase setViewCount(Integer value) { this.viewCount = value; return this; } public Integer getFavCount() { return favCount; } public TechnologyBase setFavCount(Integer value) { this.favCount = value; return this; } } public static class TechnologyStackBase { public Long id = null; public String name = null; public String vendorName = null; public String description = null; public String appUrl = null; public String screenshotUrl = null; public Date created = null; public String createdBy = null; public Date lastModified = null; public String lastModifiedBy = null; public Boolean isLocked = null; public String ownerId = null; public String slug = null; @StringLength(2147483647) public String details = null; @StringLength(2147483647) public String detailsHtml = null; public Date lastStatusUpdate = null; public Integer organizationId = null; public Long commentsPostId = null; public Integer viewCount = null; public Integer favCount = null; public Long getId() { return id; } public TechnologyStackBase setId(Long value) { this.id = value; return this; } public String getName() { return name; } public TechnologyStackBase setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public TechnologyStackBase setVendorName(String value) { this.vendorName = value; return this; } public String getDescription() { return description; } public TechnologyStackBase setDescription(String value) { this.description = value; return this; } public String getAppUrl() { return appUrl; } public TechnologyStackBase setAppUrl(String value) { this.appUrl = value; return this; } public String getScreenshotUrl() { return screenshotUrl; } public TechnologyStackBase setScreenshotUrl(String value) { this.screenshotUrl = value; return this; } public Date getCreated() { return created; } public TechnologyStackBase setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public TechnologyStackBase setCreatedBy(String value) { this.createdBy = value; return this; } public Date getLastModified() { return lastModified; } public TechnologyStackBase setLastModified(Date value) { this.lastModified = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public TechnologyStackBase setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } public Boolean getIsLocked() { return isLocked; } public TechnologyStackBase setIsLocked(Boolean value) { this.isLocked = value; return this; } public String getOwnerId() { return ownerId; } public TechnologyStackBase setOwnerId(String value) { this.ownerId = value; return this; } public String getSlug() { return slug; } public TechnologyStackBase setSlug(String value) { this.slug = value; return this; } public String getDetails() { return details; } public TechnologyStackBase setDetails(String value) { this.details = value; return this; } public String getDetailsHtml() { return detailsHtml; } public TechnologyStackBase setDetailsHtml(String value) { this.detailsHtml = value; return this; } public Date getLastStatusUpdate() { return lastStatusUpdate; } public TechnologyStackBase setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; } public Integer getOrganizationId() { return organizationId; } public TechnologyStackBase setOrganizationId(Integer value) { this.organizationId = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public TechnologyStackBase setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public Integer getViewCount() { return viewCount; } public TechnologyStackBase setViewCount(Integer value) { this.viewCount = value; return this; } public Integer getFavCount() { return favCount; } public TechnologyStackBase setFavCount(Integer value) { this.favCount = value; return this; } } }