/* Options: Date: 2024-11-21 13:17:31 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ServiceQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/services", Verbs="GET") public static class ServiceQuery extends QueryDb implements IReturn> { /** * Company to show services for */ @ApiMember(Description="Company to show services for", ParameterType="query") public UUID CompanyId = null; /** * If you only want to get a specific service */ @ApiMember(Description="If you only want to get a specific service", ParameterType="query") public Integer Id = null; /** * Service status */ @ApiMember(DataType="boolean", Description="Service status", ParameterType="query") public Boolean Active = null; /** * If you want to include the connected resource types and resources */ @ApiMember(DataType="boolean", Description="If you want to include the connected resource types and resources", ParameterType="query") public Boolean IncludeResources = null; /** * If you want to include the connected schedules */ @ApiMember(DataType="boolean", Description="If you want to include the connected schedules", ParameterType="query") public Boolean IncludeSchedules = null; /** * If you want to include the connected custom fields */ @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields", ParameterType="query") public Boolean IncludeCustomFields = null; /** * If you want to include the connected custom fields selectable values */ @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields selectable values", ParameterType="query") public Boolean IncludeCustomFieldValues = null; /** * If you want to include the connected custom fields needs to be entered when booking a new time on the service */ @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields needs to be entered when booking a new time on the service", ParameterType="query") public Boolean IncludeBookingCustomFields = null; /** * If you want to include the connected custom fields for the customers */ @ApiMember(DataType="boolean", Description="If you want to include the connected custom fields for the customers", ParameterType="query") public Boolean IncludeCustomerCustomFields = null; /** * If you want to include the service prices */ @ApiMember(DataType="boolean", Description="If you want to include the service prices", ParameterType="query") public Boolean IncludePrices = null; /** * If you have selected to include the prices, here you can set the date to show the prices for */ @ApiMember(DataType="dateTime", Description="If you have selected to include the prices, here you can set the date to show the prices for", ParameterType="query") public Date PriceDate = null; /** * If you have selected to include the prices, here you can set the datetime to show the exact price */ @ApiMember(DataType="timeSpan", Description="If you have selected to include the prices, here you can set the datetime to show the exact price", ParameterType="query") public TimeSpan PriceTime = null; /** * If you have selected to include the prices, here you can include the rebate codes */ @ApiMember(Description="If you have selected to include the prices, here you can include the rebate codes") public ArrayList RebateCodeIds = null; /** * If you have selected to include the prices, here you can include the quantities to book to get the correct total price. */ @ApiMember(Description="If you have selected to include the prices, here you can include the quantities to book to get the correct total price.") public ArrayList Quantities = null; /** * If you want to include the booking status options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the booking status options to select from", ParameterType="query") public Boolean IncludeBookingStatusOptions = null; /** * If you want to include the rating reviews */ @ApiMember(DataType="boolean", Description="If you want to include the rating reviews", ParameterType="query") public Boolean IncludeRatingReviews = null; /** * If you want to include the rating summary */ @ApiMember(DataType="boolean", Description="If you want to include the rating summary", ParameterType="query") public Boolean IncludeRatingSummary = null; /** * If you want to filter out prices which or not active for the day */ @ApiMember(DataType="boolean", Description="If you want to filter out prices which or not active for the day", ParameterType="query") public Boolean IncludePricesFromOtherDays = null; public UUID getCompanyId() { return CompanyId; } public ServiceQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public ServiceQuery setId(Integer value) { this.Id = value; return this; } public Boolean isActive() { return Active; } public ServiceQuery setActive(Boolean value) { this.Active = value; return this; } public Boolean isIncludeResources() { return IncludeResources; } public ServiceQuery setIncludeResources(Boolean value) { this.IncludeResources = value; return this; } public Boolean isIncludeSchedules() { return IncludeSchedules; } public ServiceQuery setIncludeSchedules(Boolean value) { this.IncludeSchedules = value; return this; } public Boolean isIncludeCustomFields() { return IncludeCustomFields; } public ServiceQuery setIncludeCustomFields(Boolean value) { this.IncludeCustomFields = value; return this; } public Boolean isIncludeCustomFieldValues() { return IncludeCustomFieldValues; } public ServiceQuery setIncludeCustomFieldValues(Boolean value) { this.IncludeCustomFieldValues = value; return this; } public Boolean isIncludeBookingCustomFields() { return IncludeBookingCustomFields; } public ServiceQuery setIncludeBookingCustomFields(Boolean value) { this.IncludeBookingCustomFields = value; return this; } public Boolean isIncludeCustomerCustomFields() { return IncludeCustomerCustomFields; } public ServiceQuery setIncludeCustomerCustomFields(Boolean value) { this.IncludeCustomerCustomFields = value; return this; } public Boolean isIncludePrices() { return IncludePrices; } public ServiceQuery setIncludePrices(Boolean value) { this.IncludePrices = value; return this; } public Date getPriceDate() { return PriceDate; } public ServiceQuery setPriceDate(Date value) { this.PriceDate = value; return this; } public TimeSpan getPriceTime() { return PriceTime; } public ServiceQuery setPriceTime(TimeSpan value) { this.PriceTime = value; return this; } public ArrayList getRebateCodeIds() { return RebateCodeIds; } public ServiceQuery setRebateCodeIds(ArrayList value) { this.RebateCodeIds = value; return this; } public ArrayList getQuantities() { return Quantities; } public ServiceQuery setQuantities(ArrayList value) { this.Quantities = value; return this; } public Boolean isIncludeBookingStatusOptions() { return IncludeBookingStatusOptions; } public ServiceQuery setIncludeBookingStatusOptions(Boolean value) { this.IncludeBookingStatusOptions = value; return this; } public Boolean isIncludeRatingReviews() { return IncludeRatingReviews; } public ServiceQuery setIncludeRatingReviews(Boolean value) { this.IncludeRatingReviews = value; return this; } public Boolean isIncludeRatingSummary() { return IncludeRatingSummary; } public ServiceQuery setIncludeRatingSummary(Boolean value) { this.IncludeRatingSummary = value; return this; } public Boolean isIncludePricesFromOtherDays() { return IncludePricesFromOtherDays; } public ServiceQuery setIncludePricesFromOtherDays(Boolean value) { this.IncludePricesFromOtherDays = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @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 QueryDb extends QueryBase { } public static enum BookingStatusEnum { Booked(1), Unbooked(2), Reserved(3), Canceled(4), AwaitingPayment(5), AwaitingPaymentNoTimeLimit(6), Payed(7), AwaitingPaymentRequestFromAdmin(8), AwaitingPaymentFromProvider(9), Invoiced(10); private final int value; BookingStatusEnum(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class QuantityToBook { /** * If service has a price, enter the price id for that price. If no price exists for the service set 0 as PriceId. If you put 0 and a price exists, it will use that price (only works if just one price exists for the current selected date to book) */ @ApiMember(Description="If service has a price, enter the price id for that price. If no price exists for the service set 0 as PriceId. If you put 0 and a price exists, it will use that price (only works if just one price exists for the current selected date to book)", IsRequired=true) public Integer PriceId = null; /** * Set the number of spots or resources you want to book on the specific price category */ @ApiMember(Description="Set the number of spots or resources you want to book on the specific price category", IsRequired=true) public Integer Quantity = null; /** * If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information. */ @ApiMember(Description="If the quantity you add should occupy a spot. Default is true. If no it will only be a row that includes price information.") public Boolean OccupiesSpot = null; public Integer getPriceId() { return PriceId; } public QuantityToBook setPriceId(Integer value) { this.PriceId = value; return this; } public Integer getQuantity() { return Quantity; } public QuantityToBook setQuantity(Integer value) { this.Quantity = value; return this; } public Boolean isOccupiesSpot() { return OccupiesSpot; } public QuantityToBook setOccupiesSpot(Boolean value) { this.OccupiesSpot = value; return this; } } public static interface IInterval { public Date From = null; public Date To = null; } public static class CustomFieldConfig extends BaseModel { @Ignore() public ArrayList Values = null; public CustomField CustomField = null; @Ignore() public RegEx RegEx = null; @Ignore() public ArrayList Services = null; public ArrayList CustomFieldServiceRelation = null; @Required() public UUID CompanyId = null; public Integer Id = null; public Integer GroupId = null; @Required() public Integer FieldId = null; @Required() public Integer IconId = null; public Integer RegExId = null; @Required() public String Name = null; @Required() public String Description = null; @Required() public String Datatype = null; @Required() public Integer MaxLength = null; @Required() public Boolean IsPublic = null; @Required() public Boolean IsHidden = null; @Required() public Boolean IsMandatory = null; public String DefaultValue = null; public String RegExErrorMessage = null; public String MandatoryErrorMessage = null; public Integer Width = null; @Required() public Boolean MultipleLineText = null; public Date ModifiedDate = null; public ArrayList getValues() { return Values; } public CustomFieldConfig setValues(ArrayList value) { this.Values = value; return this; } public CustomField getCustomField() { return CustomField; } public CustomFieldConfig setCustomField(CustomField value) { this.CustomField = value; return this; } public RegEx getRegEx() { return RegEx; } public CustomFieldConfig setRegEx(RegEx value) { this.RegEx = value; return this; } public ArrayList getServices() { return Services; } public CustomFieldConfig setServices(ArrayList value) { this.Services = value; return this; } public ArrayList getCustomFieldServiceRelation() { return CustomFieldServiceRelation; } public CustomFieldConfig setCustomFieldServiceRelation(ArrayList value) { this.CustomFieldServiceRelation = value; return this; } public UUID getCompanyId() { return CompanyId; } public CustomFieldConfig setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CustomFieldConfig setId(Integer value) { this.Id = value; return this; } public Integer getGroupId() { return GroupId; } public CustomFieldConfig setGroupId(Integer value) { this.GroupId = value; return this; } public Integer getFieldId() { return FieldId; } public CustomFieldConfig setFieldId(Integer value) { this.FieldId = value; return this; } public Integer getIconId() { return IconId; } public CustomFieldConfig setIconId(Integer value) { this.IconId = value; return this; } public Integer getRegExId() { return RegExId; } public CustomFieldConfig setRegExId(Integer value) { this.RegExId = value; return this; } public String getName() { return Name; } public CustomFieldConfig setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomFieldConfig setDescription(String value) { this.Description = value; return this; } public String getDatatype() { return Datatype; } public CustomFieldConfig setDatatype(String value) { this.Datatype = value; return this; } public Integer getMaxLength() { return MaxLength; } public CustomFieldConfig setMaxLength(Integer value) { this.MaxLength = value; return this; } public Boolean getIsPublic() { return IsPublic; } public CustomFieldConfig setIsPublic(Boolean value) { this.IsPublic = value; return this; } public Boolean getIsHidden() { return IsHidden; } public CustomFieldConfig setIsHidden(Boolean value) { this.IsHidden = value; return this; } public Boolean getIsMandatory() { return IsMandatory; } public CustomFieldConfig setIsMandatory(Boolean value) { this.IsMandatory = value; return this; } public String getDefaultValue() { return DefaultValue; } public CustomFieldConfig setDefaultValue(String value) { this.DefaultValue = value; return this; } public String getRegExErrorMessage() { return RegExErrorMessage; } public CustomFieldConfig setRegExErrorMessage(String value) { this.RegExErrorMessage = value; return this; } public String getMandatoryErrorMessage() { return MandatoryErrorMessage; } public CustomFieldConfig setMandatoryErrorMessage(String value) { this.MandatoryErrorMessage = value; return this; } public Integer getWidth() { return Width; } public CustomFieldConfig setWidth(Integer value) { this.Width = value; return this; } public Boolean isMultipleLineText() { return MultipleLineText; } public CustomFieldConfig setMultipleLineText(Boolean value) { this.MultipleLineText = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomFieldConfig setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class RatingReviewResponse { /** * The title for the review */ @ApiMember(Description="The title for the review") public String Title = null; /** * The description for the review */ @ApiMember(Description="The description for the review") public String Description = null; /** * The rating score */ @ApiMember(Description="The rating score") public Integer RatingScore = null; /** * The review author */ @ApiMember(Description="The review author") public String Author = null; /** * The created date */ @ApiMember(Description="The created date") public Date Created = null; /** * The review answer from the company */ @ApiMember(Description="The review answer from the company") public String ReviewAnswer = null; public String getTitle() { return Title; } public RatingReviewResponse setTitle(String value) { this.Title = value; return this; } public String getDescription() { return Description; } public RatingReviewResponse setDescription(String value) { this.Description = value; return this; } public Integer getRatingScore() { return RatingScore; } public RatingReviewResponse setRatingScore(Integer value) { this.RatingScore = value; return this; } public String getAuthor() { return Author; } public RatingReviewResponse setAuthor(String value) { this.Author = value; return this; } public Date getCreated() { return Created; } public RatingReviewResponse setCreated(Date value) { this.Created = value; return this; } public String getReviewAnswer() { return ReviewAnswer; } public RatingReviewResponse setReviewAnswer(String value) { this.ReviewAnswer = value; return this; } } public static class Resource extends BaseModel implements ICustomFieldTable, IBaseModelCreated, IBaseModelUpdated { @Ignore() public Integer Priority = null; @Ignore() public IList Schedules = null; @Ignore() public IList Exceptions = null; @Ignore() public IList Bookings = null; @Ignore() public IList CustomFieldsConfig = null; @Ignore() public IList CustomFieldsData = null; @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public String Name = null; @Required() public Boolean Active = null; public String Description = null; public String ImageUrl = null; @Required() public Date UpdatedDate = null; @Required() public Date CreatedDate = null; @Required() public String Color = null; public String Email = null; public String MobilePhone = null; public Boolean EmailNotification = null; public Boolean SMSNotification = null; @Required() public Boolean SendSMSReminder = null; @Required() public Boolean SendEmailReminder = null; public Date ModifiedDate = null; public String AccessGroup = null; public String TextField1 = null; public String TextField2 = null; public String TextField3 = null; public String TextField4 = null; public String TextField5 = null; public String TextField6 = null; public String TextField7 = null; public String TextField8 = null; public String TextField9 = null; public String TextField10 = null; public String TextField11 = null; public String TextField12 = null; public String TextField13 = null; public String TextField14 = null; public String TextField15 = null; public String TextField16 = null; public String TextField17 = null; public String TextField18 = null; public String TextField19 = null; public String TextField20 = null; public Integer getPriority() { return Priority; } public Resource setPriority(Integer value) { this.Priority = value; return this; } public IList getSchedules() { return Schedules; } public Resource setSchedules(IList value) { this.Schedules = value; return this; } public IList getExceptions() { return Exceptions; } public Resource setExceptions(IList value) { this.Exceptions = value; return this; } public IList getBookings() { return Bookings; } public Resource setBookings(IList value) { this.Bookings = value; return this; } public IList getCustomFieldsConfig() { return CustomFieldsConfig; } public Resource setCustomFieldsConfig(IList value) { this.CustomFieldsConfig = value; return this; } public IList getCustomFieldsData() { return CustomFieldsData; } public Resource setCustomFieldsData(IList value) { this.CustomFieldsData = value; return this; } public UUID getCompanyId() { return CompanyId; } public Resource setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public Resource setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public Resource setName(String value) { this.Name = value; return this; } public Boolean isActive() { return Active; } public Resource setActive(Boolean value) { this.Active = value; return this; } public String getDescription() { return Description; } public Resource setDescription(String value) { this.Description = value; return this; } public String getImageUrl() { return ImageUrl; } public Resource setImageUrl(String value) { this.ImageUrl = value; return this; } public Date getUpdatedDate() { return UpdatedDate; } public Resource setUpdatedDate(Date value) { this.UpdatedDate = value; return this; } public Date getCreatedDate() { return CreatedDate; } public Resource setCreatedDate(Date value) { this.CreatedDate = value; return this; } public String getColor() { return Color; } public Resource setColor(String value) { this.Color = value; return this; } public String getEmail() { return Email; } public Resource setEmail(String value) { this.Email = value; return this; } public String getMobilePhone() { return MobilePhone; } public Resource setMobilePhone(String value) { this.MobilePhone = value; return this; } public Boolean isEmailNotification() { return EmailNotification; } public Resource setEmailNotification(Boolean value) { this.EmailNotification = value; return this; } public Boolean isSmsNotification() { return SMSNotification; } public Resource setSmsNotification(Boolean value) { this.SMSNotification = value; return this; } public Boolean isSendSMSReminder() { return SendSMSReminder; } public Resource setSendSMSReminder(Boolean value) { this.SendSMSReminder = value; return this; } public Boolean isSendEmailReminder() { return SendEmailReminder; } public Resource setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public Resource setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public String getAccessGroup() { return AccessGroup; } public Resource setAccessGroup(String value) { this.AccessGroup = value; return this; } public String getTextField1() { return TextField1; } public Resource setTextField1(String value) { this.TextField1 = value; return this; } public String getTextField2() { return TextField2; } public Resource setTextField2(String value) { this.TextField2 = value; return this; } public String getTextField3() { return TextField3; } public Resource setTextField3(String value) { this.TextField3 = value; return this; } public String getTextField4() { return TextField4; } public Resource setTextField4(String value) { this.TextField4 = value; return this; } public String getTextField5() { return TextField5; } public Resource setTextField5(String value) { this.TextField5 = value; return this; } public String getTextField6() { return TextField6; } public Resource setTextField6(String value) { this.TextField6 = value; return this; } public String getTextField7() { return TextField7; } public Resource setTextField7(String value) { this.TextField7 = value; return this; } public String getTextField8() { return TextField8; } public Resource setTextField8(String value) { this.TextField8 = value; return this; } public String getTextField9() { return TextField9; } public Resource setTextField9(String value) { this.TextField9 = value; return this; } public String getTextField10() { return TextField10; } public Resource setTextField10(String value) { this.TextField10 = value; return this; } public String getTextField11() { return TextField11; } public Resource setTextField11(String value) { this.TextField11 = value; return this; } public String getTextField12() { return TextField12; } public Resource setTextField12(String value) { this.TextField12 = value; return this; } public String getTextField13() { return TextField13; } public Resource setTextField13(String value) { this.TextField13 = value; return this; } public String getTextField14() { return TextField14; } public Resource setTextField14(String value) { this.TextField14 = value; return this; } public String getTextField15() { return TextField15; } public Resource setTextField15(String value) { this.TextField15 = value; return this; } public String getTextField16() { return TextField16; } public Resource setTextField16(String value) { this.TextField16 = value; return this; } public String getTextField17() { return TextField17; } public Resource setTextField17(String value) { this.TextField17 = value; return this; } public String getTextField18() { return TextField18; } public Resource setTextField18(String value) { this.TextField18 = value; return this; } public String getTextField19() { return TextField19; } public Resource setTextField19(String value) { this.TextField19 = value; return this; } public String getTextField20() { return TextField20; } public Resource setTextField20(String value) { this.TextField20 = value; return this; } } public static class GroupBookingSettings { public Boolean Active = null; public Integer Min = null; public Integer Max = null; public Boolean isActive() { return Active; } public GroupBookingSettings setActive(Boolean value) { this.Active = value; return this; } public Integer getMin() { return Min; } public GroupBookingSettings setMin(Integer value) { this.Min = value; return this; } public Integer getMax() { return Max; } public GroupBookingSettings setMax(Integer value) { this.Max = value; return this; } } public static class MultipleResourceSettings { public Boolean Active = null; public Integer Min = null; public Integer Max = null; public Boolean isActive() { return Active; } public MultipleResourceSettings setActive(Boolean value) { this.Active = value; return this; } public Integer getMin() { return Min; } public MultipleResourceSettings setMin(Integer value) { this.Min = value; return this; } public Integer getMax() { return Max; } public MultipleResourceSettings setMax(Integer value) { this.Max = value; return this; } } public static class CustomFieldConfigData { /** * Custom field id */ @ApiMember(Description="Custom field id") public Integer Id = null; /** * Configuration name. Example: 'Number of persons'. */ @ApiMember(Description="Configuration name. Example: 'Number of persons'.") public String Name = null; /** * Custom field description. Example: 'For how many persons is this booking?' */ @ApiMember(Description="Custom field description. Example: 'For how many persons is this booking?'") public String Description = null; /** * Field width. Example: 20 for 20px */ @ApiMember(Description="Field width. Example: 20 for 20px") public Integer Width = null; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") public String DataType = null; /** * Default value of the field. Example: '3' */ @ApiMember(Description="Default value of the field. Example: '3'") public String DefaultValue = null; /** * Determines if the field is required to have a value or not */ @ApiMember(Description="Determines if the field is required to have a value or not") public Boolean IsMandatory = null; /** * Error message shown to the user if the field data is required but not entered */ @ApiMember(Description="Error message shown to the user if the field data is required but not entered") public String MandatoryErrorMessage = null; /** * Max lenght of the field */ @ApiMember(Description="Max lenght of the field") public Integer MaxLength = null; /** * If the field should have multiple lines */ @ApiMember(Description="If the field should have multiple lines") public Boolean MultipleLineText = null; /** * Regular expression used for validation of the field */ @ApiMember(Description="Regular expression used for validation of the field") public String RegEx = null; /** * Error message shown if the regular expression validation failed */ @ApiMember(Description="Error message shown if the regular expression validation failed") public String RegExErrorMessage = null; /** * The values to select from if Datatype is DropDown for this custom field */ @ApiMember(Description="The values to select from if Datatype is DropDown for this custom field") public ArrayList Values = null; public Integer getId() { return Id; } public CustomFieldConfigData setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CustomFieldConfigData setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomFieldConfigData setDescription(String value) { this.Description = value; return this; } public Integer getWidth() { return Width; } public CustomFieldConfigData setWidth(Integer value) { this.Width = value; return this; } public String getDataType() { return DataType; } public CustomFieldConfigData setDataType(String value) { this.DataType = value; return this; } public String getDefaultValue() { return DefaultValue; } public CustomFieldConfigData setDefaultValue(String value) { this.DefaultValue = value; return this; } public Boolean getIsMandatory() { return IsMandatory; } public CustomFieldConfigData setIsMandatory(Boolean value) { this.IsMandatory = value; return this; } public String getMandatoryErrorMessage() { return MandatoryErrorMessage; } public CustomFieldConfigData setMandatoryErrorMessage(String value) { this.MandatoryErrorMessage = value; return this; } public Integer getMaxLength() { return MaxLength; } public CustomFieldConfigData setMaxLength(Integer value) { this.MaxLength = value; return this; } public Boolean isMultipleLineText() { return MultipleLineText; } public CustomFieldConfigData setMultipleLineText(Boolean value) { this.MultipleLineText = value; return this; } public String getRegEx() { return RegEx; } public CustomFieldConfigData setRegEx(String value) { this.RegEx = value; return this; } public String getRegExErrorMessage() { return RegExErrorMessage; } public CustomFieldConfigData setRegExErrorMessage(String value) { this.RegExErrorMessage = value; return this; } public ArrayList getValues() { return Values; } public CustomFieldConfigData setValues(ArrayList value) { this.Values = value; return this; } } public static class CustomFieldDataResponse { public Integer Id = null; public String Column = null; public String Name = null; public String Description = null; public String Value = null; /** * Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox' */ @ApiMember(Description="Data field of custom field. Valid values are: TextBox, ... Example: 'TextBox'") public String DataType = null; public Integer getId() { return Id; } public CustomFieldDataResponse setId(Integer value) { this.Id = value; return this; } public String getColumn() { return Column; } public CustomFieldDataResponse setColumn(String value) { this.Column = value; return this; } public String getName() { return Name; } public CustomFieldDataResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CustomFieldDataResponse setDescription(String value) { this.Description = value; return this; } public String getValue() { return Value; } public CustomFieldDataResponse setValue(String value) { this.Value = value; return this; } public String getDataType() { return DataType; } public CustomFieldDataResponse setDataType(String value) { this.DataType = value; return this; } } public static class BookedCustomer { public UUID Id = null; public String Firstname = null; public String Lastname = null; public String Email = null; public String Phone = null; public String FacebookUserName = null; public String ImageUrl = null; public String CorporateIdentityNumber = null; public String InvoiceAddress1 = null; public String InvoiceAddress2 = null; public String InvoiceCity = null; public String InvoicePostalCode = null; public String InvoiceCountryCode = null; public UUID getId() { return Id; } public BookedCustomer setId(UUID value) { this.Id = value; return this; } public String getFirstname() { return Firstname; } public BookedCustomer setFirstname(String value) { this.Firstname = value; return this; } public String getLastname() { return Lastname; } public BookedCustomer setLastname(String value) { this.Lastname = value; return this; } public String getEmail() { return Email; } public BookedCustomer setEmail(String value) { this.Email = value; return this; } public String getPhone() { return Phone; } public BookedCustomer setPhone(String value) { this.Phone = value; return this; } public String getFacebookUserName() { return FacebookUserName; } public BookedCustomer setFacebookUserName(String value) { this.FacebookUserName = value; return this; } public String getImageUrl() { return ImageUrl; } public BookedCustomer setImageUrl(String value) { this.ImageUrl = value; return this; } public String getCorporateIdentityNumber() { return CorporateIdentityNumber; } public BookedCustomer setCorporateIdentityNumber(String value) { this.CorporateIdentityNumber = value; return this; } public String getInvoiceAddress1() { return InvoiceAddress1; } public BookedCustomer setInvoiceAddress1(String value) { this.InvoiceAddress1 = value; return this; } public String getInvoiceAddress2() { return InvoiceAddress2; } public BookedCustomer setInvoiceAddress2(String value) { this.InvoiceAddress2 = value; return this; } public String getInvoiceCity() { return InvoiceCity; } public BookedCustomer setInvoiceCity(String value) { this.InvoiceCity = value; return this; } public String getInvoicePostalCode() { return InvoicePostalCode; } public BookedCustomer setInvoicePostalCode(String value) { this.InvoicePostalCode = value; return this; } public String getInvoiceCountryCode() { return InvoiceCountryCode; } public BookedCustomer setInvoiceCountryCode(String value) { this.InvoiceCountryCode = value; return this; } } public static class CompanyRatingSummary { /** * The average rating score */ @ApiMember(Description="The average rating score") public Double AverageScore = null; /** * The number of ratings of score 1 */ @ApiMember(Description="The number of ratings of score 1") public Integer RatingScore1Count = null; /** * The number of ratings of score 2 */ @ApiMember(Description="The number of ratings of score 2") public Integer RatingScore2Count = null; /** * The number of ratings of score 3 */ @ApiMember(Description="The number of ratings of score 3") public Integer RatingScore3Count = null; /** * The number of ratings of score 4 */ @ApiMember(Description="The number of ratings of score 4") public Integer RaingScore4Count = null; /** * The number of ratings of score 5 */ @ApiMember(Description="The number of ratings of score 5") public Integer RatingScore5Count = null; /** * The number of ratings */ @ApiMember(Description="The number of ratings") public Integer Count = null; public Double getAverageScore() { return AverageScore; } public CompanyRatingSummary setAverageScore(Double value) { this.AverageScore = value; return this; } public Integer getRatingScore1Count() { return RatingScore1Count; } public CompanyRatingSummary setRatingScore1Count(Integer value) { this.RatingScore1Count = value; return this; } public Integer getRatingScore2Count() { return RatingScore2Count; } public CompanyRatingSummary setRatingScore2Count(Integer value) { this.RatingScore2Count = value; return this; } public Integer getRatingScore3Count() { return RatingScore3Count; } public CompanyRatingSummary setRatingScore3Count(Integer value) { this.RatingScore3Count = value; return this; } public Integer getRaingScore4Count() { return RaingScore4Count; } public CompanyRatingSummary setRaingScore4Count(Integer value) { this.RaingScore4Count = value; return this; } public Integer getRatingScore5Count() { return RatingScore5Count; } public CompanyRatingSummary setRatingScore5Count(Integer value) { this.RatingScore5Count = value; return this; } public Integer getCount() { return Count; } public CompanyRatingSummary setCount(Integer value) { this.Count = value; return this; } } public static enum ScheduleType { NotDefined, RecurringSchedule, DateSchedule; } public static class BookingStatusOptionsResponse { public Integer Id = null; public String Name = null; public String Description = null; public Integer getId() { return Id; } public BookingStatusOptionsResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public BookingStatusOptionsResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public BookingStatusOptionsResponse setDescription(String value) { this.Description = value; return this; } } public static class ServiceSchedules { public ScheduleType ScheduleType = null; public ArrayList RecurringSchedules = null; public ArrayList DateSchedules = null; public ScheduleType getScheduleType() { return ScheduleType; } public ServiceSchedules setScheduleType(ScheduleType value) { this.ScheduleType = value; return this; } public ArrayList getRecurringSchedules() { return RecurringSchedules; } public ServiceSchedules setRecurringSchedules(ArrayList value) { this.RecurringSchedules = value; return this; } public ArrayList getDateSchedules() { return DateSchedules; } public ServiceSchedules setDateSchedules(ArrayList value) { this.DateSchedules = value; return this; } } public static class ServiceResourceTypeResponse { /** * The resourcetype id */ @ApiMember(Description="The resourcetype id") public Integer Id = null; /** * The resourcetype is selectable by customer */ @ApiMember(Description="The resourcetype is selectable by customer") public Boolean SelectableByUser = null; /** * The resourcetype name */ @ApiMember(Description="The resourcetype name") public String Name = null; /** * The resourcetype description */ @ApiMember(Description="The resourcetype description") public String Description = null; /** * The resources in the resourcetype. Only shows active resources if not admin. */ @ApiMember(Description="The resources in the resourcetype. Only shows active resources if not admin.") public ArrayList Resources = null; public Integer getId() { return Id; } public ServiceResourceTypeResponse setId(Integer value) { this.Id = value; return this; } public Boolean isSelectableByUser() { return SelectableByUser; } public ServiceResourceTypeResponse setSelectableByUser(Boolean value) { this.SelectableByUser = value; return this; } public String getName() { return Name; } public ServiceResourceTypeResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public ServiceResourceTypeResponse setDescription(String value) { this.Description = value; return this; } public ArrayList getResources() { return Resources; } public ServiceResourceTypeResponse setResources(ArrayList value) { this.Resources = value; return this; } } @DataContract public static class QueryBase { /** * Skip over a given number of elements in a sequence and then return the remainder. Use this when you need paging.

Example:
?skip=10&orderBy=Id */ @DataMember(Order=1) public Integer Skip = null; /** * Return a given number of elements in a sequence and then skip over the remainder. Use this when you need paging.

Example:
?take=20 */ @DataMember(Order=2) public Integer Take = null; /** * Comma separated list of fields to order by. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderBy=Id,-Age,FirstName */ @DataMember(Order=3) public String OrderBy = null; /** * Comma separated list of fields to order by in descending order. Prefix the field name with a minus if you wan't to invert the sort for that field.

Example:
?orderByDesc=Id,-Age,FirstName */ @DataMember(Order=4) public String OrderByDesc = null; /** * Include any of the aggregates AVG, COUNT, FIRST, LAST, MAX, MIN, SUM in your result set. The results will be returned in the meta field.

Example:
?include=COUNT(*) as Total

or multiple fields with
?include=Count(*) Total, Min(Age), AVG(Age) AverageAge

or unique with
?include=COUNT(DISTINCT LivingStatus) as UniqueStatus */ @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 BaseModel { } public static interface IBaseModelCreated { public Date CreatedDate = null; } public static interface IBaseModelUpdated { public Date UpdatedDate = null; } public static interface ICustomFieldTable { public IList CustomFieldsConfig = null; public IList CustomFieldsData = null; public String TextField1 = null; public String TextField2 = null; public String TextField3 = null; public String TextField4 = null; public String TextField5 = null; public String TextField6 = null; public String TextField7 = null; public String TextField8 = null; public String TextField9 = null; public String TextField10 = null; public String TextField11 = null; public String TextField12 = null; public String TextField13 = null; public String TextField14 = null; public String TextField15 = null; public String TextField16 = null; public String TextField17 = null; public String TextField18 = null; public String TextField19 = null; public String TextField20 = null; } public static class CustomFieldValue extends BaseModel { @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public String Value = null; @Required() public Boolean Active = null; public Short SortOrder = null; public Date ModifiedDate = null; public UUID getCompanyId() { return CompanyId; } public CustomFieldValue setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CustomFieldValue setId(Integer value) { this.Id = value; return this; } public String getValue() { return Value; } public CustomFieldValue setValue(String value) { this.Value = value; return this; } public Boolean isActive() { return Active; } public CustomFieldValue setActive(Boolean value) { this.Active = value; return this; } public Short getSortOrder() { return SortOrder; } public CustomFieldValue setSortOrder(Short value) { this.SortOrder = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomFieldValue setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static class CustomField extends BaseModel { @Required() public String Table = null; @Required() public String Column = null; @Required() public String DataType = null; @Required() public String Description = null; @Required() public Boolean Active = null; public Date ModifiedDate = null; public Integer Id = null; public String getTable() { return Table; } public CustomField setTable(String value) { this.Table = value; return this; } public String getColumn() { return Column; } public CustomField setColumn(String value) { this.Column = value; return this; } public String getDataType() { return DataType; } public CustomField setDataType(String value) { this.DataType = value; return this; } public String getDescription() { return Description; } public CustomField setDescription(String value) { this.Description = value; return this; } public Boolean isActive() { return Active; } public CustomField setActive(Boolean value) { this.Active = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomField setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public CustomField setId(Integer value) { this.Id = value; return this; } } public static class RegEx extends BaseModel { @Required() public String Name = null; @Required() public String Description = null; @Required() public String RegExCode = null; public String ErrorMessage = null; public Date ModifiedDate = null; public Integer Id = null; public String getName() { return Name; } public RegEx setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public RegEx setDescription(String value) { this.Description = value; return this; } public String getRegExCode() { return RegExCode; } public RegEx setRegExCode(String value) { this.RegExCode = value; return this; } public String getErrorMessage() { return ErrorMessage; } public RegEx setErrorMessage(String value) { this.ErrorMessage = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public RegEx setModifiedDate(Date value) { this.ModifiedDate = value; return this; } public Integer getId() { return Id; } public RegEx setId(Integer value) { this.Id = value; return this; } } public static class CustomFieldServiceRelation extends BaseModel { @Required() public UUID CompanyId = null; public Integer Id = null; @Required() public Integer CustomFieldConfigId = null; @Required() public Integer ServiceId = null; public Date ModifiedDate = null; public UUID getCompanyId() { return CompanyId; } public CustomFieldServiceRelation setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public CustomFieldServiceRelation setId(Integer value) { this.Id = value; return this; } public Integer getCustomFieldConfigId() { return CustomFieldConfigId; } public CustomFieldServiceRelation setCustomFieldConfigId(Integer value) { this.CustomFieldConfigId = value; return this; } public Integer getServiceId() { return ServiceId; } public CustomFieldServiceRelation setServiceId(Integer value) { this.ServiceId = value; return this; } public Date getModifiedDate() { return ModifiedDate; } public CustomFieldServiceRelation setModifiedDate(Date value) { this.ModifiedDate = value; return this; } } public static interface ISchedule { public IList Resources = null; public ScheduleType Type = null; public Boolean Active = null; public Boolean IsResourceSpecific = null; } public static interface ITimeException implements IInterval { public Integer Id = null; public String ReasonText = null; public Boolean IsBlock = null; public String ReasonTextPublic = null; public Boolean IsRecurring = null; public ArrayList ResourceIds = null; } public static interface IBookedTime implements IInterval { public Integer Id = null; public Integer ServiceId = null; public Integer BookedSpots = null; public Integer TotalSpots = null; public Integer PauseAfterInMinutes = null; public BookingStatusEnum Status = null; public Integer StatusId = null; public BookedCustomer Customer = null; } public static class CustomFieldValueResponse { public String Value = null; public String getValue() { return Value; } public CustomFieldValueResponse setValue(String value) { this.Value = value; return this; } } public static class ServiceResourceTypeResource { /** * The resource id */ @ApiMember(Description="The resource id") public Integer Id = null; /** * The resource name */ @ApiMember(Description="The resource name") public String Name = null; /** * The resource description */ @ApiMember(Description="The resource description") public String Description = null; /** * The resource email */ @ApiMember(Description="The resource email") public String Email = null; /** * The resource phone */ @ApiMember(Description="The resource phone") public String Phone = null; /** * The resource color */ @ApiMember(Description="The resource color") public String Color = null; /** * The resource image */ @ApiMember(Description="The resource image") public Uri ImageUrl = null; /** * The priority of the resource */ @ApiMember(Description="The priority of the resource") public Integer Priority = null; /** * If the resource want to receive email notifications */ @ApiMember(Description="If the resource want to receive email notifications") public Boolean EmailNotification = null; /** * If the resource want to receive sms notifications */ @ApiMember(Description="If the resource want to receive sms notifications") public Boolean SMSNotification = null; /** * If the resource want to receive email reminders */ @ApiMember(Description="If the resource want to receive email reminders") public Boolean EmailReminder = null; /** * If the resource want to receive sms reminders */ @ApiMember(Description="If the resource want to receive sms reminders") public Boolean SMSReminder = null; public Integer getId() { return Id; } public ServiceResourceTypeResource setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public ServiceResourceTypeResource setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public ServiceResourceTypeResource setDescription(String value) { this.Description = value; return this; } public String getEmail() { return Email; } public ServiceResourceTypeResource setEmail(String value) { this.Email = value; return this; } public String getPhone() { return Phone; } public ServiceResourceTypeResource setPhone(String value) { this.Phone = value; return this; } public String getColor() { return Color; } public ServiceResourceTypeResource setColor(String value) { this.Color = value; return this; } public Uri getImageUrl() { return ImageUrl; } public ServiceResourceTypeResource setImageUrl(Uri value) { this.ImageUrl = value; return this; } public Integer getPriority() { return Priority; } public ServiceResourceTypeResource setPriority(Integer value) { this.Priority = value; return this; } public Boolean isEmailNotification() { return EmailNotification; } public ServiceResourceTypeResource setEmailNotification(Boolean value) { this.EmailNotification = value; return this; } public Boolean isSmsNotification() { return SMSNotification; } public ServiceResourceTypeResource setSmsNotification(Boolean value) { this.SMSNotification = value; return this; } public Boolean isEmailReminder() { return EmailReminder; } public ServiceResourceTypeResource setEmailReminder(Boolean value) { this.EmailReminder = value; return this; } public Boolean isSmsReminder() { return SMSReminder; } public ServiceResourceTypeResource setSmsReminder(Boolean value) { this.SMSReminder = value; return this; } } public static class ServicePriceResponse { /** * The company id */ @ApiMember(Description="The company id") public UUID CompanyId = null; /** * The price id */ @ApiMember(Description="The price id") public Integer Id = null; /** * The service id */ @ApiMember(Description="The service id") public Integer ServiceId = null; /** * The price */ @ApiMember(Description="The price") public Double Price = null; /** * The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day */ @ApiMember(Description="The price calculation type id, 1 = Normal, price is for the service total duration, 2 = Price is per minute, 3 = Price is per hour, 4= Price is per day") public Integer CalculationTypeId = null; /** * The price currency */ @ApiMember(Description="The price currency") public String CurrencyId = null; /** * The price sign */ @ApiMember(Description="The price sign") public String PriceSign = null; /** * The price VAT in percent */ @ApiMember(Description="The price VAT in percent") public BigDecimal VAT = null; /** * The price category if price has a category */ @ApiMember(Description="The price category if price has a category") public String Category = null; /** * The price text to display */ @ApiMember(Description="The price text to display") public String PriceText = null; /** * The valid from date for the price. */ @ApiMember(Description="The valid from date for the price.") public Date From = null; /** * The valid to date for the price. */ @ApiMember(Description="The valid to date for the price.") public Date To = null; /** * If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. */ @ApiMember(Description="If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.") public ArrayList DaysOfWeek = null; /** * If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update. */ @ApiMember(Description="If the price is only valid for specific days in week add a comma separated list of which days this day price belongs to, 1 = Monday .. 7 = Sunday. All old days connected will be removed on update.") public TimeSpan FromTime = null; /** * If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters. */ @ApiMember(Description="If the price is only valid for a specific time span during a time of day enter the FromTime and ToTime parameters.") public TimeSpan ToTime = null; public ServiceInfoResponse Service = null; /** * If the price is only valid for a specific time span */ @ApiMember(Description="If the price is only valid for a specific time span") public Boolean IsTimeSpecific = null; /** * If the price is only valid for specific days of week */ @ApiMember(Description="If the price is only valid for specific days of week") public Boolean IsDaysOfWeekSpecific = null; public UUID getCompanyId() { return CompanyId; } public ServicePriceResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public ServicePriceResponse setId(Integer value) { this.Id = value; return this; } public Integer getServiceId() { return ServiceId; } public ServicePriceResponse setServiceId(Integer value) { this.ServiceId = value; return this; } public Double getPrice() { return Price; } public ServicePriceResponse setPrice(Double value) { this.Price = value; return this; } public Integer getCalculationTypeId() { return CalculationTypeId; } public ServicePriceResponse setCalculationTypeId(Integer value) { this.CalculationTypeId = value; return this; } public String getCurrencyId() { return CurrencyId; } public ServicePriceResponse setCurrencyId(String value) { this.CurrencyId = value; return this; } public String getPriceSign() { return PriceSign; } public ServicePriceResponse setPriceSign(String value) { this.PriceSign = value; return this; } public BigDecimal getVat() { return VAT; } public ServicePriceResponse setVat(BigDecimal value) { this.VAT = value; return this; } public String getCategory() { return Category; } public ServicePriceResponse setCategory(String value) { this.Category = value; return this; } public String getPriceText() { return PriceText; } public ServicePriceResponse setPriceText(String value) { this.PriceText = value; return this; } public Date getFrom() { return From; } public ServicePriceResponse setFrom(Date value) { this.From = value; return this; } public Date getTo() { return To; } public ServicePriceResponse setTo(Date value) { this.To = value; return this; } public ArrayList getDaysOfWeek() { return DaysOfWeek; } public ServicePriceResponse setDaysOfWeek(ArrayList value) { this.DaysOfWeek = value; return this; } public TimeSpan getFromTime() { return FromTime; } public ServicePriceResponse setFromTime(TimeSpan value) { this.FromTime = value; return this; } public TimeSpan getToTime() { return ToTime; } public ServicePriceResponse setToTime(TimeSpan value) { this.ToTime = value; return this; } public ServiceInfoResponse getService() { return Service; } public ServicePriceResponse setService(ServiceInfoResponse value) { this.Service = value; return this; } public Boolean getIsTimeSpecific() { return IsTimeSpecific; } public ServicePriceResponse setIsTimeSpecific(Boolean value) { this.IsTimeSpecific = value; return this; } public Boolean getIsDaysOfWeekSpecific() { return IsDaysOfWeekSpecific; } public ServicePriceResponse setIsDaysOfWeekSpecific(Boolean value) { this.IsDaysOfWeekSpecific = value; return this; } } public static class ServiceQueryResponse { public Integer Id = null; public String Name = null; public String Description = null; public Uri ImageUrl = null; public Integer TotalSpots = null; /** * If this setting is turned on the remaining spots (if Totalspots > 1) is locked from be booked by another customer. */ @ApiMember(Description="If this setting is turned on the remaining spots (if Totalspots > 1) is locked from be booked by another customer.") public Boolean LockSpotsToBooking = null; public Integer MinNumberOfSpotsPerBooking = null; public Integer MaxNumberOfSpotsPerBooking = null; public Integer MinNumberOfResourcesToBook = null; public Integer MaxNumberOfResourcesToBook = null; public Integer UnbookBeforeDays = null; public Integer UnbookBeforeHours = null; public Integer UnbookBeforeMinutes = null; /** * What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2 */ @ApiMember(Description="What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2") public ScheduleType ScheduleType = null; /** * What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2 */ @ApiMember(Description="What type of schedule is connected to the service. RecurringSchedule = 1, DateSchedule = 2") public Integer ScheduleTypeId = null; public Integer BookBeforeDays = null; public Integer BookBeforeHours = null; public Integer BookBeforeMinutes = null; public String Group = null; public Boolean EnableBookingQueue = null; public Boolean EnableCodeLockSync = null; public Boolean EnableCustomerManualPayment = null; public Integer SortOrder = null; public Boolean Active = null; public Boolean IsGroupBooking = null; public GroupBookingSettings GroupBooking = null; public MultipleResourceSettings MultipleResource = null; public Boolean IsPaymentEnabled = null; /** * Maximum numbers of minutes the booking payment must be completed before automatically unbooked */ @ApiMember(Description="Maximum numbers of minutes the booking payment must be completed before automatically unbooked") public Integer MaxPaymentTime = null; /** * If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked. */ @ApiMember(Description="If the booking should be either 1 = Booked) or 3 = Reserved. Default is 1 = Booked.") public Integer BookingStatusId = null; public Boolean OnlyVisibleByAdmin = null; public Integer LengthInMinutes = null; public Integer DurationTypeId = null; public Integer Duration = null; public Integer MinDuration = null; public Integer MaxDuration = null; public Integer DurationInterval = null; public Integer PauseAfterBooking = null; public ArrayList CustomFields = null; public ArrayList CustomFieldValues = null; public ArrayList BookingCustomFields = null; public ArrayList CustomerCustomFields = null; /** * The booking status options to choose from */ @ApiMember(Description="The booking status options to choose from") public ArrayList BookingStatusOptions = null; public ArrayList Prices = null; public ServiceSchedules Schedules = null; public CompanyRatingSummary RatingSummary = null; public ArrayList Reviews = null; public ArrayList ResourceTypes = null; public ResponseStatus ResponseStatus = null; public Integer PriceViewTypeId = null; public Integer getId() { return Id; } public ServiceQueryResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public ServiceQueryResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public ServiceQueryResponse setDescription(String value) { this.Description = value; return this; } public Uri getImageUrl() { return ImageUrl; } public ServiceQueryResponse setImageUrl(Uri value) { this.ImageUrl = value; return this; } public Integer getTotalSpots() { return TotalSpots; } public ServiceQueryResponse setTotalSpots(Integer value) { this.TotalSpots = value; return this; } public Boolean isLockSpotsToBooking() { return LockSpotsToBooking; } public ServiceQueryResponse setLockSpotsToBooking(Boolean value) { this.LockSpotsToBooking = value; return this; } public Integer getMinNumberOfSpotsPerBooking() { return MinNumberOfSpotsPerBooking; } public ServiceQueryResponse setMinNumberOfSpotsPerBooking(Integer value) { this.MinNumberOfSpotsPerBooking = value; return this; } public Integer getMaxNumberOfSpotsPerBooking() { return MaxNumberOfSpotsPerBooking; } public ServiceQueryResponse setMaxNumberOfSpotsPerBooking(Integer value) { this.MaxNumberOfSpotsPerBooking = value; return this; } public Integer getMinNumberOfResourcesToBook() { return MinNumberOfResourcesToBook; } public ServiceQueryResponse setMinNumberOfResourcesToBook(Integer value) { this.MinNumberOfResourcesToBook = value; return this; } public Integer getMaxNumberOfResourcesToBook() { return MaxNumberOfResourcesToBook; } public ServiceQueryResponse setMaxNumberOfResourcesToBook(Integer value) { this.MaxNumberOfResourcesToBook = value; return this; } public Integer getUnbookBeforeDays() { return UnbookBeforeDays; } public ServiceQueryResponse setUnbookBeforeDays(Integer value) { this.UnbookBeforeDays = value; return this; } public Integer getUnbookBeforeHours() { return UnbookBeforeHours; } public ServiceQueryResponse setUnbookBeforeHours(Integer value) { this.UnbookBeforeHours = value; return this; } public Integer getUnbookBeforeMinutes() { return UnbookBeforeMinutes; } public ServiceQueryResponse setUnbookBeforeMinutes(Integer value) { this.UnbookBeforeMinutes = value; return this; } public ScheduleType getScheduleType() { return ScheduleType; } public ServiceQueryResponse setScheduleType(ScheduleType value) { this.ScheduleType = value; return this; } public Integer getScheduleTypeId() { return ScheduleTypeId; } public ServiceQueryResponse setScheduleTypeId(Integer value) { this.ScheduleTypeId = value; return this; } public Integer getBookBeforeDays() { return BookBeforeDays; } public ServiceQueryResponse setBookBeforeDays(Integer value) { this.BookBeforeDays = value; return this; } public Integer getBookBeforeHours() { return BookBeforeHours; } public ServiceQueryResponse setBookBeforeHours(Integer value) { this.BookBeforeHours = value; return this; } public Integer getBookBeforeMinutes() { return BookBeforeMinutes; } public ServiceQueryResponse setBookBeforeMinutes(Integer value) { this.BookBeforeMinutes = value; return this; } public String getGroup() { return Group; } public ServiceQueryResponse setGroup(String value) { this.Group = value; return this; } public Boolean isEnableBookingQueue() { return EnableBookingQueue; } public ServiceQueryResponse setEnableBookingQueue(Boolean value) { this.EnableBookingQueue = value; return this; } public Boolean isEnableCodeLockSync() { return EnableCodeLockSync; } public ServiceQueryResponse setEnableCodeLockSync(Boolean value) { this.EnableCodeLockSync = value; return this; } public Boolean isEnableCustomerManualPayment() { return EnableCustomerManualPayment; } public ServiceQueryResponse setEnableCustomerManualPayment(Boolean value) { this.EnableCustomerManualPayment = value; return this; } public Integer getSortOrder() { return SortOrder; } public ServiceQueryResponse setSortOrder(Integer value) { this.SortOrder = value; return this; } public Boolean isActive() { return Active; } public ServiceQueryResponse setActive(Boolean value) { this.Active = value; return this; } public Boolean getIsGroupBooking() { return IsGroupBooking; } public ServiceQueryResponse setIsGroupBooking(Boolean value) { this.IsGroupBooking = value; return this; } public GroupBookingSettings getGroupBooking() { return GroupBooking; } public ServiceQueryResponse setGroupBooking(GroupBookingSettings value) { this.GroupBooking = value; return this; } public MultipleResourceSettings getMultipleResource() { return MultipleResource; } public ServiceQueryResponse setMultipleResource(MultipleResourceSettings value) { this.MultipleResource = value; return this; } public Boolean getIsPaymentEnabled() { return IsPaymentEnabled; } public ServiceQueryResponse setIsPaymentEnabled(Boolean value) { this.IsPaymentEnabled = value; return this; } public Integer getMaxPaymentTime() { return MaxPaymentTime; } public ServiceQueryResponse setMaxPaymentTime(Integer value) { this.MaxPaymentTime = value; return this; } public Integer getBookingStatusId() { return BookingStatusId; } public ServiceQueryResponse setBookingStatusId(Integer value) { this.BookingStatusId = value; return this; } public Boolean isOnlyVisibleByAdmin() { return OnlyVisibleByAdmin; } public ServiceQueryResponse setOnlyVisibleByAdmin(Boolean value) { this.OnlyVisibleByAdmin = value; return this; } public Integer getLengthInMinutes() { return LengthInMinutes; } public ServiceQueryResponse setLengthInMinutes(Integer value) { this.LengthInMinutes = value; return this; } public Integer getDurationTypeId() { return DurationTypeId; } public ServiceQueryResponse setDurationTypeId(Integer value) { this.DurationTypeId = value; return this; } public Integer getDuration() { return Duration; } public ServiceQueryResponse setDuration(Integer value) { this.Duration = value; return this; } public Integer getMinDuration() { return MinDuration; } public ServiceQueryResponse setMinDuration(Integer value) { this.MinDuration = value; return this; } public Integer getMaxDuration() { return MaxDuration; } public ServiceQueryResponse setMaxDuration(Integer value) { this.MaxDuration = value; return this; } public Integer getDurationInterval() { return DurationInterval; } public ServiceQueryResponse setDurationInterval(Integer value) { this.DurationInterval = value; return this; } public Integer getPauseAfterBooking() { return PauseAfterBooking; } public ServiceQueryResponse setPauseAfterBooking(Integer value) { this.PauseAfterBooking = value; return this; } public ArrayList getCustomFields() { return CustomFields; } public ServiceQueryResponse setCustomFields(ArrayList value) { this.CustomFields = value; return this; } public ArrayList getCustomFieldValues() { return CustomFieldValues; } public ServiceQueryResponse setCustomFieldValues(ArrayList value) { this.CustomFieldValues = value; return this; } public ArrayList getBookingCustomFields() { return BookingCustomFields; } public ServiceQueryResponse setBookingCustomFields(ArrayList value) { this.BookingCustomFields = value; return this; } public ArrayList getCustomerCustomFields() { return CustomerCustomFields; } public ServiceQueryResponse setCustomerCustomFields(ArrayList value) { this.CustomerCustomFields = value; return this; } public ArrayList getBookingStatusOptions() { return BookingStatusOptions; } public ServiceQueryResponse setBookingStatusOptions(ArrayList value) { this.BookingStatusOptions = value; return this; } public ArrayList getPrices() { return Prices; } public ServiceQueryResponse setPrices(ArrayList value) { this.Prices = value; return this; } public ServiceSchedules getSchedules() { return Schedules; } public ServiceQueryResponse setSchedules(ServiceSchedules value) { this.Schedules = value; return this; } public CompanyRatingSummary getRatingSummary() { return RatingSummary; } public ServiceQueryResponse setRatingSummary(CompanyRatingSummary value) { this.RatingSummary = value; return this; } public ArrayList getReviews() { return Reviews; } public ServiceQueryResponse setReviews(ArrayList value) { this.Reviews = value; return this; } public ArrayList getResourceTypes() { return ResourceTypes; } public ServiceQueryResponse setResourceTypes(ArrayList value) { this.ResourceTypes = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public ServiceQueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public Integer getPriceViewTypeId() { return PriceViewTypeId; } public ServiceQueryResponse setPriceViewTypeId(Integer value) { this.PriceViewTypeId = value; return this; } } }