/* Options: Date: 2024-04-27 23:49:08 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: LogoUrlApproval.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route("/admin/technology/{TechnologyId}/logo") public static class LogoUrlApproval implements IReturn, IPut { public Long technologyId = null; public Boolean approved = null; public Long getTechnologyId() { return technologyId; } public LogoUrlApproval setTechnologyId(Long value) { this.technologyId = value; return this; } public Boolean isApproved() { return approved; } public LogoUrlApproval setApproved(Boolean value) { this.approved = value; return this; } private static Object responseType = LogoUrlApprovalResponse.class; public Object getResponseType() { return responseType; } } public static class LogoUrlApprovalResponse { public Technology result = null; public Technology getResult() { return result; } public LogoUrlApprovalResponse setResult(Technology value) { this.result = 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 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; } } }