/* Options: Date: 2026-11-20 03:16:40 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: FormFillSignRequest.* //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/draft/{Token}/sign/{FieldKey}", "POST") class FormFillSignRequest implements IReturn, IConvertible, IPost { String? Token; String? FieldKey; String? AnswersJson; int? Page; String? Lang; int? Rev; String? Mode; String? Name; String? Png; FormFillSignRequest({this.Token,this.FieldKey,this.AnswersJson,this.Page,this.Lang,this.Rev,this.Mode,this.Name,this.Png}); FormFillSignRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Token = json['Token']; FieldKey = json['FieldKey']; AnswersJson = json['AnswersJson']; Page = json['Page']; Lang = json['Lang']; Rev = json['Rev']; Mode = json['Mode']; Name = json['Name']; Png = json['Png']; return this; } Map toJson() => { 'Token': Token, 'FieldKey': FieldKey, 'AnswersJson': AnswersJson, 'Page': Page, 'Lang': Lang, 'Rev': Rev, 'Mode': Mode, 'Name': Name, 'Png': Png }; createResponse() => FormFillSignResponse(); getResponseTypeName() => "FormFillSignResponse"; getTypeName() => "FormFillSignRequest"; 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:() => []), 'FormFillSignRequest': TypeInfo(TypeOf.Class, create:() => FormFillSignRequest()), });