/* Options: Date: 2024-11-21 12:48:31 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: GetAllBookingQueueForUser.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; 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 GetAllBookingQueueForUser 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; public Date DateStart = null; public Date DateEnd = 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; public UUID getUserId() { return UserId; } public GetAllBookingQueueForUser setUserId(UUID value) { this.UserId = value; return this; } public Date getDateStart() { return DateStart; } public GetAllBookingQueueForUser setDateStart(Date value) { this.DateStart = value; return this; } public Date getDateEnd() { return DateEnd; } public GetAllBookingQueueForUser setDateEnd(Date value) { this.DateEnd = value; return this; } public Boolean isIncludeServiceInformation() { return IncludeServiceInformation; } public GetAllBookingQueueForUser setIncludeServiceInformation(Boolean value) { this.IncludeServiceInformation = value; return this; } public Boolean isIncludeCompanyInformation() { return IncludeCompanyInformation; } public GetAllBookingQueueForUser setIncludeCompanyInformation(Boolean value) { this.IncludeCompanyInformation = value; return this; } private static Object responseType = GetAllBookingQueueForUserResponse.class; public Object getResponseType() { return responseType; } } public static class GetAllBookingQueueForUserResponse { public ArrayList BookingUserQueueResponseList = null; public ResponseStatus ResponseStatus = null; public ArrayList getBookingUserQueueResponseList() { return BookingUserQueueResponseList; } public GetAllBookingQueueForUserResponse setBookingUserQueueResponseList(ArrayList value) { this.BookingUserQueueResponseList = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public GetAllBookingQueueForUserResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = 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 = null; public ServiceInfoResponse Service = null; public CompanyInfoResponse Company = 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; } } }