/* Options: Date: 2025-12-15 18:48:38 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAllBookingQueue.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/bookinguserqueue/user", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class GetAllBookingQueue : IReturn> { /** * The user id for your profile. If not set it will set it automatically from your session */ @ApiMember(Description="The user id for your profile. If not set it will set it automatically from your session") open var UserId:UUID? = null /** * Optional start date for the search interval. If not set it will default to todays date. */ @ApiMember(DataType="dateTime", Description="Optional start date for the search interval. If not set it will default to todays date.", ParameterType="query") open var DateStart:Date? = null /** * Optional end date for the search interval. If not set all future queue items will be returned. */ @ApiMember(DataType="dateTime", Description="Optional end date for the search interval. If not set all future queue items will be returned.", ParameterType="query") open var DateEnd:Date? = null /** * Set to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this. */ @ApiMember(DataType="boolean", Description="Set to true if you want to include the queue items for the company you are logged in as administrator on, if false only queue items for the logged in user will be retrieved. Only administrators are allowed to do this.", ParameterType="query") open var CompanyQueueItems:Boolean? = null /** * Optional filter for a specific service id. */ @ApiMember(DataType="int", Description="Optional filter for a specific service id.", ParameterType="query") open var ServiceId:Int? = null /** * Optional filter for a specific customer id. */ @ApiMember(DataType="Guid", Description="Optional filter for a specific customer id.", ParameterType="query") open var CustomerId:UUID? = null /** * If you want to include the service information for the booking */ @ApiMember(DataType="boolean", Description="If you want to include the service information for the booking", ParameterType="query") open var IncludeServiceInformation:Boolean? = null /** * If you want to include the company information for the booking */ @ApiMember(DataType="boolean", Description="If you want to include the company information for the booking", ParameterType="query") open var IncludeCompanyInformation:Boolean? = null /** * If you want to include the customer information for the booking */ @ApiMember(DataType="boolean", Description="If you want to include the customer information for the booking", ParameterType="query") open var IncludeCustomerInformation:Boolean? = null /** * Number of records to skip (for pagination) */ @ApiMember(DataType="int", Description="Number of records to skip (for pagination)", ParameterType="query") open var Skip:Int? = null /** * Maximum number of records to return (for pagination) */ @ApiMember(DataType="int", Description="Maximum number of records to return (for pagination)", ParameterType="query") open var Take:Int? = null companion object { private val responseType = object : TypeToken>(){}.type } override fun getResponseType(): Any? = GetAllBookingQueue.responseType } open class GroupBookingSettings { open var Active:Boolean? = null open var Min:Int? = null open var Max:Int? = null } open class MultipleResourceSettings { open var Active:Boolean? = null open var Min:Int? = null open var Max:Int? = null } open class BookedCustomer { open var Id:UUID? = null open var Firstname:String? = null open var Lastname:String? = null open var Email:String? = null open var Phone:String? = null open var FacebookUserName:String? = null open var ImageUrl:String? = null open var PersonalIdentityNumber:String? = null open var CorporateIdentityNumber:String? = null open var InvoiceAddress1:String? = null open var InvoiceAddress2:String? = null open var InvoiceCity:String? = null open var InvoicePostalCode:String? = null open var InvoiceCountryCode:String? = null } open class ServiceInfoResponse { open var Id:Int? = null open var Name:String? = null open var Description:String? = null open var ImageUrl:Uri? = null open var LengthInMinutes:Int? = null open var MaxNumberOfSpotsPerBooking:Int? = null open var MinNumberOfSpotsPerBooking:Int? = null open var GroupBooking:GroupBookingSettings? = null open var MultipleResource:MultipleResourceSettings? = null open var IsGroupBooking:Boolean? = null open var IsPaymentEnabled:Boolean? = null } open class BookingUserQueuePriceResponse { open var CompanyId:UUID? = null open var Id:Int? = null open var BookingUserQueueId:Int? = null open var ServicePriceId:Int? = null open var Quantity:Int? = null open var Price:Double? = null open var PriceText:String? = null } open class CompanyInfoResponse { open var Id:UUID? = null open var Name:String? = null open var LogoType:Uri? = null open var SitePath:String? = null } open class BookingUserQueueItemResponse { open var BookingUserQueueId:Int? = null open var CompanyId:UUID? = null open var CustomerId:UUID? = null open var ServiceId:Int? = null open var From:Date? = null open var To:Date? = null open var StatusCode:Int? = null open var StatusName:String? = null open var SendConfirmationTime:Date? = null open var Quantities:ArrayList = ArrayList() open var Service:ServiceInfoResponse? = null open var Company:CompanyInfoResponse? = null open var Customer:BookedCustomer? = null }