/* Options: Date: 2024-12-03 17:57:55 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateUserEmail.* //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="/users/confirmemail", Verbs="POST") @ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) public static class UpdateUserEmail implements IReturn { @ApiMember(IsRequired=true) public String Token = null; /** * The user realm for identity server. BookMore = 1, BookMoreAdmin = 2 */ @ApiMember(Description="The user realm for identity server. BookMore = 1, BookMoreAdmin = 2 ", IsRequired=true) public KeyCloakRealm Realm = null; public String getToken() { return Token; } public UpdateUserEmail setToken(String value) { this.Token = value; return this; } public KeyCloakRealm getRealm() { return Realm; } public UpdateUserEmail setRealm(KeyCloakRealm value) { this.Realm = value; return this; } private static Object responseType = UpdateUserEmailResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateUserEmailResponse { public Object ResponseStatus = null; public UUID UserId = null; public String Email = null; public Object getResponseStatus() { return ResponseStatus; } public UpdateUserEmailResponse setResponseStatus(Object value) { this.ResponseStatus = value; return this; } public UUID getUserId() { return UserId; } public UpdateUserEmailResponse setUserId(UUID value) { this.UserId = value; return this; } public String getEmail() { return Email; } public UpdateUserEmailResponse setEmail(String value) { this.Email = value; return this; } } public static enum KeyCloakRealm { BookMore(1), BookMoreAdmin(2), SuperAdmin(3); private final int value; KeyCloakRealm(final int intValue) { value = intValue; } public int getValue() { return value; } } }