/* Options: Date: 2025-06-26 02:07:49 Version: 6.60 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://webservices.mbukdatabase.co.uk/MBPreferencesService //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: IntentionsUpdateRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class Response implements IConvertible { String? Code; String? Message; Response({this.Code,this.Message}); Response.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Code = json['Code']; Message = json['Message']; return this; } Map toJson() => { 'Code': Code, 'Message': Message }; getTypeName() => "Response"; TypeContext? context = _ctx; } class IntentionsUpdateResponse implements IConvertible { Response? ResponseStatus; IntentionsUpdateResponse({this.ResponseStatus}); IntentionsUpdateResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'Response',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'Response',context!) }; getTypeName() => "IntentionsUpdateResponse"; TypeContext? context = _ctx; } // @Route("/IntentionsUpdate/", "POST") class IntentionsUpdateRequest implements IReturn, IConvertible { String? ContractNumber; String? Intention; String? IntentionsSource; DateTime? IntentionsDateTime; IntentionsUpdateRequest({this.ContractNumber,this.Intention,this.IntentionsSource,this.IntentionsDateTime}); IntentionsUpdateRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContractNumber = json['ContractNumber']; Intention = json['Intention']; IntentionsSource = json['IntentionsSource']; IntentionsDateTime = JsonConverters.fromJson(json['IntentionsDateTime'],'DateTime',context!); return this; } Map toJson() => { 'ContractNumber': ContractNumber, 'Intention': Intention, 'IntentionsSource': IntentionsSource, 'IntentionsDateTime': JsonConverters.toJson(IntentionsDateTime,'DateTime',context!) }; createResponse() => IntentionsUpdateResponse(); getResponseTypeName() => "IntentionsUpdateResponse"; getTypeName() => "IntentionsUpdateRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'webservices.mbukdatabase.co.uk', types: { 'Response': TypeInfo(TypeOf.Class, create:() => Response()), 'IntentionsUpdateResponse': TypeInfo(TypeOf.Class, create:() => IntentionsUpdateResponse()), 'IntentionsUpdateRequest': TypeInfo(TypeOf.Class, create:() => IntentionsUpdateRequest()), });