/* Options: Date: 2025-12-06 06:44:04 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReportManagerQuerySaveRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class IReportManagerDocument { } class ReportManagerQuery implements IReportManagerDocument, IConvertible { int? id; String? text; String? name; ReportManagerQuery({this.id,this.text,this.name}); ReportManagerQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; text = json['text']; name = json['name']; return this; } Map toJson() => { 'id': id, 'text': text, 'name': name }; getTypeName() => "ReportManagerQuery"; TypeContext? context = _ctx; } // @Route("/v1/ReportManager/api/Queries", "POST,OPTIONS") // @Route("/v1/ReportManager/api/Queries/{id}", "PUT,OPTIONS") class ReportManagerQuerySaveRequest extends ReportManagerQuery implements IConvertible, IPost { ReportManagerQuerySaveRequest(); ReportManagerQuerySaveRequest.fromJson(Map json) : super.fromJson(json); fromMap(Map json) { super.fromMap(json); return this; } Map toJson() => super.toJson(); getTypeName() => "ReportManagerQuerySaveRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'IReportManagerDocument': TypeInfo(TypeOf.Interface), 'ReportManagerQuery': TypeInfo(TypeOf.Class, create:() => ReportManagerQuery()), 'ReportManagerQuerySaveRequest': TypeInfo(TypeOf.Class, create:() => ReportManagerQuerySaveRequest()), });