/* Options: Date: 2024-12-22 13:54:23 Version: 8.51 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: QueryTechnology.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/technology/query") public static class QueryTechnology extends QueryDb implements IReturn> { public ArrayList ids = null; public String name = null; public String vendorName = null; public String nameContains = null; public String vendorNameContains = null; public String descriptionContains = null; public ArrayList getIds() { return ids; } public QueryTechnology setIds(ArrayList value) { this.ids = value; return this; } public String getName() { return name; } public QueryTechnology setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public QueryTechnology setVendorName(String value) { this.vendorName = value; return this; } public String getNameContains() { return nameContains; } public QueryTechnology setNameContains(String value) { this.nameContains = value; return this; } public String getVendorNameContains() { return vendorNameContains; } public QueryTechnology setVendorNameContains(String value) { this.vendorNameContains = value; return this; } public String getDescriptionContains() { return descriptionContains; } public QueryTechnology setDescriptionContains(String value) { this.descriptionContains = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer offset = null; @DataMember(Order=2) public Integer total = null; @DataMember(Order=3) public ArrayList results = null; @DataMember(Order=4) public HashMap meta = null; @DataMember(Order=5) public ResponseStatus responseStatus = null; public Integer getOffset() { return offset; } public QueryResponse setOffset(Integer value) { this.offset = value; return this; } public Integer getTotal() { return total; } public QueryResponse setTotal(Integer value) { this.total = value; return this; } public ArrayList getResults() { return results; } public QueryResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public QueryResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class QueryDb extends QueryBase { } public static class Technology extends TechnologyBase { } public static class TechnologyView { 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 TechnologyView setId(Long value) { this.id = value; return this; } public String getName() { return name; } public TechnologyView setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public TechnologyView setVendorName(String value) { this.vendorName = value; return this; } public String getVendorUrl() { return vendorUrl; } public TechnologyView setVendorUrl(String value) { this.vendorUrl = value; return this; } public String getProductUrl() { return productUrl; } public TechnologyView setProductUrl(String value) { this.productUrl = value; return this; } public String getLogoUrl() { return logoUrl; } public TechnologyView setLogoUrl(String value) { this.logoUrl = value; return this; } public String getDescription() { return description; } public TechnologyView setDescription(String value) { this.description = value; return this; } public Date getCreated() { return created; } public TechnologyView setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public TechnologyView setCreatedBy(String value) { this.createdBy = value; return this; } public Date getLastModified() { return lastModified; } public TechnologyView setLastModified(Date value) { this.lastModified = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public TechnologyView setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } public String getOwnerId() { return ownerId; } public TechnologyView setOwnerId(String value) { this.ownerId = value; return this; } public String getSlug() { return slug; } public TechnologyView setSlug(String value) { this.slug = value; return this; } public Boolean isLogoApproved() { return logoApproved; } public TechnologyView setLogoApproved(Boolean value) { this.logoApproved = value; return this; } public Boolean getIsLocked() { return isLocked; } public TechnologyView setIsLocked(Boolean value) { this.isLocked = value; return this; } public TechnologyTier getTier() { return tier; } public TechnologyView setTier(TechnologyTier value) { this.tier = value; return this; } public Date getLastStatusUpdate() { return lastStatusUpdate; } public TechnologyView setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; } public Integer getOrganizationId() { return organizationId; } public TechnologyView setOrganizationId(Integer value) { this.organizationId = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public TechnologyView setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public Integer getViewCount() { return viewCount; } public TechnologyView setViewCount(Integer value) { this.viewCount = value; return this; } public Integer getFavCount() { return favCount; } public TechnologyView setFavCount(Integer value) { this.favCount = value; return this; } } public static enum TechnologyTier { ProgrammingLanguage, Client, Http, Server, Data, SoftwareInfrastructure, OperatingSystem, HardwareInfrastructure, ThirdPartyServices; } @DataContract public static class QueryBase { @DataMember(Order=1) public Integer skip = null; @DataMember(Order=2) public Integer take = null; @DataMember(Order=3) public String orderBy = null; @DataMember(Order=4) public String orderByDesc = null; @DataMember(Order=5) public String include = null; @DataMember(Order=6) public String fields = null; @DataMember(Order=7) public HashMap meta = null; public Integer getSkip() { return skip; } public QueryBase setSkip(Integer value) { this.skip = value; return this; } public Integer getTake() { return take; } public QueryBase setTake(Integer value) { this.take = value; return this; } public String getOrderBy() { return orderBy; } public QueryBase setOrderBy(String value) { this.orderBy = value; return this; } public String getOrderByDesc() { return orderByDesc; } public QueryBase setOrderByDesc(String value) { this.orderByDesc = value; return this; } public String getInclude() { return include; } public QueryBase setInclude(String value) { this.include = value; return this; } public String getFields() { return fields; } public QueryBase setFields(String value) { this.fields = value; return this; } public HashMap getMeta() { return meta; } public QueryBase setMeta(HashMap value) { this.meta = 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; } } }