/* Options: Date: 2025-05-05 18:31:48 Version: 8.61 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: GetMotabilityVehiclesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class MotabilityStockResponse implements IConvertible { int? TotalVehicles; List? Vehicles = []; MotabilityStockResponse({this.TotalVehicles,this.Vehicles}); MotabilityStockResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TotalVehicles = json['TotalVehicles']; Vehicles = JsonConverters.fromJson(json['Vehicles'],'List<${runtimeGenericTypeDefs(this,[0]).join(",")}>',context!); return this; } Map toJson() => { 'TotalVehicles': TotalVehicles, 'Vehicles': JsonConverters.toJson(Vehicles,'List',context!) }; getTypeName() => "MotabilityStockResponse<$T>"; TypeContext? context = _ctx; } // @Route("/v1/vehicle/MotabilityVehicles", "Get") class GetMotabilityVehiclesRequest implements IReturn>, IConvertible, IGet { GetMotabilityVehiclesRequest(); GetMotabilityVehiclesRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => MotabilityStockResponse(); getResponseTypeName() => "MotabilityStockResponse"; getTypeName() => "GetMotabilityVehiclesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'prod_api_agency_orch_mb_dhc.rapp_customers.co.uk', types: { 'MotabilityStockResponse': TypeInfo(TypeOf.GenericDef,create:() => MotabilityStockResponse()), 'GetMotabilityVehiclesRequest': TypeInfo(TypeOf.Class, create:() => GetMotabilityVehiclesRequest()), });