/* Options: Date: 2024-12-01 03:58:29 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AuthorizeUser.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/authorizeuser/{Service}/{Profile}", Verbs="GET,POST") open class AuthorizeUser : IReturn, IAuthorizeUser { @ApiMember(IsRequired=true) var bearerToken:String? = null @ApiMember(IsRequired=true, ParameterType="path") var profile:String? = null @ApiMember(IsRequired=true, ParameterType="path") var service:String? = null @ApiMember(Name="X-WAAPI-CONTEXT", ParameterType="header") var customerContext:String? = null companion object { private val responseType = AuthorizeUserResponse::class.java } override fun getResponseType(): Any? = AuthorizeUser.responseType } open class AuthorizeUserResponse : AuthorizeBaseResponse(), IAuthorizeUserResponse { var userObjectId:UUID? = null var userTenant:String? = null var userTenantId:String? = null } open interface IAuthorizeUser { var bearerToken:String? var profile:String? var service:String? } open class Setting { var name:String? = null var stringValue:String? = null var booleanValue:Boolean? = null var dataType:String? = null } open class AuthorizeBaseResponse { var isAuthorized:Boolean? = null var settings:ArrayList = ArrayList() var suggestedStatusCode:Int? = null var suggestedResponseMessage:String? = null var reason:String? = null var customerId:UUID? = null } open interface IAuthorizeUserResponse : IAuthorizeBaseResponse { var userObjectId:UUID? var userTenant:String? var userTenantId:String? } open interface IAuthorizeBaseResponse { var isAuthorized:Boolean? var suggestedStatusCode:Int? var suggestedResponseMessage:String? var reason:String? var customerId:UUID? }