/* Options: Date: 2025-10-28 01:25:10 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: RegenerateApiKeyRequest.* //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="/auth/apikeys/regenerate", Verbs="POST") // @Route(Path="/auth/apikeys/regenerate/{Environment}", Verbs="POST") public static class RegenerateApiKeyRequest implements IReturn { /** * Environment type */ @ApiMember(Description="Environment type") public String Environment = null; public String getEnvironment() { return Environment; } public RegenerateApiKeyRequest setEnvironment(String value) { this.Environment = value; return this; } private static Object responseType = RegenerateApiKeysResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class RegenerateApiKeysResponse { @DataMember(Order=1) public ArrayList Results = null; @DataMember(Order=2) public HashMap Meta = null; @DataMember(Order=3) public ResponseStatus ResponseStatus = null; public ArrayList getResults() { return Results; } public RegenerateApiKeysResponse setResults(ArrayList value) { this.Results = value; return this; } public HashMap getMeta() { return Meta; } public RegenerateApiKeysResponse setMeta(HashMap value) { this.Meta = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public RegenerateApiKeysResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } @DataContract public static class UserApiKey { @DataMember(Order=1) public String Key = null; @DataMember(Order=2) public String KeyType = null; @DataMember(Order=3) public Date ExpiryDate = null; @DataMember(Order=4) public HashMap Meta = null; public String getKey() { return Key; } public UserApiKey setKey(String value) { this.Key = value; return this; } public String getKeyType() { return KeyType; } public UserApiKey setKeyType(String value) { this.KeyType = value; return this; } public Date getExpiryDate() { return ExpiryDate; } public UserApiKey setExpiryDate(Date value) { this.ExpiryDate = value; return this; } public HashMap getMeta() { return Meta; } public UserApiKey setMeta(HashMap value) { this.Meta = value; return this; } } }