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