/* Options:
Date: 2025-01-01 16:02:02
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: UserPostReport.*
//ExcludeTypes: 
//InitializeCollections: False
//TreatTypesAsStrings: 
//DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*
*/

import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*


@Route(Path="/posts/{Id}/report", Verbs="PUT")
open class UserPostReport : IReturn<UserPostReportResponse>, IPut
{
    open var id:Long? = null
    open var flagType:FlagType? = null
    open var reportNotes:String? = null
    companion object { private val responseType = UserPostReportResponse::class.java }
    override fun getResponseType(): Any? = UserPostReport.responseType
}

open class UserPostReportResponse
{
    open var responseStatus:ResponseStatus? = null
}

enum class FlagType
{
    Violation,
    Spam,
    Abusive,
    Confidential,
    OffTopic,
    Other,
}