/* Options: Date: 2026-11-14 03:17:21 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: FormReadinessRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FormReadinessCheck implements IConvertible { String? Level; String? Text; String? FixTab; String? FixFieldKey; String? FixLabel; FormReadinessCheck({this.Level,this.Text,this.FixTab,this.FixFieldKey,this.FixLabel}); FormReadinessCheck.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Level = json['Level']; Text = json['Text']; FixTab = json['FixTab']; FixFieldKey = json['FixFieldKey']; FixLabel = json['FixLabel']; return this; } Map toJson() => { 'Level': Level, 'Text': Text, 'FixTab': FixTab, 'FixFieldKey': FixFieldKey, 'FixLabel': FixLabel }; getTypeName() => "FormReadinessCheck"; TypeContext? context = _ctx; } class FormReadinessResponse implements IConvertible { List? Checks = []; List? Changes = []; int? NextVersion; bool? IsFirstPublish; bool? NothingChanged; bool? CanPublish; int? DraftRev; ResponseStatus? ResponseStatus; FormReadinessResponse({this.Checks,this.Changes,this.NextVersion,this.IsFirstPublish,this.NothingChanged,this.CanPublish,this.DraftRev,this.ResponseStatus}); FormReadinessResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Checks = JsonConverters.fromJson(json['Checks'],'List',context!); Changes = JsonConverters.fromJson(json['Changes'],'List',context!); NextVersion = json['NextVersion']; IsFirstPublish = json['IsFirstPublish']; NothingChanged = json['NothingChanged']; CanPublish = json['CanPublish']; DraftRev = json['DraftRev']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Checks': JsonConverters.toJson(Checks,'List',context!), 'Changes': JsonConverters.toJson(Changes,'List',context!), 'NextVersion': NextVersion, 'IsFirstPublish': IsFirstPublish, 'NothingChanged': NothingChanged, 'CanPublish': CanPublish, 'DraftRev': DraftRev, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormReadinessResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/{FormUID}/readiness", "GET") class FormReadinessRequest implements IReturn, IConvertible, IGet { String? FormUID; FormReadinessRequest({this.FormUID}); FormReadinessRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; return this; } Map toJson() => { 'FormUID': FormUID }; createResponse() => FormReadinessResponse(); getResponseTypeName() => "FormReadinessResponse"; getTypeName() => "FormReadinessRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormReadinessCheck': TypeInfo(TypeOf.Class, create:() => FormReadinessCheck()), 'FormReadinessResponse': TypeInfo(TypeOf.Class, create:() => FormReadinessResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormReadinessRequest': TypeInfo(TypeOf.Class, create:() => FormReadinessRequest()), });