/* Options: Date: 2024-04-25 05:37:08 Version: 6.111 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: //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.*,java.io.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; import java.io.*; public class dtos { public static class QueryItems extends QueryDb_2 implements IReturn> { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route("/channels/{Channel}/raw") public static class PostRawToChannel implements IReturnVoid { public String from = null; public String toUserId = null; public String channel = null; public String message = null; public String selector = null; public String getFrom() { return from; } public PostRawToChannel setFrom(String value) { this.from = value; return this; } public String getToUserId() { return toUserId; } public PostRawToChannel setToUserId(String value) { this.toUserId = value; return this; } public String getChannel() { return channel; } public PostRawToChannel setChannel(String value) { this.channel = value; return this; } public String getMessage() { return message; } public PostRawToChannel setMessage(String value) { this.message = value; return this; } public String getSelector() { return selector; } public PostRawToChannel setSelector(String value) { this.selector = value; return this; } } @Route("/channels/{Channel}/chat") public static class PostChatToChannel implements IReturn { public String from = null; public String toUserId = null; public String channel = null; public String message = null; public String selector = null; public String getFrom() { return from; } public PostChatToChannel setFrom(String value) { this.from = value; return this; } public String getToUserId() { return toUserId; } public PostChatToChannel setToUserId(String value) { this.toUserId = value; return this; } public String getChannel() { return channel; } public PostChatToChannel setChannel(String value) { this.channel = value; return this; } public String getMessage() { return message; } public PostChatToChannel setMessage(String value) { this.message = value; return this; } public String getSelector() { return selector; } public PostChatToChannel setSelector(String value) { this.selector = value; return this; } private static Object responseType = ChatMessage.class; public Object getResponseType() { return responseType; } } @Route("/chathistory") public static class GetChatHistory implements IReturn { public ArrayList channels = null; public Long afterId = null; public Integer take = null; public ArrayList getChannels() { return channels; } public GetChatHistory setChannels(ArrayList value) { this.channels = value; return this; } public Long getAfterId() { return afterId; } public GetChatHistory setAfterId(Long value) { this.afterId = value; return this; } public Integer getTake() { return take; } public GetChatHistory setTake(Integer value) { this.take = value; return this; } private static Object responseType = GetChatHistoryResponse.class; public Object getResponseType() { return responseType; } } @Route("/reset") public static class ClearChatHistory implements IReturnVoid { } @Route("/reset-serverevents") public static class ResetServerEvents implements IReturnVoid { } @Route("/channels/{Channel}/object") public static class PostObjectToChannel implements IReturnVoid { public String toUserId = null; public String channel = null; public String selector = null; public CustomType customType = null; public SetterType setterType = null; public String getToUserId() { return toUserId; } public PostObjectToChannel setToUserId(String value) { this.toUserId = value; return this; } public String getChannel() { return channel; } public PostObjectToChannel setChannel(String value) { this.channel = value; return this; } public String getSelector() { return selector; } public PostObjectToChannel setSelector(String value) { this.selector = value; return this; } public CustomType getCustomType() { return customType; } public PostObjectToChannel setCustomType(CustomType value) { this.customType = value; return this; } public SetterType getSetterType() { return setterType; } public PostObjectToChannel setSetterType(SetterType value) { this.setterType = value; return this; } } @Route("/account") public static class GetUserDetails implements IReturn { private static Object responseType = GetUserDetailsResponse.class; public Object getResponseType() { return responseType; } } public static class CustomHttpError implements IReturn { public Integer statusCode = null; public String statusDescription = null; public Integer getStatusCode() { return statusCode; } public CustomHttpError setStatusCode(Integer value) { this.statusCode = value; return this; } public String getStatusDescription() { return statusDescription; } public CustomHttpError setStatusDescription(String value) { this.statusDescription = value; return this; } private static Object responseType = CustomHttpErrorResponse.class; public Object getResponseType() { return responseType; } } public static class AltQueryItems implements IReturn> { public String name = null; public String getName() { return name; } public AltQueryItems setName(String value) { this.name = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class GetItems implements IReturn { private static Object responseType = Items.class; public Object getResponseType() { return responseType; } } public static class GetNakedItems implements IReturn> { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @ValidateRequest(Validator="IsAuthenticated") public static class DeclarativeValidationAuth { public String name = null; public String getName() { return name; } public DeclarativeValidationAuth setName(String value) { this.name = value; return this; } } public static class DeclarativeCollectiveValidationTest implements IReturn { @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(20)") public String site = null; public ArrayList declarativeValidations = null; public ArrayList fluentValidations = null; public String getSite() { return site; } public DeclarativeCollectiveValidationTest setSite(String value) { this.site = value; return this; } public ArrayList getDeclarativeValidations() { return declarativeValidations; } public DeclarativeCollectiveValidationTest setDeclarativeValidations(ArrayList value) { this.declarativeValidations = value; return this; } public ArrayList getFluentValidations() { return fluentValidations; } public DeclarativeCollectiveValidationTest setFluentValidations(ArrayList value) { this.fluentValidations = value; return this; } private static Object responseType = EmptyResponse.class; public Object getResponseType() { return responseType; } } public static class DeclarativeSingleValidationTest implements IReturn { @Validate(Validator="NotEmpty") // @Validate(Validator="MaximumLength(20)") public String site = null; public DeclarativeSingleValidation declarativeSingleValidation = null; public FluentSingleValidation fluentSingleValidation = null; public String getSite() { return site; } public DeclarativeSingleValidationTest setSite(String value) { this.site = value; return this; } public DeclarativeSingleValidation getDeclarativeSingleValidation() { return declarativeSingleValidation; } public DeclarativeSingleValidationTest setDeclarativeSingleValidation(DeclarativeSingleValidation value) { this.declarativeSingleValidation = value; return this; } public FluentSingleValidation getFluentSingleValidation() { return fluentSingleValidation; } public DeclarativeSingleValidationTest setFluentSingleValidation(FluentSingleValidation value) { this.fluentSingleValidation = value; return this; } private static Object responseType = EmptyResponse.class; public Object getResponseType() { return responseType; } } 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("/throwhttperror/{Status}") public static class ThrowHttpError { public Integer status = null; public String message = null; public Integer getStatus() { return status; } public ThrowHttpError setStatus(Integer value) { this.status = value; return this; } public String getMessage() { return message; } public ThrowHttpError setMessage(String value) { this.message = value; return this; } } @Route("/throw404") // @Route("/throw404/{Message}") public static class Throw404 { public String message = null; public String getMessage() { return message; } public Throw404 setMessage(String value) { this.message = value; return this; } } @Route("/throwcustom400") // @Route("/throwcustom400/{Message}") public static class ThrowCustom400 { public String message = null; public String getMessage() { return message; } public ThrowCustom400 setMessage(String value) { this.message = value; return this; } } @Route("/returncustom400") // @Route("/returncustom400/{Message}") public static class ReturnCustom400 implements IReturn { public String message = null; public String getMessage() { return message; } public ReturnCustom400 setMessage(String value) { this.message = value; return this; } private static Object responseType = ReturnCustom400Response.class; public Object getResponseType() { return responseType; } } @Route("/throw/{Type}") public static class ThrowType implements IReturn { public String type = null; public String message = null; public String getType() { return type; } public ThrowType setType(String value) { this.type = value; return this; } public String getMessage() { return message; } public ThrowType setMessage(String value) { this.message = value; return this; } private static Object responseType = ThrowTypeResponse.class; public Object getResponseType() { return responseType; } } @Route("/throwvalidation") public static class ThrowValidation implements IReturn { public Integer age = null; public String required = null; public String email = null; public Integer getAge() { return age; } public ThrowValidation setAge(Integer value) { this.age = value; return this; } public String getRequired() { return required; } public ThrowValidation setRequired(String value) { this.required = value; return this; } public String getEmail() { return email; } public ThrowValidation setEmail(String value) { this.email = value; return this; } private static Object responseType = ThrowValidationResponse.class; public Object getResponseType() { return responseType; } } @Route("/throwbusinesserror") public static class ThrowBusinessError implements IReturn { private static Object responseType = ThrowBusinessErrorResponse.class; public Object getResponseType() { return responseType; } } public static class RootPathRoutes { public String path = null; public String getPath() { return path; } public RootPathRoutes setPath(String value) { this.path = value; return this; } } public static class GetAccount implements IReturn { public String account = null; public String getAccount() { return account; } public GetAccount setAccount(String value) { this.account = value; return this; } private static Object responseType = Account.class; public Object getResponseType() { return responseType; } } public static class GetProject implements IReturn { public String account = null; public String project = null; public String getAccount() { return account; } public GetProject setAccount(String value) { this.account = value; return this; } public String getProject() { return project; } public GetProject setProject(String value) { this.project = value; return this; } private static Object responseType = Project.class; public Object getResponseType() { return responseType; } } @Route("/image-stream") public static class ImageAsStream implements IReturn { public String format = null; public String getFormat() { return format; } public ImageAsStream setFormat(String value) { this.format = value; return this; } private static Object responseType = InputStream.class; public Object getResponseType() { return responseType; } } @Route("/image-bytes") public static class ImageAsBytes implements IReturn { public String format = null; public String getFormat() { return format; } public ImageAsBytes setFormat(String value) { this.format = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } @Route("/image-custom") public static class ImageAsCustomResult implements IReturn { public String format = null; public String getFormat() { return format; } public ImageAsCustomResult setFormat(String value) { this.format = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } @Route("/image-response") public static class ImageWriteToResponse implements IReturn { public String format = null; public String getFormat() { return format; } public ImageWriteToResponse setFormat(String value) { this.format = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } @Route("/image-file") public static class ImageAsFile implements IReturn { public String format = null; public String getFormat() { return format; } public ImageAsFile setFormat(String value) { this.format = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } @Route("/image-redirect") public static class ImageAsRedirect { public String format = null; public String getFormat() { return format; } public ImageAsRedirect setFormat(String value) { this.format = value; return this; } } @Route("/hello-image/{Name}") public static class HelloImage implements IReturn { public String name = null; public String format = null; public Integer width = null; public Integer height = null; public Integer fontSize = null; public String fontFamily = null; public String foreground = null; public String background = null; public String getName() { return name; } public HelloImage setName(String value) { this.name = value; return this; } public String getFormat() { return format; } public HelloImage setFormat(String value) { this.format = value; return this; } public Integer getWidth() { return width; } public HelloImage setWidth(Integer value) { this.width = value; return this; } public Integer getHeight() { return height; } public HelloImage setHeight(Integer value) { this.height = value; return this; } public Integer getFontSize() { return fontSize; } public HelloImage setFontSize(Integer value) { this.fontSize = value; return this; } public String getFontFamily() { return fontFamily; } public HelloImage setFontFamily(String value) { this.fontFamily = value; return this; } public String getForeground() { return foreground; } public HelloImage setForeground(String value) { this.foreground = value; return this; } public String getBackground() { return background; } public HelloImage setBackground(String value) { this.background = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } @Route("/secured") @ValidateRequest(Validator="IsAuthenticated") public static class Secured implements IReturn { public String name = null; public String getName() { return name; } public Secured setName(String value) { this.name = value; return this; } private static Object responseType = SecuredResponse.class; public Object getResponseType() { return responseType; } } @Route("/jwt") public static class CreateJwt extends AuthUserSession implements IReturn { public Date jwtExpiry = null; public Date getJwtExpiry() { return jwtExpiry; } public CreateJwt setJwtExpiry(Date value) { this.jwtExpiry = value; return this; } private static Object responseType = CreateJwtResponse.class; public Object getResponseType() { return responseType; } } @Route("/jwt-refresh") public static class CreateRefreshJwt implements IReturn { public String userAuthId = null; public Date jwtExpiry = null; public String getUserAuthId() { return userAuthId; } public CreateRefreshJwt setUserAuthId(String value) { this.userAuthId = value; return this; } public Date getJwtExpiry() { return jwtExpiry; } public CreateRefreshJwt setJwtExpiry(Date value) { this.jwtExpiry = value; return this; } private static Object responseType = CreateRefreshJwtResponse.class; public Object getResponseType() { return responseType; } } @Route("/jwt-invalidate") public static class InvalidateLastAccessToken implements IReturn { private static Object responseType = EmptyResponse.class; public Object getResponseType() { return responseType; } } @Route("/logs") public static class ViewLogs implements IReturn { public Boolean clear = null; public Boolean isClear() { return clear; } public ViewLogs setClear(Boolean value) { this.clear = value; return this; } private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route("/metadatatest") public static class MetadataTest implements IReturn { public Integer id = null; public Integer getId() { return id; } public MetadataTest setId(Integer value) { this.id = value; return this; } private static Object responseType = MetadataTestResponse.class; public Object getResponseType() { return responseType; } } @Route("/metadatatest-array") public static class MetadataTestArray implements IReturn> { public Integer id = null; public Integer getId() { return id; } public MetadataTestArray setId(Integer value) { this.id = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/example", Verbs="GET") @DataContract public static class GetExample implements IReturn { private static Object responseType = GetExampleResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/messages/{Id}", Verbs="GET") public static class RequestMessage implements IReturn { public Integer id = null; public Integer getId() { return id; } public RequestMessage setId(Integer value) { this.id = value; return this; } private static Object responseType = Message.class; public Object getResponseType() { return responseType; } } @Route(Path="/messages/{Id}", Verbs="PUT") public static class Message implements IReturn { public Integer id = null; public String name = null; public Integer getId() { return id; } public Message setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public Message setName(String value) { this.name = value; return this; } private static Object responseType = Message.class; public Object getResponseType() { return responseType; } } @Route("/randomids") public static class GetRandomIds implements IReturn { public Integer take = null; public Integer getTake() { return take; } public GetRandomIds setTake(Integer value) { this.take = value; return this; } private static Object responseType = GetRandomIdsResponse.class; public Object getResponseType() { return responseType; } } @Route("/textfile-test") public static class TextFileTest { public Boolean asAttachment = null; public Boolean isAsAttachment() { return asAttachment; } public TextFileTest setAsAttachment(Boolean value) { this.asAttachment = value; return this; } } @Route("/return/text") public static class ReturnText { public String text = null; public String getText() { return text; } public ReturnText setText(String value) { this.text = value; return this; } } @Route("/return/html") public static class ReturnHtml { public String text = null; public String getText() { return text; } public ReturnHtml setText(String value) { this.text = value; return this; } } @Route("/hello") // @Route("/hello/{Name}") public static class Hello implements IReturn { @Required() public String name = null; public String title = null; public String getName() { return name; } public Hello setName(String value) { this.name = value; return this; } public String getTitle() { return title; } public Hello setTitle(String value) { this.title = value; return this; } private static Object responseType = HelloResponse.class; public Object getResponseType() { return responseType; } } @Route("/hello-secure/{Name}") @ValidateRequest(Validator="IsAuthenticated") public static class HelloSecure implements IReturn { public String name = null; public String getName() { return name; } public HelloSecure setName(String value) { this.name = value; return this; } private static Object responseType = HelloResponse.class; public Object getResponseType() { return responseType; } } public static class HelloWithNestedClass implements IReturn { public String name = null; public NestedClass nestedClassProp = null; public String getName() { return name; } public HelloWithNestedClass setName(String value) { this.name = value; return this; } public NestedClass getNestedClassProp() { return nestedClassProp; } public HelloWithNestedClass setNestedClassProp(NestedClass value) { this.nestedClassProp = value; return this; } private static Object responseType = HelloResponse.class; public Object getResponseType() { return responseType; } } public static class HelloList implements IReturn> { public ArrayList names = null; public ArrayList getNames() { return names; } public HelloList setNames(ArrayList value) { this.names = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class HelloArray implements IReturn> { public ArrayList names = null; public ArrayList getNames() { return names; } public HelloArray setNames(ArrayList value) { this.names = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class HelloMap implements IReturn> { public ArrayList names = null; public ArrayList getNames() { return names; } public HelloMap setNames(ArrayList value) { this.names = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class HelloQueryResponse implements IReturn> { public ArrayList names = null; public ArrayList getNames() { return names; } public HelloQueryResponse setNames(ArrayList value) { this.names = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class HelloWithEnum { public EnumType enumProp = null; public EnumTypeFlags enumTypeFlags = null; public EnumWithValues enumWithValues = null; public EnumType nullableEnumProp = null; public EnumFlags enumFlags = null; public EnumAsInt enumAsInt = null; public EnumStyle enumStyle = null; public EnumStyleMembers enumStyleMembers = null; public EnumType getEnumProp() { return enumProp; } public HelloWithEnum setEnumProp(EnumType value) { this.enumProp = value; return this; } public EnumTypeFlags getEnumTypeFlags() { return enumTypeFlags; } public HelloWithEnum setEnumTypeFlags(EnumTypeFlags value) { this.enumTypeFlags = value; return this; } public EnumWithValues getEnumWithValues() { return enumWithValues; } public HelloWithEnum setEnumWithValues(EnumWithValues value) { this.enumWithValues = value; return this; } public EnumType getNullableEnumProp() { return nullableEnumProp; } public HelloWithEnum setNullableEnumProp(EnumType value) { this.nullableEnumProp = value; return this; } public EnumFlags getEnumFlags() { return enumFlags; } public HelloWithEnum setEnumFlags(EnumFlags value) { this.enumFlags = value; return this; } public EnumAsInt getEnumAsInt() { return enumAsInt; } public HelloWithEnum setEnumAsInt(EnumAsInt value) { this.enumAsInt = value; return this; } public EnumStyle getEnumStyle() { return enumStyle; } public HelloWithEnum setEnumStyle(EnumStyle value) { this.enumStyle = value; return this; } public EnumStyleMembers getEnumStyleMembers() { return enumStyleMembers; } public HelloWithEnum setEnumStyleMembers(EnumStyleMembers value) { this.enumStyleMembers = value; return this; } } public static class HelloWithEnumList { public ArrayList enumProp = null; public ArrayList enumWithValues = null; public ArrayList nullableEnumProp = null; public ArrayList enumFlags = null; public ArrayList enumStyle = null; public ArrayList getEnumProp() { return enumProp; } public HelloWithEnumList setEnumProp(ArrayList value) { this.enumProp = value; return this; } public ArrayList getEnumWithValues() { return enumWithValues; } public HelloWithEnumList setEnumWithValues(ArrayList value) { this.enumWithValues = value; return this; } public ArrayList getNullableEnumProp() { return nullableEnumProp; } public HelloWithEnumList setNullableEnumProp(ArrayList value) { this.nullableEnumProp = value; return this; } public ArrayList getEnumFlags() { return enumFlags; } public HelloWithEnumList setEnumFlags(ArrayList value) { this.enumFlags = value; return this; } public ArrayList getEnumStyle() { return enumStyle; } public HelloWithEnumList setEnumStyle(ArrayList value) { this.enumStyle = value; return this; } } public static class HelloWithEnumMap { public HashMap enumProp = null; public HashMap enumWithValues = null; public HashMap nullableEnumProp = null; public HashMap enumFlags = null; public HashMap enumStyle = null; public HashMap getEnumProp() { return enumProp; } public HelloWithEnumMap setEnumProp(HashMap value) { this.enumProp = value; return this; } public HashMap getEnumWithValues() { return enumWithValues; } public HelloWithEnumMap setEnumWithValues(HashMap value) { this.enumWithValues = value; return this; } public HashMap getNullableEnumProp() { return nullableEnumProp; } public HelloWithEnumMap setNullableEnumProp(HashMap value) { this.nullableEnumProp = value; return this; } public HashMap getEnumFlags() { return enumFlags; } public HelloWithEnumMap setEnumFlags(HashMap value) { this.enumFlags = value; return this; } public HashMap getEnumStyle() { return enumStyle; } public HelloWithEnumMap setEnumStyle(HashMap value) { this.enumStyle = value; return this; } } public static class HelloExternal { public String name = null; public String getName() { return name; } public HelloExternal setName(String value) { this.name = value; return this; } } /** * AllowedAttributes Description */ @Route(Path="/allowed-attributes", Verbs="GET") @Api(Description="AllowedAttributes Description") @ApiResponse(Description="Your request was not understood", StatusCode=400) @DataContract public static class AllowedAttributes { /** * Range Description */ @DataMember(Name="Aliased") @SerializedName("Aliased") @ApiMember(DataType="double", Description="Range Description", IsRequired=true, ParameterType="path") public Double range = null; public Double getRange() { return range; } public AllowedAttributes setRange(Double value) { this.range = value; return this; } } @Route("/all-types") public static class HelloAllTypes implements IReturn { public String name = null; public AllTypes allTypes = null; public AllCollectionTypes allCollectionTypes = null; public String getName() { return name; } public HelloAllTypes setName(String value) { this.name = value; return this; } public AllTypes getAllTypes() { return allTypes; } public HelloAllTypes setAllTypes(AllTypes value) { this.allTypes = value; return this; } public AllCollectionTypes getAllCollectionTypes() { return allCollectionTypes; } public HelloAllTypes setAllCollectionTypes(AllCollectionTypes value) { this.allCollectionTypes = value; return this; } private static Object responseType = HelloAllTypesResponse.class; public Object getResponseType() { return responseType; } } public static class HelloSubAllTypes extends AllTypesBase implements IReturn { public Integer hierarchy = null; public Integer getHierarchy() { return hierarchy; } public HelloSubAllTypes setHierarchy(Integer value) { this.hierarchy = value; return this; } private static Object responseType = SubAllTypes.class; public Object getResponseType() { return responseType; } } public static class AllTypes implements IReturn { public Integer id = null; public Integer nullableId = null; @SerializedName("byte") public Short Byte = null; @SerializedName("short") public Short Short = null; @SerializedName("int") public Integer Int = null; @SerializedName("long") public Long Long = null; public Integer uShort = null; public Long uInt = null; public BigInteger uLong = null; @SerializedName("float") public Float Float = null; @SerializedName("double") public Double Double = null; public BigDecimal decimal = null; public String string = null; public Date dateTime = null; public TimeSpan timeSpan = null; public Date dateTimeOffset = null; public UUID guid = null; @SerializedName("char") public String Char = null; public KeyValuePair keyValuePair = null; public Date nullableDateTime = null; public TimeSpan nullableTimeSpan = null; public ArrayList stringList = null; public ArrayList stringArray = null; public HashMap stringMap = null; public HashMap intStringMap = null; public SubType subType = null; public Integer getId() { return id; } public AllTypes setId(Integer value) { this.id = value; return this; } public Integer getNullableId() { return nullableId; } public AllTypes setNullableId(Integer value) { this.nullableId = value; return this; } public Short getByte() { return Byte; } public AllTypes setByte(Short value) { this.Byte = value; return this; } public Short getShort() { return Short; } public AllTypes setShort(Short value) { this.Short = value; return this; } public Integer getInt() { return Int; } public AllTypes setInt(Integer value) { this.Int = value; return this; } public Long getLong() { return Long; } public AllTypes setLong(Long value) { this.Long = value; return this; } public Integer getUShort() { return uShort; } public AllTypes setUShort(Integer value) { this.uShort = value; return this; } public Long getUInt() { return uInt; } public AllTypes setUInt(Long value) { this.uInt = value; return this; } public BigInteger getULong() { return uLong; } public AllTypes setULong(BigInteger value) { this.uLong = value; return this; } public Float getFloat() { return Float; } public AllTypes setFloat(Float value) { this.Float = value; return this; } public Double getDouble() { return Double; } public AllTypes setDouble(Double value) { this.Double = value; return this; } public BigDecimal getDecimal() { return decimal; } public AllTypes setDecimal(BigDecimal value) { this.decimal = value; return this; } public String getString() { return string; } public AllTypes setString(String value) { this.string = value; return this; } public Date getDateTime() { return dateTime; } public AllTypes setDateTime(Date value) { this.dateTime = value; return this; } public TimeSpan getTimeSpan() { return timeSpan; } public AllTypes setTimeSpan(TimeSpan value) { this.timeSpan = value; return this; } public Date getDateTimeOffset() { return dateTimeOffset; } public AllTypes setDateTimeOffset(Date value) { this.dateTimeOffset = value; return this; } public UUID getGuid() { return guid; } public AllTypes setGuid(UUID value) { this.guid = value; return this; } public String getChar() { return Char; } public AllTypes setChar(String value) { this.Char = value; return this; } public KeyValuePair getKeyValuePair() { return keyValuePair; } public AllTypes setKeyValuePair(KeyValuePair value) { this.keyValuePair = value; return this; } public Date getNullableDateTime() { return nullableDateTime; } public AllTypes setNullableDateTime(Date value) { this.nullableDateTime = value; return this; } public TimeSpan getNullableTimeSpan() { return nullableTimeSpan; } public AllTypes setNullableTimeSpan(TimeSpan value) { this.nullableTimeSpan = value; return this; } public ArrayList getStringList() { return stringList; } public AllTypes setStringList(ArrayList value) { this.stringList = value; return this; } public ArrayList getStringArray() { return stringArray; } public AllTypes setStringArray(ArrayList value) { this.stringArray = value; return this; } public HashMap getStringMap() { return stringMap; } public AllTypes setStringMap(HashMap value) { this.stringMap = value; return this; } public HashMap getIntStringMap() { return intStringMap; } public AllTypes setIntStringMap(HashMap value) { this.intStringMap = value; return this; } public SubType getSubType() { return subType; } public AllTypes setSubType(SubType value) { this.subType = value; return this; } private static Object responseType = AllTypes.class; public Object getResponseType() { return responseType; } } public static class AllCollectionTypes implements IReturn { public ArrayList intArray = null; public ArrayList intList = null; public ArrayList stringArray = null; public ArrayList stringList = null; public ArrayList floatArray = null; public ArrayList doubleList = null; public byte[] byteArray = null; public ArrayList charArray = null; public ArrayList decimalList = null; public ArrayList pocoArray = null; public ArrayList pocoList = null; public HashMap> pocoLookup = null; public HashMap>> pocoLookupMap = null; public ArrayList getIntArray() { return intArray; } public AllCollectionTypes setIntArray(ArrayList value) { this.intArray = value; return this; } public ArrayList getIntList() { return intList; } public AllCollectionTypes setIntList(ArrayList value) { this.intList = value; return this; } public ArrayList getStringArray() { return stringArray; } public AllCollectionTypes setStringArray(ArrayList value) { this.stringArray = value; return this; } public ArrayList getStringList() { return stringList; } public AllCollectionTypes setStringList(ArrayList value) { this.stringList = value; return this; } public ArrayList getFloatArray() { return floatArray; } public AllCollectionTypes setFloatArray(ArrayList value) { this.floatArray = value; return this; } public ArrayList getDoubleList() { return doubleList; } public AllCollectionTypes setDoubleList(ArrayList value) { this.doubleList = value; return this; } public byte[] getByteArray() { return byteArray; } public AllCollectionTypes setByteArray(byte[] value) { this.byteArray = value; return this; } public ArrayList getCharArray() { return charArray; } public AllCollectionTypes setCharArray(ArrayList value) { this.charArray = value; return this; } public ArrayList getDecimalList() { return decimalList; } public AllCollectionTypes setDecimalList(ArrayList value) { this.decimalList = value; return this; } public ArrayList getPocoArray() { return pocoArray; } public AllCollectionTypes setPocoArray(ArrayList value) { this.pocoArray = value; return this; } public ArrayList getPocoList() { return pocoList; } public AllCollectionTypes setPocoList(ArrayList value) { this.pocoList = value; return this; } public HashMap> getPocoLookup() { return pocoLookup; } public AllCollectionTypes setPocoLookup(HashMap> value) { this.pocoLookup = value; return this; } public HashMap>> getPocoLookupMap() { return pocoLookupMap; } public AllCollectionTypes setPocoLookupMap(HashMap>> value) { this.pocoLookupMap = value; return this; } private static Object responseType = AllCollectionTypes.class; public Object getResponseType() { return responseType; } } public static class HelloString implements IReturn { public String name = null; public String getName() { return name; } public HelloString setName(String value) { this.name = value; return this; } private static Object responseType = String.class; public Object getResponseType() { return responseType; } } public static class HelloDateTime implements IReturn { public Date dateTime = null; public Date getDateTime() { return dateTime; } public HelloDateTime setDateTime(Date value) { this.dateTime = value; return this; } private static Object responseType = HelloDateTime.class; public Object getResponseType() { return responseType; } } public static class HelloVoid { public String name = null; public String getName() { return name; } public HelloVoid setName(String value) { this.name = value; return this; } } @DataContract public static class HelloWithDataContract implements IReturn { @DataMember(Name="name", Order=1, IsRequired=true, EmitDefaultValue=false) @SerializedName("name") public String name = null; @DataMember(Name="id", Order=2, EmitDefaultValue=false) @SerializedName("id") public Integer id = null; public String getName() { return name; } public HelloWithDataContract setName(String value) { this.name = value; return this; } public Integer getId() { return id; } public HelloWithDataContract setId(Integer value) { this.id = value; return this; } private static Object responseType = HelloWithDataContractResponse.class; public Object getResponseType() { return responseType; } } /** * Description on HelloWithDescription type */ public static class HelloWithDescription implements IReturn { public String name = null; public String getName() { return name; } public HelloWithDescription setName(String value) { this.name = value; return this; } private static Object responseType = HelloWithDescriptionResponse.class; public Object getResponseType() { return responseType; } } public static class HelloWithInheritance extends HelloBase implements IReturn { public String name = null; public String getName() { return name; } public HelloWithInheritance setName(String value) { this.name = value; return this; } private static Object responseType = HelloWithInheritanceResponse.class; public Object getResponseType() { return responseType; } } public static class HelloWithGenericInheritance extends HelloBase_1 { public String result = null; public String getResult() { return result; } public HelloWithGenericInheritance setResult(String value) { this.result = value; return this; } } public static class HelloWithGenericInheritance2 extends HelloBase_1 { public String result = null; public String getResult() { return result; } public HelloWithGenericInheritance2 setResult(String value) { this.result = value; return this; } } public static class HelloWithReturn implements IReturn { public String name = null; public String getName() { return name; } public HelloWithReturn setName(String value) { this.name = value; return this; } private static Object responseType = HelloWithAlternateReturnResponse.class; public Object getResponseType() { return responseType; } } @Route("/helloroute") public static class HelloWithRoute implements IReturn { public String name = null; public String getName() { return name; } public HelloWithRoute setName(String value) { this.name = value; return this; } private static Object responseType = HelloWithRouteResponse.class; public Object getResponseType() { return responseType; } } public static class HelloWithType implements IReturn { public String name = null; public String getName() { return name; } public HelloWithType setName(String value) { this.name = value; return this; } private static Object responseType = HelloWithTypeResponse.class; public Object getResponseType() { return responseType; } } public static class HelloInterface { public IPoco poco = null; public IEmptyInterface emptyInterface = null; public EmptyClass emptyClass = null; public IPoco getPoco() { return poco; } public HelloInterface setPoco(IPoco value) { this.poco = value; return this; } public IEmptyInterface getEmptyInterface() { return emptyInterface; } public HelloInterface setEmptyInterface(IEmptyInterface value) { this.emptyInterface = value; return this; } public EmptyClass getEmptyClass() { return emptyClass; } public HelloInterface setEmptyClass(EmptyClass value) { this.emptyClass = value; return this; } } public static class HelloInnerTypes implements IReturn { private static Object responseType = HelloInnerTypesResponse.class; public Object getResponseType() { return responseType; } } public static class HelloBuiltin { public DayOfWeek dayOfWeek = null; public DayOfWeek getDayOfWeek() { return dayOfWeek; } public HelloBuiltin setDayOfWeek(DayOfWeek value) { this.dayOfWeek = value; return this; } } public static class HelloGet implements IReturn, IGet { public Integer id = null; public Integer getId() { return id; } public HelloGet setId(Integer value) { this.id = value; return this; } private static Object responseType = HelloVerbResponse.class; public Object getResponseType() { return responseType; } } public static class HelloPost extends HelloBase implements IReturn, IPost { private static Object responseType = HelloVerbResponse.class; public Object getResponseType() { return responseType; } } public static class HelloPut implements IReturn, IPut { public Integer id = null; public Integer getId() { return id; } public HelloPut setId(Integer value) { this.id = value; return this; } private static Object responseType = HelloVerbResponse.class; public Object getResponseType() { return responseType; } } public static class HelloDelete implements IReturn, IDelete { public Integer id = null; public Integer getId() { return id; } public HelloDelete setId(Integer value) { this.id = value; return this; } private static Object responseType = HelloVerbResponse.class; public Object getResponseType() { return responseType; } } public static class HelloPatch implements IReturn, IPatch { public Integer id = null; public Integer getId() { return id; } public HelloPatch setId(Integer value) { this.id = value; return this; } private static Object responseType = HelloVerbResponse.class; public Object getResponseType() { return responseType; } } public static class HelloReturnVoid implements IReturnVoid { public Integer id = null; public Integer getId() { return id; } public HelloReturnVoid setId(Integer value) { this.id = value; return this; } } public static class EnumRequest implements IReturn, IPut { public ScopeType operator = null; public ScopeType getOperator() { return operator; } public EnumRequest setOperator(ScopeType value) { this.operator = value; return this; } private static Object responseType = EnumResponse.class; public Object getResponseType() { return responseType; } } @Route("/hellotypes/{Name}") public static class HelloTypes implements IReturn { public String string = null; public Boolean bool = null; @SerializedName("int") public Integer Int = null; public String getString() { return string; } public HelloTypes setString(String value) { this.string = value; return this; } public Boolean isBool() { return bool; } public HelloTypes setBool(Boolean value) { this.bool = value; return this; } public Integer getInt() { return Int; } public HelloTypes setInt(Integer value) { this.Int = value; return this; } private static Object responseType = HelloTypes.class; public Object getResponseType() { return responseType; } } @Route("/hellozip") @DataContract public static class HelloZip implements IReturn { @DataMember public String name = null; @DataMember public ArrayList test = null; public String getName() { return name; } public HelloZip setName(String value) { this.name = value; return this; } public ArrayList getTest() { return test; } public HelloZip setTest(ArrayList value) { this.test = value; return this; } private static Object responseType = HelloZipResponse.class; public Object getResponseType() { return responseType; } } @Route("/ping") public static class Ping implements IReturn { private static Object responseType = PingResponse.class; public Object getResponseType() { return responseType; } } @Route("/reset-connections") public static class ResetConnections { } @Route("/requires-role") public static class RequiresRole implements IReturn { private static Object responseType = RequiresRoleResponse.class; public Object getResponseType() { return responseType; } } @Route("/return/string") public static class ReturnString implements IReturn { public String data = null; public String getData() { return data; } public ReturnString setData(String value) { this.data = value; return this; } private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route("/return/bytes") public static class ReturnBytes implements IReturn { public byte[] data = null; public byte[] getData() { return data; } public ReturnBytes setData(byte[] value) { this.data = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } @Route("/return/stream") public static class ReturnStream implements IReturn { public byte[] data = null; public byte[] getData() { return data; } public ReturnStream setData(byte[] value) { this.data = value; return this; } private static Object responseType = InputStream.class; public Object getResponseType() { return responseType; } } @Route("/return/json") public static class ReturnJson { } @Route("/return/json/header") public static class ReturnJsonHeader { } @Route("/write/json") public static class WriteJson { } @Route(Path="/Request1", Verbs="GET") public static class GetRequest1 implements IReturn>, IGet { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/Request2", Verbs="GET") public static class GetRequest2 implements IReturn>, IGet { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route("/sendjson") public static class SendJson implements IReturn { public Integer id = null; public String name = null; public InputStream requestStream = null; public Integer getId() { return id; } public SendJson setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public SendJson setName(String value) { this.name = value; return this; } public InputStream getRequestStream() { return requestStream; } public SendJson setRequestStream(InputStream value) { this.requestStream = value; return this; } private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route("/sendtext") public static class SendText implements IReturn { public Integer id = null; public String name = null; public String contentType = null; public InputStream requestStream = null; public Integer getId() { return id; } public SendText setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public SendText setName(String value) { this.name = value; return this; } public String getContentType() { return contentType; } public SendText setContentType(String value) { this.contentType = value; return this; } public InputStream getRequestStream() { return requestStream; } public SendText setRequestStream(InputStream value) { this.requestStream = value; return this; } private static Object responseType = String.class; public Object getResponseType() { return responseType; } } @Route("/sendraw") public static class SendRaw implements IReturn { public Integer id = null; public String name = null; public String contentType = null; public InputStream requestStream = null; public Integer getId() { return id; } public SendRaw setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public SendRaw setName(String value) { this.name = value; return this; } public String getContentType() { return contentType; } public SendRaw setContentType(String value) { this.contentType = value; return this; } public InputStream getRequestStream() { return requestStream; } public SendRaw setRequestStream(InputStream value) { this.requestStream = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } public static class SendDefault implements IReturn { public Integer id = null; public Integer getId() { return id; } public SendDefault setId(Integer value) { this.id = value; return this; } private static Object responseType = SendVerbResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/sendrestget/{Id}", Verbs="GET") public static class SendRestGet implements IReturn, IGet { public Integer id = null; public Integer getId() { return id; } public SendRestGet setId(Integer value) { this.id = value; return this; } private static Object responseType = SendVerbResponse.class; public Object getResponseType() { return responseType; } } public static class SendGet implements IReturn, IGet { public Integer id = null; public Integer getId() { return id; } public SendGet setId(Integer value) { this.id = value; return this; } private static Object responseType = SendVerbResponse.class; public Object getResponseType() { return responseType; } } public static class SendPost implements IReturn, IPost { public Integer id = null; public Integer getId() { return id; } public SendPost setId(Integer value) { this.id = value; return this; } private static Object responseType = SendVerbResponse.class; public Object getResponseType() { return responseType; } } public static class SendPut implements IReturn, IPut { public Integer id = null; public Integer getId() { return id; } public SendPut setId(Integer value) { this.id = value; return this; } private static Object responseType = SendVerbResponse.class; public Object getResponseType() { return responseType; } } public static class SendReturnVoid implements IReturnVoid { public Integer id = null; public Integer getId() { return id; } public SendReturnVoid setId(Integer value) { this.id = value; return this; } } @Route("/session") public static class GetSession implements IReturn { private static Object responseType = GetSessionResponse.class; public Object getResponseType() { return responseType; } } @Route("/session/edit/{CustomName}") public static class UpdateSession implements IReturn { public String customName = null; public String getCustomName() { return customName; } public UpdateSession setCustomName(String value) { this.customName = value; return this; } private static Object responseType = GetSessionResponse.class; public Object getResponseType() { return responseType; } } @Route("/Stuff") @DataContract(Namespace="http://schemas.servicestack.net/types") public static class GetStuff implements IReturn { @DataMember @ApiMember(DataType="DateTime", Name="Summary Date") public Date summaryDate = null; @DataMember @ApiMember(DataType="DateTime", Name="Summary End Date") public Date summaryEndDate = null; @DataMember @ApiMember(DataType="string", Name="Symbol") public String symbol = null; @DataMember @ApiMember(DataType="string", Name="Email") public String email = null; @DataMember @ApiMember(DataType="bool", Name="Is Enabled") public Boolean isEnabled = null; public Date getSummaryDate() { return summaryDate; } public GetStuff setSummaryDate(Date value) { this.summaryDate = value; return this; } public Date getSummaryEndDate() { return summaryEndDate; } public GetStuff setSummaryEndDate(Date value) { this.summaryEndDate = value; return this; } public String getSymbol() { return symbol; } public GetStuff setSymbol(String value) { this.symbol = value; return this; } public String getEmail() { return email; } public GetStuff setEmail(String value) { this.email = value; return this; } public Boolean getIsEnabled() { return isEnabled; } public GetStuff setIsEnabled(Boolean value) { this.isEnabled = value; return this; } private static Object responseType = GetStuffResponse.class; public Object getResponseType() { return responseType; } } public static class StoreLogs implements IReturn { public ArrayList loggers = null; public ArrayList getLoggers() { return loggers; } public StoreLogs setLoggers(ArrayList value) { this.loggers = value; return this; } private static Object responseType = StoreLogsResponse.class; public Object getResponseType() { return responseType; } } public static class HelloAuth implements IReturn { public String name = null; public String getName() { return name; } public HelloAuth setName(String value) { this.name = value; return this; } private static Object responseType = HelloResponse.class; public Object getResponseType() { return responseType; } } @Route("/testauth") public static class TestAuth implements IReturn { private static Object responseType = TestAuthResponse.class; public Object getResponseType() { return responseType; } } public static class RequiresAdmin implements IReturn { public Integer id = null; public Integer getId() { return id; } public RequiresAdmin setId(Integer value) { this.id = value; return this; } private static Object responseType = RequiresAdmin.class; public Object getResponseType() { return responseType; } } @Route("/testdata/AllTypes") public static class TestDataAllTypes implements IReturn { private static Object responseType = AllTypes.class; public Object getResponseType() { return responseType; } } @Route("/testdata/AllCollectionTypes") public static class TestDataAllCollectionTypes implements IReturn { private static Object responseType = AllCollectionTypes.class; public Object getResponseType() { return responseType; } } @Route("/custom") // @Route("/custom/{Data}") public static class CustomRoute implements IReturn { public String data = null; public String getData() { return data; } public CustomRoute setData(String value) { this.data = value; return this; } private static Object responseType = CustomRoute.class; public Object getResponseType() { return responseType; } } @Route("/void-response") public static class TestVoidResponse { } @Route("/null-response") public static class TestNullResponse { } @Route("/wait/{ForMs}") public static class Wait implements IReturn { public Integer forMs = null; public Integer getForMs() { return forMs; } public Wait setForMs(Integer value) { this.forMs = value; return this; } private static Object responseType = Wait.class; public Object getResponseType() { return responseType; } } @Route("/echo/types") public static class EchoTypes implements IReturn { @SerializedName("byte") public Short Byte = null; @SerializedName("short") public Short Short = null; @SerializedName("int") public Integer Int = null; @SerializedName("long") public Long Long = null; public Integer uShort = null; public Long uInt = null; public BigInteger uLong = null; @SerializedName("float") public Float Float = null; @SerializedName("double") public Double Double = null; public BigDecimal decimal = null; public String string = null; public Date dateTime = null; public TimeSpan timeSpan = null; public Date dateTimeOffset = null; public UUID guid = null; @SerializedName("char") public String Char = null; public Short getByte() { return Byte; } public EchoTypes setByte(Short value) { this.Byte = value; return this; } public Short getShort() { return Short; } public EchoTypes setShort(Short value) { this.Short = value; return this; } public Integer getInt() { return Int; } public EchoTypes setInt(Integer value) { this.Int = value; return this; } public Long getLong() { return Long; } public EchoTypes setLong(Long value) { this.Long = value; return this; } public Integer getUShort() { return uShort; } public EchoTypes setUShort(Integer value) { this.uShort = value; return this; } public Long getUInt() { return uInt; } public EchoTypes setUInt(Long value) { this.uInt = value; return this; } public BigInteger getULong() { return uLong; } public EchoTypes setULong(BigInteger value) { this.uLong = value; return this; } public Float getFloat() { return Float; } public EchoTypes setFloat(Float value) { this.Float = value; return this; } public Double getDouble() { return Double; } public EchoTypes setDouble(Double value) { this.Double = value; return this; } public BigDecimal getDecimal() { return decimal; } public EchoTypes setDecimal(BigDecimal value) { this.decimal = value; return this; } public String getString() { return string; } public EchoTypes setString(String value) { this.string = value; return this; } public Date getDateTime() { return dateTime; } public EchoTypes setDateTime(Date value) { this.dateTime = value; return this; } public TimeSpan getTimeSpan() { return timeSpan; } public EchoTypes setTimeSpan(TimeSpan value) { this.timeSpan = value; return this; } public Date getDateTimeOffset() { return dateTimeOffset; } public EchoTypes setDateTimeOffset(Date value) { this.dateTimeOffset = value; return this; } public UUID getGuid() { return guid; } public EchoTypes setGuid(UUID value) { this.guid = value; return this; } public String getChar() { return Char; } public EchoTypes setChar(String value) { this.Char = value; return this; } private static Object responseType = EchoTypes.class; public Object getResponseType() { return responseType; } } @Route("/echo/collections") public static class EchoCollections implements IReturn { public ArrayList stringList = null; public ArrayList stringArray = null; public HashMap stringMap = null; public HashMap intStringMap = null; public ArrayList getStringList() { return stringList; } public EchoCollections setStringList(ArrayList value) { this.stringList = value; return this; } public ArrayList getStringArray() { return stringArray; } public EchoCollections setStringArray(ArrayList value) { this.stringArray = value; return this; } public HashMap getStringMap() { return stringMap; } public EchoCollections setStringMap(HashMap value) { this.stringMap = value; return this; } public HashMap getIntStringMap() { return intStringMap; } public EchoCollections setIntStringMap(HashMap value) { this.intStringMap = value; return this; } private static Object responseType = EchoCollections.class; public Object getResponseType() { return responseType; } } @Route("/echo/complex") public static class EchoComplexTypes implements IReturn { public SubType subType = null; public ArrayList subTypes = null; public HashMap subTypeMap = null; public HashMap stringMap = null; public HashMap intStringMap = null; public SubType getSubType() { return subType; } public EchoComplexTypes setSubType(SubType value) { this.subType = value; return this; } public ArrayList getSubTypes() { return subTypes; } public EchoComplexTypes setSubTypes(ArrayList value) { this.subTypes = value; return this; } public HashMap getSubTypeMap() { return subTypeMap; } public EchoComplexTypes setSubTypeMap(HashMap value) { this.subTypeMap = value; return this; } public HashMap getStringMap() { return stringMap; } public EchoComplexTypes setStringMap(HashMap value) { this.stringMap = value; return this; } public HashMap getIntStringMap() { return intStringMap; } public EchoComplexTypes setIntStringMap(HashMap value) { this.intStringMap = value; return this; } private static Object responseType = EchoComplexTypes.class; public Object getResponseType() { return responseType; } } @Route(Path="/rockstars", Verbs="POST") public static class StoreRockstars extends ArrayList implements IReturn { private static Object responseType = StoreRockstars.class; public Object getResponseType() { return responseType; } } /** * Sign In */ @Route(Path="/auth", Verbs="OPTIONS,GET,POST,DELETE") // @Route(Path="/auth/{provider}", Verbs="OPTIONS,GET,POST,DELETE") @Api(Description="Sign In") @DataContract public static class Authenticate implements IReturn, IPost { /** * AuthProvider, e.g. credentials */ @DataMember(Order=1) public String provider = null; @DataMember(Order=2) public String state = null; @DataMember(Order=3) public String oauth_token = null; @DataMember(Order=4) public String oauth_verifier = null; @DataMember(Order=5) public String userName = null; @DataMember(Order=6) public String password = null; @DataMember(Order=7) public Boolean rememberMe = null; @DataMember(Order=9) public String errorView = null; @DataMember(Order=10) public String nonce = null; @DataMember(Order=11) public String uri = null; @DataMember(Order=12) public String response = null; @DataMember(Order=13) public String qop = null; @DataMember(Order=14) public String nc = null; @DataMember(Order=15) public String cnonce = null; @DataMember(Order=17) public String accessToken = null; @DataMember(Order=18) public String accessTokenSecret = null; @DataMember(Order=19) public String scope = null; @DataMember(Order=20) public String returnUrl = null; @DataMember(Order=21) public HashMap meta = null; public String getProvider() { return provider; } public Authenticate setProvider(String value) { this.provider = value; return this; } public String getState() { return state; } public Authenticate setState(String value) { this.state = value; return this; } public String getOauthToken() { return oauth_token; } public Authenticate setOauthToken(String value) { this.oauth_token = value; return this; } public String getOauthVerifier() { return oauth_verifier; } public Authenticate setOauthVerifier(String value) { this.oauth_verifier = value; return this; } 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; } public Boolean isRememberMe() { return rememberMe; } public Authenticate setRememberMe(Boolean value) { this.rememberMe = value; return this; } public String getErrorView() { return errorView; } public Authenticate setErrorView(String value) { this.errorView = value; return this; } public String getNonce() { return nonce; } public Authenticate setNonce(String value) { this.nonce = value; return this; } public String getUri() { return uri; } public Authenticate setUri(String value) { this.uri = value; return this; } public String getResponse() { return response; } public Authenticate setResponse(String value) { this.response = value; return this; } public String getQop() { return qop; } public Authenticate setQop(String value) { this.qop = value; return this; } public String getNc() { return nc; } public Authenticate setNc(String value) { this.nc = value; return this; } public String getCnonce() { return cnonce; } public Authenticate setCnonce(String value) { this.cnonce = value; return this; } public String getAccessToken() { return accessToken; } public Authenticate setAccessToken(String value) { this.accessToken = value; return this; } public String getAccessTokenSecret() { return accessTokenSecret; } public Authenticate setAccessTokenSecret(String value) { this.accessTokenSecret = value; return this; } public String getScope() { return scope; } public Authenticate setScope(String value) { this.scope = value; return this; } public String getReturnUrl() { return returnUrl; } public Authenticate setReturnUrl(String value) { this.returnUrl = value; return this; } public HashMap getMeta() { return meta; } public Authenticate setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = AuthenticateResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/assignroles", Verbs="POST") @DataContract public static class AssignRoles implements IReturn, IPost { @DataMember(Order=1) public String userName = null; @DataMember(Order=2) public ArrayList permissions = null; @DataMember(Order=3) public ArrayList roles = null; @DataMember(Order=4) public HashMap meta = null; public String getUserName() { return userName; } public AssignRoles setUserName(String value) { this.userName = value; return this; } public ArrayList getPermissions() { return permissions; } public AssignRoles setPermissions(ArrayList value) { this.permissions = value; return this; } public ArrayList getRoles() { return roles; } public AssignRoles setRoles(ArrayList value) { this.roles = value; return this; } public HashMap getMeta() { return meta; } public AssignRoles setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = AssignRolesResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/unassignroles", Verbs="POST") @DataContract public static class UnAssignRoles implements IReturn, IPost { @DataMember(Order=1) public String userName = null; @DataMember(Order=2) public ArrayList permissions = null; @DataMember(Order=3) public ArrayList roles = null; @DataMember(Order=4) public HashMap meta = null; public String getUserName() { return userName; } public UnAssignRoles setUserName(String value) { this.userName = value; return this; } public ArrayList getPermissions() { return permissions; } public UnAssignRoles setPermissions(ArrayList value) { this.permissions = value; return this; } public ArrayList getRoles() { return roles; } public UnAssignRoles setRoles(ArrayList value) { this.roles = value; return this; } public HashMap getMeta() { return meta; } public UnAssignRoles setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = UnAssignRolesResponse.class; public Object getResponseType() { return responseType; } } /** * Sign Up */ @Route(Path="/register", Verbs="PUT,POST") @Api(Description="Sign Up") @DataContract public static class Register implements IReturn, IPost { @DataMember(Order=1) public String userName = null; @DataMember(Order=2) public String firstName = null; @DataMember(Order=3) public String lastName = null; @DataMember(Order=4) public String displayName = null; @DataMember(Order=5) public String email = null; @DataMember(Order=6) public String password = null; @DataMember(Order=7) public String confirmPassword = null; @DataMember(Order=8) public Boolean autoLogin = null; @DataMember(Order=10) public String errorView = null; @DataMember(Order=11) public HashMap meta = null; public String getUserName() { return userName; } public Register setUserName(String value) { this.userName = value; return this; } public String getFirstName() { return firstName; } public Register setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public Register setLastName(String value) { this.lastName = value; return this; } public String getDisplayName() { return displayName; } public Register setDisplayName(String value) { this.displayName = value; return this; } public String getEmail() { return email; } public Register setEmail(String value) { this.email = value; return this; } public String getPassword() { return password; } public Register setPassword(String value) { this.password = value; return this; } public String getConfirmPassword() { return confirmPassword; } public Register setConfirmPassword(String value) { this.confirmPassword = value; return this; } public Boolean isAutoLogin() { return autoLogin; } public Register setAutoLogin(Boolean value) { this.autoLogin = value; return this; } public String getErrorView() { return errorView; } public Register setErrorView(String value) { this.errorView = value; return this; } public HashMap getMeta() { return meta; } public Register setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = RegisterResponse.class; public Object getResponseType() { return responseType; } } public static class QueryRockstarAudit extends QueryDbTenant_2 implements IReturn> { public Integer id = null; public Integer getId() { return id; } public QueryRockstarAudit setId(Integer value) { this.id = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class QueryRockstarAuditSubOr extends QueryDb_2 implements IReturn> { public String firstNameStartsWith = null; public Integer ageOlderThan = null; public String getFirstNameStartsWith() { return firstNameStartsWith; } public QueryRockstarAuditSubOr setFirstNameStartsWith(String value) { this.firstNameStartsWith = value; return this; } public Integer getAgeOlderThan() { return ageOlderThan; } public QueryRockstarAuditSubOr setAgeOlderThan(Integer value) { this.ageOlderThan = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class QueryPocoBase extends QueryDb_1 implements IReturn> { public Integer id = null; public Integer getId() { return id; } public QueryPocoBase setId(Integer value) { this.id = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class QueryPocoIntoBase extends QueryDb_2 implements IReturn> { public Integer id = null; public Integer getId() { return id; } public QueryPocoIntoBase setId(Integer value) { this.id = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/message/query/{Id}", Verbs="GET") public static class MessageQuery extends QueryDb_1 implements IReturn> { public Integer id = null; public Integer getId() { return id; } public MessageQuery setId(Integer value) { this.id = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @Route(Path="/rockstars", Verbs="GET") public static class QueryRockstars extends QueryDb_1 implements IReturn> { private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class CreateRockstarAudit extends RockstarBase implements IReturn, ICreateDb { private static Object responseType = RockstarWithIdResponse.class; public Object getResponseType() { return responseType; } } public static class CreateRockstarAuditTenant extends CreateAuditTenantBase implements IReturn, IHasSessionId { public String sessionId = null; public String firstName = null; public String lastName = null; public Integer age = null; public Date dateOfBirth = null; public Date dateDied = null; public LivingStatus livingStatus = null; public String getSessionId() { return sessionId; } public CreateRockstarAuditTenant setSessionId(String value) { this.sessionId = value; return this; } public String getFirstName() { return firstName; } public CreateRockstarAuditTenant setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public CreateRockstarAuditTenant setLastName(String value) { this.lastName = value; return this; } public Integer getAge() { return age; } public CreateRockstarAuditTenant setAge(Integer value) { this.age = value; return this; } public Date getDateOfBirth() { return dateOfBirth; } public CreateRockstarAuditTenant setDateOfBirth(Date value) { this.dateOfBirth = value; return this; } public Date getDateDied() { return dateDied; } public CreateRockstarAuditTenant setDateDied(Date value) { this.dateDied = value; return this; } public LivingStatus getLivingStatus() { return livingStatus; } public CreateRockstarAuditTenant setLivingStatus(LivingStatus value) { this.livingStatus = value; return this; } private static Object responseType = RockstarWithIdAndResultResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateRockstarAuditTenant extends UpdateAuditTenantBase implements IReturn, IHasSessionId { public String sessionId = null; public Integer id = null; public String firstName = null; public LivingStatus livingStatus = null; public String getSessionId() { return sessionId; } public UpdateRockstarAuditTenant setSessionId(String value) { this.sessionId = value; return this; } public Integer getId() { return id; } public UpdateRockstarAuditTenant setId(Integer value) { this.id = value; return this; } public String getFirstName() { return firstName; } public UpdateRockstarAuditTenant setFirstName(String value) { this.firstName = value; return this; } public LivingStatus getLivingStatus() { return livingStatus; } public UpdateRockstarAuditTenant setLivingStatus(LivingStatus value) { this.livingStatus = value; return this; } private static Object responseType = RockstarWithIdAndResultResponse.class; public Object getResponseType() { return responseType; } } public static class PatchRockstarAuditTenant extends PatchAuditTenantBase implements IReturn, IHasSessionId { public String sessionId = null; public Integer id = null; public String firstName = null; public LivingStatus livingStatus = null; public String getSessionId() { return sessionId; } public PatchRockstarAuditTenant setSessionId(String value) { this.sessionId = value; return this; } public Integer getId() { return id; } public PatchRockstarAuditTenant setId(Integer value) { this.id = value; return this; } public String getFirstName() { return firstName; } public PatchRockstarAuditTenant setFirstName(String value) { this.firstName = value; return this; } public LivingStatus getLivingStatus() { return livingStatus; } public PatchRockstarAuditTenant setLivingStatus(LivingStatus value) { this.livingStatus = value; return this; } private static Object responseType = RockstarWithIdAndResultResponse.class; public Object getResponseType() { return responseType; } } public static class SoftDeleteAuditTenant extends SoftDeleteAuditTenantBase implements IReturn { public Integer id = null; public Integer getId() { return id; } public SoftDeleteAuditTenant setId(Integer value) { this.id = value; return this; } private static Object responseType = RockstarWithIdAndResultResponse.class; public Object getResponseType() { return responseType; } } public static class CreateRockstarAuditMqToken extends RockstarBase implements IReturn, ICreateDb, IHasBearerToken { public String bearerToken = null; public String getBearerToken() { return bearerToken; } public CreateRockstarAuditMqToken setBearerToken(String value) { this.bearerToken = value; return this; } private static Object responseType = RockstarWithIdResponse.class; public Object getResponseType() { return responseType; } } public static class RealDeleteAuditTenant implements IReturn, IDeleteDb, IHasSessionId { public String sessionId = null; public Integer id = null; public Integer age = null; public String getSessionId() { return sessionId; } public RealDeleteAuditTenant setSessionId(String value) { this.sessionId = value; return this; } public Integer getId() { return id; } public RealDeleteAuditTenant setId(Integer value) { this.id = value; return this; } public Integer getAge() { return age; } public RealDeleteAuditTenant setAge(Integer value) { this.age = value; return this; } private static Object responseType = RockstarWithIdAndCountResponse.class; public Object getResponseType() { return responseType; } } public static class CreateRockstarVersion extends RockstarBase implements IReturn, ICreateDb { private static Object responseType = RockstarWithIdAndRowVersionResponse.class; public Object getResponseType() { return responseType; } } @Route(Path="/messages/crud/{Id}", Verbs="PUT") public static class MessageCrud implements IReturnVoid, ISaveDb { public Integer id = null; public String name = null; public Integer getId() { return id; } public MessageCrud setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public MessageCrud setName(String value) { this.name = value; return this; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer offset = null; @DataMember(Order=2) public Integer total = null; @DataMember(Order=3) public ArrayList results = null; @DataMember(Order=4) public HashMap meta = null; @DataMember(Order=5) public ResponseStatus responseStatus = null; public Integer getOffset() { return offset; } public QueryResponse setOffset(Integer value) { this.offset = value; return this; } public Integer getTotal() { return total; } public QueryResponse setTotal(Integer value) { this.total = value; return this; } public ArrayList getResults() { return results; } public QueryResponse setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public QueryResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class ChatMessage { public Long id = null; public String channel = null; public String fromUserId = null; public String fromName = null; public String displayName = null; public String message = null; public String userAuthId = null; @SerializedName("private") public Boolean Private = null; public Long getId() { return id; } public ChatMessage setId(Long value) { this.id = value; return this; } public String getChannel() { return channel; } public ChatMessage setChannel(String value) { this.channel = value; return this; } public String getFromUserId() { return fromUserId; } public ChatMessage setFromUserId(String value) { this.fromUserId = value; return this; } public String getFromName() { return fromName; } public ChatMessage setFromName(String value) { this.fromName = value; return this; } public String getDisplayName() { return displayName; } public ChatMessage setDisplayName(String value) { this.displayName = value; return this; } public String getMessage() { return message; } public ChatMessage setMessage(String value) { this.message = value; return this; } public String getUserAuthId() { return userAuthId; } public ChatMessage setUserAuthId(String value) { this.userAuthId = value; return this; } public Boolean isPrivate() { return Private; } public ChatMessage setPrivate(Boolean value) { this.Private = value; return this; } } public static class GetChatHistoryResponse { public ArrayList results = null; public ResponseStatus responseStatus = null; public ArrayList getResults() { return results; } public GetChatHistoryResponse setResults(ArrayList value) { this.results = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetChatHistoryResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GetUserDetailsResponse { public String provider = null; public String userId = null; public String userName = null; public String fullName = null; public String displayName = null; public String firstName = null; public String lastName = null; public String company = null; public String email = null; public String phoneNumber = null; public Date birthDate = null; public String birthDateRaw = null; public String address = null; public String address2 = null; public String city = null; public String state = null; public String country = null; public String culture = null; public String gender = null; public String language = null; public String mailAddress = null; public String nickname = null; public String postalCode = null; public String timeZone = null; public String getProvider() { return provider; } public GetUserDetailsResponse setProvider(String value) { this.provider = value; return this; } public String getUserId() { return userId; } public GetUserDetailsResponse setUserId(String value) { this.userId = value; return this; } public String getUserName() { return userName; } public GetUserDetailsResponse setUserName(String value) { this.userName = value; return this; } public String getFullName() { return fullName; } public GetUserDetailsResponse setFullName(String value) { this.fullName = value; return this; } public String getDisplayName() { return displayName; } public GetUserDetailsResponse setDisplayName(String value) { this.displayName = value; return this; } public String getFirstName() { return firstName; } public GetUserDetailsResponse setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public GetUserDetailsResponse setLastName(String value) { this.lastName = value; return this; } public String getCompany() { return company; } public GetUserDetailsResponse setCompany(String value) { this.company = value; return this; } public String getEmail() { return email; } public GetUserDetailsResponse setEmail(String value) { this.email = value; return this; } public String getPhoneNumber() { return phoneNumber; } public GetUserDetailsResponse setPhoneNumber(String value) { this.phoneNumber = value; return this; } public Date getBirthDate() { return birthDate; } public GetUserDetailsResponse setBirthDate(Date value) { this.birthDate = value; return this; } public String getBirthDateRaw() { return birthDateRaw; } public GetUserDetailsResponse setBirthDateRaw(String value) { this.birthDateRaw = value; return this; } public String getAddress() { return address; } public GetUserDetailsResponse setAddress(String value) { this.address = value; return this; } public String getAddress2() { return address2; } public GetUserDetailsResponse setAddress2(String value) { this.address2 = value; return this; } public String getCity() { return city; } public GetUserDetailsResponse setCity(String value) { this.city = value; return this; } public String getState() { return state; } public GetUserDetailsResponse setState(String value) { this.state = value; return this; } public String getCountry() { return country; } public GetUserDetailsResponse setCountry(String value) { this.country = value; return this; } public String getCulture() { return culture; } public GetUserDetailsResponse setCulture(String value) { this.culture = value; return this; } public String getGender() { return gender; } public GetUserDetailsResponse setGender(String value) { this.gender = value; return this; } public String getLanguage() { return language; } public GetUserDetailsResponse setLanguage(String value) { this.language = value; return this; } public String getMailAddress() { return mailAddress; } public GetUserDetailsResponse setMailAddress(String value) { this.mailAddress = value; return this; } public String getNickname() { return nickname; } public GetUserDetailsResponse setNickname(String value) { this.nickname = value; return this; } public String getPostalCode() { return postalCode; } public GetUserDetailsResponse setPostalCode(String value) { this.postalCode = value; return this; } public String getTimeZone() { return timeZone; } public GetUserDetailsResponse setTimeZone(String value) { this.timeZone = value; return this; } } public static class CustomHttpErrorResponse { public String custom = null; public ResponseStatus responseStatus = null; public String getCustom() { return custom; } public CustomHttpErrorResponse setCustom(String value) { this.custom = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CustomHttpErrorResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class QueryResponseAlt { public Integer offset = null; public Integer total = null; public ArrayList results = null; public HashMap meta = null; public ResponseStatus responseStatus = null; public Integer getOffset() { return offset; } public QueryResponseAlt setOffset(Integer value) { this.offset = value; return this; } public Integer getTotal() { return total; } public QueryResponseAlt setTotal(Integer value) { this.total = value; return this; } public ArrayList getResults() { return results; } public QueryResponseAlt setResults(ArrayList value) { this.results = value; return this; } public HashMap getMeta() { return meta; } public QueryResponseAlt setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public QueryResponseAlt setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class Items { public ArrayList results = null; public ArrayList getResults() { return results; } public Items setResults(ArrayList value) { this.results = 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 ReturnCustom400Response { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public ReturnCustom400Response setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class ThrowTypeResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public ThrowTypeResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class ThrowValidationResponse { public Integer age = null; public String required = null; public String email = null; public ResponseStatus responseStatus = null; public Integer getAge() { return age; } public ThrowValidationResponse setAge(Integer value) { this.age = value; return this; } public String getRequired() { return required; } public ThrowValidationResponse setRequired(String value) { this.required = value; return this; } public String getEmail() { return email; } public ThrowValidationResponse setEmail(String value) { this.email = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public ThrowValidationResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class ThrowBusinessErrorResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public ThrowBusinessErrorResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class Account { public String name = null; public String getName() { return name; } public Account setName(String value) { this.name = value; return this; } } public static class Project { public String account = null; public String name = null; public String getAccount() { return account; } public Project setAccount(String value) { this.account = value; return this; } public String getName() { return name; } public Project setName(String value) { this.name = value; return this; } } public static class SecuredResponse { public String result = null; public ResponseStatus responseStatus = null; public String getResult() { return result; } public SecuredResponse setResult(String value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public SecuredResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class CreateJwtResponse { public String token = null; public ResponseStatus responseStatus = null; public String getToken() { return token; } public CreateJwtResponse setToken(String value) { this.token = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreateJwtResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class CreateRefreshJwtResponse { public String token = null; public ResponseStatus responseStatus = null; public String getToken() { return token; } public CreateRefreshJwtResponse setToken(String value) { this.token = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public CreateRefreshJwtResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class MetadataTestResponse { public Integer id = null; public ArrayList results = null; public Integer getId() { return id; } public MetadataTestResponse setId(Integer value) { this.id = value; return this; } public ArrayList getResults() { return results; } public MetadataTestResponse setResults(ArrayList value) { this.results = value; return this; } } @DataContract public static class GetExampleResponse { @DataMember(Order=1) public ResponseStatus responseStatus = null; @DataMember(Order=2) @ApiMember() public MenuExample menuExample1 = null; public ResponseStatus getResponseStatus() { return responseStatus; } public GetExampleResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public MenuExample getMenuExample1() { return menuExample1; } public GetExampleResponse setMenuExample1(MenuExample value) { this.menuExample1 = value; return this; } } public static class GetRandomIdsResponse { public ArrayList results = null; public ArrayList getResults() { return results; } public GetRandomIdsResponse setResults(ArrayList value) { this.results = 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; } } public static class HelloAllTypesResponse { public String result = null; public AllTypes allTypes = null; public AllCollectionTypes allCollectionTypes = null; public String getResult() { return result; } public HelloAllTypesResponse setResult(String value) { this.result = value; return this; } public AllTypes getAllTypes() { return allTypes; } public HelloAllTypesResponse setAllTypes(AllTypes value) { this.allTypes = value; return this; } public AllCollectionTypes getAllCollectionTypes() { return allCollectionTypes; } public HelloAllTypesResponse setAllCollectionTypes(AllCollectionTypes value) { this.allCollectionTypes = value; return this; } } public static class SubAllTypes extends AllTypesBase { public Integer hierarchy = null; public Integer getHierarchy() { return hierarchy; } public SubAllTypes setHierarchy(Integer value) { this.hierarchy = value; return this; } } @DataContract public static class HelloWithDataContractResponse { @DataMember(Name="result", Order=1, IsRequired=true, EmitDefaultValue=false) @SerializedName("result") public String result = null; public String getResult() { return result; } public HelloWithDataContractResponse setResult(String value) { this.result = value; return this; } } /** * Description on HelloWithDescriptionResponse type */ public static class HelloWithDescriptionResponse { public String result = null; public String getResult() { return result; } public HelloWithDescriptionResponse setResult(String value) { this.result = value; return this; } } public static class HelloWithInheritanceResponse extends HelloResponseBase { public String result = null; public String getResult() { return result; } public HelloWithInheritanceResponse setResult(String value) { this.result = value; return this; } } public static class HelloWithAlternateReturnResponse extends HelloWithReturnResponse { public String altResult = null; public String getAltResult() { return altResult; } public HelloWithAlternateReturnResponse setAltResult(String value) { this.altResult = value; return this; } } public static class HelloWithRouteResponse { public String result = null; public String getResult() { return result; } public HelloWithRouteResponse setResult(String value) { this.result = value; return this; } } public static class HelloWithTypeResponse { public HelloType result = null; public HelloType getResult() { return result; } public HelloWithTypeResponse setResult(HelloType value) { this.result = value; return this; } } public static class HelloInnerTypesResponse { public InnerType innerType = null; public InnerEnum innerEnum = null; public InnerType getInnerType() { return innerType; } public HelloInnerTypesResponse setInnerType(InnerType value) { this.innerType = value; return this; } public InnerEnum getInnerEnum() { return innerEnum; } public HelloInnerTypesResponse setInnerEnum(InnerEnum value) { this.innerEnum = value; return this; } } public static class HelloVerbResponse { public String result = null; public String getResult() { return result; } public HelloVerbResponse setResult(String value) { this.result = value; return this; } } public static class EnumResponse { public ScopeType operator = null; public ScopeType getOperator() { return operator; } public EnumResponse setOperator(ScopeType value) { this.operator = value; return this; } } @DataContract public static class HelloZipResponse { @DataMember public String result = null; public String getResult() { return result; } public HelloZipResponse setResult(String value) { this.result = value; return this; } } public static class PingResponse { public HashMap responses = null; public ResponseStatus responseStatus = null; public HashMap getResponses() { return responses; } public PingResponse setResponses(HashMap value) { this.responses = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public PingResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class RequiresRoleResponse { public String result = null; public ResponseStatus responseStatus = null; public String getResult() { return result; } public RequiresRoleResponse setResult(String value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RequiresRoleResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class SendVerbResponse { public Integer id = null; public String pathInfo = null; public String requestMethod = null; public Integer getId() { return id; } public SendVerbResponse setId(Integer value) { this.id = value; return this; } public String getPathInfo() { return pathInfo; } public SendVerbResponse setPathInfo(String value) { this.pathInfo = value; return this; } public String getRequestMethod() { return requestMethod; } public SendVerbResponse setRequestMethod(String value) { this.requestMethod = value; return this; } } public static class GetSessionResponse { public CustomUserSession result = null; public UnAuthInfo unAuthInfo = null; public ResponseStatus responseStatus = null; public CustomUserSession getResult() { return result; } public GetSessionResponse setResult(CustomUserSession value) { this.result = value; return this; } public UnAuthInfo getUnAuthInfo() { return unAuthInfo; } public GetSessionResponse setUnAuthInfo(UnAuthInfo value) { this.unAuthInfo = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public GetSessionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract(Namespace="http://schemas.servicestack.net/types") public static class GetStuffResponse { @DataMember public Date summaryDate = null; @DataMember public Date summaryEndDate = null; @DataMember public String symbol = null; @DataMember public String email = null; @DataMember public Boolean isEnabled = null; public Date getSummaryDate() { return summaryDate; } public GetStuffResponse setSummaryDate(Date value) { this.summaryDate = value; return this; } public Date getSummaryEndDate() { return summaryEndDate; } public GetStuffResponse setSummaryEndDate(Date value) { this.summaryEndDate = value; return this; } public String getSymbol() { return symbol; } public GetStuffResponse setSymbol(String value) { this.symbol = value; return this; } public String getEmail() { return email; } public GetStuffResponse setEmail(String value) { this.email = value; return this; } public Boolean getIsEnabled() { return isEnabled; } public GetStuffResponse setIsEnabled(Boolean value) { this.isEnabled = value; return this; } } public static class StoreLogsResponse { public ArrayList existingLogs = null; public ResponseStatus responseStatus = null; public ArrayList getExistingLogs() { return existingLogs; } public StoreLogsResponse setExistingLogs(ArrayList value) { this.existingLogs = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public StoreLogsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class TestAuthResponse { public String userId = null; public String sessionId = null; public String userName = null; public String displayName = null; public ResponseStatus responseStatus = null; public String getUserId() { return userId; } public TestAuthResponse setUserId(String value) { this.userId = value; return this; } public String getSessionId() { return sessionId; } public TestAuthResponse setSessionId(String value) { this.sessionId = value; return this; } public String getUserName() { return userName; } public TestAuthResponse setUserName(String value) { this.userName = value; return this; } public String getDisplayName() { return displayName; } public TestAuthResponse setDisplayName(String value) { this.displayName = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public TestAuthResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class AuthenticateResponse implements IHasSessionId, IHasBearerToken { @DataMember(Order=1) public String userId = null; @DataMember(Order=2) public String sessionId = null; @DataMember(Order=3) public String userName = null; @DataMember(Order=4) public String displayName = null; @DataMember(Order=5) public String referrerUrl = null; @DataMember(Order=6) public String bearerToken = null; @DataMember(Order=7) public String refreshToken = null; @DataMember(Order=8) public String profileUrl = null; @DataMember(Order=9) public ArrayList roles = null; @DataMember(Order=10) public ArrayList permissions = null; @DataMember(Order=11) public ResponseStatus responseStatus = null; @DataMember(Order=12) public HashMap meta = null; public String getUserId() { return userId; } public AuthenticateResponse setUserId(String value) { this.userId = value; return this; } public String getSessionId() { return sessionId; } public AuthenticateResponse setSessionId(String value) { this.sessionId = value; return this; } public String getUserName() { return userName; } public AuthenticateResponse setUserName(String value) { this.userName = value; return this; } public String getDisplayName() { return displayName; } public AuthenticateResponse setDisplayName(String value) { this.displayName = value; return this; } public String getReferrerUrl() { return referrerUrl; } public AuthenticateResponse setReferrerUrl(String value) { this.referrerUrl = value; return this; } public String getBearerToken() { return bearerToken; } public AuthenticateResponse setBearerToken(String value) { this.bearerToken = value; return this; } public String getRefreshToken() { return refreshToken; } public AuthenticateResponse setRefreshToken(String value) { this.refreshToken = value; return this; } public String getProfileUrl() { return profileUrl; } public AuthenticateResponse setProfileUrl(String value) { this.profileUrl = value; return this; } public ArrayList getRoles() { return roles; } public AuthenticateResponse setRoles(ArrayList value) { this.roles = value; return this; } public ArrayList getPermissions() { return permissions; } public AuthenticateResponse setPermissions(ArrayList value) { this.permissions = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public AuthenticateResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public HashMap getMeta() { return meta; } public AuthenticateResponse setMeta(HashMap value) { this.meta = value; return this; } } @DataContract public static class AssignRolesResponse { @DataMember(Order=1) public ArrayList allRoles = null; @DataMember(Order=2) public ArrayList allPermissions = null; @DataMember(Order=3) public HashMap meta = null; @DataMember(Order=4) public ResponseStatus responseStatus = null; public ArrayList getAllRoles() { return allRoles; } public AssignRolesResponse setAllRoles(ArrayList value) { this.allRoles = value; return this; } public ArrayList getAllPermissions() { return allPermissions; } public AssignRolesResponse setAllPermissions(ArrayList value) { this.allPermissions = value; return this; } public HashMap getMeta() { return meta; } public AssignRolesResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public AssignRolesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class UnAssignRolesResponse { @DataMember(Order=1) public ArrayList allRoles = null; @DataMember(Order=2) public ArrayList allPermissions = null; @DataMember(Order=3) public HashMap meta = null; @DataMember(Order=4) public ResponseStatus responseStatus = null; public ArrayList getAllRoles() { return allRoles; } public UnAssignRolesResponse setAllRoles(ArrayList value) { this.allRoles = value; return this; } public ArrayList getAllPermissions() { return allPermissions; } public UnAssignRolesResponse setAllPermissions(ArrayList value) { this.allPermissions = value; return this; } public HashMap getMeta() { return meta; } public UnAssignRolesResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public UnAssignRolesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class RegisterResponse implements IHasSessionId, IHasBearerToken { @DataMember(Order=1) public String userId = null; @DataMember(Order=2) public String sessionId = null; @DataMember(Order=3) public String userName = null; @DataMember(Order=4) public String referrerUrl = null; @DataMember(Order=5) public String bearerToken = null; @DataMember(Order=6) public String refreshToken = null; @DataMember(Order=7) public ArrayList roles = null; @DataMember(Order=8) public ArrayList permissions = null; @DataMember(Order=9) public ResponseStatus responseStatus = null; @DataMember(Order=10) public HashMap meta = null; public String getUserId() { return userId; } public RegisterResponse setUserId(String value) { this.userId = value; return this; } public String getSessionId() { return sessionId; } public RegisterResponse setSessionId(String value) { this.sessionId = value; return this; } public String getUserName() { return userName; } public RegisterResponse setUserName(String value) { this.userName = value; return this; } public String getReferrerUrl() { return referrerUrl; } public RegisterResponse setReferrerUrl(String value) { this.referrerUrl = value; return this; } public String getBearerToken() { return bearerToken; } public RegisterResponse setBearerToken(String value) { this.bearerToken = value; return this; } public String getRefreshToken() { return refreshToken; } public RegisterResponse setRefreshToken(String value) { this.refreshToken = value; return this; } public ArrayList getRoles() { return roles; } public RegisterResponse setRoles(ArrayList value) { this.roles = value; return this; } public ArrayList getPermissions() { return permissions; } public RegisterResponse setPermissions(ArrayList value) { this.permissions = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RegisterResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public HashMap getMeta() { return meta; } public RegisterResponse setMeta(HashMap value) { this.meta = value; return this; } } public static class RockstarWithIdResponse { public Integer id = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public RockstarWithIdResponse setId(Integer value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RockstarWithIdResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class RockstarWithIdAndResultResponse { public Integer id = null; public RockstarAuto result = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public RockstarWithIdAndResultResponse setId(Integer value) { this.id = value; return this; } public RockstarAuto getResult() { return result; } public RockstarWithIdAndResultResponse setResult(RockstarAuto value) { this.result = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RockstarWithIdAndResultResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class RockstarWithIdAndCountResponse { public Integer id = null; public Integer count = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public RockstarWithIdAndCountResponse setId(Integer value) { this.id = value; return this; } public Integer getCount() { return count; } public RockstarWithIdAndCountResponse setCount(Integer value) { this.count = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RockstarWithIdAndCountResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class RockstarWithIdAndRowVersionResponse { public Integer id = null; public Long rowVersion = null; public ResponseStatus responseStatus = null; public Integer getId() { return id; } public RockstarWithIdAndRowVersionResponse setId(Integer value) { this.id = value; return this; } public Long getRowVersion() { return rowVersion; } public RockstarWithIdAndRowVersionResponse setRowVersion(Long value) { this.rowVersion = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public RockstarWithIdAndRowVersionResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class QueryDb_2 extends QueryBase { } public static class Item { public String name = null; public String description = null; public String getName() { return name; } public Item setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public Item setDescription(String value) { this.description = value; return this; } } public static class Poco { public String name = null; public String getName() { return name; } public Poco setName(String value) { this.name = value; return this; } } public static class CustomType { public Integer id = null; public String name = null; public Integer getId() { return id; } public CustomType setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public CustomType setName(String value) { this.name = value; return this; } } public static class SetterType { public Integer id = null; public String name = null; public Integer getId() { return id; } public SetterType setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public SetterType setName(String value) { this.name = value; return this; } } public static class DeclarativeChildValidation { public String name = null; @Validate(Validator="MaximumLength(20)") public String value = null; public String getName() { return name; } public DeclarativeChildValidation setName(String value) { this.name = value; return this; } public String getValue() { return value; } public DeclarativeChildValidation setValue(String value) { this.value = value; return this; } } public static class FluentChildValidation { public String name = null; public String value = null; public String getName() { return name; } public FluentChildValidation setName(String value) { this.name = value; return this; } public String getValue() { return value; } public FluentChildValidation setValue(String value) { this.value = value; return this; } } public static class DeclarativeSingleValidation { public String name = null; @Validate(Validator="MaximumLength(20)") public String value = null; public String getName() { return name; } public DeclarativeSingleValidation setName(String value) { this.name = value; return this; } public String getValue() { return value; } public DeclarativeSingleValidation setValue(String value) { this.value = value; return this; } } public static class FluentSingleValidation { public String name = null; public String value = null; public String getName() { return name; } public FluentSingleValidation setName(String value) { this.name = value; return this; } public String getValue() { return value; } public FluentSingleValidation setValue(String value) { this.value = 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; } } @DataContract public static class GetAccessToken implements 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; } } @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; } } 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 interface IAuthTokens { public String provider = null; public String userId = null; public String accessToken = null; public String accessTokenSecret = null; public String refreshToken = null; public Date refreshTokenExpiry = null; public String requestToken = null; public String requestTokenSecret = null; public HashMap items = null; } @DataContract public static class AuthUserSession { @DataMember(Order=1) public String referrerUrl = null; @DataMember(Order=2) public String id = null; @DataMember(Order=3) public String userAuthId = null; @DataMember(Order=4) public String userAuthName = null; @DataMember(Order=5) public String userName = null; @DataMember(Order=6) public String twitterUserId = null; @DataMember(Order=7) public String twitterScreenName = null; @DataMember(Order=8) public String facebookUserId = null; @DataMember(Order=9) public String facebookUserName = null; @DataMember(Order=10) public String firstName = null; @DataMember(Order=11) public String lastName = null; @DataMember(Order=12) public String displayName = null; @DataMember(Order=13) public String company = null; @DataMember(Order=14) public String email = null; @DataMember(Order=15) public String primaryEmail = null; @DataMember(Order=16) public String phoneNumber = null; @DataMember(Order=17) public Date birthDate = null; @DataMember(Order=18) public String birthDateRaw = null; @DataMember(Order=19) public String address = null; @DataMember(Order=20) public String address2 = null; @DataMember(Order=21) public String city = null; @DataMember(Order=22) public String state = null; @DataMember(Order=23) public String country = null; @DataMember(Order=24) public String culture = null; @DataMember(Order=25) public String fullName = null; @DataMember(Order=26) public String gender = null; @DataMember(Order=27) public String language = null; @DataMember(Order=28) public String mailAddress = null; @DataMember(Order=29) public String nickname = null; @DataMember(Order=30) public String postalCode = null; @DataMember(Order=31) public String timeZone = null; @DataMember(Order=32) public String requestTokenSecret = null; @DataMember(Order=33) public Date createdAt = null; @DataMember(Order=34) public Date lastModified = null; @DataMember(Order=35) public ArrayList roles = null; @DataMember(Order=36) public ArrayList permissions = null; @DataMember(Order=37) public Boolean isAuthenticated = null; @DataMember(Order=38) public Boolean fromToken = null; @DataMember(Order=39) public String profileUrl = null; @DataMember(Order=40) public String sequence = null; @DataMember(Order=41) public Long tag = null; @DataMember(Order=42) public String authProvider = null; @DataMember(Order=43) public ArrayList providerOAuthAccess = null; @DataMember(Order=44) public HashMap meta = null; @DataMember(Order=45) public ArrayList audiences = null; @DataMember(Order=46) public ArrayList scopes = null; @DataMember(Order=47) public String dns = null; @DataMember(Order=48) public String rsa = null; @DataMember(Order=49) public String sid = null; @DataMember(Order=50) public String hash = null; @DataMember(Order=51) public String homePhone = null; @DataMember(Order=52) public String mobilePhone = null; @DataMember(Order=53) public String webpage = null; @DataMember(Order=54) public Boolean emailConfirmed = null; @DataMember(Order=55) public Boolean phoneNumberConfirmed = null; @DataMember(Order=56) public Boolean twoFactorEnabled = null; @DataMember(Order=57) public String securityStamp = null; @DataMember(Order=58) public String type = null; @DataMember(Order=59) public String recoveryToken = null; @DataMember(Order=60) public Integer refId = null; @DataMember(Order=61) public String refIdStr = null; public String getReferrerUrl() { return referrerUrl; } public AuthUserSession setReferrerUrl(String value) { this.referrerUrl = value; return this; } public String getId() { return id; } public AuthUserSession setId(String value) { this.id = value; return this; } public String getUserAuthId() { return userAuthId; } public AuthUserSession setUserAuthId(String value) { this.userAuthId = value; return this; } public String getUserAuthName() { return userAuthName; } public AuthUserSession setUserAuthName(String value) { this.userAuthName = value; return this; } public String getUserName() { return userName; } public AuthUserSession setUserName(String value) { this.userName = value; return this; } public String getTwitterUserId() { return twitterUserId; } public AuthUserSession setTwitterUserId(String value) { this.twitterUserId = value; return this; } public String getTwitterScreenName() { return twitterScreenName; } public AuthUserSession setTwitterScreenName(String value) { this.twitterScreenName = value; return this; } public String getFacebookUserId() { return facebookUserId; } public AuthUserSession setFacebookUserId(String value) { this.facebookUserId = value; return this; } public String getFacebookUserName() { return facebookUserName; } public AuthUserSession setFacebookUserName(String value) { this.facebookUserName = value; return this; } public String getFirstName() { return firstName; } public AuthUserSession setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public AuthUserSession setLastName(String value) { this.lastName = value; return this; } public String getDisplayName() { return displayName; } public AuthUserSession setDisplayName(String value) { this.displayName = value; return this; } public String getCompany() { return company; } public AuthUserSession setCompany(String value) { this.company = value; return this; } public String getEmail() { return email; } public AuthUserSession setEmail(String value) { this.email = value; return this; } public String getPrimaryEmail() { return primaryEmail; } public AuthUserSession setPrimaryEmail(String value) { this.primaryEmail = value; return this; } public String getPhoneNumber() { return phoneNumber; } public AuthUserSession setPhoneNumber(String value) { this.phoneNumber = value; return this; } public Date getBirthDate() { return birthDate; } public AuthUserSession setBirthDate(Date value) { this.birthDate = value; return this; } public String getBirthDateRaw() { return birthDateRaw; } public AuthUserSession setBirthDateRaw(String value) { this.birthDateRaw = value; return this; } public String getAddress() { return address; } public AuthUserSession setAddress(String value) { this.address = value; return this; } public String getAddress2() { return address2; } public AuthUserSession setAddress2(String value) { this.address2 = value; return this; } public String getCity() { return city; } public AuthUserSession setCity(String value) { this.city = value; return this; } public String getState() { return state; } public AuthUserSession setState(String value) { this.state = value; return this; } public String getCountry() { return country; } public AuthUserSession setCountry(String value) { this.country = value; return this; } public String getCulture() { return culture; } public AuthUserSession setCulture(String value) { this.culture = value; return this; } public String getFullName() { return fullName; } public AuthUserSession setFullName(String value) { this.fullName = value; return this; } public String getGender() { return gender; } public AuthUserSession setGender(String value) { this.gender = value; return this; } public String getLanguage() { return language; } public AuthUserSession setLanguage(String value) { this.language = value; return this; } public String getMailAddress() { return mailAddress; } public AuthUserSession setMailAddress(String value) { this.mailAddress = value; return this; } public String getNickname() { return nickname; } public AuthUserSession setNickname(String value) { this.nickname = value; return this; } public String getPostalCode() { return postalCode; } public AuthUserSession setPostalCode(String value) { this.postalCode = value; return this; } public String getTimeZone() { return timeZone; } public AuthUserSession setTimeZone(String value) { this.timeZone = value; return this; } public String getRequestTokenSecret() { return requestTokenSecret; } public AuthUserSession setRequestTokenSecret(String value) { this.requestTokenSecret = value; return this; } public Date getCreatedAt() { return createdAt; } public AuthUserSession setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getLastModified() { return lastModified; } public AuthUserSession setLastModified(Date value) { this.lastModified = value; return this; } public ArrayList getRoles() { return roles; } public AuthUserSession setRoles(ArrayList value) { this.roles = value; return this; } public ArrayList getPermissions() { return permissions; } public AuthUserSession setPermissions(ArrayList value) { this.permissions = value; return this; } public Boolean getIsAuthenticated() { return isAuthenticated; } public AuthUserSession setIsAuthenticated(Boolean value) { this.isAuthenticated = value; return this; } public Boolean isFromToken() { return fromToken; } public AuthUserSession setFromToken(Boolean value) { this.fromToken = value; return this; } public String getProfileUrl() { return profileUrl; } public AuthUserSession setProfileUrl(String value) { this.profileUrl = value; return this; } public String getSequence() { return sequence; } public AuthUserSession setSequence(String value) { this.sequence = value; return this; } public Long getTag() { return tag; } public AuthUserSession setTag(Long value) { this.tag = value; return this; } public String getAuthProvider() { return authProvider; } public AuthUserSession setAuthProvider(String value) { this.authProvider = value; return this; } public ArrayList getProviderOAuthAccess() { return providerOAuthAccess; } public AuthUserSession setProviderOAuthAccess(ArrayList value) { this.providerOAuthAccess = value; return this; } public HashMap getMeta() { return meta; } public AuthUserSession setMeta(HashMap value) { this.meta = value; return this; } public ArrayList getAudiences() { return audiences; } public AuthUserSession setAudiences(ArrayList value) { this.audiences = value; return this; } public ArrayList getScopes() { return scopes; } public AuthUserSession setScopes(ArrayList value) { this.scopes = value; return this; } public String getDns() { return dns; } public AuthUserSession setDns(String value) { this.dns = value; return this; } public String getRsa() { return rsa; } public AuthUserSession setRsa(String value) { this.rsa = value; return this; } public String getSid() { return sid; } public AuthUserSession setSid(String value) { this.sid = value; return this; } public String getHash() { return hash; } public AuthUserSession setHash(String value) { this.hash = value; return this; } public String getHomePhone() { return homePhone; } public AuthUserSession setHomePhone(String value) { this.homePhone = value; return this; } public String getMobilePhone() { return mobilePhone; } public AuthUserSession setMobilePhone(String value) { this.mobilePhone = value; return this; } public String getWebpage() { return webpage; } public AuthUserSession setWebpage(String value) { this.webpage = value; return this; } public Boolean isEmailConfirmed() { return emailConfirmed; } public AuthUserSession setEmailConfirmed(Boolean value) { this.emailConfirmed = value; return this; } public Boolean isPhoneNumberConfirmed() { return phoneNumberConfirmed; } public AuthUserSession setPhoneNumberConfirmed(Boolean value) { this.phoneNumberConfirmed = value; return this; } public Boolean isTwoFactorEnabled() { return twoFactorEnabled; } public AuthUserSession setTwoFactorEnabled(Boolean value) { this.twoFactorEnabled = value; return this; } public String getSecurityStamp() { return securityStamp; } public AuthUserSession setSecurityStamp(String value) { this.securityStamp = value; return this; } public String getType() { return type; } public AuthUserSession setType(String value) { this.type = value; return this; } public String getRecoveryToken() { return recoveryToken; } public AuthUserSession setRecoveryToken(String value) { this.recoveryToken = value; return this; } public Integer getRefId() { return refId; } public AuthUserSession setRefId(Integer value) { this.refId = value; return this; } public String getRefIdStr() { return refIdStr; } public AuthUserSession setRefIdStr(String value) { this.refIdStr = value; return this; } } public static class NestedClass { public String value = null; public String getValue() { return value; } public NestedClass setValue(String value) { this.value = value; return this; } } public static enum EnumType { Value1, Value2, Value3; } @Flags() public static enum EnumTypeFlags { @SerializedName("0") Value1(0), @SerializedName("1") Value2(1), @SerializedName("2") Value3(2); private final int value; EnumTypeFlags(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum EnumWithValues { None, Value1, Value2; } @Flags() public static enum EnumFlags { @SerializedName("0") Value0(0), @SerializedName("1") Value1(1), @SerializedName("2") Value2(2), @SerializedName("4") Value3(4), @SerializedName("7") Value123(7); private final int value; EnumFlags(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum EnumAsInt { Value1(1000), Value2(2000), Value3(3000); private final int value; EnumAsInt(final int intValue) { value = intValue; } public int getValue() { return value; } } public static enum EnumStyle { Lower, Upper, PascalCase, CamelCase, CamelUPPER, PascalUPPER; } public static enum EnumStyleMembers { Lower, Upper, PascalCase, CamelCase, CamelUpper, PascalUpper; } public static class KeyValuePair { public TKey key = null; public TValue value = null; public TKey getKey() { return key; } public KeyValuePair setKey(TKey value) { this.key = value; return this; } public TValue getValue() { return value; } public KeyValuePair setValue(TValue value) { this.value = value; return this; } } public static class SubType { public Integer id = null; public String name = null; public Integer getId() { return id; } public SubType setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public SubType setName(String value) { this.name = value; return this; } } public static class AllTypesBase { public Integer id = null; public Integer nullableId = null; @SerializedName("byte") public Short Byte = null; @SerializedName("short") public Short Short = null; @SerializedName("int") public Integer Int = null; @SerializedName("long") public Long Long = null; public Integer uShort = null; public Long uInt = null; public BigInteger uLong = null; @SerializedName("float") public Float Float = null; @SerializedName("double") public Double Double = null; public BigDecimal decimal = null; public String string = null; public Date dateTime = null; public TimeSpan timeSpan = null; public Date dateTimeOffset = null; public UUID guid = null; @SerializedName("char") public String Char = null; public KeyValuePair keyValuePair = null; public Date nullableDateTime = null; public TimeSpan nullableTimeSpan = null; public ArrayList stringList = null; public ArrayList stringArray = null; public HashMap stringMap = null; public HashMap intStringMap = null; public SubType subType = null; public Integer getId() { return id; } public AllTypesBase setId(Integer value) { this.id = value; return this; } public Integer getNullableId() { return nullableId; } public AllTypesBase setNullableId(Integer value) { this.nullableId = value; return this; } public Short getByte() { return Byte; } public AllTypesBase setByte(Short value) { this.Byte = value; return this; } public Short getShort() { return Short; } public AllTypesBase setShort(Short value) { this.Short = value; return this; } public Integer getInt() { return Int; } public AllTypesBase setInt(Integer value) { this.Int = value; return this; } public Long getLong() { return Long; } public AllTypesBase setLong(Long value) { this.Long = value; return this; } public Integer getUShort() { return uShort; } public AllTypesBase setUShort(Integer value) { this.uShort = value; return this; } public Long getUInt() { return uInt; } public AllTypesBase setUInt(Long value) { this.uInt = value; return this; } public BigInteger getULong() { return uLong; } public AllTypesBase setULong(BigInteger value) { this.uLong = value; return this; } public Float getFloat() { return Float; } public AllTypesBase setFloat(Float value) { this.Float = value; return this; } public Double getDouble() { return Double; } public AllTypesBase setDouble(Double value) { this.Double = value; return this; } public BigDecimal getDecimal() { return decimal; } public AllTypesBase setDecimal(BigDecimal value) { this.decimal = value; return this; } public String getString() { return string; } public AllTypesBase setString(String value) { this.string = value; return this; } public Date getDateTime() { return dateTime; } public AllTypesBase setDateTime(Date value) { this.dateTime = value; return this; } public TimeSpan getTimeSpan() { return timeSpan; } public AllTypesBase setTimeSpan(TimeSpan value) { this.timeSpan = value; return this; } public Date getDateTimeOffset() { return dateTimeOffset; } public AllTypesBase setDateTimeOffset(Date value) { this.dateTimeOffset = value; return this; } public UUID getGuid() { return guid; } public AllTypesBase setGuid(UUID value) { this.guid = value; return this; } public String getChar() { return Char; } public AllTypesBase setChar(String value) { this.Char = value; return this; } public KeyValuePair getKeyValuePair() { return keyValuePair; } public AllTypesBase setKeyValuePair(KeyValuePair value) { this.keyValuePair = value; return this; } public Date getNullableDateTime() { return nullableDateTime; } public AllTypesBase setNullableDateTime(Date value) { this.nullableDateTime = value; return this; } public TimeSpan getNullableTimeSpan() { return nullableTimeSpan; } public AllTypesBase setNullableTimeSpan(TimeSpan value) { this.nullableTimeSpan = value; return this; } public ArrayList getStringList() { return stringList; } public AllTypesBase setStringList(ArrayList value) { this.stringList = value; return this; } public ArrayList getStringArray() { return stringArray; } public AllTypesBase setStringArray(ArrayList value) { this.stringArray = value; return this; } public HashMap getStringMap() { return stringMap; } public AllTypesBase setStringMap(HashMap value) { this.stringMap = value; return this; } public HashMap getIntStringMap() { return intStringMap; } public AllTypesBase setIntStringMap(HashMap value) { this.intStringMap = value; return this; } public SubType getSubType() { return subType; } public AllTypesBase setSubType(SubType value) { this.subType = value; return this; } } public static class HelloBase { public Integer id = null; public Integer getId() { return id; } public HelloBase setId(Integer value) { this.id = value; return this; } } public static class HelloBase_1 { public ArrayList items = null; public ArrayList counts = null; public ArrayList getItems() { return items; } public HelloBase_1 setItems(ArrayList value) { this.items = value; return this; } public ArrayList getCounts() { return counts; } public HelloBase_1 setCounts(ArrayList value) { this.counts = value; return this; } } public static interface IPoco { public String name = null; } public static interface IEmptyInterface { } public static class EmptyClass { } public static enum DayOfWeek { Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday; } @DataContract public static enum ScopeType { Global(1), Sale(2); private final int value; ScopeType(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class PingService { } public static class Logger { public Long id = null; public ArrayList devices = null; public Long getId() { return id; } public Logger setId(Long value) { this.id = value; return this; } public ArrayList getDevices() { return devices; } public Logger setDevices(ArrayList value) { this.devices = value; return this; } } public static class Rockstar { public Integer id = null; public String firstName = null; public String lastName = null; public Integer age = null; public Integer getId() { return id; } public Rockstar setId(Integer value) { this.id = value; return this; } public String getFirstName() { return firstName; } public Rockstar setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public Rockstar setLastName(String value) { this.lastName = value; return this; } public Integer getAge() { return age; } public Rockstar setAge(Integer value) { this.age = value; return this; } } public static class QueryDbTenant_2 extends QueryDb_2 { } public static class RockstarAuditTenant extends AuditBase { public Integer tenantId = null; public Integer id = null; public String firstName = null; public String lastName = null; public Integer age = null; public Date dateOfBirth = null; public Date dateDied = null; public LivingStatus livingStatus = null; public Integer getTenantId() { return tenantId; } public RockstarAuditTenant setTenantId(Integer value) { this.tenantId = value; return this; } public Integer getId() { return id; } public RockstarAuditTenant setId(Integer value) { this.id = value; return this; } public String getFirstName() { return firstName; } public RockstarAuditTenant setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public RockstarAuditTenant setLastName(String value) { this.lastName = value; return this; } public Integer getAge() { return age; } public RockstarAuditTenant setAge(Integer value) { this.age = value; return this; } public Date getDateOfBirth() { return dateOfBirth; } public RockstarAuditTenant setDateOfBirth(Date value) { this.dateOfBirth = value; return this; } public Date getDateDied() { return dateDied; } public RockstarAuditTenant setDateDied(Date value) { this.dateDied = value; return this; } public LivingStatus getLivingStatus() { return livingStatus; } public RockstarAuditTenant setLivingStatus(LivingStatus value) { this.livingStatus = value; return this; } } public static class RockstarAuto extends RockstarBase { public Integer id = null; public Integer getId() { return id; } public RockstarAuto setId(Integer value) { this.id = value; return this; } } public static class QueryDb_1 extends QueryBase { } public static class OnlyDefinedInGenericType { public Integer id = null; public String name = null; public Integer getId() { return id; } public OnlyDefinedInGenericType setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public OnlyDefinedInGenericType setName(String value) { this.name = value; return this; } } public static class OnlyDefinedInGenericTypeFrom { public Integer id = null; public String name = null; public Integer getId() { return id; } public OnlyDefinedInGenericTypeFrom setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public OnlyDefinedInGenericTypeFrom setName(String value) { this.name = value; return this; } } public static class OnlyDefinedInGenericTypeInto { public Integer id = null; public String name = null; public Integer getId() { return id; } public OnlyDefinedInGenericTypeInto setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public OnlyDefinedInGenericTypeInto setName(String value) { this.name = value; return this; } } public static enum LivingStatus { Alive, Dead; } public static class RockstarBase { public String firstName = null; public String lastName = null; public Integer age = null; public Date dateOfBirth = null; public Date dateDied = null; public LivingStatus livingStatus = null; public String getFirstName() { return firstName; } public RockstarBase setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public RockstarBase setLastName(String value) { this.lastName = value; return this; } public Integer getAge() { return age; } public RockstarBase setAge(Integer value) { this.age = value; return this; } public Date getDateOfBirth() { return dateOfBirth; } public RockstarBase setDateOfBirth(Date value) { this.dateOfBirth = value; return this; } public Date getDateDied() { return dateDied; } public RockstarBase setDateDied(Date value) { this.dateDied = value; return this; } public LivingStatus getLivingStatus() { return livingStatus; } public RockstarBase setLivingStatus(LivingStatus value) { this.livingStatus = value; return this; } } public static class RockstarAudit extends RockstarBase { public Integer id = null; public Date createdDate = null; public String createdBy = null; public String createdInfo = null; public Date modifiedDate = null; public String modifiedBy = null; public String modifiedInfo = null; public Integer getId() { return id; } public RockstarAudit setId(Integer value) { this.id = value; return this; } public Date getCreatedDate() { return createdDate; } public RockstarAudit setCreatedDate(Date value) { this.createdDate = value; return this; } public String getCreatedBy() { return createdBy; } public RockstarAudit setCreatedBy(String value) { this.createdBy = value; return this; } public String getCreatedInfo() { return createdInfo; } public RockstarAudit setCreatedInfo(String value) { this.createdInfo = value; return this; } public Date getModifiedDate() { return modifiedDate; } public RockstarAudit setModifiedDate(Date value) { this.modifiedDate = value; return this; } public String getModifiedBy() { return modifiedBy; } public RockstarAudit setModifiedBy(String value) { this.modifiedBy = value; return this; } public String getModifiedInfo() { return modifiedInfo; } public RockstarAudit setModifiedInfo(String value) { this.modifiedInfo = value; return this; } } public static class CreateAuditTenantBase extends CreateAuditBase { } public static class UpdateAuditTenantBase extends UpdateAuditBase { } public static class PatchAuditTenantBase extends PatchAuditBase { } public static class SoftDeleteAuditTenantBase extends SoftDeleteAuditBase { } public static class RockstarVersion extends RockstarBase { public Integer id = null; public BigInteger rowVersion = null; public Integer getId() { return id; } public RockstarVersion setId(Integer value) { this.id = value; return this; } public BigInteger getRowVersion() { return rowVersion; } public RockstarVersion setRowVersion(BigInteger value) { this.rowVersion = value; return this; } } public static class MetadataTestChild { public String name = null; public ArrayList results = null; public String getName() { return name; } public MetadataTestChild setName(String value) { this.name = value; return this; } public ArrayList getResults() { return results; } public MetadataTestChild setResults(ArrayList value) { this.results = value; return this; } } @DataContract public static class MenuExample { @DataMember(Order=1) @ApiMember() public MenuItemExample menuItemExample1 = null; public MenuItemExample getMenuItemExample1() { return menuItemExample1; } public MenuExample setMenuItemExample1(MenuItemExample value) { this.menuItemExample1 = 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; } } public static class ArrayResult { public String result = null; public String getResult() { return result; } public ArrayResult setResult(String value) { this.result = value; return this; } } public static class HelloResponseBase { public Integer refId = null; public Integer getRefId() { return refId; } public HelloResponseBase setRefId(Integer value) { this.refId = value; return this; } } public static class HelloWithReturnResponse { public String result = null; public String getResult() { return result; } public HelloWithReturnResponse setResult(String value) { this.result = value; return this; } } public static class HelloType { public String result = null; public String getResult() { return result; } public HelloType setResult(String value) { this.result = value; return this; } } public static class InnerType { public Long id = null; public String name = null; public Long getId() { return id; } public InnerType setId(Long value) { this.id = value; return this; } public String getName() { return name; } public InnerType setName(String value) { this.name = value; return this; } } public static enum InnerEnum { Foo, Bar, Baz; } public static class ReturnedDto { public Integer id = null; public Integer getId() { return id; } public ReturnedDto setId(Integer value) { this.id = value; return this; } } public static class CustomUserSession extends AuthUserSession { @DataMember public String customName = null; @DataMember public String customInfo = null; public String getCustomName() { return customName; } public CustomUserSession setCustomName(String value) { this.customName = value; return this; } public String getCustomInfo() { return customInfo; } public CustomUserSession setCustomInfo(String value) { this.customInfo = value; return this; } } public static class UnAuthInfo { public String customInfo = null; public String getCustomInfo() { return customInfo; } public UnAuthInfo setCustomInfo(String value) { this.customInfo = value; return this; } } @DataContract public static class QueryBase { @DataMember(Order=1) public Integer skip = null; @DataMember(Order=2) public Integer take = null; @DataMember(Order=3) public String orderBy = null; @DataMember(Order=4) public String orderByDesc = null; @DataMember(Order=5) public String include = null; @DataMember(Order=6) public String fields = null; @DataMember(Order=7) public HashMap meta = null; public Integer getSkip() { return skip; } public QueryBase setSkip(Integer value) { this.skip = value; return this; } public Integer getTake() { return take; } public QueryBase setTake(Integer value) { this.take = value; return this; } public String getOrderBy() { return orderBy; } public QueryBase setOrderBy(String value) { this.orderBy = value; return this; } public String getOrderByDesc() { return orderByDesc; } public QueryBase setOrderByDesc(String value) { this.orderByDesc = value; return this; } public String getInclude() { return include; } public QueryBase setInclude(String value) { this.include = value; return this; } public String getFields() { return fields; } public QueryBase setFields(String value) { this.fields = value; return this; } public HashMap getMeta() { return meta; } public QueryBase setMeta(HashMap value) { this.meta = value; return this; } } public static class Device { public Long id = null; public String type = null; public Long timeStamp = null; public ArrayList channels = null; public Long getId() { return id; } public Device setId(Long value) { this.id = value; return this; } public String getType() { return type; } public Device setType(String value) { this.type = value; return this; } public Long getTimeStamp() { return timeStamp; } public Device setTimeStamp(Long value) { this.timeStamp = value; return this; } public ArrayList getChannels() { return channels; } public Device setChannels(ArrayList value) { this.channels = value; return this; } } public static class CreateAuditBase implements ICreateDb { } public static class UpdateAuditBase implements IUpdateDb
{ } public static class PatchAuditBase implements IPatchDb
{ } public static class SoftDeleteAuditBase implements IUpdateDb
{ } public static class MetadataTestNestedChild { public String name = null; public String getName() { return name; } public MetadataTestNestedChild setName(String value) { this.name = value; return this; } } public static class MenuItemExample { @DataMember(Order=1) @ApiMember() public String name1 = null; public MenuItemExampleItem menuItemExampleItem = null; public String getName1() { return name1; } public MenuItemExample setName1(String value) { this.name1 = value; return this; } public MenuItemExampleItem getMenuItemExampleItem() { return menuItemExampleItem; } public MenuItemExample setMenuItemExampleItem(MenuItemExampleItem value) { this.menuItemExampleItem = value; return this; } } public static class TypesGroup { } public static class Channel { public String name = null; public String value = null; public String getName() { return name; } public Channel setName(String value) { this.name = value; return this; } public String getValue() { return value; } public Channel setValue(String value) { this.value = value; return this; } } public static class MenuItemExampleItem { @DataMember(Order=1) @ApiMember() public String name1 = null; public String getName1() { return name1; } public MenuItemExampleItem setName1(String value) { this.name1 = value; return this; } } }