/* Options: Date: 2026-11-20 21:12:39 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: FormFillRequestSignRequest.* //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 FormFillSignResponse implements IConvertible { String? Mode; String? Name; String? At; String? Id; String? Hash; int? Rev; List? Errors = []; ResponseStatus? ResponseStatus; FormFillSignResponse({this.Mode,this.Name,this.At,this.Id,this.Hash,this.Rev,this.Errors,this.ResponseStatus}); FormFillSignResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Mode = json['Mode']; Name = json['Name']; At = json['At']; Id = json['Id']; Hash = json['Hash']; Rev = json['Rev']; Errors = JsonConverters.fromJson(json['Errors'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Mode': Mode, 'Name': Name, 'At': At, 'Id': Id, 'Hash': Hash, 'Rev': Rev, 'Errors': JsonConverters.toJson(Errors,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormFillSignResponse"; TypeContext? context = _ctx; } // @Route("/v1/formfill/status/{Token}/request/sign/{FieldKey}", "POST") class FormFillRequestSignRequest implements IReturn, IConvertible, IPost { String? Token; String? FieldKey; String? AnswersJson; String? Lang; String? Mode; String? Name; String? Png; FormFillRequestSignRequest({this.Token,this.FieldKey,this.AnswersJson,this.Lang,this.Mode,this.Name,this.Png}); FormFillRequestSignRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Token = json['Token']; FieldKey = json['FieldKey']; AnswersJson = json['AnswersJson']; Lang = json['Lang']; Mode = json['Mode']; Name = json['Name']; Png = json['Png']; return this; } Map toJson() => { 'Token': Token, 'FieldKey': FieldKey, 'AnswersJson': AnswersJson, 'Lang': Lang, 'Mode': Mode, 'Name': Name, 'Png': Png }; createResponse() => FormFillSignResponse(); getResponseTypeName() => "FormFillSignResponse"; getTypeName() => "FormFillRequestSignRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormFillFieldError': TypeInfo(TypeOf.Class, create:() => FormFillFieldError()), 'FormFillSignResponse': TypeInfo(TypeOf.Class, create:() => FormFillSignResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormFillRequestSignRequest': TypeInfo(TypeOf.Class, create:() => FormFillRequestSignRequest()), });