/* Options: Date: 2024-12-22 12:26:46 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryPostComments.* //ExcludeTypes: //InitializeCollections: False //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.* @Route(Path="/posts/comment", Verbs="GET") open class QueryPostComments : QueryDb(), IReturn> { open var id:Long? = null open var userId:Long? = null open var postId:Long? = null open var contentContains:String? = null open var upVotesAbove:Long? = null open var upVotesBelow:Long? = null open var downVotesAbove:Long? = null open var downVotes:Long? = null open var favoritesAbove:Long? = null open var favoritesBelow:Long? = null open var wordCountAbove:Int? = null open var wordCountBelow:Int? = null open var reportCountAbove:Int? = null open var reportCountBelow:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = QueryPostComments.responseType } @DataContract open class QueryResponse { @DataMember(Order=1) open var offset:Int? = null @DataMember(Order=2) open var total:Int? = null @DataMember(Order=3) open var results:ArrayList? = null @DataMember(Order=4) open var meta:HashMap? = null @DataMember(Order=5) open var responseStatus:ResponseStatus? = null } open class QueryDb : QueryBase() { } open class PostComment { open var id:Long? = null open var postId:Long? = null open var userId:Int? = null open var replyId:Long? = null @StringLength(MaximumLength=2147483647) open var content:String? = null @StringLength(MaximumLength=2147483647) open var contentHtml:String? = null open var score:Int? = null open var rank:Int? = null open var upVotes:Long? = null open var downVotes:Long? = null open var favorites:Long? = null open var wordCount:Int? = null open var reportCount:Int? = null open var deleted:Date? = null open var hidden:Date? = null open var modified:Date? = null open var created:Date? = null open var createdBy:String? = null open var refId:Long? = null open var refSource:String? = null open var refUrn:String? = null } @DataContract open class QueryBase { @DataMember(Order=1) open var skip:Int? = null @DataMember(Order=2) open var take:Int? = null @DataMember(Order=3) open var orderBy:String? = null @DataMember(Order=4) open var orderByDesc:String? = null @DataMember(Order=5) open var include:String? = null @DataMember(Order=6) open var fields:String? = null @DataMember(Order=7) open var meta:HashMap? = null }