/* Options: Date: 2026-11-20 21:09:27 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: FormSubmissionRequestPreviewRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormRequestItem implements IConvertible { String? K; String? L; String? Tag; String? Tone; bool? Pre; bool? IsSignature; bool? IsSensitive; int? Pi; FormRequestItem({this.K,this.L,this.Tag,this.Tone,this.Pre,this.IsSignature,this.IsSensitive,this.Pi}); FormRequestItem.fromJson(Map json) { fromMap(json); } fromMap(Map json) { K = json['K']; L = json['L']; Tag = json['Tag']; Tone = json['Tone']; Pre = json['Pre']; IsSignature = json['IsSignature']; IsSensitive = json['IsSensitive']; Pi = json['Pi']; return this; } Map toJson() => { 'K': K, 'L': L, 'Tag': Tag, 'Tone': Tone, 'Pre': Pre, 'IsSignature': IsSignature, 'IsSensitive': IsSensitive, 'Pi': Pi }; getTypeName() => "FormRequestItem"; TypeContext? context = _ctx; } class FormRequestPlan implements IConvertible { List? Items = []; List? Keys = []; List? Resign = []; List? ResignKeys = []; String? Channels; String? StageLabel; String? Consequence; String? Applicant; String? Stage; bool? CanSend; String? Refusal; FormRequestPlan({this.Items,this.Keys,this.Resign,this.ResignKeys,this.Channels,this.StageLabel,this.Consequence,this.Applicant,this.Stage,this.CanSend,this.Refusal}); FormRequestPlan.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Items = JsonConverters.fromJson(json['Items'],'List',context!); Keys = JsonConverters.fromJson(json['Keys'],'List',context!); Resign = JsonConverters.fromJson(json['Resign'],'List',context!); ResignKeys = JsonConverters.fromJson(json['ResignKeys'],'List',context!); Channels = json['Channels']; StageLabel = json['StageLabel']; Consequence = json['Consequence']; Applicant = json['Applicant']; Stage = json['Stage']; CanSend = json['CanSend']; Refusal = json['Refusal']; return this; } Map toJson() => { 'Items': JsonConverters.toJson(Items,'List',context!), 'Keys': JsonConverters.toJson(Keys,'List',context!), 'Resign': JsonConverters.toJson(Resign,'List',context!), 'ResignKeys': JsonConverters.toJson(ResignKeys,'List',context!), 'Channels': Channels, 'StageLabel': StageLabel, 'Consequence': Consequence, 'Applicant': Applicant, 'Stage': Stage, 'CanSend': CanSend, 'Refusal': Refusal }; getTypeName() => "FormRequestPlan"; TypeContext? context = _ctx; } class FormSubmissionRequestPreviewResponse implements IConvertible { FormRequestPlan? Plan; ResponseStatus? ResponseStatus; FormSubmissionRequestPreviewResponse({this.Plan,this.ResponseStatus}); FormSubmissionRequestPreviewResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Plan = JsonConverters.fromJson(json['Plan'],'FormRequestPlan',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Plan': JsonConverters.toJson(Plan,'FormRequestPlan',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormSubmissionRequestPreviewResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/submissions/{SubmissionUID}/request-info/preview", "POST") class FormSubmissionRequestPreviewRequest implements IReturn, IConvertible, IPost { String? SubmissionUID; List? Keys = []; FormSubmissionRequestPreviewRequest({this.SubmissionUID,this.Keys}); FormSubmissionRequestPreviewRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; Keys = JsonConverters.fromJson(json['Keys'],'List',context!); return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'Keys': JsonConverters.toJson(Keys,'List',context!) }; createResponse() => FormSubmissionRequestPreviewResponse(); getResponseTypeName() => "FormSubmissionRequestPreviewResponse"; getTypeName() => "FormSubmissionRequestPreviewRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormRequestItem': TypeInfo(TypeOf.Class, create:() => FormRequestItem()), 'FormRequestPlan': TypeInfo(TypeOf.Class, create:() => FormRequestPlan()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormSubmissionRequestPreviewResponse': TypeInfo(TypeOf.Class, create:() => FormSubmissionRequestPreviewResponse()), 'FormSubmissionRequestPreviewRequest': TypeInfo(TypeOf.Class, create:() => FormSubmissionRequestPreviewRequest()), });