/* Options: Date: 2026-04-05 18:25:11 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: ETSOrderDetails.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class ETSOrderDetailsViewModel implements IConvertible { int? Id; String? OrderGuid; String? OrderPlacedBy; String? OrderPlacedByImageGuid; String? OrderPlacedDateTime; String? Quantity; String? Status; String? Vessels; bool? Forward; String? OrderType; String? EUAPrice; String? GreyEpochBrokerPrice; String? BridgeArrangementFee; String? EUATotalPaid; String? OrderTotal; String? Deposit; String? DepositValue; String? MarginCoveredTo; String? PaymentRequests; String? CurrentPrice; String? Position; String? TotalPosition; String? FontColour; bool? ThirdParty; String? ThirdPartyName; bool? Financed; bool? ShowMarkToMarket; ETSOrderDetailsViewModel({this.Id,this.OrderGuid,this.OrderPlacedBy,this.OrderPlacedByImageGuid,this.OrderPlacedDateTime,this.Quantity,this.Status,this.Vessels,this.Forward,this.OrderType,this.EUAPrice,this.GreyEpochBrokerPrice,this.BridgeArrangementFee,this.EUATotalPaid,this.OrderTotal,this.Deposit,this.DepositValue,this.MarginCoveredTo,this.PaymentRequests,this.CurrentPrice,this.Position,this.TotalPosition,this.FontColour,this.ThirdParty,this.ThirdPartyName,this.Financed,this.ShowMarkToMarket}); ETSOrderDetailsViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; OrderGuid = json['OrderGuid']; OrderPlacedBy = json['OrderPlacedBy']; OrderPlacedByImageGuid = json['OrderPlacedByImageGuid']; OrderPlacedDateTime = json['OrderPlacedDateTime']; Quantity = json['Quantity']; Status = json['Status']; Vessels = json['Vessels']; Forward = json['Forward']; OrderType = json['OrderType']; EUAPrice = json['EUAPrice']; GreyEpochBrokerPrice = json['GreyEpochBrokerPrice']; BridgeArrangementFee = json['BridgeArrangementFee']; EUATotalPaid = json['EUATotalPaid']; OrderTotal = json['OrderTotal']; Deposit = json['Deposit']; DepositValue = json['DepositValue']; MarginCoveredTo = json['MarginCoveredTo']; PaymentRequests = json['PaymentRequests']; CurrentPrice = json['CurrentPrice']; Position = json['Position']; TotalPosition = json['TotalPosition']; FontColour = json['FontColour']; ThirdParty = json['ThirdParty']; ThirdPartyName = json['ThirdPartyName']; Financed = json['Financed']; ShowMarkToMarket = json['ShowMarkToMarket']; return this; } Map toJson() => { 'Id': Id, 'OrderGuid': OrderGuid, 'OrderPlacedBy': OrderPlacedBy, 'OrderPlacedByImageGuid': OrderPlacedByImageGuid, 'OrderPlacedDateTime': OrderPlacedDateTime, 'Quantity': Quantity, 'Status': Status, 'Vessels': Vessels, 'Forward': Forward, 'OrderType': OrderType, 'EUAPrice': EUAPrice, 'GreyEpochBrokerPrice': GreyEpochBrokerPrice, 'BridgeArrangementFee': BridgeArrangementFee, 'EUATotalPaid': EUATotalPaid, 'OrderTotal': OrderTotal, 'Deposit': Deposit, 'DepositValue': DepositValue, 'MarginCoveredTo': MarginCoveredTo, 'PaymentRequests': PaymentRequests, 'CurrentPrice': CurrentPrice, 'Position': Position, 'TotalPosition': TotalPosition, 'FontColour': FontColour, 'ThirdParty': ThirdParty, 'ThirdPartyName': ThirdPartyName, 'Financed': Financed, 'ShowMarkToMarket': ShowMarkToMarket }; getTypeName() => "ETSOrderDetailsViewModel"; TypeContext? context = _ctx; } // @Route("/ETS/Order-Details", "GET") class ETSOrderDetails implements IReturn, IConvertible, IGet { String? Id; ETSOrderDetails({this.Id}); ETSOrderDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => ETSOrderDetailsViewModel(); getResponseTypeName() => "ETSOrderDetailsViewModel"; getTypeName() => "ETSOrderDetails"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: { 'ETSOrderDetailsViewModel': TypeInfo(TypeOf.Class, create:() => ETSOrderDetailsViewModel()), 'ETSOrderDetails': TypeInfo(TypeOf.Class, create:() => ETSOrderDetails()), });