/* Options: Date: 2025-06-27 22:35:27 Version: 8.81 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: GetVehicleExclusionRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VehicleExclusion implements IConvertible { VehicleExclusion(); VehicleExclusion.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "VehicleExclusion"; TypeContext? context = _ctx; } class VehicleExclusion implements IConvertible { String? vehicleIdentifier; bool? used; String? userId; DateTime? exclusionDate; VehicleExclusion({this.vehicleIdentifier,this.used,this.userId,this.exclusionDate}); VehicleExclusion.fromJson(Map json) { fromMap(json); } fromMap(Map json) { vehicleIdentifier = json['vehicleIdentifier']; used = json['used']; userId = json['userId']; exclusionDate = JsonConverters.fromJson(json['exclusionDate'],'DateTime',context!); return this; } Map toJson() => { 'vehicleIdentifier': vehicleIdentifier, 'used': used, 'userId': userId, 'exclusionDate': JsonConverters.toJson(exclusionDate,'DateTime',context!) }; getTypeName() => "VehicleExclusion"; TypeContext? context = _ctx; } class GetVehicleExclusionResponse implements IConvertible { List? exclusions = []; GetVehicleExclusionResponse({this.exclusions}); GetVehicleExclusionResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { exclusions = JsonConverters.fromJson(json['exclusions'],'List',context!); return this; } Map toJson() => { 'exclusions': JsonConverters.toJson(exclusions,'List',context!) }; getTypeName() => "GetVehicleExclusionResponse"; TypeContext? context = _ctx; } // @Route("/v1/{VehicleType}/Vehicle/Exclusion", "GET") class GetVehicleExclusionRequest implements IReturn, IGet, IConvertible { String? vehicleType; GetVehicleExclusionRequest({this.vehicleType}); GetVehicleExclusionRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { vehicleType = json['vehicleType']; return this; } Map toJson() => { 'vehicleType': vehicleType }; createResponse() => GetVehicleExclusionResponse(); getResponseTypeName() => "GetVehicleExclusionResponse"; getTypeName() => "GetVehicleExclusionRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: { 'VehicleExclusion': TypeInfo(TypeOf.Class, create:() => VehicleExclusion()), 'GetVehicleExclusionResponse': TypeInfo(TypeOf.Class, create:() => GetVehicleExclusionResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetVehicleExclusionRequest': TypeInfo(TypeOf.Class, create:() => GetVehicleExclusionRequest()), });