/* Options: Date: 2026-11-23 14:27:25 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: FormOfficeSignLinkRequest.* //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 FormFillSaveResponse implements IConvertible { bool? Saved; int? Rev; List? Errors = []; ResponseStatus? ResponseStatus; FormFillSaveResponse({this.Saved,this.Rev,this.Errors,this.ResponseStatus}); FormFillSaveResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Saved = json['Saved']; Rev = json['Rev']; Errors = JsonConverters.fromJson(json['Errors'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Saved': Saved, 'Rev': Rev, 'Errors': JsonConverters.toJson(Errors,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormFillSaveResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/office/drafts/{SubmissionUID}/sign/{FieldKey}/link", "POST") class FormOfficeSignLinkRequest implements IReturn, IConvertible, IPost { String? SubmissionUID; String? FieldKey; int? Rev; bool? ByLink; FormOfficeSignLinkRequest({this.SubmissionUID,this.FieldKey,this.Rev,this.ByLink}); FormOfficeSignLinkRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; FieldKey = json['FieldKey']; Rev = json['Rev']; ByLink = json['ByLink']; return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'FieldKey': FieldKey, 'Rev': Rev, 'ByLink': ByLink }; createResponse() => FormFillSaveResponse(); getResponseTypeName() => "FormFillSaveResponse"; getTypeName() => "FormOfficeSignLinkRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormFillFieldError': TypeInfo(TypeOf.Class, create:() => FormFillFieldError()), 'FormFillSaveResponse': TypeInfo(TypeOf.Class, create:() => FormFillSaveResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormOfficeSignLinkRequest': TypeInfo(TypeOf.Class, create:() => FormOfficeSignLinkRequest()), });