/* Options: Date: 2025-07-17 23:55:38 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: ScriptTrackerReq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; 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; } class ScriptTracker extends Entity implements IConvertible { String? sprint; String? country; String? language; String? section; String? itemCode; String? element; String? value; bool? isFromMerge; ScriptTracker({this.sprint,this.country,this.language,this.section,this.itemCode,this.element,this.value,this.isFromMerge}); ScriptTracker.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); sprint = json['sprint']; country = json['country']; language = json['language']; section = json['section']; itemCode = json['itemCode']; element = json['element']; value = json['value']; isFromMerge = json['isFromMerge']; return this; } Map toJson() => super.toJson()..addAll({ 'sprint': sprint, 'country': country, 'language': language, 'section': section, 'itemCode': itemCode, 'element': element, 'value': value, 'isFromMerge': isFromMerge }); getTypeName() => "ScriptTracker"; TypeContext? context = _ctx; } // @Route("/script", "GET") // @Route("/script/{Sprint}", "GET") // @Route("/script/{Sprint}/{Country}/{Language}/{Section}/{Element}", "GET") // @Route("/script/{Sprint}/{Country}/{Language}/{Section}/{ItemCode}/{Element}", "GET") class ScriptTrackerReq implements IReturn, IConvertible { String? sprint; String? country; String? language; String? section; String? itemCode; String? element; ScriptTrackerReq({this.sprint,this.country,this.language,this.section,this.itemCode,this.element}); ScriptTrackerReq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { sprint = json['sprint']; country = json['country']; language = json['language']; section = json['section']; itemCode = json['itemCode']; element = json['element']; return this; } Map toJson() => { 'sprint': sprint, 'country': country, 'language': language, 'section': section, 'itemCode': itemCode, 'element': element }; createResponse() => ScriptTracker(); getResponseTypeName() => "ScriptTracker"; getTypeName() => "ScriptTrackerReq"; 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()), 'ScriptTracker': TypeInfo(TypeOf.Class, create:() => ScriptTracker()), 'ScriptTrackerReq': TypeInfo(TypeOf.Class, create:() => ScriptTrackerReq()), });