/* Options: Date: 2025-07-17 22:16:59 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: ChangeLogsByStatusReq.* //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 ChangeHistory implements IConvertible { String? updatedBy; DateTime? dateCreated; String? element; String? old; String? new; String? status; String? approvedBy; DateTime? dateApproved; ChangeHistory({this.updatedBy,this.dateCreated,this.element,this.old,this.new,this.status,this.approvedBy,this.dateApproved}); ChangeHistory.fromJson(Map json) { fromMap(json); } fromMap(Map json) { updatedBy = json['updatedBy']; dateCreated = JsonConverters.fromJson(json['dateCreated'],'DateTime',context!); element = json['element']; old = json['old']; new = json['new']; status = json['status']; approvedBy = json['approvedBy']; dateApproved = JsonConverters.fromJson(json['dateApproved'],'DateTime',context!); return this; } Map toJson() => { 'updatedBy': updatedBy, 'dateCreated': JsonConverters.toJson(dateCreated,'DateTime',context!), 'element': element, 'old': old, 'new': new, 'status': status, 'approvedBy': approvedBy, 'dateApproved': JsonConverters.toJson(dateApproved,'DateTime',context!) }; getTypeName() => "ChangeHistory"; TypeContext? context = _ctx; } class ChangeLog extends Entity implements IConvertible { String? referenceId; String? country; String? language; String? section; String? itemCode; String? itemId; List? history; ChangeLog({this.referenceId,this.country,this.language,this.section,this.itemCode,this.itemId,this.history}); ChangeLog.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); referenceId = json['referenceId']; country = json['country']; language = json['language']; section = json['section']; itemCode = json['itemCode']; itemId = json['itemId']; history = JsonConverters.fromJson(json['history'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'referenceId': referenceId, 'country': country, 'language': language, 'section': section, 'itemCode': itemCode, 'itemId': itemId, 'history': JsonConverters.toJson(history,'List',context!) }); getTypeName() => "ChangeLog"; 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("/changelogsbystatus", "POST") class ChangeLogsByStatusReq implements IReturn, IConvertible { String? country; String? language; String? section; String? itemCode; String? status; ChangeLogsByStatusReq({this.country,this.language,this.section,this.itemCode,this.status}); ChangeLogsByStatusReq.fromJson(Map json) { fromMap(json); } fromMap(Map json) { country = json['country']; language = json['language']; section = json['section']; itemCode = json['itemCode']; status = json['status']; return this; } Map toJson() => { 'country': country, 'language': language, 'section': section, 'itemCode': itemCode, 'status': status }; createResponse() => ChangeLog(); getResponseTypeName() => "ChangeLog"; getTypeName() => "ChangeLogsByStatusReq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'hcbtas_q_albamfs_api.azurewebsites.net', types: { 'Entity': TypeInfo(TypeOf.Class, create:() => Entity()), 'ChangeHistory': TypeInfo(TypeOf.Class, create:() => ChangeHistory()), 'ChangeLog': TypeInfo(TypeOf.Class, create:() => ChangeLog()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ContactDetails': TypeInfo(TypeOf.Class, create:() => ContactDetails()), 'ChangeLogsByStatusReq': TypeInfo(TypeOf.Class, create:() => ChangeLogsByStatusReq()), });