/* Options: Date: 2024-12-03 09:49:25 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.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("/assignroles") @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 }