/* Options: Date: 2025-10-29 15:05:14 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://prod-api-agency-orch-mb-dhc.rapp-customers.co.uk //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: VehicleSwapActiveRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VehicleSwapActive implements IConvertible { int? Id; String? Reference; String? OrderType; String? VehicleSwapGuid; String? OrderGuid; String? Showroom; String? CommissionNumber; String? RequestReason; bool? SentToCesar; DateTime? CreationDate; DateTime? MaintenanceDate; VehicleSwapActive({this.Id,this.Reference,this.OrderType,this.VehicleSwapGuid,this.OrderGuid,this.Showroom,this.CommissionNumber,this.RequestReason,this.SentToCesar,this.CreationDate,this.MaintenanceDate}); VehicleSwapActive.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Reference = json['Reference']; OrderType = json['OrderType']; VehicleSwapGuid = json['VehicleSwapGuid']; OrderGuid = json['OrderGuid']; Showroom = json['Showroom']; CommissionNumber = json['CommissionNumber']; RequestReason = json['RequestReason']; SentToCesar = json['SentToCesar']; CreationDate = JsonConverters.fromJson(json['CreationDate'],'DateTime',context!); MaintenanceDate = JsonConverters.fromJson(json['MaintenanceDate'],'DateTime',context!); return this; } Map toJson() => { 'Id': Id, 'Reference': Reference, 'OrderType': OrderType, 'VehicleSwapGuid': VehicleSwapGuid, 'OrderGuid': OrderGuid, 'Showroom': Showroom, 'CommissionNumber': CommissionNumber, 'RequestReason': RequestReason, 'SentToCesar': SentToCesar, 'CreationDate': JsonConverters.toJson(CreationDate,'DateTime',context!), 'MaintenanceDate': JsonConverters.toJson(MaintenanceDate,'DateTime',context!) }; getTypeName() => "VehicleSwapActive"; TypeContext? context = _ctx; } class VehicleSwapActiveResponse implements IConvertible { List? ActiveVehicleSwaps = []; VehicleSwapActiveResponse({this.ActiveVehicleSwaps}); VehicleSwapActiveResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ActiveVehicleSwaps = JsonConverters.fromJson(json['ActiveVehicleSwaps'],'List',context!); return this; } Map toJson() => { 'ActiveVehicleSwaps': JsonConverters.toJson(ActiveVehicleSwaps,'List',context!) }; getTypeName() => "VehicleSwapActiveResponse"; TypeContext? context = _ctx; } // @Route("/v1/VehicleSwap/Active", "GET") class VehicleSwapActiveRequest implements IReturn, IGet, IConvertible { VehicleSwapActiveRequest(); VehicleSwapActiveRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => VehicleSwapActiveResponse(); getResponseTypeName() => "VehicleSwapActiveResponse"; getTypeName() => "VehicleSwapActiveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'VehicleSwapActive': TypeInfo(TypeOf.Class, create:() => VehicleSwapActive()), 'VehicleSwapActiveResponse': TypeInfo(TypeOf.Class, create:() => VehicleSwapActiveResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'VehicleSwapActiveRequest': TypeInfo(TypeOf.Class, create:() => VehicleSwapActiveRequest()), });