/* Options: Date: 2024-07-03 12:48:03 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: SettingQuery.* //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="/settings", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") public static class SettingQuery implements IReturn { /** * If you want to include the schedule views to select from */ @ApiMember(DataType="boolean", Description="If you want to include the schedule views to select from", ParameterType="query") public Boolean IncludeScheduleViewOptions = null; /** * If you want to include the week number settings to select from */ @ApiMember(DataType="boolean", Description="If you want to include the week number settings to select from", ParameterType="query") public Boolean IncludeWeekNumberOptions = null; /** * If you want to include the booking template options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the booking template options to select from", ParameterType="query") public Boolean IncludeBookingTemplateOptions = null; /** * If you want to include the calendar type options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the calendar type options to select from", ParameterType="query") public Boolean IncludeCalendarTypeOptions = 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 Free spot text options to select from */ @ApiMember(DataType="boolean", Description="If you want to include the Free spot text options to select from", ParameterType="query") public Boolean IncludeFreeSpotTextOptions = null; public Boolean isIncludeScheduleViewOptions() { return IncludeScheduleViewOptions; } public SettingQuery setIncludeScheduleViewOptions(Boolean value) { this.IncludeScheduleViewOptions = value; return this; } public Boolean isIncludeWeekNumberOptions() { return IncludeWeekNumberOptions; } public SettingQuery setIncludeWeekNumberOptions(Boolean value) { this.IncludeWeekNumberOptions = value; return this; } public Boolean isIncludeBookingTemplateOptions() { return IncludeBookingTemplateOptions; } public SettingQuery setIncludeBookingTemplateOptions(Boolean value) { this.IncludeBookingTemplateOptions = value; return this; } public Boolean isIncludeCalendarTypeOptions() { return IncludeCalendarTypeOptions; } public SettingQuery setIncludeCalendarTypeOptions(Boolean value) { this.IncludeCalendarTypeOptions = value; return this; } public Boolean isIncludeBookingStatusOptions() { return IncludeBookingStatusOptions; } public SettingQuery setIncludeBookingStatusOptions(Boolean value) { this.IncludeBookingStatusOptions = value; return this; } public Boolean isIncludeFreeSpotTextOptions() { return IncludeFreeSpotTextOptions; } public SettingQuery setIncludeFreeSpotTextOptions(Boolean value) { this.IncludeFreeSpotTextOptions = value; return this; } private static Object responseType = SettingResponse.class; public Object getResponseType() { return responseType; } } public static class SettingResponse { public UUID CompanyId = null; /** * */ @ApiMember(DataType="int", Description="") public Integer BookingStatusId = null; /** * */ @ApiMember(DataType="int", Description="") public Integer ScheduleViewId = null; /** * */ @ApiMember(DataType="int", Description="") public Integer BookingTemplateId = null; /** * */ @ApiMember(DataType="int", Description="") public Integer CalendarTypeId = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean AllowBookingOnUnbookedTimes = null; /** * */ @DataMember(Name="SendEmailReminder") @SerializedName("SendEmailReminder") @ApiMember(DataType="boolean", Description="") public Boolean SendEmailReminder = null; /** * */ @DataMember(Name="SendSmsReminder") @SerializedName("SendSmsReminder") @ApiMember(DataType="boolean", Description="") public Boolean SendSmsReminder = null; /** * */ @DataMember(Name="SendEmailConfirmation") @SerializedName("SendEmailConfirmation") @ApiMember(DataType="boolean", Description="") public Boolean SendEmailConfirmation = null; /** * */ @DataMember(Name="SendSmsConfirmation") @SerializedName("SendSmsConfirmation") @ApiMember(DataType="boolean", Description="") public Boolean SendSmsConfirmation = null; /** * Message text field that could be used inside message templates using [MessageText]. */ @ApiMember(DataType="string", Description="Message text field that could be used inside message templates using [MessageText].") public String MessageText = null; /** * */ @ApiMember(DataType="int", Description="") public Integer EmailReminderTime = null; /** * */ @ApiMember(DataType="int", Description="") public Integer SmsReminderTime = null; /** * */ @ApiMember(DataType="int", Description="") public Integer MaxActiveBookings = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean SendNotifications = null; /** * */ @ApiMember(DataType="string", Description="") public String SendNotificationsEmail = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean EnableMobileApp = null; /** * */ @ApiMember(Description="") public TimeSpan ScheduleStartTime = null; /** * */ @ApiMember(DataType="boolean", Description="") public TimeSpan ScheduleEndTime = null; /** * The admin scheduler if each resources should be shown in a seperate group */ @ApiMember(DataType="boolean", Description="The admin scheduler if each resources should be shown in a seperate group") public Boolean ScheduleGroupResources = null; /** * The admin scheduler if the horizontal scrolling should be turned off */ @ApiMember(DataType="boolean", Description="The admin scheduler if the horizontal scrolling should be turned off") public Boolean SchedulerDisableHorizontalScrolling = null; /** * */ @ApiMember(DataType="string", Description="") public String ReceiptTemplate = null; /** * */ @ApiMember(DataType="int", Description="") public Integer ScheduleTimeSlotMinutes = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean ShowFreeTimesLeft = null; /** * */ @ApiMember(DataType="int", Description="") public Integer FreeSpotTextsId = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean EnableICalGroupBookings = null; /** * Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app# */ @ApiMember(DataType="string", Description="Booking agreement text. All html needs to entered using markup. Read about markup here https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet. Use this editor to create markup https://stackedit.io/app#") public String AgreementTemplate = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean ScheduleShowTimeExeptions = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean EnableBookingsOnSameTime = null; /** * */ @ApiMember(DataType="int", Description="") public Integer ShowWeekNumberSettingId = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean EnableShowBookedTimes = null; /** * */ @ApiMember(DataType="", Description="") public Integer BookSpotUserResponseMinutes = null; /** * */ @ApiMember(DataType="", Description="") public Boolean IsBookSpotDirectly = null; /** * */ @ApiMember(DataType="", Description="") public Integer BookSpotDirectlyTimeLeftMinutes = null; /** * */ @ApiMember(DataType="", Description="") public Boolean SendEmailNotificationQueue = null; /** * */ @ApiMember(DataType="", Description="") public Boolean SendSMSNotificationQueue = null; /** * */ @ApiMember(Description="") public Boolean EnableSendFollowUpMessage = null; /** * When follow up message should be sent in hours after the booking. */ @ApiMember(Description="When follow up message should be sent in hours after the booking.") public Integer FollowUpMessageTime = null; /** * If it's only allowed for existing customers to book */ @ApiMember(DataType="boolean", Description="If it's only allowed for existing customers to book") public Boolean BookOnlyOnExistingCustomers = null; /** * If a unique pin code should be generated for the customer */ @ApiMember(DataType="boolean", Description="If a unique pin code should be generated for the customer") public Boolean AutoGenerateUniquePinCode = null; /** * If a user profile should be created when customer is booking time. With the property customer can login. */ @ApiMember(DataType="boolean", Description="If a user profile should be created when customer is booking time. With the property customer can login.") public Boolean AutoCreateUserProfile = null; /** * The available schedule view options to choose from */ @ApiMember(Description="The available schedule view options to choose from") public ArrayList ScheduleViewOptions = null; /** * The available week number options to choose from */ @ApiMember(Description="The available week number options to choose from") public ArrayList WeekNumberOptions = null; /** * The booking template options to choose from */ @ApiMember(Description="The booking template options to choose from") public ArrayList BookingTemplateOptions = null; /** * The calendar type options to choose from */ @ApiMember(Description="The calendar type options to choose from") public ArrayList CalendarTypeOptions = null; /** * The booking status options to choose from */ @ApiMember(Description="The booking status options to choose from") public ArrayList BookingStatusOptions = null; /** * The free spot text options to choose from */ @ApiMember(Description="The free spot text options to choose from") public ArrayList FreeSpotTextOptions = null; /** * If you have different prices over different times per day and want it to calculate the weighted price for the booked time. */ @ApiMember(DataType="boolean", Description="If you have different prices over different times per day and want it to calculate the weighted price for the booked time.") public Boolean WeightedPrices = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean ShowMultiDayAsTime = null; /** * */ @ApiMember(DataType="boolean", Description="") public Boolean ShowMultipleResourcesAsOne = null; public UUID getCompanyId() { return CompanyId; } public SettingResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getBookingStatusId() { return BookingStatusId; } public SettingResponse setBookingStatusId(Integer value) { this.BookingStatusId = value; return this; } public Integer getScheduleViewId() { return ScheduleViewId; } public SettingResponse setScheduleViewId(Integer value) { this.ScheduleViewId = value; return this; } public Integer getBookingTemplateId() { return BookingTemplateId; } public SettingResponse setBookingTemplateId(Integer value) { this.BookingTemplateId = value; return this; } public Integer getCalendarTypeId() { return CalendarTypeId; } public SettingResponse setCalendarTypeId(Integer value) { this.CalendarTypeId = value; return this; } public Boolean isAllowBookingOnUnbookedTimes() { return AllowBookingOnUnbookedTimes; } public SettingResponse setAllowBookingOnUnbookedTimes(Boolean value) { this.AllowBookingOnUnbookedTimes = value; return this; } public Boolean isSendEmailReminder() { return SendEmailReminder; } public SettingResponse setSendEmailReminder(Boolean value) { this.SendEmailReminder = value; return this; } public Boolean isSendSmsReminder() { return SendSmsReminder; } public SettingResponse setSendSmsReminder(Boolean value) { this.SendSmsReminder = value; return this; } public Boolean isSendEmailConfirmation() { return SendEmailConfirmation; } public SettingResponse setSendEmailConfirmation(Boolean value) { this.SendEmailConfirmation = value; return this; } public Boolean isSendSmsConfirmation() { return SendSmsConfirmation; } public SettingResponse setSendSmsConfirmation(Boolean value) { this.SendSmsConfirmation = value; return this; } public String getMessageText() { return MessageText; } public SettingResponse setMessageText(String value) { this.MessageText = value; return this; } public Integer getEmailReminderTime() { return EmailReminderTime; } public SettingResponse setEmailReminderTime(Integer value) { this.EmailReminderTime = value; return this; } public Integer getSmsReminderTime() { return SmsReminderTime; } public SettingResponse setSmsReminderTime(Integer value) { this.SmsReminderTime = value; return this; } public Integer getMaxActiveBookings() { return MaxActiveBookings; } public SettingResponse setMaxActiveBookings(Integer value) { this.MaxActiveBookings = value; return this; } public Boolean isSendNotifications() { return SendNotifications; } public SettingResponse setSendNotifications(Boolean value) { this.SendNotifications = value; return this; } public String getSendNotificationsEmail() { return SendNotificationsEmail; } public SettingResponse setSendNotificationsEmail(String value) { this.SendNotificationsEmail = value; return this; } public Boolean isEnableMobileApp() { return EnableMobileApp; } public SettingResponse setEnableMobileApp(Boolean value) { this.EnableMobileApp = value; return this; } public TimeSpan getScheduleStartTime() { return ScheduleStartTime; } public SettingResponse setScheduleStartTime(TimeSpan value) { this.ScheduleStartTime = value; return this; } public TimeSpan getScheduleEndTime() { return ScheduleEndTime; } public SettingResponse setScheduleEndTime(TimeSpan value) { this.ScheduleEndTime = value; return this; } public Boolean isScheduleGroupResources() { return ScheduleGroupResources; } public SettingResponse setScheduleGroupResources(Boolean value) { this.ScheduleGroupResources = value; return this; } public Boolean isSchedulerDisableHorizontalScrolling() { return SchedulerDisableHorizontalScrolling; } public SettingResponse setSchedulerDisableHorizontalScrolling(Boolean value) { this.SchedulerDisableHorizontalScrolling = value; return this; } public String getReceiptTemplate() { return ReceiptTemplate; } public SettingResponse setReceiptTemplate(String value) { this.ReceiptTemplate = value; return this; } public Integer getScheduleTimeSlotMinutes() { return ScheduleTimeSlotMinutes; } public SettingResponse setScheduleTimeSlotMinutes(Integer value) { this.ScheduleTimeSlotMinutes = value; return this; } public Boolean isShowFreeTimesLeft() { return ShowFreeTimesLeft; } public SettingResponse setShowFreeTimesLeft(Boolean value) { this.ShowFreeTimesLeft = value; return this; } public Integer getFreeSpotTextsId() { return FreeSpotTextsId; } public SettingResponse setFreeSpotTextsId(Integer value) { this.FreeSpotTextsId = value; return this; } public Boolean isEnableICalGroupBookings() { return EnableICalGroupBookings; } public SettingResponse setEnableICalGroupBookings(Boolean value) { this.EnableICalGroupBookings = value; return this; } public String getAgreementTemplate() { return AgreementTemplate; } public SettingResponse setAgreementTemplate(String value) { this.AgreementTemplate = value; return this; } public Boolean isScheduleShowTimeExeptions() { return ScheduleShowTimeExeptions; } public SettingResponse setScheduleShowTimeExeptions(Boolean value) { this.ScheduleShowTimeExeptions = value; return this; } public Boolean isEnableBookingsOnSameTime() { return EnableBookingsOnSameTime; } public SettingResponse setEnableBookingsOnSameTime(Boolean value) { this.EnableBookingsOnSameTime = value; return this; } public Integer getShowWeekNumberSettingId() { return ShowWeekNumberSettingId; } public SettingResponse setShowWeekNumberSettingId(Integer value) { this.ShowWeekNumberSettingId = value; return this; } public Boolean isEnableShowBookedTimes() { return EnableShowBookedTimes; } public SettingResponse setEnableShowBookedTimes(Boolean value) { this.EnableShowBookedTimes = value; return this; } public Integer getBookSpotUserResponseMinutes() { return BookSpotUserResponseMinutes; } public SettingResponse setBookSpotUserResponseMinutes(Integer value) { this.BookSpotUserResponseMinutes = value; return this; } public Boolean getIsBookSpotDirectly() { return IsBookSpotDirectly; } public SettingResponse setIsBookSpotDirectly(Boolean value) { this.IsBookSpotDirectly = value; return this; } public Integer getBookSpotDirectlyTimeLeftMinutes() { return BookSpotDirectlyTimeLeftMinutes; } public SettingResponse setBookSpotDirectlyTimeLeftMinutes(Integer value) { this.BookSpotDirectlyTimeLeftMinutes = value; return this; } public Boolean isSendEmailNotificationQueue() { return SendEmailNotificationQueue; } public SettingResponse setSendEmailNotificationQueue(Boolean value) { this.SendEmailNotificationQueue = value; return this; } public Boolean isSendSMSNotificationQueue() { return SendSMSNotificationQueue; } public SettingResponse setSendSMSNotificationQueue(Boolean value) { this.SendSMSNotificationQueue = value; return this; } public Boolean isEnableSendFollowUpMessage() { return EnableSendFollowUpMessage; } public SettingResponse setEnableSendFollowUpMessage(Boolean value) { this.EnableSendFollowUpMessage = value; return this; } public Integer getFollowUpMessageTime() { return FollowUpMessageTime; } public SettingResponse setFollowUpMessageTime(Integer value) { this.FollowUpMessageTime = value; return this; } public Boolean isBookOnlyOnExistingCustomers() { return BookOnlyOnExistingCustomers; } public SettingResponse setBookOnlyOnExistingCustomers(Boolean value) { this.BookOnlyOnExistingCustomers = value; return this; } public Boolean isAutoGenerateUniquePinCode() { return AutoGenerateUniquePinCode; } public SettingResponse setAutoGenerateUniquePinCode(Boolean value) { this.AutoGenerateUniquePinCode = value; return this; } public Boolean isAutoCreateUserProfile() { return AutoCreateUserProfile; } public SettingResponse setAutoCreateUserProfile(Boolean value) { this.AutoCreateUserProfile = value; return this; } public ArrayList getScheduleViewOptions() { return ScheduleViewOptions; } public SettingResponse setScheduleViewOptions(ArrayList value) { this.ScheduleViewOptions = value; return this; } public ArrayList getWeekNumberOptions() { return WeekNumberOptions; } public SettingResponse setWeekNumberOptions(ArrayList value) { this.WeekNumberOptions = value; return this; } public ArrayList getBookingTemplateOptions() { return BookingTemplateOptions; } public SettingResponse setBookingTemplateOptions(ArrayList value) { this.BookingTemplateOptions = value; return this; } public ArrayList getCalendarTypeOptions() { return CalendarTypeOptions; } public SettingResponse setCalendarTypeOptions(ArrayList value) { this.CalendarTypeOptions = value; return this; } public ArrayList getBookingStatusOptions() { return BookingStatusOptions; } public SettingResponse setBookingStatusOptions(ArrayList value) { this.BookingStatusOptions = value; return this; } public ArrayList getFreeSpotTextOptions() { return FreeSpotTextOptions; } public SettingResponse setFreeSpotTextOptions(ArrayList value) { this.FreeSpotTextOptions = value; return this; } public Boolean isWeightedPrices() { return WeightedPrices; } public SettingResponse setWeightedPrices(Boolean value) { this.WeightedPrices = value; return this; } public Boolean isShowMultiDayAsTime() { return ShowMultiDayAsTime; } public SettingResponse setShowMultiDayAsTime(Boolean value) { this.ShowMultiDayAsTime = value; return this; } public Boolean isShowMultipleResourcesAsOne() { return ShowMultipleResourcesAsOne; } public SettingResponse setShowMultipleResourcesAsOne(Boolean value) { this.ShowMultipleResourcesAsOne = value; return this; } } public static class ScheduleViewResponse { public Integer Id = null; public String Name = null; public Integer getId() { return Id; } public ScheduleViewResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public ScheduleViewResponse setName(String value) { this.Name = value; return this; } } public static class WeekNumberSettingResponse { public Integer Id = null; public String Name = null; public String Description = null; public Integer getId() { return Id; } public WeekNumberSettingResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public WeekNumberSettingResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public WeekNumberSettingResponse setDescription(String value) { this.Description = value; return this; } } public static class BookingTemplateResponse { public Integer Id = null; public String Name = null; public String Description = null; public String UsedByApplication = null; public Integer getId() { return Id; } public BookingTemplateResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public BookingTemplateResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public BookingTemplateResponse setDescription(String value) { this.Description = value; return this; } public String getUsedByApplication() { return UsedByApplication; } public BookingTemplateResponse setUsedByApplication(String value) { this.UsedByApplication = value; return this; } } public static class CalendarTypeResponse { public Integer Id = null; public String Name = null; public String Description = null; public Boolean Active = null; public Integer getId() { return Id; } public CalendarTypeResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public CalendarTypeResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public CalendarTypeResponse setDescription(String value) { this.Description = value; return this; } public Boolean isActive() { return Active; } public CalendarTypeResponse setActive(Boolean value) { this.Active = value; return this; } } public static class BookingStatusOptions { public Integer Id = null; public String Name = null; public String Description = null; public Integer getId() { return Id; } public BookingStatusOptions setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public BookingStatusOptions setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public BookingStatusOptions setDescription(String value) { this.Description = value; return this; } } public static class FreeSpotTextsResponse { public Integer Id = null; public String TextSingular = null; public String TextPlural = null; public Integer getId() { return Id; } public FreeSpotTextsResponse setId(Integer value) { this.Id = value; return this; } public String getTextSingular() { return TextSingular; } public FreeSpotTextsResponse setTextSingular(String value) { this.TextSingular = value; return this; } public String getTextPlural() { return TextPlural; } public FreeSpotTextsResponse setTextPlural(String value) { this.TextPlural = value; return this; } } }