/* Options: Date: 2026-04-05 18:27:02 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: GetETSDailyPriceChange.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GetETSExternalDailyPriceChangeViewModel implements IConvertible { int? Id; DateTime? Date; double? PreviousClose; double? ClosePrice; double? PercentageChange; double? EuroChange; GetETSExternalDailyPriceChangeViewModel({this.Id,this.Date,this.PreviousClose,this.ClosePrice,this.PercentageChange,this.EuroChange}); GetETSExternalDailyPriceChangeViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Date = JsonConverters.fromJson(json['Date'],'DateTime',context!); PreviousClose = JsonConverters.toDouble(json['PreviousClose']); ClosePrice = JsonConverters.toDouble(json['ClosePrice']); PercentageChange = JsonConverters.toDouble(json['PercentageChange']); EuroChange = JsonConverters.toDouble(json['EuroChange']); return this; } Map toJson() => { 'Id': Id, 'Date': JsonConverters.toJson(Date,'DateTime',context!), 'PreviousClose': PreviousClose, 'ClosePrice': ClosePrice, 'PercentageChange': PercentageChange, 'EuroChange': EuroChange }; getTypeName() => "GetETSExternalDailyPriceChangeViewModel"; TypeContext? context = _ctx; } // @Route("/External/Get-ETS-Daily-Price-Change", "GET") class GetETSDailyPriceChange implements IReturn, IConvertible, IGet { GetETSDailyPriceChange(); GetETSDailyPriceChange.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetETSExternalDailyPriceChangeViewModel(); getResponseTypeName() => "GetETSExternalDailyPriceChangeViewModel"; getTypeName() => "GetETSDailyPriceChange"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: { 'GetETSExternalDailyPriceChangeViewModel': TypeInfo(TypeOf.Class, create:() => GetETSExternalDailyPriceChangeViewModel()), 'GetETSDailyPriceChange': TypeInfo(TypeOf.Class, create:() => GetETSDailyPriceChange()), });