/* Options: Date: 2026-04-05 18:23:14 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://internal.thebunkerbridge.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DealRecapAccept.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GetRecapDetailsViewModel implements IConvertible { String? Guid; String? DocumentTitle; String? GeneralComments; int? EnquiryId; String? EnquiryGuid; Uint8List? CompanyLogo; String? FromContactName; String? ContactGuid; String? EntityName; String? VesselName; int? IMONumber; String? PortCode; String? PortName; String? CountryName; Uint8List? CountryFlag; DateTime? DateFrom; DateTime? DateTo; String? BuyerAccountName; String? DeliveryMethod; String? AgentDetails; String? RecapTerms; String? AdditionalCosts; String? RecapGrades; bool? Accepted; bool? Rejected; int? FromEntityContactId; int? ToEntityContactId; String? RecapComments; String? TermsAndConditions; String? ImageGuid; int? VesselId; bool? ConfirmationOnly; GetRecapDetailsViewModel({this.Guid,this.DocumentTitle,this.GeneralComments,this.EnquiryId,this.EnquiryGuid,this.CompanyLogo,this.FromContactName,this.ContactGuid,this.EntityName,this.VesselName,this.IMONumber,this.PortCode,this.PortName,this.CountryName,this.CountryFlag,this.DateFrom,this.DateTo,this.BuyerAccountName,this.DeliveryMethod,this.AgentDetails,this.RecapTerms,this.AdditionalCosts,this.RecapGrades,this.Accepted,this.Rejected,this.FromEntityContactId,this.ToEntityContactId,this.RecapComments,this.TermsAndConditions,this.ImageGuid,this.VesselId,this.ConfirmationOnly}); GetRecapDetailsViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['Guid']; DocumentTitle = json['DocumentTitle']; GeneralComments = json['GeneralComments']; EnquiryId = json['EnquiryId']; EnquiryGuid = json['EnquiryGuid']; CompanyLogo = JsonConverters.fromJson(json['CompanyLogo'],'Uint8List',context!); FromContactName = json['FromContactName']; ContactGuid = json['ContactGuid']; EntityName = json['EntityName']; VesselName = json['VesselName']; IMONumber = json['IMONumber']; PortCode = json['PortCode']; PortName = json['PortName']; CountryName = json['CountryName']; CountryFlag = JsonConverters.fromJson(json['CountryFlag'],'Uint8List',context!); DateFrom = JsonConverters.fromJson(json['DateFrom'],'DateTime',context!); DateTo = JsonConverters.fromJson(json['DateTo'],'DateTime',context!); BuyerAccountName = json['BuyerAccountName']; DeliveryMethod = json['DeliveryMethod']; AgentDetails = json['AgentDetails']; RecapTerms = json['RecapTerms']; AdditionalCosts = json['AdditionalCosts']; RecapGrades = json['RecapGrades']; Accepted = json['Accepted']; Rejected = json['Rejected']; FromEntityContactId = json['FromEntityContactId']; ToEntityContactId = json['ToEntityContactId']; RecapComments = json['RecapComments']; TermsAndConditions = json['TermsAndConditions']; ImageGuid = json['ImageGuid']; VesselId = json['VesselId']; ConfirmationOnly = json['ConfirmationOnly']; return this; } Map toJson() => { 'Guid': Guid, 'DocumentTitle': DocumentTitle, 'GeneralComments': GeneralComments, 'EnquiryId': EnquiryId, 'EnquiryGuid': EnquiryGuid, 'CompanyLogo': JsonConverters.toJson(CompanyLogo,'Uint8List',context!), 'FromContactName': FromContactName, 'ContactGuid': ContactGuid, 'EntityName': EntityName, 'VesselName': VesselName, 'IMONumber': IMONumber, 'PortCode': PortCode, 'PortName': PortName, 'CountryName': CountryName, 'CountryFlag': JsonConverters.toJson(CountryFlag,'Uint8List',context!), 'DateFrom': JsonConverters.toJson(DateFrom,'DateTime',context!), 'DateTo': JsonConverters.toJson(DateTo,'DateTime',context!), 'BuyerAccountName': BuyerAccountName, 'DeliveryMethod': DeliveryMethod, 'AgentDetails': AgentDetails, 'RecapTerms': RecapTerms, 'AdditionalCosts': AdditionalCosts, 'RecapGrades': RecapGrades, 'Accepted': Accepted, 'Rejected': Rejected, 'FromEntityContactId': FromEntityContactId, 'ToEntityContactId': ToEntityContactId, 'RecapComments': RecapComments, 'TermsAndConditions': TermsAndConditions, 'ImageGuid': ImageGuid, 'VesselId': VesselId, 'ConfirmationOnly': ConfirmationOnly }; getTypeName() => "GetRecapDetailsViewModel"; TypeContext? context = _ctx; } // @Route("/Deal-Recap/Accept", "GET") class DealRecapAccept implements IReturn, IConvertible, IGet { String? Guid; DealRecapAccept({this.Guid}); DealRecapAccept.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['Guid']; return this; } Map toJson() => { 'Guid': Guid }; createResponse() => GetRecapDetailsViewModel(); getResponseTypeName() => "GetRecapDetailsViewModel"; getTypeName() => "DealRecapAccept"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: { 'GetRecapDetailsViewModel': TypeInfo(TypeOf.Class, create:() => GetRecapDetailsViewModel()), 'Uint8List': TypeInfo(TypeOf.Class, create:() => Uint8List(0)), 'DealRecapAccept': TypeInfo(TypeOf.Class, create:() => DealRecapAccept()), });