/* Options: Date: 2024-12-15 19:56:37 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AssignRolesRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/users/{Id}/roles/assign", Verbs="POST") open class AssignRolesRequest : PostOperationUnTenanted(), IReturn { var id:String? = null var roles:ArrayList = ArrayList() companion object { private val responseType = AssignRolesResponse::class.java } override fun getResponseType(): Any? = AssignRolesRequest.responseType } open class AssignRolesResponse { var responseStatus:ResponseStatus? = null var userAccount:UserAccount? = null } open class PostOperationUnTenanted : IPost { } open class UserAccount : IIdentifiableResource { var name:UserAccountName? = null var displayName:String? = null var email:String? = null var roles:ArrayList = ArrayList() var status:AccountStatus? = null var defaultOrganisationId:String? = null var id:String? = null } open interface IIdentifiableResource { var id:String? } open class UserAccountName { var firstName:String? = null var lastName:String? = null } enum class AccountStatus { Shadowed, Registered, }