/* Options: Date: 2024-12-22 12:41:25 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: QueryTechStacks.* //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="/techstacks/query") public static class QueryTechStacks 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 QueryTechStacks setIds(ArrayList value) { this.ids = value; return this; } public String getName() { return name; } public QueryTechStacks setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public QueryTechStacks setVendorName(String value) { this.vendorName = value; return this; } public String getNameContains() { return nameContains; } public QueryTechStacks setNameContains(String value) { this.nameContains = value; return this; } public String getVendorNameContains() { return vendorNameContains; } public QueryTechStacks setVendorNameContains(String value) { this.vendorNameContains = value; return this; } public String getDescriptionContains() { return descriptionContains; } public QueryTechStacks 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 TechnologyStack extends TechnologyStackBase { } public static class TechnologyStackView { 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; public String details = null; 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 TechnologyStackView setId(Long value) { this.id = value; return this; } public String getName() { return name; } public TechnologyStackView setName(String value) { this.name = value; return this; } public String getVendorName() { return vendorName; } public TechnologyStackView setVendorName(String value) { this.vendorName = value; return this; } public String getDescription() { return description; } public TechnologyStackView setDescription(String value) { this.description = value; return this; } public String getAppUrl() { return appUrl; } public TechnologyStackView setAppUrl(String value) { this.appUrl = value; return this; } public String getScreenshotUrl() { return screenshotUrl; } public TechnologyStackView setScreenshotUrl(String value) { this.screenshotUrl = value; return this; } public Date getCreated() { return created; } public TechnologyStackView setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public TechnologyStackView setCreatedBy(String value) { this.createdBy = value; return this; } public Date getLastModified() { return lastModified; } public TechnologyStackView setLastModified(Date value) { this.lastModified = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public TechnologyStackView setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } public Boolean getIsLocked() { return isLocked; } public TechnologyStackView setIsLocked(Boolean value) { this.isLocked = value; return this; } public String getOwnerId() { return ownerId; } public TechnologyStackView setOwnerId(String value) { this.ownerId = value; return this; } public String getSlug() { return slug; } public TechnologyStackView setSlug(String value) { this.slug = value; return this; } public String getDetails() { return details; } public TechnologyStackView setDetails(String value) { this.details = value; return this; } public String getDetailsHtml() { return detailsHtml; } public TechnologyStackView setDetailsHtml(String value) { this.detailsHtml = value; return this; } public Date getLastStatusUpdate() { return lastStatusUpdate; } public TechnologyStackView setLastStatusUpdate(Date value) { this.lastStatusUpdate = value; return this; } public Integer getOrganizationId() { return organizationId; } public TechnologyStackView setOrganizationId(Integer value) { this.organizationId = value; return this; } public Long getCommentsPostId() { return commentsPostId; } public TechnologyStackView setCommentsPostId(Long value) { this.commentsPostId = value; return this; } public Integer getViewCount() { return viewCount; } public TechnologyStackView setViewCount(Integer value) { this.viewCount = value; return this; } public Integer getFavCount() { return favCount; } public TechnologyStackView setFavCount(Integer value) { this.favCount = value; return this; } } @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 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(MaximumLength=2147483647) public String details = null; @StringLength(MaximumLength=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; } } }