/* Options: Date: 2026-08-12 19:43:17 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: RecordsSettingsRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class WfBindingDto implements IConvertible { String? SourceKey; int? WorkflowId; String? Name; bool? Paused; int? Runs30; String? Summary; WfBindingDto({this.SourceKey,this.WorkflowId,this.Name,this.Paused,this.Runs30,this.Summary}); WfBindingDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SourceKey = json['SourceKey']; WorkflowId = json['WorkflowId']; Name = json['Name']; Paused = json['Paused']; Runs30 = json['Runs30']; Summary = json['Summary']; return this; } Map toJson() => { 'SourceKey': SourceKey, 'WorkflowId': WorkflowId, 'Name': Name, 'Paused': Paused, 'Runs30': Runs30, 'Summary': Summary }; getTypeName() => "WfBindingDto"; TypeContext? context = _ctx; } class RecordsSettingsDto implements IConvertible { String? ThresholdsJson; String? VendorsJson; String? ArchivalJson; String? PoliciesJson; String? VisibilityJson; List? WfBindings = []; RecordsSettingsDto({this.ThresholdsJson,this.VendorsJson,this.ArchivalJson,this.PoliciesJson,this.VisibilityJson,this.WfBindings}); RecordsSettingsDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ThresholdsJson = json['ThresholdsJson']; VendorsJson = json['VendorsJson']; ArchivalJson = json['ArchivalJson']; PoliciesJson = json['PoliciesJson']; VisibilityJson = json['VisibilityJson']; WfBindings = JsonConverters.fromJson(json['WfBindings'],'List',context!); return this; } Map toJson() => { 'ThresholdsJson': ThresholdsJson, 'VendorsJson': VendorsJson, 'ArchivalJson': ArchivalJson, 'PoliciesJson': PoliciesJson, 'VisibilityJson': VisibilityJson, 'WfBindings': JsonConverters.toJson(WfBindings,'List',context!) }; getTypeName() => "RecordsSettingsDto"; TypeContext? context = _ctx; } class RecordsSettingsResponse implements IConvertible { ResponseStatus? ResponseStatus; RecordsSettingsDto? Settings; RecordsSettingsResponse({this.ResponseStatus,this.Settings}); RecordsSettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); Settings = JsonConverters.fromJson(json['Settings'],'RecordsSettingsDto',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!), 'Settings': JsonConverters.toJson(Settings,'RecordsSettingsDto',context!) }; getTypeName() => "RecordsSettingsResponse"; TypeContext? context = _ctx; } // @Route("/v1/records/settings", "GET,OPTIONS") class RecordsSettingsRequest implements IReturn, IConvertible, IGet { RecordsSettingsRequest(); RecordsSettingsRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => RecordsSettingsResponse(); getResponseTypeName() => "RecordsSettingsResponse"; getTypeName() => "RecordsSettingsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'WfBindingDto': TypeInfo(TypeOf.Class, create:() => WfBindingDto()), 'RecordsSettingsDto': TypeInfo(TypeOf.Class, create:() => RecordsSettingsDto()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RecordsSettingsResponse': TypeInfo(TypeOf.Class, create:() => RecordsSettingsResponse()), 'RecordsSettingsRequest': TypeInfo(TypeOf.Class, create:() => RecordsSettingsRequest()), });