/* Options: Date: 2024-05-15 08:03:22 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: DummyTypes.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { public static class DummyTypes { public ArrayList helloResponses = null; public ArrayList listResult = null; public ArrayList arrayResult = null; public CancelRequest cancelRequest = null; public CancelRequestResponse cancelRequestResponse = null; public UpdateEventSubscriber updateEventSubscriber = null; public UpdateEventSubscriberResponse updateEventSubscriberResponse = null; public GetApiKeys getApiKeys = null; public GetApiKeysResponse getApiKeysResponse = null; public RegenerateApiKeys regenerateApiKeys = null; public RegenerateApiKeysResponse regenerateApiKeysResponse = null; public UserApiKey userApiKey = null; public ConvertSessionToToken convertSessionToToken = null; public ConvertSessionToTokenResponse convertSessionToTokenResponse = null; public GetAccessToken getAccessToken = null; public GetAccessTokenResponse getAccessTokenResponse = null; public NavItem navItem = null; public GetNavItems getNavItems = null; public GetNavItemsResponse getNavItemsResponse = null; public EmptyResponse emptyResponse = null; public IdResponse idResponse = null; public StringResponse stringResponse = null; public StringsResponse stringsResponse = null; public AuditBase auditBase = null; public ArrayList getHelloResponses() { return helloResponses; } public DummyTypes setHelloResponses(ArrayList value) { this.helloResponses = value; return this; } public ArrayList getListResult() { return listResult; } public DummyTypes setListResult(ArrayList value) { this.listResult = value; return this; } public ArrayList getArrayResult() { return arrayResult; } public DummyTypes setArrayResult(ArrayList value) { this.arrayResult = value; return this; } public CancelRequest getCancelRequest() { return cancelRequest; } public DummyTypes setCancelRequest(CancelRequest value) { this.cancelRequest = value; return this; } public CancelRequestResponse getCancelRequestResponse() { return cancelRequestResponse; } public DummyTypes setCancelRequestResponse(CancelRequestResponse value) { this.cancelRequestResponse = value; return this; } public UpdateEventSubscriber getUpdateEventSubscriber() { return updateEventSubscriber; } public DummyTypes setUpdateEventSubscriber(UpdateEventSubscriber value) { this.updateEventSubscriber = value; return this; } public UpdateEventSubscriberResponse getUpdateEventSubscriberResponse() { return updateEventSubscriberResponse; } public DummyTypes setUpdateEventSubscriberResponse(UpdateEventSubscriberResponse value) { this.updateEventSubscriberResponse = value; return this; } public GetApiKeys getGetApiKeys() { return getApiKeys; } public DummyTypes setGetApiKeys(GetApiKeys value) { this.getApiKeys = value; return this; } public GetApiKeysResponse getGetApiKeysResponse() { return getApiKeysResponse; } public DummyTypes setGetApiKeysResponse(GetApiKeysResponse value) { this.getApiKeysResponse = value; return this; } public RegenerateApiKeys getRegenerateApiKeys() { return regenerateApiKeys; } public DummyTypes setRegenerateApiKeys(RegenerateApiKeys value) { this.regenerateApiKeys = value; return this; } public RegenerateApiKeysResponse getRegenerateApiKeysResponse() { return regenerateApiKeysResponse; } public DummyTypes setRegenerateApiKeysResponse(RegenerateApiKeysResponse value) { this.regenerateApiKeysResponse = value; return this; } public UserApiKey getUserApiKey() { return userApiKey; } public DummyTypes setUserApiKey(UserApiKey value) { this.userApiKey = value; return this; } public ConvertSessionToToken getConvertSessionToToken() { return convertSessionToToken; } public DummyTypes setConvertSessionToToken(ConvertSessionToToken value) { this.convertSessionToToken = value; return this; } public ConvertSessionToTokenResponse getConvertSessionToTokenResponse() { return convertSessionToTokenResponse; } public DummyTypes setConvertSessionToTokenResponse(ConvertSessionToTokenResponse value) { this.convertSessionToTokenResponse = value; return this; } public GetAccessToken getGetAccessToken() { return getAccessToken; } public DummyTypes setGetAccessToken(GetAccessToken value) { this.getAccessToken = value; return this; } public GetAccessTokenResponse getGetAccessTokenResponse() { return getAccessTokenResponse; } public DummyTypes setGetAccessTokenResponse(GetAccessTokenResponse value) { this.getAccessTokenResponse = value; return this; } public NavItem getNavItem() { return navItem; } public DummyTypes setNavItem(NavItem value) { this.navItem = value; return this; } public GetNavItems getGetNavItems() { return getNavItems; } public DummyTypes setGetNavItems(GetNavItems value) { this.getNavItems = value; return this; } public GetNavItemsResponse getGetNavItemsResponse() { return getNavItemsResponse; } public DummyTypes setGetNavItemsResponse(GetNavItemsResponse value) { this.getNavItemsResponse = value; return this; } public EmptyResponse getEmptyResponse() { return emptyResponse; } public DummyTypes setEmptyResponse(EmptyResponse value) { this.emptyResponse = value; return this; } public IdResponse getIdResponse() { return idResponse; } public DummyTypes setIdResponse(IdResponse value) { this.idResponse = value; return this; } public StringResponse getStringResponse() { return stringResponse; } public DummyTypes setStringResponse(StringResponse value) { this.stringResponse = value; return this; } public StringsResponse getStringsResponse() { return stringsResponse; } public DummyTypes setStringsResponse(StringsResponse value) { this.stringsResponse = value; return this; } public AuditBase getAuditBase() { return auditBase; } public DummyTypes setAuditBase(AuditBase value) { this.auditBase = value; return this; } } @Route("/access-token") @DataContract public static class GetAccessToken implements IReturn, IPost { @DataMember(Order=1) public String refreshToken = null; @DataMember(Order=2) public HashMap meta = null; public String getRefreshToken() { return refreshToken; } public GetAccessToken setRefreshToken(String value) { this.refreshToken = value; return this; } public HashMap getMeta() { return meta; } public GetAccessToken setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = GetAccessTokenResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class GetAccessTokenResponse { @DataMember(Order=1) public String accessToken = null; @DataMember(Order=2) public HashMap meta = null; @DataMember(Order=3) public ResponseStatus responseStatus = null; public String getAccessToken() { return accessToken; } public GetAccessTokenResponse setAccessToken(String value) { this.accessToken = value; return this; } public HashMap getMeta() { return meta; } public GetAccessTokenResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetAccessTokenResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class CancelRequest implements IPost { @DataMember(Order=1) public String tag = null; @DataMember(Order=2) public HashMap meta = null; public String getTag() { return tag; } public CancelRequest setTag(String value) { this.tag = value; return this; } public HashMap getMeta() { return meta; } public CancelRequest setMeta(HashMap value) { this.meta = value; return this; } } @DataContract public static class CancelRequestResponse { @DataMember(Order=1) public String tag = null; @DataMember(Order=2) public TimeSpan elapsed = null; @DataMember(Order=3) public HashMap meta = null; @DataMember(Order=4) public ResponseStatus responseStatus = null; public String getTag() { return tag; } public CancelRequestResponse setTag(String value) { this.tag = value; return this; } public TimeSpan getElapsed() { return elapsed; } public CancelRequestResponse setElapsed(TimeSpan value) { this.elapsed = value; return this; } public HashMap getMeta() { return meta; } public CancelRequestResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CancelRequestResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class UpdateEventSubscriber implements IPost { @DataMember(Order=1) public String id = null; @DataMember(Order=2) public ArrayList subscribeChannels = null; @DataMember(Order=3) public ArrayList unsubscribeChannels = null; public String getId() { return id; } public UpdateEventSubscriber setId(String value) { this.id = value; return this; } public ArrayList getSubscribeChannels() { return subscribeChannels; } public UpdateEventSubscriber setSubscribeChannels(ArrayList value) { this.subscribeChannels = value; return this; } public ArrayList getUnsubscribeChannels() { return unsubscribeChannels; } public UpdateEventSubscriber setUnsubscribeChannels(ArrayList value) { this.unsubscribeChannels = value; return this; } } @DataContract public static class UpdateEventSubscriberResponse { @DataMember(Order=1) public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateEventSubscriberResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class GetApiKeys implements IGet { @DataMember(Order=1) public String environment = null; @DataMember(Order=2) public HashMap meta = null; public String getEnvironment() { return environment; } public GetApiKeys setEnvironment(String value) { this.environment = value; return this; } public HashMap getMeta() { return meta; } public GetApiKeys setMeta(HashMap value) { this.meta = value; return this; } } @DataContract public static class GetApiKeysResponse { @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 GetApiKeysResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public GetApiKeysResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetApiKeysResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class RegenerateApiKeys implements IPost { @DataMember(Order=1) public String environment = null; @DataMember(Order=2) public HashMap meta = null; public String getEnvironment() { return environment; } public RegenerateApiKeys setEnvironment(String value) { this.environment = value; return this; } public HashMap getMeta() { return meta; } public RegenerateApiKeys setMeta(HashMap value) { this.meta = value; return this; } } @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; } } @DataContract public static class ConvertSessionToToken implements IPost { @DataMember(Order=1) public Boolean preserveSession = null; @DataMember(Order=2) public HashMap meta = null; public Boolean isPreserveSession() { return preserveSession; } public ConvertSessionToToken setPreserveSession(Boolean value) { this.preserveSession = value; return this; } public HashMap getMeta() { return meta; } public ConvertSessionToToken setMeta(HashMap value) { this.meta = value; return this; } } @DataContract public static class ConvertSessionToTokenResponse { @DataMember(Order=1) public HashMap meta = null; @DataMember(Order=2) public String accessToken = null; @DataMember(Order=3) public String refreshToken = null; @DataMember(Order=4) public ResponseStatus responseStatus = null; public HashMap getMeta() { return meta; } public ConvertSessionToTokenResponse setMeta(HashMap value) { this.meta = value; return this; } public String getAccessToken() { return accessToken; } public ConvertSessionToTokenResponse setAccessToken(String value) { this.accessToken = value; return this; } public String getRefreshToken() { return refreshToken; } public ConvertSessionToTokenResponse setRefreshToken(String value) { this.refreshToken = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public ConvertSessionToTokenResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class NavItem { public String label = null; public String href = null; public Boolean exact = null; public String id = null; public String className = null; public String iconClass = null; public String iconSrc = null; public String show = null; public String hide = null; public ArrayList children = null; public HashMap meta = null; public String getLabel() { return label; } public NavItem setLabel(String value) { this.label = value; return this; } public String getHref() { return href; } public NavItem setHref(String value) { this.href = value; return this; } public Boolean isExact() { return exact; } public NavItem setExact(Boolean value) { this.exact = value; return this; } public String getId() { return id; } public NavItem setId(String value) { this.id = value; return this; } public String getClassName() { return className; } public NavItem setClassName(String value) { this.className = value; return this; } public String getIconClass() { return iconClass; } public NavItem setIconClass(String value) { this.iconClass = value; return this; } public String getIconSrc() { return iconSrc; } public NavItem setIconSrc(String value) { this.iconSrc = value; return this; } public String getShow() { return show; } public NavItem setShow(String value) { this.show = value; return this; } public String getHide() { return hide; } public NavItem setHide(String value) { this.hide = value; return this; } public ArrayList getChildren() { return children; } public NavItem setChildren(ArrayList value) { this.children = value; return this; } public HashMap getMeta() { return meta; } public NavItem setMeta(HashMap value) { this.meta = value; return this; } } @DataContract public static class GetNavItems { @DataMember(Order=1) public String name = null; public String getName() { return name; } public GetNavItems setName(String value) { this.name = value; return this; } } @DataContract public static class GetNavItemsResponse { @DataMember(Order=1) public String baseUrl = null; @DataMember(Order=2) public ArrayList results = null; @DataMember(Order=3) public HashMap> navItemsMap = null; @DataMember(Order=4) public HashMap meta = null; @DataMember(Order=5) public ResponseStatus responseStatus = null; public String getBaseUrl() { return baseUrl; } public GetNavItemsResponse setBaseUrl(String value) { this.baseUrl = value; return this; } public ArrayList getResults() { return results; } public GetNavItemsResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap> getNavItemsMap() { return navItemsMap; } public GetNavItemsResponse setNavItemsMap(HashMap> value) { this.navItemsMap = value; return this; } public HashMap getMeta() { return meta; } public GetNavItemsResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetNavItemsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class IdResponse { @DataMember(Order=1) public String id = null; @DataMember(Order=2) public ResponseStatus responseStatus = null; public String getId() { return id; } public IdResponse setId(String value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public IdResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class StringResponse { @DataMember(Order=1) public String result = null; @DataMember(Order=2) public HashMap meta = null; @DataMember(Order=3) public ResponseStatus responseStatus = null; public String getResult() { return result; } public StringResponse setResult(String value) { this.result = value; return this; } public HashMap getMeta() { return meta; } public StringResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public StringResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class StringsResponse { @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 StringsResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public StringsResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public StringsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class AuditBase { @DataMember(Order=1) public Date createdDate = null; @DataMember(Order=2) @Required() public String createdBy = null; @DataMember(Order=3) public Date modifiedDate = null; @DataMember(Order=4) @Required() public String modifiedBy = null; @DataMember(Order=5) public Date deletedDate = null; @DataMember(Order=6) public String deletedBy = null; public Date getCreatedDate() { return createdDate; } public AuditBase setCreatedDate(Date value) { this.createdDate = value; return this; } public String getCreatedBy() { return createdBy; } public AuditBase setCreatedBy(String value) { this.createdBy = value; return this; } public Date getModifiedDate() { return modifiedDate; } public AuditBase setModifiedDate(Date value) { this.modifiedDate = value; return this; } public String getModifiedBy() { return modifiedBy; } public AuditBase setModifiedBy(String value) { this.modifiedBy = value; return this; } public Date getDeletedDate() { return deletedDate; } public AuditBase setDeletedDate(Date value) { this.deletedDate = value; return this; } public String getDeletedBy() { return deletedBy; } public AuditBase setDeletedBy(String value) { this.deletedBy = value; return this; } } public static class ListResult { public String result = null; public String getResult() { return result; } public ListResult setResult(String value) { this.result = value; return this; } } @DataContract public static class EmptyResponse { @DataMember(Order=1) public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public EmptyResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class HelloResponse { public String result = null; public String getResult() { return result; } public HelloResponse setResult(String value) { this.result = value; return this; } } }