/* Options: Date: 2024-11-07 06:48:01 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: DeleteServiceDateSchedule.* //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="/services/{Id}/dateschedules/{DateScheduleId}", Verbs="DELETE") @ValidateRequest(Validator="IsAuthenticated") public static class DeleteServiceDateSchedule implements IReturn, ICompany { /** * Delete a schedules connected to service. */ @ApiMember(Description="Delete a schedules connected to service.") public UUID CompanyId = null; /** * Id of the service */ @ApiMember(Description="Id of the service", IsRequired=true, ParameterType="path") public Integer Id = null; /** * Ids of Date schedules of the service to remove */ @ApiMember(Description="Ids of Date schedules of the service to remove", IsRequired=true, ParameterType="path") public Integer DateScheduleId = null; public UUID getCompanyId() { return CompanyId; } public DeleteServiceDateSchedule setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public DeleteServiceDateSchedule setId(Integer value) { this.Id = value; return this; } public Integer getDateScheduleId() { return DateScheduleId; } public DeleteServiceDateSchedule setDateScheduleId(Integer value) { this.DateScheduleId = value; return this; } private static Object responseType = ServiceQueryResponse.class; public Object getResponseType() { return responseType; } } 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; } } public static interface ICompany { public UUID CompanyId = null; } 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 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; } } 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; } } }