/* Options: Date: 2024-12-22 11:31:37 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: CreatePost.* //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", Verbs="POST") open class CreatePost : IReturn, IPost { open var organizationId:Int? = null @SerializedName("type") open var Type:PostType? = null open var categoryId:Int? = null open var title:String? = null open var url:String? = null open var imageUrl:String? = null open var content:String? = null open var lock:Boolean? = null open var technologyIds:ArrayList? = null open var labels:ArrayList? = null open var fromDate:Date? = null open var toDate:Date? = null open var metaType:String? = null open var meta:String? = null open var refId:Long? = null open var refSource:String? = null open var refUrn:String? = null companion object { private val responseType = CreatePostResponse::class.java } override fun getResponseType(): Any? = CreatePost.responseType } open class CreatePostResponse { open var id:Long? = null open var slug:String? = null open var responseStatus:ResponseStatus? = null } enum class PostType { Announcement, Post, Showcase, Question, Request, }