/* Options: Date: 2025-06-27 23:11:45 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: SecuredVehicleAuditRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class VehicleAuditDetails implements IConvertible { String? userId; bool? status; String? notes; String? creationDate; VehicleAuditDetails({this.userId,this.status,this.notes,this.creationDate}); VehicleAuditDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userId = json['userId']; status = json['status']; notes = json['notes']; creationDate = json['creationDate']; return this; } Map toJson() => { 'userId': userId, 'status': status, 'notes': notes, 'creationDate': creationDate }; getTypeName() => "VehicleAuditDetails"; TypeContext? context = _ctx; } class VehicleSecuredAuditDetails extends VehicleAuditDetails implements IConvertible { String? vin; String? commissionNumber; bool? isBulkUpdate; VehicleSecuredAuditDetails({this.vin,this.commissionNumber,this.isBulkUpdate}); VehicleSecuredAuditDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); vin = json['vin']; commissionNumber = json['commissionNumber']; isBulkUpdate = json['isBulkUpdate']; return this; } Map toJson() => super.toJson()..addAll({ 'vin': vin, 'commissionNumber': commissionNumber, 'isBulkUpdate': isBulkUpdate }); getTypeName() => "VehicleSecuredAuditDetails"; TypeContext? context = _ctx; } class VehicleAuditDetails implements IConvertible { String? userId; bool? status; String? notes; String? creationDate; VehicleAuditDetails({this.userId,this.status,this.notes,this.creationDate}); VehicleAuditDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { userId = json['userId']; status = json['status']; notes = json['notes']; creationDate = json['creationDate']; return this; } Map toJson() => { 'userId': userId, 'status': status, 'notes': notes, 'creationDate': creationDate }; getTypeName() => "VehicleAuditDetails"; TypeContext? context = _ctx; } class SecuredVehicleAuditResponse implements IConvertible { List? vehicleSecuredAudits; SecuredVehicleAuditResponse({this.vehicleSecuredAudits}); SecuredVehicleAuditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { vehicleSecuredAudits = JsonConverters.fromJson(json['vehicleSecuredAudits'],'List',context!); return this; } Map toJson() => { 'vehicleSecuredAudits': JsonConverters.toJson(vehicleSecuredAudits,'List',context!) }; getTypeName() => "SecuredVehicleAuditResponse"; TypeContext? context = _ctx; } // @Route("/v1/SecuredAudit/{identifier}", "GET") class SecuredVehicleAuditRequest implements IReturn, IGet, IConvertible { String? identifier; SecuredVehicleAuditRequest({this.identifier}); SecuredVehicleAuditRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { identifier = json['identifier']; return this; } Map toJson() => { 'identifier': identifier }; createResponse() => SecuredVehicleAuditResponse(); getResponseTypeName() => "SecuredVehicleAuditResponse"; getTypeName() => "SecuredVehicleAuditRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'uat_api_vehicle_mgt_mb_dhc.rapp_customers.co.uk', types: { 'VehicleAuditDetails': TypeInfo(TypeOf.Class, create:() => VehicleAuditDetails()), 'VehicleSecuredAuditDetails': TypeInfo(TypeOf.Class, create:() => VehicleSecuredAuditDetails()), 'SecuredVehicleAuditResponse': TypeInfo(TypeOf.Class, create:() => SecuredVehicleAuditResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'SecuredVehicleAuditRequest': TypeInfo(TypeOf.Class, create:() => SecuredVehicleAuditRequest()), });