/* Options: Date: 2025-12-10 01:27:30 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: GetAllBookingQueueForUser.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class BookedCustomer { public virtual Guid Id { get; set; } public virtual string Firstname { get; set; } public virtual string Lastname { get; set; } public virtual string Email { get; set; } public virtual string Phone { get; set; } public virtual string FacebookUserName { get; set; } public virtual string ImageUrl { get; set; } public virtual string PersonalIdentityNumber { get; set; } public virtual string CorporateIdentityNumber { get; set; } public virtual string InvoiceAddress1 { get; set; } public virtual string InvoiceAddress2 { get; set; } public virtual string InvoiceCity { get; set; } public virtual string InvoicePostalCode { get; set; } public virtual string InvoiceCountryCode { get; set; } } public partial class BookingUserQueueItemResponse { public virtual int BookingUserQueueId { get; set; } public virtual Guid CompanyId { get; set; } public virtual Guid CustomerId { get; set; } public virtual int ServiceId { get; set; } public virtual DateTime From { get; set; } public virtual DateTime To { get; set; } public virtual int StatusCode { get; set; } public virtual string StatusName { get; set; } public virtual DateTime? SendConfirmationTime { get; set; } public virtual List Quantities { get; set; } = []; public virtual ServiceInfoResponse Service { get; set; } public virtual CompanyInfoResponse Company { get; set; } public virtual BookedCustomer Customer { get; set; } } public partial class BookingUserQueuePriceResponse { public virtual Guid CompanyId { get; set; } public virtual int Id { get; set; } public virtual int BookingUserQueueId { get; set; } public virtual int? ServicePriceId { get; set; } public virtual int? Quantity { get; set; } public virtual double? Price { get; set; } public virtual string PriceText { get; set; } } public partial class CompanyInfoResponse { public virtual Guid Id { get; set; } public virtual string Name { get; set; } public virtual Uri LogoType { get; set; } public virtual string SitePath { get; set; } } [Route("/bookinguserqueue/user", "GET")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class GetAllBookingQueueForUser : 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 virtual Guid? UserId { get; set; } /// ///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 virtual DateTime? DateStart { get; set; } /// ///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 virtual DateTime? DateEnd { get; set; } /// ///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 virtual bool CompanyQueueItems { get; set; } /// ///Optional filter for a specific service id. /// [ApiMember(DataType="int", Description="Optional filter for a specific service id.", ParameterType="query")] public virtual int? ServiceId { get; set; } /// ///Optional filter for a specific customer id. /// [ApiMember(DataType="Guid", Description="Optional filter for a specific customer id.", ParameterType="query")] public virtual Guid? CustomerId { get; set; } /// ///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 virtual bool IncludeServiceInformation { get; set; } /// ///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 virtual bool IncludeCompanyInformation { get; set; } /// ///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 virtual bool IncludeCustomerInformation { get; set; } } public partial class GroupBookingSettings { public virtual bool Active { get; set; } public virtual int Min { get; set; } public virtual int Max { get; set; } } public partial class MultipleResourceSettings { public virtual bool Active { get; set; } public virtual int Min { get; set; } public virtual int Max { get; set; } } public partial class ServiceInfoResponse { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual string Description { get; set; } public virtual Uri ImageUrl { get; set; } public virtual int? LengthInMinutes { get; set; } public virtual int MaxNumberOfSpotsPerBooking { get; set; } public virtual int MinNumberOfSpotsPerBooking { get; set; } public virtual GroupBookingSettings GroupBooking { get; set; } public virtual MultipleResourceSettings MultipleResource { get; set; } public virtual bool IsGroupBooking { get; set; } public virtual bool IsPaymentEnabled { get; set; } } }