/* Options: Date: 2024-12-22 12:27:18 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: UpdatePost.* //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/{Id}", Verbs="PUT") open class UpdatePost : IReturn, IPut { open var id:Long? = null 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 companion object { private val responseType = UpdatePostResponse::class.java } override fun getResponseType(): Any? = UpdatePost.responseType } open class UpdatePostResponse { open var responseStatus:ResponseStatus? = null } enum class PostType { Announcement, Post, Showcase, Question, Request, }