/* Options: Date: 2024-11-23 09:02:43 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: ForgotUserPassword.* //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/forgotpassword", 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 ForgotUserPassword implements IReturn { @ApiMember(IsRequired=true) public String Email = 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 getEmail() { return Email; } public ForgotUserPassword setEmail(String value) { this.Email = value; return this; } public KeyCloakRealm getRealm() { return Realm; } public ForgotUserPassword setRealm(KeyCloakRealm value) { this.Realm = value; return this; } private static Object responseType = ForgotUserPasswordResponse.class; public Object getResponseType() { return responseType; } } public static class ForgotUserPasswordResponse { public String Email = null; public Object ResponseStatus = null; public String getEmail() { return Email; } public ForgotUserPasswordResponse setEmail(String value) { this.Email = value; return this; } public Object getResponseStatus() { return ResponseStatus; } public ForgotUserPasswordResponse setResponseStatus(Object value) { this.ResponseStatus = 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; } } }