/* Options: Date: 2024-05-14 23:26:56 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://www.clubready.com/api/current //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetClassScheduleRequestV2.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/v2/{Apikey}/club/{StoreID}/classschedule", Verbs="GET") public static class GetClassScheduleRequestV2 extends GetClassScheduleRequestDto implements IRestrictedApiRequest { public String ApiKey = null; public Integer StoreId = null; public Date FromDate = null; public Date ToDate = null; /** * Id of CategoryNames to filter results by */ @ApiMember(DataType="integer", Description=" Id of CategoryNames to filter results by", Name="FilterByCategoryId", ParameterType="query") public Integer FilterByCategoryId = null; public Integer RestrictedId = null; public RestrictedResourceType RestrictedResourceType = null; public String getApiKey() { return ApiKey; } public GetClassScheduleRequestV2 setApiKey(String value) { this.ApiKey = value; return this; } public Integer getStoreId() { return StoreId; } public GetClassScheduleRequestV2 setStoreId(Integer value) { this.StoreId = value; return this; } public Date getFromDate() { return FromDate; } public GetClassScheduleRequestV2 setFromDate(Date value) { this.FromDate = value; return this; } public Date getToDate() { return ToDate; } public GetClassScheduleRequestV2 setToDate(Date value) { this.ToDate = value; return this; } public Integer getFilterByCategoryId() { return FilterByCategoryId; } public GetClassScheduleRequestV2 setFilterByCategoryId(Integer value) { this.FilterByCategoryId = value; return this; } public Integer getRestrictedId() { return RestrictedId; } public GetClassScheduleRequestV2 setRestrictedId(Integer value) { this.RestrictedId = value; return this; } public RestrictedResourceType getRestrictedResourceType() { return RestrictedResourceType; } public GetClassScheduleRequestV2 setRestrictedResourceType(RestrictedResourceType value) { this.RestrictedResourceType = value; return this; } } public static enum RestrictedResourceType { Store, Chain, User, Undefined; } public static interface IRestrictedApiRequest implements IApiKeyEndpoint { public Integer RestrictedId = null; public RestrictedResourceType RestrictedResourceType = null; } public static interface IApiKeyEndpoint { public String ApiKey = null; } public static class GetClassScheduleRequestDto extends ApiDtoBase { public Date FromDate = null; public Date ToDate = null; public Integer FilterByCategoryId = null; public Date getFromDate() { return FromDate; } public GetClassScheduleRequestDto setFromDate(Date value) { this.FromDate = value; return this; } public Date getToDate() { return ToDate; } public GetClassScheduleRequestDto setToDate(Date value) { this.ToDate = value; return this; } public Integer getFilterByCategoryId() { return FilterByCategoryId; } public GetClassScheduleRequestDto setFilterByCategoryId(Integer value) { this.FilterByCategoryId = value; return this; } } public static class ApiDtoBase { public String ApiKey = null; public Integer StoreId = null; public Integer ChainId = null; public String getApiKey() { return ApiKey; } public ApiDtoBase setApiKey(String value) { this.ApiKey = value; return this; } public Integer getStoreId() { return StoreId; } public ApiDtoBase setStoreId(Integer value) { this.StoreId = value; return this; } public Integer getChainId() { return ChainId; } public ApiDtoBase setChainId(Integer value) { this.ChainId = value; return this; } } }