/* Options: Date: 2026-09-11 16:44:32 Version: 10.08 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://uat-api-vehicle-mgt-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: SecuredOfflineVehicleRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SecuredOfflineVehicle implements IConvertible { String commissionNumber = ""; String? vin; String salesDescription = ""; String model = ""; String colour = ""; String fuelType = ""; String upholstery = ""; String account = ""; String gasId = ""; String secureReason = ""; String secureDate = ""; String offlineDate = ""; SecuredOfflineVehicle({this.commissionNumber="",this.vin,this.salesDescription="",this.model="",this.colour="",this.fuelType="",this.upholstery="",this.account="",this.gasId="",this.secureReason="",this.secureDate="",this.offlineDate=""}); SecuredOfflineVehicle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { commissionNumber = json['commissionNumber'] ?? ""; vin = json['vin']; salesDescription = json['salesDescription'] ?? ""; model = json['model'] ?? ""; colour = json['colour'] ?? ""; fuelType = json['fuelType'] ?? ""; upholstery = json['upholstery'] ?? ""; account = json['account'] ?? ""; gasId = json['gasId'] ?? ""; secureReason = json['secureReason'] ?? ""; secureDate = json['secureDate'] ?? ""; offlineDate = json['offlineDate'] ?? ""; return this; } Map toJson() => { 'commissionNumber': commissionNumber, 'vin': vin, 'salesDescription': salesDescription, 'model': model, 'colour': colour, 'fuelType': fuelType, 'upholstery': upholstery, 'account': account, 'gasId': gasId, 'secureReason': secureReason, 'secureDate': secureDate, 'offlineDate': offlineDate }; getTypeName() => "SecuredOfflineVehicle"; TypeContext? context = _ctx; } class SecuredOfflineVehicleResponse implements IConvertible { List vehicles = []; SecuredOfflineVehicleResponse({this.vehicles=const []}); SecuredOfflineVehicleResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { vehicles = JsonConverters.fromJson(json['vehicles'],'List',context!) ?? []; return this; } Map toJson() => { 'vehicles': JsonConverters.toJson(vehicles,'List',context!) }; getTypeName() => "SecuredOfflineVehicleResponse"; TypeContext? context = _ctx; } // @Route("/v1/Vehicle/SecuredOffline", "GET") class SecuredOfflineVehicleRequest implements IReturn, IConvertible, IGet { SecuredOfflineVehicleRequest(); SecuredOfflineVehicleRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => SecuredOfflineVehicleResponse(); getResponseTypeName() => "SecuredOfflineVehicleResponse"; getTypeName() => "SecuredOfflineVehicleRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: { 'SecuredOfflineVehicle': TypeInfo(TypeOf.Class, create:() => SecuredOfflineVehicle()), 'SecuredOfflineVehicleResponse': TypeInfo(TypeOf.Class, create:() => SecuredOfflineVehicleResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SecuredOfflineVehicleRequest': TypeInfo(TypeOf.Class, create:() => SecuredOfflineVehicleRequest()), });