/* Options: Date: 2024-11-08 10:37:15 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://appcenter-mibc13.tclclouds.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AssignRoles.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/assignroles", Verbs="POST") @DataContract open class AssignRoles : IReturn, IPost { @DataMember(Order=1) var UserName:String? = null @DataMember(Order=2) var Permissions:ArrayList = ArrayList() @DataMember(Order=3) var Roles:ArrayList = ArrayList() @DataMember(Order=4) var Meta:HashMap = HashMap() companion object { private val responseType = AssignRolesResponse::class.java } override fun getResponseType(): Any? = AssignRoles.responseType } @DataContract open class AssignRolesResponse { @DataMember(Order=1) var AllRoles:ArrayList = ArrayList() @DataMember(Order=2) var AllPermissions:ArrayList = ArrayList() @DataMember(Order=3) var Meta:HashMap = HashMap() @DataMember(Order=4) var ResponseStatus:ResponseStatus? = null }