/* Options: Date: 2024-12-01 04:04:48 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://nkapi-sgepz3-auth.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AuthorizeUser.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/authorizeuser/{Service}/{Profile}", Verbs="GET,POST") public static class AuthorizeUser implements IReturn, IAuthorizeUser { @ApiMember(IsRequired=true) public String bearerToken = null; @ApiMember(IsRequired=true, ParameterType="path") public String profile = null; @ApiMember(IsRequired=true, ParameterType="path") public String service = null; @ApiMember(Name="X-WAAPI-CONTEXT", ParameterType="header") public String customerContext = null; public String getBearerToken() { return bearerToken; } public AuthorizeUser setBearerToken(String value) { this.bearerToken = value; return this; } public String getProfile() { return profile; } public AuthorizeUser setProfile(String value) { this.profile = value; return this; } public String getService() { return service; } public AuthorizeUser setService(String value) { this.service = value; return this; } public String getCustomerContext() { return customerContext; } public AuthorizeUser setCustomerContext(String value) { this.customerContext = value; return this; } private static Object responseType = AuthorizeUserResponse.class; public Object getResponseType() { return responseType; } } public static class AuthorizeUserResponse extends AuthorizeBaseResponse implements IAuthorizeUserResponse { public UUID userObjectId = null; public String userTenant = null; public String userTenantId = null; public UUID getUserObjectId() { return userObjectId; } public AuthorizeUserResponse setUserObjectId(UUID value) { this.userObjectId = value; return this; } public String getUserTenant() { return userTenant; } public AuthorizeUserResponse setUserTenant(String value) { this.userTenant = value; return this; } public String getUserTenantId() { return userTenantId; } public AuthorizeUserResponse setUserTenantId(String value) { this.userTenantId = value; return this; } } public static interface IAuthorizeUser { public String bearerToken = null; public String profile = null; public String service = null; } public static class Setting { public String name = null; public String stringValue = null; public Boolean booleanValue = null; public String dataType = null; public String getName() { return name; } public Setting setName(String value) { this.name = value; return this; } public String getStringValue() { return stringValue; } public Setting setStringValue(String value) { this.stringValue = value; return this; } public Boolean isBooleanValue() { return booleanValue; } public Setting setBooleanValue(Boolean value) { this.booleanValue = value; return this; } public String getDataType() { return dataType; } public Setting setDataType(String value) { this.dataType = value; return this; } } public static class AuthorizeBaseResponse { public Boolean isAuthorized = null; public ArrayList settings = null; public Integer suggestedStatusCode = null; public String suggestedResponseMessage = null; public String reason = null; public UUID customerId = null; public Boolean getIsAuthorized() { return isAuthorized; } public AuthorizeBaseResponse setIsAuthorized(Boolean value) { this.isAuthorized = value; return this; } public ArrayList getSettings() { return settings; } public AuthorizeBaseResponse setSettings(ArrayList value) { this.settings = value; return this; } public Integer getSuggestedStatusCode() { return suggestedStatusCode; } public AuthorizeBaseResponse setSuggestedStatusCode(Integer value) { this.suggestedStatusCode = value; return this; } public String getSuggestedResponseMessage() { return suggestedResponseMessage; } public AuthorizeBaseResponse setSuggestedResponseMessage(String value) { this.suggestedResponseMessage = value; return this; } public String getReason() { return reason; } public AuthorizeBaseResponse setReason(String value) { this.reason = value; return this; } public UUID getCustomerId() { return customerId; } public AuthorizeBaseResponse setCustomerId(UUID value) { this.customerId = value; return this; } } public static interface IAuthorizeUserResponse implements IAuthorizeBaseResponse { public UUID userObjectId = null; public String userTenant = null; public String userTenantId = null; } public static interface IAuthorizeBaseResponse { public Boolean isAuthorized = null; public Integer suggestedStatusCode = null; public String suggestedResponseMessage = null; public String reason = null; public UUID customerId = null; } }