/* Options: Date: 2025-12-06 06:16:33 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://1fetch.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: CalculateDistance.* //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; namespace CommonService.Api.Operations { public partial interface IHasApiKey { string ApiKey { get; set; } } public partial interface ILogRequest { } } namespace CommonService.Api.Operations.Base { public partial interface IServiceRequest { } } namespace WebService.ClientServiceModel { [Route("/calculatedistance", "POST")] public partial class CalculateDistance : ApiServiceRequest, IReturn, ILogRequest { public CalculateDistance() { Coordinates = new List{}; } /// ///Array of coordinates /// [ApiMember(Description="Array of coordinates", IsRequired=true)] public virtual List Coordinates { get; set; } } public partial class CalculateDistanceResponse : ApiServiceResponse { public CalculateDistanceResponse() { PointDistances = new List{}; } /// ///A list of the distances between each point, returned in order that the points were provided /// [ApiMember(Description="A list of the distances between each point, returned in order that the points were provided")] public virtual List PointDistances { get; set; } /// ///The total distance between all points /// [ApiMember(Description="The total distance between all points")] public virtual decimal TotalDistance { get; set; } } public partial class Coordinate { /// ///The Latitude /// [ApiMember(Description="The Latitude", IsRequired=true)] public virtual double Latitude { get; set; } /// ///The Longitude /// [ApiMember(Description="The Longitude", IsRequired=true)] public virtual double Longitude { get; set; } } } 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; } } public partial class ApiServiceResponse : IServiceResponse { /// ///Information about the response. /// [ApiMember(Description="Information about the response.", IsRequired=true)] public virtual string Description { get; set; } /// ///Heading or summary of the response. /// [ApiMember(Description="Heading or summary of the response.", IsRequired=true)] public virtual string Heading { get; set; } /// ///Did the intended operation for this response complete successfully? /// [ApiMember(DataType="boolean", Description="Did the intended operation for this response complete successfully?", IsRequired=true)] public virtual bool WasSuccessful { get; set; } } }