/* Options: Date: 2025-08-04 04:37:23 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: BrowseAllCountry.* //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 CountrySimple implements IConvertible { int? Id; String? Code; String? Name; CountrySimple({this.Id,this.Code,this.Name}); CountrySimple.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() => "CountrySimple"; TypeContext? context = _ctx; } class BrowseAllCountryResponse extends ResponseBase implements IConvertible { List? Countries; BrowseAllCountryResponse({this.Countries}); BrowseAllCountryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Countries = JsonConverters.fromJson(json['Countries'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Countries': JsonConverters.toJson(Countries,'List',context!) }); getTypeName() => "BrowseAllCountryResponse"; TypeContext? context = _ctx; } // @Route("/country", "GET") class BrowseAllCountry implements IReturn, IGet, IConvertible { BrowseAllCountry(); BrowseAllCountry.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => BrowseAllCountryResponse(); getResponseTypeName() => "BrowseAllCountryResponse"; getTypeName() => "BrowseAllCountry"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'CountrySimple': TypeInfo(TypeOf.Class, create:() => CountrySimple()), 'BrowseAllCountryResponse': TypeInfo(TypeOf.Class, create:() => BrowseAllCountryResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseAllCountry': TypeInfo(TypeOf.Class, create:() => BrowseAllCountry()), });