/* Options: Date: 2025-05-24 23:19:33 Version: 6.41 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://netcom.poslovnisoftver.rs //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DobaviDrzave.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class IdNaziv implements IConvertible { String? id; String? naziv; IdNaziv({this.id,this.naziv}); IdNaziv.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; naziv = json['naziv']; return this; } Map toJson() => { 'id': id, 'naziv': naziv }; getTypeName() => "IdNaziv"; TypeContext? context = _ctx; } class DobaviDrzaveResult implements IConvertible { List? drzave; ResponseStatus? responseStatus; DobaviDrzaveResult({this.drzave,this.responseStatus}); DobaviDrzaveResult.fromJson(Map json) { fromMap(json); } fromMap(Map json) { drzave = JsonConverters.fromJson(json['drzave'],'List',context!); responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'drzave': JsonConverters.toJson(drzave,'List',context!), 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "DobaviDrzaveResult"; TypeContext? context = _ctx; } // @Route("/drzave", "GET") class DobaviDrzave implements IReturn, IGet, IConvertible { DobaviDrzave(); DobaviDrzave.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => DobaviDrzaveResult(); getResponseTypeName() => "DobaviDrzaveResult"; getTypeName() => "DobaviDrzave"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'netcom.poslovnisoftver.rs', types: { 'IdNaziv': TypeInfo(TypeOf.Class, create:() => IdNaziv()), 'DobaviDrzaveResult': TypeInfo(TypeOf.Class, create:() => DobaviDrzaveResult()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'DobaviDrzave': TypeInfo(TypeOf.Class, create:() => DobaviDrzave()), });