/* Options: Date: 2024-11-16 19:05:12 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://54.235.149.200 //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 }