/* Options: Date: 2025-07-18 01:24:57 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://hcbtas-q-albamfs-api.azurewebsites.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ListItem.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data,dart:collection */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; import 'dart:collection'; class Entity implements IEntity, IConvertible { String? id; Entity({this.id}); Entity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "Entity"; TypeContext? context = _ctx; } class Entity implements IConvertible { String? logoUri; String? name; ContactDetails? contactDetails; Entity({this.logoUri,this.name,this.contactDetails}); Entity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { logoUri = json['logoUri']; name = json['name']; contactDetails = JsonConverters.fromJson(json['contactDetails'],'ContactDetails',context!); return this; } Map toJson() => { 'logoUri': logoUri, 'name': name, 'contactDetails': JsonConverters.toJson(contactDetails,'ContactDetails',context!) }; getTypeName() => "Entity"; TypeContext? context = _ctx; } // @Route("/faq", "POST,PUT,DELETE") class ListItem extends Entity implements IReturn, IConvertible { String? listId; String? country; String? relatedId; String? code; String? custom; ListItem({this.listId,this.country,this.relatedId,this.code,this.custom}); ListItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); listId = json['listId']; country = json['country']; relatedId = json['relatedId']; code = json['code']; custom = json['custom']; return this; } Map toJson() => super.toJson()..addAll({ 'listId': listId, 'country': country, 'relatedId': relatedId, 'code': code, 'custom': custom }); createResponse() => ListItem(); getResponseTypeName() => "ListItem"; getTypeName() => "ListItem"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'hcbtas_q_albamfs_api.azurewebsites.net', types: { 'Entity': TypeInfo(TypeOf.Class, create:() => Entity()), 'ContactDetails': TypeInfo(TypeOf.Class, create:() => ContactDetails()), 'ListItem': TypeInfo(TypeOf.Class, create:() => ListItem()), });