/* Options: Date: 2025-12-14 05:12:44 Version: 8.80 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: GetAllBookingQueue.* //ExcludeTypes: //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.*; public class dtos { @Route(Path="/bookinguserqueue/user", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") public static class GetAllBookingQueue implements 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") public UUID UserId = 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") public Date DateStart = 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") public Date DateEnd = 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") public Boolean CompanyQueueItems = null; /** * Optional filter for a specific service id. */ @ApiMember(DataType="int", Description="Optional filter for a specific service id.", ParameterType="query") public Integer ServiceId = null; /** * Optional filter for a specific customer id. */ @ApiMember(DataType="Guid", Description="Optional filter for a specific customer id.", ParameterType="query") public UUID CustomerId = 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") public Boolean IncludeServiceInformation = 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") public Boolean IncludeCompanyInformation = 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") public Boolean IncludeCustomerInformation = null; /** * Number of records to skip (for pagination) */ @ApiMember(DataType="int", Description="Number of records to skip (for pagination)", ParameterType="query") public Integer Skip = null; /** * Maximum number of records to return (for pagination) */ @ApiMember(DataType="int", Description="Maximum number of records to return (for pagination)", ParameterType="query") public Integer Take = null; public UUID getUserId() { return UserId; } public GetAllBookingQueue setUserId(UUID value) { this.UserId = value; return this; } public Date getDateStart() { return DateStart; } public GetAllBookingQueue setDateStart(Date value) { this.DateStart = value; return this; } public Date getDateEnd() { return DateEnd; } public GetAllBookingQueue setDateEnd(Date value) { this.DateEnd = value; return this; } public Boolean isCompanyQueueItems() { return CompanyQueueItems; } public GetAllBookingQueue setCompanyQueueItems(Boolean value) { this.CompanyQueueItems = value; return this; } public Integer getServiceId() { return ServiceId; } public GetAllBookingQueue setServiceId(Integer value) { this.ServiceId = value; return this; } public UUID getCustomerId() { return CustomerId; } public GetAllBookingQueue setCustomerId(UUID value) { this.CustomerId = value; return this; } public Boolean isIncludeServiceInformation() { return IncludeServiceInformation; } public GetAllBookingQueue setIncludeServiceInformation(Boolean value) { this.IncludeServiceInformation = value; return this; } public Boolean isIncludeCompanyInformation() { return IncludeCompanyInformation; } public GetAllBookingQueue setIncludeCompanyInformation(Boolean value) { this.IncludeCompanyInformation = value; return this; } public Boolean isIncludeCustomerInformation() { return IncludeCustomerInformation; } public GetAllBookingQueue setIncludeCustomerInformation(Boolean value) { this.IncludeCustomerInformation = value; return this; } public Integer getSkip() { return Skip; } public GetAllBookingQueue setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public GetAllBookingQueue setTake(Integer value) { this.Take = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } 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 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 PersonalIdentityNumber = 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 getPersonalIdentityNumber() { return PersonalIdentityNumber; } public BookedCustomer setPersonalIdentityNumber(String value) { this.PersonalIdentityNumber = 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 ServiceInfoResponse { public Integer Id = null; public String Name = null; public String Description = null; public Uri ImageUrl = null; public Integer LengthInMinutes = null; public Integer MaxNumberOfSpotsPerBooking = null; public Integer MinNumberOfSpotsPerBooking = null; public GroupBookingSettings GroupBooking = null; public MultipleResourceSettings MultipleResource = null; public Boolean IsGroupBooking = null; public Boolean IsPaymentEnabled = null; public Integer getId() { return Id; } public ServiceInfoResponse setId(Integer value) { this.Id = value; return this; } public String getName() { return Name; } public ServiceInfoResponse setName(String value) { this.Name = value; return this; } public String getDescription() { return Description; } public ServiceInfoResponse setDescription(String value) { this.Description = value; return this; } public Uri getImageUrl() { return ImageUrl; } public ServiceInfoResponse setImageUrl(Uri value) { this.ImageUrl = value; return this; } public Integer getLengthInMinutes() { return LengthInMinutes; } public ServiceInfoResponse setLengthInMinutes(Integer value) { this.LengthInMinutes = value; return this; } public Integer getMaxNumberOfSpotsPerBooking() { return MaxNumberOfSpotsPerBooking; } public ServiceInfoResponse setMaxNumberOfSpotsPerBooking(Integer value) { this.MaxNumberOfSpotsPerBooking = value; return this; } public Integer getMinNumberOfSpotsPerBooking() { return MinNumberOfSpotsPerBooking; } public ServiceInfoResponse setMinNumberOfSpotsPerBooking(Integer value) { this.MinNumberOfSpotsPerBooking = value; return this; } public GroupBookingSettings getGroupBooking() { return GroupBooking; } public ServiceInfoResponse setGroupBooking(GroupBookingSettings value) { this.GroupBooking = value; return this; } public MultipleResourceSettings getMultipleResource() { return MultipleResource; } public ServiceInfoResponse setMultipleResource(MultipleResourceSettings value) { this.MultipleResource = value; return this; } public Boolean getIsGroupBooking() { return IsGroupBooking; } public ServiceInfoResponse setIsGroupBooking(Boolean value) { this.IsGroupBooking = value; return this; } public Boolean getIsPaymentEnabled() { return IsPaymentEnabled; } public ServiceInfoResponse setIsPaymentEnabled(Boolean value) { this.IsPaymentEnabled = value; return this; } } public static class BookingUserQueuePriceResponse { public UUID CompanyId = null; public Integer Id = null; public Integer BookingUserQueueId = null; public Integer ServicePriceId = null; public Integer Quantity = null; public Double Price = null; public String PriceText = null; public UUID getCompanyId() { return CompanyId; } public BookingUserQueuePriceResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public BookingUserQueuePriceResponse setId(Integer value) { this.Id = value; return this; } public Integer getBookingUserQueueId() { return BookingUserQueueId; } public BookingUserQueuePriceResponse setBookingUserQueueId(Integer value) { this.BookingUserQueueId = value; return this; } public Integer getServicePriceId() { return ServicePriceId; } public BookingUserQueuePriceResponse setServicePriceId(Integer value) { this.ServicePriceId = value; return this; } public Integer getQuantity() { return Quantity; } public BookingUserQueuePriceResponse setQuantity(Integer value) { this.Quantity = value; return this; } public Double getPrice() { return Price; } public BookingUserQueuePriceResponse setPrice(Double value) { this.Price = value; return this; } public String getPriceText() { return PriceText; } public BookingUserQueuePriceResponse setPriceText(String value) { this.PriceText = value; return this; } } public static class CompanyInfoResponse { public UUID Id = null; public String Name = null; public Uri LogoType = null; public String SitePath = null; public UUID getId() { return Id; } public CompanyInfoResponse setId(UUID value) { this.Id = value; return this; } public String getName() { return Name; } public CompanyInfoResponse setName(String value) { this.Name = value; return this; } public Uri getLogoType() { return LogoType; } public CompanyInfoResponse setLogoType(Uri value) { this.LogoType = value; return this; } public String getSitePath() { return SitePath; } public CompanyInfoResponse setSitePath(String value) { this.SitePath = value; return this; } } public static class BookingUserQueueItemResponse { public Integer BookingUserQueueId = null; public UUID CompanyId = null; public UUID CustomerId = null; public Integer ServiceId = null; public Date From = null; public Date To = null; public Integer StatusCode = null; public String StatusName = null; public Date SendConfirmationTime = null; public ArrayList Quantities = new ArrayList(); public ServiceInfoResponse Service = null; public CompanyInfoResponse Company = null; public BookedCustomer Customer = null; public Integer getBookingUserQueueId() { return BookingUserQueueId; } public BookingUserQueueItemResponse setBookingUserQueueId(Integer value) { this.BookingUserQueueId = value; return this; } public UUID getCompanyId() { return CompanyId; } public BookingUserQueueItemResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public UUID getCustomerId() { return CustomerId; } public BookingUserQueueItemResponse setCustomerId(UUID value) { this.CustomerId = value; return this; } public Integer getServiceId() { return ServiceId; } public BookingUserQueueItemResponse setServiceId(Integer value) { this.ServiceId = value; return this; } public Date getFrom() { return From; } public BookingUserQueueItemResponse setFrom(Date value) { this.From = value; return this; } public Date getTo() { return To; } public BookingUserQueueItemResponse setTo(Date value) { this.To = value; return this; } public Integer getStatusCode() { return StatusCode; } public BookingUserQueueItemResponse setStatusCode(Integer value) { this.StatusCode = value; return this; } public String getStatusName() { return StatusName; } public BookingUserQueueItemResponse setStatusName(String value) { this.StatusName = value; return this; } public Date getSendConfirmationTime() { return SendConfirmationTime; } public BookingUserQueueItemResponse setSendConfirmationTime(Date value) { this.SendConfirmationTime = value; return this; } public ArrayList getQuantities() { return Quantities; } public BookingUserQueueItemResponse setQuantities(ArrayList value) { this.Quantities = value; return this; } public ServiceInfoResponse getService() { return Service; } public BookingUserQueueItemResponse setService(ServiceInfoResponse value) { this.Service = value; return this; } public CompanyInfoResponse getCompany() { return Company; } public BookingUserQueueItemResponse setCompany(CompanyInfoResponse value) { this.Company = value; return this; } public BookedCustomer getCustomer() { return Customer; } public BookingUserQueueItemResponse setCustomer(BookedCustomer value) { this.Customer = value; return this; } } }