/* Options: Date: 2024-12-22 12:31:09 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: GetOrganizationAdmin.* //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="/orgs/{Id}/admin", Verbs="GET") open class GetOrganizationAdmin : IReturn, IGet { open var id:Int? = null companion object { private val responseType = GetOrganizationAdminResponse::class.java } override fun getResponseType(): Any? = GetOrganizationAdmin.responseType } open class GetOrganizationAdminResponse { open var labels:ArrayList? = null open var members:ArrayList? = null open var memberInvites:ArrayList? = null open var reportedPosts:ArrayList? = null open var reportedPostComments:ArrayList? = null open var responseStatus:ResponseStatus? = null } enum class FlagType { Violation, Spam, Abusive, Confidential, OffTopic, Other, } open class OrganizationLabel { open var slug:String? = null open var organizationId:Int? = null open var description:String? = null open var color:String? = null } open class OrganizationMember { open var id:Int? = null open var organizationId:Int? = null open var userId:Int? = null open var userName:String? = null open var isOwner:Boolean? = null open var isModerator:Boolean? = null open var denyAll:Boolean? = null open var denyPosts:Boolean? = null open var denyComments:Boolean? = null open var notes:String? = null } open class OrganizationMemberInvite { open var id:Int? = null open var organizationId:Int? = null open var userId:Int? = null open var userName:String? = null open var dismissed:Date? = null } open class PostReportInfo { open var id:Long? = null open var organizationId:Int? = null open var postId:Long? = null open var userId:Int? = null open var userName:String? = null open var flagType:FlagType? = null open var reportNotes:String? = null open var created:Date? = null open var acknowledged:Date? = null open var acknowledgedBy:String? = null open var dismissed:Date? = null open var dismissedBy:String? = null open var title:String? = null open var reportCount:Int? = null open var createdBy:String? = null } open class PostCommentReportInfo { open var id:Long? = null open var organizationId:Int? = null open var postId:Long? = null open var postCommentId:Long? = null open var userId:Int? = null open var userName:String? = null open var flagType:FlagType? = null open var reportNotes:String? = null open var created:Date? = null open var acknowledged:Date? = null open var acknowledgedBy:String? = null open var dismissed:Date? = null open var dismissedBy:String? = null open var contentHtml:String? = null open var reportCount:Int? = null open var createdBy:String? = null }