/* Options: Date: 2025-10-28 04:10:54 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CurrencyRatesById.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:collection'; class CurrencyRatesByIdResponse implements IConvertible { // @DataMember(Order=1) int? Id; // @DataMember(Order=8) ResponseStatus? ResponseStatus; CurrencyRatesByIdResponse({this.Id,this.ResponseStatus}); CurrencyRatesByIdResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Id': Id, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "CurrencyRatesByIdResponse"; TypeContext? context = _ctx; } // @Route("/currency_rates/{Id}", "GET") // @DataContract class CurrencyRatesById implements IReturn, IConvertible, IGet { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? Id; CurrencyRatesById({this.Id}); CurrencyRatesById.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; return this; } Map toJson() => { 'Id': Id }; createResponse() => CurrencyRatesByIdResponse(); getResponseTypeName() => "CurrencyRatesByIdResponse"; getTypeName() => "CurrencyRatesById"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: { 'CurrencyRatesByIdResponse': TypeInfo(TypeOf.Class, create:() => CurrencyRatesByIdResponse()), 'CurrencyRatesById': TypeInfo(TypeOf.Class, create:() => CurrencyRatesById()), });