/* Options:
Date: 2025-12-06 06:20:31
Version: 8.0
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://galaxymobile.api.client.prod.86degrees.com
//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: True
//ExportValueTypes: False
IncludeTypes: PickMeUpHistoryRequest.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using WebService.ClientServiceModel.Base;
using CommonService.Api.Operations.Base;
using CommonService.Api.Operations;
using WebService.ClientServiceModel.PickMeUp;
using CommonService.Api.Models.Base;
namespace CommonService.Api.Models.Base
{
public partial class ApiServiceResponse
: IServiceResponse
{
public virtual string Description { get; set; }
public virtual string Heading { get; set; }
public virtual bool WasSuccessful { get; set; }
public virtual Object ModelState { get; set; }
}
}
namespace CommonService.Api.Operations
{
public partial interface IHasApiKey
{
string ApiKey { get; set; }
}
}
namespace CommonService.Api.Operations.Base
{
public partial interface IServiceRequest
{
}
}
namespace WebService.ClientServiceModel.Base
{
public partial class ApiServiceRequest
: IServiceRequest, IHasApiKey
{
///
///The API Key required for authentication
///
[ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)]
public virtual string ApiKey { get; set; }
}
}
namespace WebService.ClientServiceModel.PickMeUp
{
public partial class BookingLocation
{
///
///Latitude of the pickup/drop-off location.
///
[ApiMember(Description="Latitude of the pickup/drop-off location.", IsRequired=true)]
public virtual double Latitude { get; set; }
///
///Longitude of the pickup/drop-off location.
///
[ApiMember(Description="Longitude of the pickup/drop-off location.", IsRequired=true)]
public virtual double Longitude { get; set; }
///
///Address of the pickup/drop-off location.
///
[ApiMember(Description="Address of the pickup/drop-off location.", IsRequired=true)]
public virtual string Address { get; set; }
}
public partial class PickMeUpBookingItem
{
///
///Date and Time of the pickup in ISO 8601 format.
///
[ApiMember(Description="Date and Time of the pickup in ISO 8601 format.")]
public virtual string BookingTime { get; set; }
///
///The booking reference number returned by the service provider. To be shown to the client.
///
[ApiMember(Description="The booking reference number returned by the service provider. To be shown to the client.")]
public virtual string ReferenceNumber { get; set; }
///
///Date and Time the booking request was made in ISO 8601 format.
///
[ApiMember(Description="Date and Time the booking request was made in ISO 8601 format.")]
public virtual string DateCreated { get; set; }
///
///Status of the booking as returned by the service provider.
///
[ApiMember(Description="Status of the booking as returned by the service provider.")]
public virtual string Status { get; set; }
///
///Name of contact person at pickup.
///
[ApiMember(Description="Name of contact person at pickup.", IsRequired=true)]
public virtual string ContactName { get; set; }
///
///Contact number of contact person at pickup.
///
[ApiMember(Description="Contact number of contact person at pickup.", IsRequired=true)]
public virtual string ContactNumber { get; set; }
///
///The number of people to be picked up.
///
[ApiMember(Description="The number of people to be picked up.", IsRequired=true)]
public virtual string PassengerCount { get; set; }
///
///The location details of where the clients are to be picked up.
///
[ApiMember(Description="The location details of where the clients are to be picked up.", IsRequired=true)]
public virtual BookingLocation PickupLocation { get; set; }
///
///The location details of where the clients are to be dropped off.
///
[ApiMember(Description="The location details of where the clients are to be dropped off.", IsRequired=true)]
public virtual BookingLocation DropoffLocation { get; set; }
}
[Route("/pickmeup/history", "GET, POST")]
public partial class PickMeUpHistoryRequest
: ApiServiceRequest, IReturn
{
///
///ID Number of the user's history to retrieve.
///
[ApiMember(Description="ID Number of the user's history to retrieve.", IsRequired=true)]
public virtual string IdNumber { get; set; }
}
public partial class PickMeUpHistoryResponse
: ApiServiceResponse
{
public PickMeUpHistoryResponse()
{
PickMeUpHistory = new List{};
TakeMeHomeHistory = new List{};
}
///
///Is the requested product set up and enabled on Galaxy.
///
[ApiMember(Description="Is the requested product set up and enabled on Galaxy.")]
public virtual bool ProductAvailable { get; set; }
///
///Does the user have access to this product, based on their Galaxy profile.
///
[ApiMember(Description="Does the user have access to this product, based on their Galaxy profile.")]
public virtual bool UserHasAccess { get; set; }
///
///List of booking history items for the Pick Me Up service.
///
[ApiMember(Description="List of booking history items for the Pick Me Up service.")]
public virtual List PickMeUpHistory { get; set; }
///
///List of booking history items for the Take Me Home service.
///
[ApiMember(Description="List of booking history items for the Take Me Home service.")]
public virtual List TakeMeHomeHistory { get; set; }
}
}