/* Options: Date: 2026-11-20 21:07:51 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: FormFillReplyRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormFillFieldError implements IConvertible { String? K; String? Msg; FormFillFieldError({this.K,this.Msg}); FormFillFieldError.fromJson(Map json) { fromMap(json); } fromMap(Map json) { K = json['K']; Msg = json['Msg']; return this; } Map toJson() => { 'K': K, 'Msg': Msg }; getTypeName() => "FormFillFieldError"; TypeContext? context = _ctx; } class FormFillStatusResponse implements IConvertible { String? Number; String? FormName; String? Noun; String? TenantName; String? Stage; String? StageKind; List? Stages = []; List? Seen = []; DateTime? SubmittedAt; List? Receipt = []; bool? CanWithdraw; String? Lang; String? NounEs; bool? HasRequest; String? RequestNote; String? Outcome; String? DecisionReason; String? DecisionNote; ResponseStatus? ResponseStatus; FormFillStatusResponse({this.Number,this.FormName,this.Noun,this.TenantName,this.Stage,this.StageKind,this.Stages,this.Seen,this.SubmittedAt,this.Receipt,this.CanWithdraw,this.Lang,this.NounEs,this.HasRequest,this.RequestNote,this.Outcome,this.DecisionReason,this.DecisionNote,this.ResponseStatus}); FormFillStatusResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Number = json['Number']; FormName = json['FormName']; Noun = json['Noun']; TenantName = json['TenantName']; Stage = json['Stage']; StageKind = json['StageKind']; Stages = JsonConverters.fromJson(json['Stages'],'List',context!); Seen = JsonConverters.fromJson(json['Seen'],'List',context!); SubmittedAt = JsonConverters.fromJson(json['SubmittedAt'],'DateTime',context!); Receipt = JsonConverters.fromJson(json['Receipt'],'List',context!); CanWithdraw = json['CanWithdraw']; Lang = json['Lang']; NounEs = json['NounEs']; HasRequest = json['HasRequest']; RequestNote = json['RequestNote']; Outcome = json['Outcome']; DecisionReason = json['DecisionReason']; DecisionNote = json['DecisionNote']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Number': Number, 'FormName': FormName, 'Noun': Noun, 'TenantName': TenantName, 'Stage': Stage, 'StageKind': StageKind, 'Stages': JsonConverters.toJson(Stages,'List',context!), 'Seen': JsonConverters.toJson(Seen,'List',context!), 'SubmittedAt': JsonConverters.toJson(SubmittedAt,'DateTime',context!), 'Receipt': JsonConverters.toJson(Receipt,'List',context!), 'CanWithdraw': CanWithdraw, 'Lang': Lang, 'NounEs': NounEs, 'HasRequest': HasRequest, 'RequestNote': RequestNote, 'Outcome': Outcome, 'DecisionReason': DecisionReason, 'DecisionNote': DecisionNote, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormFillStatusResponse"; TypeContext? context = _ctx; } class FormFillReplyResponse implements IConvertible { bool? Sent; FormFillStatusResponse? Status; List? Errors = []; ResponseStatus? ResponseStatus; FormFillReplyResponse({this.Sent,this.Status,this.Errors,this.ResponseStatus}); FormFillReplyResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Sent = json['Sent']; Status = JsonConverters.fromJson(json['Status'],'FormFillStatusResponse',context!); Errors = JsonConverters.fromJson(json['Errors'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Sent': Sent, 'Status': JsonConverters.toJson(Status,'FormFillStatusResponse',context!), 'Errors': JsonConverters.toJson(Errors,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormFillReplyResponse"; TypeContext? context = _ctx; } // @Route("/v1/formfill/status/{Token}/request/send", "POST") class FormFillReplyRequest implements IReturn, IConvertible, IPost { String? Token; String? RequestUID; String? AnswersJson; String? Lang; FormFillReplyRequest({this.Token,this.RequestUID,this.AnswersJson,this.Lang}); FormFillReplyRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Token = json['Token']; RequestUID = json['RequestUID']; AnswersJson = json['AnswersJson']; Lang = json['Lang']; return this; } Map toJson() => { 'Token': Token, 'RequestUID': RequestUID, 'AnswersJson': AnswersJson, 'Lang': Lang }; createResponse() => FormFillReplyResponse(); getResponseTypeName() => "FormFillReplyResponse"; getTypeName() => "FormFillReplyRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormFillFieldError': TypeInfo(TypeOf.Class, create:() => FormFillFieldError()), 'FormFillStatusResponse': TypeInfo(TypeOf.Class, create:() => FormFillStatusResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormFillStage': TypeInfo(TypeOf.Class, create:() => FormFillStage()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormFillStageSeen': TypeInfo(TypeOf.Class, create:() => FormFillStageSeen()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormFillReceiptLine': TypeInfo(TypeOf.Class, create:() => FormFillReceiptLine()), 'FormFillReplyResponse': TypeInfo(TypeOf.Class, create:() => FormFillReplyResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormFillReplyRequest': TypeInfo(TypeOf.Class, create:() => FormFillReplyRequest()), });