/* Options: Date: 2024-12-22 12:54:33 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: QueryPostComments.* //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="/posts/comment", Verbs="GET") public static class QueryPostComments extends QueryDb implements IReturn> { public Long id = null; public Long userId = null; public Long postId = null; public String contentContains = null; public Long upVotesAbove = null; public Long upVotesBelow = null; public Long downVotesAbove = null; public Long downVotes = null; public Long favoritesAbove = null; public Long favoritesBelow = null; public Integer wordCountAbove = null; public Integer wordCountBelow = null; public Integer reportCountAbove = null; public Integer reportCountBelow = null; public Long getId() { return id; } public QueryPostComments setId(Long value) { this.id = value; return this; } public Long getUserId() { return userId; } public QueryPostComments setUserId(Long value) { this.userId = value; return this; } public Long getPostId() { return postId; } public QueryPostComments setPostId(Long value) { this.postId = value; return this; } public String getContentContains() { return contentContains; } public QueryPostComments setContentContains(String value) { this.contentContains = value; return this; } public Long getUpVotesAbove() { return upVotesAbove; } public QueryPostComments setUpVotesAbove(Long value) { this.upVotesAbove = value; return this; } public Long getUpVotesBelow() { return upVotesBelow; } public QueryPostComments setUpVotesBelow(Long value) { this.upVotesBelow = value; return this; } public Long getDownVotesAbove() { return downVotesAbove; } public QueryPostComments setDownVotesAbove(Long value) { this.downVotesAbove = value; return this; } public Long getDownVotes() { return downVotes; } public QueryPostComments setDownVotes(Long value) { this.downVotes = value; return this; } public Long getFavoritesAbove() { return favoritesAbove; } public QueryPostComments setFavoritesAbove(Long value) { this.favoritesAbove = value; return this; } public Long getFavoritesBelow() { return favoritesBelow; } public QueryPostComments setFavoritesBelow(Long value) { this.favoritesBelow = value; return this; } public Integer getWordCountAbove() { return wordCountAbove; } public QueryPostComments setWordCountAbove(Integer value) { this.wordCountAbove = value; return this; } public Integer getWordCountBelow() { return wordCountBelow; } public QueryPostComments setWordCountBelow(Integer value) { this.wordCountBelow = value; return this; } public Integer getReportCountAbove() { return reportCountAbove; } public QueryPostComments setReportCountAbove(Integer value) { this.reportCountAbove = value; return this; } public Integer getReportCountBelow() { return reportCountBelow; } public QueryPostComments setReportCountBelow(Integer value) { this.reportCountBelow = 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 PostComment { public Long id = null; public Long postId = null; public Integer userId = null; public Long replyId = null; @StringLength(MaximumLength=2147483647) public String content = null; @StringLength(MaximumLength=2147483647) public String contentHtml = null; public Integer score = null; public Integer rank = null; public Long upVotes = null; public Long downVotes = null; public Long favorites = null; public Integer wordCount = null; public Integer reportCount = null; public Date deleted = null; public Date hidden = null; public Date modified = null; public Date created = null; public String createdBy = null; public Long refId = null; public String refSource = null; public String refUrn = null; public Long getId() { return id; } public PostComment setId(Long value) { this.id = value; return this; } public Long getPostId() { return postId; } public PostComment setPostId(Long value) { this.postId = value; return this; } public Integer getUserId() { return userId; } public PostComment setUserId(Integer value) { this.userId = value; return this; } public Long getReplyId() { return replyId; } public PostComment setReplyId(Long value) { this.replyId = value; return this; } public String getContent() { return content; } public PostComment setContent(String value) { this.content = value; return this; } public String getContentHtml() { return contentHtml; } public PostComment setContentHtml(String value) { this.contentHtml = value; return this; } public Integer getScore() { return score; } public PostComment setScore(Integer value) { this.score = value; return this; } public Integer getRank() { return rank; } public PostComment setRank(Integer value) { this.rank = value; return this; } public Long getUpVotes() { return upVotes; } public PostComment setUpVotes(Long value) { this.upVotes = value; return this; } public Long getDownVotes() { return downVotes; } public PostComment setDownVotes(Long value) { this.downVotes = value; return this; } public Long getFavorites() { return favorites; } public PostComment setFavorites(Long value) { this.favorites = value; return this; } public Integer getWordCount() { return wordCount; } public PostComment setWordCount(Integer value) { this.wordCount = value; return this; } public Integer getReportCount() { return reportCount; } public PostComment setReportCount(Integer value) { this.reportCount = value; return this; } public Date getDeleted() { return deleted; } public PostComment setDeleted(Date value) { this.deleted = value; return this; } public Date getHidden() { return hidden; } public PostComment setHidden(Date value) { this.hidden = value; return this; } public Date getModified() { return modified; } public PostComment setModified(Date value) { this.modified = value; return this; } public Date getCreated() { return created; } public PostComment setCreated(Date value) { this.created = value; return this; } public String getCreatedBy() { return createdBy; } public PostComment setCreatedBy(String value) { this.createdBy = value; return this; } public Long getRefId() { return refId; } public PostComment setRefId(Long value) { this.refId = value; return this; } public String getRefSource() { return refSource; } public PostComment setRefSource(String value) { this.refSource = value; return this; } public String getRefUrn() { return refUrn; } public PostComment setRefUrn(String value) { this.refUrn = 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; } } }