/* Options: Date: 2025-07-18 00:24:48 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: RejectContents.* //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 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("/content", "POST,PUT") class Content extends Entity implements IReturn, IConvertible { String? section; String? itemId; String? itemCode; String? country; String? lang; String? app; String? companyId; String? company; Map? elements; Content({this.section,this.itemId,this.itemCode,this.country,this.lang,this.app,this.companyId,this.company,this.elements}); Content.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); section = json['section']; itemId = json['itemId']; itemCode = json['itemCode']; country = json['country']; lang = json['lang']; app = json['app']; companyId = json['companyId']; company = json['company']; elements = JsonConverters.toStringMap(json['elements']); return this; } Map toJson() => super.toJson()..addAll({ 'section': section, 'itemId': itemId, 'itemCode': itemCode, 'country': country, 'lang': lang, 'app': app, 'companyId': companyId, 'company': company, 'elements': elements }); createResponse() => Content(); getResponseTypeName() => "Content"; getTypeName() => "Content"; TypeContext? context = _ctx; } class RejectContent extends Content implements IConvertible { String? status; RejectContent({this.status}); RejectContent.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); status = json['status']; return this; } Map toJson() => super.toJson()..addAll({ 'status': status }); getTypeName() => "RejectContent"; TypeContext? context = _ctx; } 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; } // @Route("/reject/changelogs", "POST,PUT") class RejectContents extends ListBase implements IReturn, IConvertible { final List l = []; set length(int newLength) { l.length = newLength; } int get length => l.length; RejectContent operator [](int index) => l[index]; void operator []=(int index, RejectContent value) { l[index] = value; } RejectContents(); RejectContents.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => Content(); getResponseTypeName() => "Content"; getTypeName() => "RejectContents"; 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()), 'Content': TypeInfo(TypeOf.Class, create:() => Content()), 'RejectContent': TypeInfo(TypeOf.Class, create:() => RejectContent()), 'RejectContents': TypeInfo(TypeOf.Class, create:() => RejectContents()), });