/* Options:
Date: 2025-12-06 06:20:33
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: UpdateVehicleLicense.*
//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.Vehicles;
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.Vehicles
{
[Route("/galaxy/vehicle/update", "POST")]
public partial class UpdateVehicleLicense
: ApiServiceRequest, IReturn
{
///
///ID Number of the user making this request.
///
[ApiMember(Description="ID Number of the user making this request.", IsRequired=true)]
public virtual string IdNumber { get; set; }
///
///The scanned vehicle license disk information.
///
[ApiMember(Description="The scanned vehicle license disk information.", IsRequired=true)]
public virtual VehicleData Vehicle { get; set; }
}
public partial class UpdateVehicleLicenseResponse
: ApiServiceResponse
{
///
///The newly update vehicle information.
///
[ApiMember(Description="The newly update vehicle information.", IsRequired=true)]
public virtual VehicleData Vehicle { get; set; }
}
public partial class VehicleData
{
///
///The ID of the vehicle.
///
[ApiMember(Description="The ID of the vehicle.")]
public virtual int Id { get; set; }
///
///Whether the vehicle has license disk information.
///
[ApiMember(Description="Whether the vehicle has license disk information.")]
public virtual bool HasLicense { get; set; }
///
///The vehicle license number.
///
[ApiMember(Description="The vehicle license number.")]
public virtual string LicenseNumber { get; set; }
///
///The vehicle registration number.
///
[ApiMember(Description="The vehicle registration number.")]
public virtual string RegistrationNumber { get; set; }
///
///The vehicle VIN number.
///
[ApiMember(Description="The vehicle VIN number.")]
public virtual string Vin { get; set; }
///
///The vehicle make.
///
[ApiMember(Description="The vehicle make.")]
public virtual string Make { get; set; }
///
///The vehicle series.
///
[ApiMember(Description="The vehicle series.")]
public virtual string Series { get; set; }
///
///The vehicle colour.
///
[ApiMember(Description="The vehicle colour.")]
public virtual string Colour { get; set; }
///
///The vehicle license expiry date in ISO 8601 format.
///
[ApiMember(Description="The vehicle license expiry date in ISO 8601 format.")]
public virtual string Expiry { get; set; }
///
///True if this vehicle's licence expiring soon.
///
[ApiMember(Description="True if this vehicle's licence expiring soon.")]
public virtual bool ExpiresSoon { get; set; }
///
///True if this vehicle's license expired.
///
[ApiMember(Description="True if this vehicle's license expired.")]
public virtual bool Expired { get; set; }
}
}