/* Options: Date: 2024-07-03 12:33:48 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateSetting.* //ExcludeTypes: //InitializeCollections: True //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.* @Route(Path="/settings", Verbs="PUT") @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") open class UpdateSetting : IReturn, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") var CompanyId:UUID? = null /** * */ @ApiMember(DataType="int", Description="") var BookingStatusId:Int? = null /** * */ @ApiMember(DataType="int", Description="") var ScheduleViewId:Int? = null /** * */ @ApiMember(DataType="int", Description="") var BookingTemplateId:Int? = null /** * */ @ApiMember(DataType="int", Description="") var CalendarTypeId:Int? = null /** * */ @ApiMember(DataType="bool", Description="") var AllowBookingOnUnbookedTimes:Boolean? = null /** * */ @DataMember(Name="SendEmailReminder") @SerializedName("SendEmailReminder") @ApiMember(DataType="boolean", Description="") var SendEmailReminder:Boolean? = null /** * */ @DataMember(Name="SendSmsReminder") @SerializedName("SendSmsReminder") @ApiMember(DataType="boolean", Description="") var SendSmsReminder:Boolean? = null /** * */ @DataMember(Name="SendEmailConfirmation") @SerializedName("SendEmailConfirmation") @ApiMember(DataType="boolean", Description="") var SendEmailConfirmation:Boolean? = null /** * */ @DataMember(Name="SendSmsConfirmation") @SerializedName("SendSmsConfirmation") @ApiMember(DataType="boolean", Description="") var SendSmsConfirmation:Boolean? = null /** * */ @ApiMember(DataType="int", Description="") var EmailReminderTime:Int? = null /** * */ @ApiMember(DataType="int", Description="") var SmsReminderTime:Int? = null /** * */ @ApiMember(DataType="int", Description="") var MaxActiveBookings:Int? = null /** * */ @ApiMember(DataType="bool", Description="") var SendNotifications:Boolean? = null /** * */ @ApiMember(DataType="string", Description="") var SendNotificationsEmail:String? = 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].") var MessageText:String? = null /** * */ @ApiMember(DataType="bool", Description="") var EnableMobileApp:Boolean? = null /** * The admin scheduler start time to show as default */ @ApiMember(Description="The admin scheduler start time to show as default") var ScheduleStartTime:TimeSpan? = null /** * The admin scheduler end time to show as default */ @ApiMember(Description="The admin scheduler end time to show as default") var ScheduleEndTime:TimeSpan? = null /** * Booking receipt text. */ @ApiMember(DataType="string", Description="Booking receipt text.") var ReceiptTemplate:String? = null /** * The admin scheduler minutes of each timeslot */ @ApiMember(Description="The admin scheduler minutes of each timeslot") var ScheduleTimeSlotMinutes:Int? = null /** * The admin scheduler if each resources should be shown in a seperate group */ @ApiMember(Description="The admin scheduler if each resources should be shown in a seperate group") var ScheduleGroupResources:Boolean? = 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") var SchedulerDisableHorizontalScrolling:Boolean? = 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") var BookOnlyOnExistingCustomers:Boolean? = 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") var AutoGenerateUniquePinCode:Boolean? = 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.") var AutoCreateUserProfile:Boolean? = 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.") var FollowUpMessageTime:Int? = null /** * */ @ApiMember(Description="") var ShowFreeTimesLeft:Boolean? = null /** * */ @ApiMember(Description="") var FreeSpotTextsId:Int? = null /** * */ @ApiMember(Description="") var EnableICalGroupBookings:Boolean? = 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#") var AgreementTemplate:String? = null /** * */ @ApiMember(Description="") var ScheduleShowTimeExeptions:Boolean? = null /** * */ @ApiMember(Description="") var EnableBookingsOnSameTime:Boolean? = null /** * */ @ApiMember(Description="") var ShowWeekNumberSettingId:Int? = null /** * */ @ApiMember(Description="") var EnableShowBookedTimes:Boolean? = null /** * */ @ApiMember(Description="") var EnableSendFollowUpMessage:Boolean? = null /** * */ @ApiMember(DataType="int", Description="") var BookSpotUserResponseMinutes:Int? = null /** * */ @ApiMember(DataType="boolean", Description="") var IsBookSpotDirectly:Boolean? = null /** * */ @ApiMember(DataType="int", Description="") var BookSpotDirectlyTimeLeftMinutes:Int? = null /** * */ @ApiMember(DataType="int", Description="") var SendEmailNotificationQueue:Boolean? = null /** * */ @ApiMember(DataType="boolean", Description="") var SendSMSNotificationQueue:Boolean? = 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.") var WeightedPrices:Boolean? = null /** * */ @ApiMember(DataType="boolean", Description="") var ShowMultiDayAsTime:Boolean? = null /** * */ @ApiMember(DataType="boolean", Description="") var ShowMultipleResourcesAsOne:Boolean? = null companion object { private val responseType = SettingResponse::class.java } override fun getResponseType(): Any? = UpdateSetting.responseType } open class SettingResponse { var CompanyId:UUID? = null /** * */ @ApiMember(DataType="int", Description="") var BookingStatusId:Int? = null /** * */ @ApiMember(DataType="int", Description="") var ScheduleViewId:Int? = null /** * */ @ApiMember(DataType="int", Description="") var BookingTemplateId:Int? = null /** * */ @ApiMember(DataType="int", Description="") var CalendarTypeId:Int? = null /** * */ @ApiMember(DataType="boolean", Description="") var AllowBookingOnUnbookedTimes:Boolean? = null /** * */ @DataMember(Name="SendEmailReminder") @SerializedName("SendEmailReminder") @ApiMember(DataType="boolean", Description="") var SendEmailReminder:Boolean? = null /** * */ @DataMember(Name="SendSmsReminder") @SerializedName("SendSmsReminder") @ApiMember(DataType="boolean", Description="") var SendSmsReminder:Boolean? = null /** * */ @DataMember(Name="SendEmailConfirmation") @SerializedName("SendEmailConfirmation") @ApiMember(DataType="boolean", Description="") var SendEmailConfirmation:Boolean? = null /** * */ @DataMember(Name="SendSmsConfirmation") @SerializedName("SendSmsConfirmation") @ApiMember(DataType="boolean", Description="") var SendSmsConfirmation:Boolean? = 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].") var MessageText:String? = null /** * */ @ApiMember(DataType="int", Description="") var EmailReminderTime:Int? = null /** * */ @ApiMember(DataType="int", Description="") var SmsReminderTime:Int? = null /** * */ @ApiMember(DataType="int", Description="") var MaxActiveBookings:Int? = null /** * */ @ApiMember(DataType="boolean", Description="") var SendNotifications:Boolean? = null /** * */ @ApiMember(DataType="string", Description="") var SendNotificationsEmail:String? = null /** * */ @ApiMember(DataType="boolean", Description="") var EnableMobileApp:Boolean? = null /** * */ @ApiMember(Description="") var ScheduleStartTime:TimeSpan? = null /** * */ @ApiMember(DataType="boolean", Description="") var ScheduleEndTime:TimeSpan? = 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") var ScheduleGroupResources:Boolean? = 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") var SchedulerDisableHorizontalScrolling:Boolean? = null /** * */ @ApiMember(DataType="string", Description="") var ReceiptTemplate:String? = null /** * */ @ApiMember(DataType="int", Description="") var ScheduleTimeSlotMinutes:Int? = null /** * */ @ApiMember(DataType="boolean", Description="") var ShowFreeTimesLeft:Boolean? = null /** * */ @ApiMember(DataType="int", Description="") var FreeSpotTextsId:Int? = null /** * */ @ApiMember(DataType="boolean", Description="") var EnableICalGroupBookings:Boolean? = 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#") var AgreementTemplate:String? = null /** * */ @ApiMember(DataType="boolean", Description="") var ScheduleShowTimeExeptions:Boolean? = null /** * */ @ApiMember(DataType="boolean", Description="") var EnableBookingsOnSameTime:Boolean? = null /** * */ @ApiMember(DataType="int", Description="") var ShowWeekNumberSettingId:Int? = null /** * */ @ApiMember(DataType="boolean", Description="") var EnableShowBookedTimes:Boolean? = null /** * */ @ApiMember(DataType="", Description="") var BookSpotUserResponseMinutes:Int? = null /** * */ @ApiMember(DataType="", Description="") var IsBookSpotDirectly:Boolean? = null /** * */ @ApiMember(DataType="", Description="") var BookSpotDirectlyTimeLeftMinutes:Int? = null /** * */ @ApiMember(DataType="", Description="") var SendEmailNotificationQueue:Boolean? = null /** * */ @ApiMember(DataType="", Description="") var SendSMSNotificationQueue:Boolean? = null /** * */ @ApiMember(Description="") var EnableSendFollowUpMessage:Boolean? = 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.") var FollowUpMessageTime:Int? = 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") var BookOnlyOnExistingCustomers:Boolean? = 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") var AutoGenerateUniquePinCode:Boolean? = 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.") var AutoCreateUserProfile:Boolean? = null /** * The available schedule view options to choose from */ @ApiMember(Description="The available schedule view options to choose from") var ScheduleViewOptions:ArrayList = ArrayList() /** * The available week number options to choose from */ @ApiMember(Description="The available week number options to choose from") var WeekNumberOptions:ArrayList = ArrayList() /** * The booking template options to choose from */ @ApiMember(Description="The booking template options to choose from") var BookingTemplateOptions:ArrayList = ArrayList() /** * The calendar type options to choose from */ @ApiMember(Description="The calendar type options to choose from") var CalendarTypeOptions:ArrayList = ArrayList() /** * The booking status options to choose from */ @ApiMember(Description="The booking status options to choose from") var BookingStatusOptions:ArrayList = ArrayList() /** * The free spot text options to choose from */ @ApiMember(Description="The free spot text options to choose from") var FreeSpotTextOptions:ArrayList = ArrayList() /** * 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.") var WeightedPrices:Boolean? = null /** * */ @ApiMember(DataType="boolean", Description="") var ShowMultiDayAsTime:Boolean? = null /** * */ @ApiMember(DataType="boolean", Description="") var ShowMultipleResourcesAsOne:Boolean? = null } open interface ICompany { var CompanyId:UUID? } open class ScheduleViewResponse { var Id:Int? = null var Name:String? = null } open class WeekNumberSettingResponse { var Id:Int? = null var Name:String? = null var Description:String? = null } open class BookingTemplateResponse { var Id:Int? = null var Name:String? = null var Description:String? = null var UsedByApplication:String? = null } open class CalendarTypeResponse { var Id:Int? = null var Name:String? = null var Description:String? = null var Active:Boolean? = null } open class BookingStatusOptions { var Id:Int? = null var Name:String? = null var Description:String? = null } open class FreeSpotTextsResponse { var Id:Int? = null var TextSingular:String? = null var TextPlural:String? = null }