/* Options: Date: 2026-09-09 10:57:07 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://services.acct.2service.nl //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: Authenticate.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/dealers/authenticate", Verbs="POST") public static class Authenticate implements IReturn { /** * User name for your account. */ @ApiMember(Description="User name for your account.", IsRequired=true, ParameterType="query") public String UserName = null; /** * Password provided by your supplier. */ @ApiMember(Description="Password provided by your supplier.", IsRequired=true, ParameterType="query") public String Password = null; public String getUserName() { return UserName; } public Authenticate setUserName(String value) { this.UserName = value; return this; } public String getPassword() { return Password; } public Authenticate setPassword(String value) { this.Password = value; return this; } private static Object responseType = AuthenticateResponse.class; public Object getResponseType() { return responseType; } } public static class AuthenticateResponse extends OperationResult_1 { } public static class OperationResult_1 extends OperationResult { /** * Result value */ @ApiMember(Description="Result value", ParameterType="model") public T Result = null; public T getResult() { return Result; } public OperationResult_1 setResult(T value) { this.Result = value; return this; } } public static class AuthenticateResult { /** * Session token to use in successive calls to the services. */ @ApiMember(Description="Session token to use in successive calls to the services.", ParameterType="model") public String SessionToken = null; public String getSessionToken() { return SessionToken; } public AuthenticateResult setSessionToken(String value) { this.SessionToken = value; return this; } } public static class OperationResult { /** * Specifies if the operation was successful. */ @ApiMember(Description="Specifies if the operation was successful.", ParameterType="model") public Boolean IsSuccessful = null; /** * States error message in case of unsuccessful operation. */ @ApiMember(Description="States error message in case of unsuccessful operation.", ParameterType="model") public String ErrorMessage = null; public Boolean getIsSuccessful() { return IsSuccessful; } public OperationResult setIsSuccessful(Boolean value) { this.IsSuccessful = value; return this; } public String getErrorMessage() { return ErrorMessage; } public OperationResult setErrorMessage(String value) { this.ErrorMessage = value; return this; } } }