/* Options: Date: 2025-12-15 23:03:50 Version: 6.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://webservices.mbukdatabase.co.uk/MBVansOnlineCustomerAccount //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateMileage.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ReturnStatus implements IConvertible { String? ReturnCode; String? Message; ReturnStatus({this.ReturnCode,this.Message}); ReturnStatus.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ReturnCode = json['ReturnCode']; Message = json['Message']; return this; } Map toJson() => { 'ReturnCode': ReturnCode, 'Message': Message }; getTypeName() => "ReturnStatus"; TypeContext? context = _ctx; } class UpdateMileageResponse implements IConvertible { ReturnStatus? Status; UpdateMileageResponse({this.Status}); UpdateMileageResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Status = JsonConverters.fromJson(json['Status'],'ReturnStatus',context!); return this; } Map toJson() => { 'Status': JsonConverters.toJson(Status,'ReturnStatus',context!) }; getTypeName() => "UpdateMileageResponse"; TypeContext? context = _ctx; } // @Route("/updatemileage/", "POST") class UpdateMileage implements IReturn, IConvertible { String? CIAMId; String? ChassisNumber; int? Mileage; UpdateMileage({this.CIAMId,this.ChassisNumber,this.Mileage}); UpdateMileage.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CIAMId = json['CIAMId']; ChassisNumber = json['ChassisNumber']; Mileage = json['Mileage']; return this; } Map toJson() => { 'CIAMId': CIAMId, 'ChassisNumber': ChassisNumber, 'Mileage': Mileage }; createResponse() => UpdateMileageResponse(); getResponseTypeName() => "UpdateMileageResponse"; getTypeName() => "UpdateMileage"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'webservices.mbukdatabase.co.uk', types: { 'ReturnStatus': TypeInfo(TypeOf.Class, create:() => ReturnStatus()), 'UpdateMileageResponse': TypeInfo(TypeOf.Class, create:() => UpdateMileageResponse()), 'UpdateMileage': TypeInfo(TypeOf.Class, create:() => UpdateMileage()), });