/* Options: Date: 2025-08-04 04:11:47 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrowseAllCountryCode.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } class CountryCodeSimple implements IConvertible { int? Id; String? Code; String? Name; CountryCodeSimple({this.Id,this.Code,this.Name}); CountryCodeSimple.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Code = json['Code']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'Code': Code, 'Name': Name }; getTypeName() => "CountryCodeSimple"; TypeContext? context = _ctx; } class BrowseAllCountryCodeResponse extends ResponseBase implements IConvertible { List? CountryCodes; BrowseAllCountryCodeResponse({this.CountryCodes}); BrowseAllCountryCodeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); CountryCodes = JsonConverters.fromJson(json['CountryCodes'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'CountryCodes': JsonConverters.toJson(CountryCodes,'List',context!) }); getTypeName() => "BrowseAllCountryCodeResponse"; TypeContext? context = _ctx; } // @Route("/countrycode", "GET") class BrowseAllCountryCode implements IReturn, IGet, IConvertible { BrowseAllCountryCode(); BrowseAllCountryCode.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => BrowseAllCountryCodeResponse(); getResponseTypeName() => "BrowseAllCountryCodeResponse"; getTypeName() => "BrowseAllCountryCode"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'CountryCodeSimple': TypeInfo(TypeOf.Class, create:() => CountryCodeSimple()), 'BrowseAllCountryCodeResponse': TypeInfo(TypeOf.Class, create:() => BrowseAllCountryCodeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseAllCountryCode': TypeInfo(TypeOf.Class, create:() => BrowseAllCountryCode()), });