/* Options: Date: 2026-11-15 00:34:11 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: FormSettingsRequest.* //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 FormSettingsResponse implements IConvertible { String? SettingsJson; int? SettingsRev; String? Link; String? LinkPaused; List? OfferChecks = []; int? DraftsInProgress; ResponseStatus? ResponseStatus; FormSettingsResponse({this.SettingsJson,this.SettingsRev,this.Link,this.LinkPaused,this.OfferChecks,this.DraftsInProgress,this.ResponseStatus}); FormSettingsResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SettingsJson = json['SettingsJson']; SettingsRev = json['SettingsRev']; Link = json['Link']; LinkPaused = json['LinkPaused']; OfferChecks = JsonConverters.fromJson(json['OfferChecks'],'List',context!); DraftsInProgress = json['DraftsInProgress']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'SettingsJson': SettingsJson, 'SettingsRev': SettingsRev, 'Link': Link, 'LinkPaused': LinkPaused, 'OfferChecks': JsonConverters.toJson(OfferChecks,'List',context!), 'DraftsInProgress': DraftsInProgress, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormSettingsResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/{FormUID}/settings", "GET") class FormSettingsRequest implements IReturn, IConvertible, IGet { String? FormUID; FormSettingsRequest({this.FormUID}); FormSettingsRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; return this; } Map toJson() => { 'FormUID': FormUID }; createResponse() => FormSettingsResponse(); getResponseTypeName() => "FormSettingsResponse"; getTypeName() => "FormSettingsRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormReadinessCheck': TypeInfo(TypeOf.Class, create:() => FormReadinessCheck()), 'FormSettingsResponse': TypeInfo(TypeOf.Class, create:() => FormSettingsResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormSettingsRequest': TypeInfo(TypeOf.Class, create:() => FormSettingsRequest()), });