/* Options: Date: 2026-11-08 11:29:44 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: KeyRequest.* //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="/api/keys/generate", Verbs="POST") public static class KeyRequest extends KeyRequest implements IReturn { private static Object responseType = KeyResult.class; public Object getResponseType() { return responseType; } } public static class KeyResult implements IHaveErrorField { public HashMap KeyNameValuePairs = null; public Boolean IsSuccessful = null; public Integer ErrorCode = null; public String Message = null; public Boolean IsError = null; public HashMap getKeyNameValuePairs() { return KeyNameValuePairs; } public KeyResult setKeyNameValuePairs(HashMap value) { this.KeyNameValuePairs = value; return this; } public Boolean getIsSuccessful() { return IsSuccessful; } public KeyResult setIsSuccessful(Boolean value) { this.IsSuccessful = value; return this; } public Integer getErrorCode() { return ErrorCode; } public KeyResult setErrorCode(Integer value) { this.ErrorCode = value; return this; } public String getMessage() { return Message; } public KeyResult setMessage(String value) { this.Message = value; return this; } public Boolean getIsError() { return IsError; } public KeyResult setIsError(Boolean value) { this.IsError = value; return this; } } public static class Keys { public String Name = null; public Long NumberRequested = null; public String getName() { return Name; } public Keys setName(String value) { this.Name = value; return this; } public Long getNumberRequested() { return NumberRequested; } public Keys setNumberRequested(Long value) { this.NumberRequested = value; return this; } } public static class KeyRequest { public ArrayList Keys = null; public String DbName = null; public ArrayList getKeys() { return Keys; } public KeyRequest setKeys(ArrayList value) { this.Keys = value; return this; } public String getDbName() { return DbName; } public KeyRequest setDbName(String value) { this.DbName = value; return this; } } public static interface IHaveErrorField { public Boolean IsError = null; } public static interface IHaveErrorField { public Boolean IsError = null; } }