/* Options: Date: 2026-11-23 14:25:59 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: FormOfficeSignRequest.* //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/forms/office/drafts/{SubmissionUID}/sign/{FieldKey}", "POST,OPTIONS") class FormOfficeSignRequest implements IReturn, IConvertible, IPost { String? SubmissionUID; String? FieldKey; String? AnswersJson; int? Page; int? Rev; String? Mode; String? Name; String? Png; FormOfficeSignRequest({this.SubmissionUID,this.FieldKey,this.AnswersJson,this.Page,this.Rev,this.Mode,this.Name,this.Png}); FormOfficeSignRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; FieldKey = json['FieldKey']; AnswersJson = json['AnswersJson']; Page = json['Page']; Rev = json['Rev']; Mode = json['Mode']; Name = json['Name']; Png = json['Png']; return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'FieldKey': FieldKey, 'AnswersJson': AnswersJson, 'Page': Page, 'Rev': Rev, 'Mode': Mode, 'Name': Name, 'Png': Png }; createResponse() => FormFillSignResponse(); getResponseTypeName() => "FormFillSignResponse"; getTypeName() => "FormOfficeSignRequest"; 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:() => []), 'FormOfficeSignRequest': TypeInfo(TypeOf.Class, create:() => FormOfficeSignRequest()), });