/* Options: Date: 2026-11-23 14:34: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: FormOfficeDraftRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormOfficeDraftResponse implements IConvertible { String? SubmissionUID; String? FormUID; String? FormName; String? AppJson; String? AnswersJson; int? Page; int? Rev; String? TenantName; String? Today; String? ForName; String? BranchName; String? FilledByName; String? SignedInName; bool? ContactLinked; String? Outcome; String? OutcomeWaiting; ResponseStatus? ResponseStatus; FormOfficeDraftResponse({this.SubmissionUID,this.FormUID,this.FormName,this.AppJson,this.AnswersJson,this.Page,this.Rev,this.TenantName,this.Today,this.ForName,this.BranchName,this.FilledByName,this.SignedInName,this.ContactLinked,this.Outcome,this.OutcomeWaiting,this.ResponseStatus}); FormOfficeDraftResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; FormUID = json['FormUID']; FormName = json['FormName']; AppJson = json['AppJson']; AnswersJson = json['AnswersJson']; Page = json['Page']; Rev = json['Rev']; TenantName = json['TenantName']; Today = json['Today']; ForName = json['ForName']; BranchName = json['BranchName']; FilledByName = json['FilledByName']; SignedInName = json['SignedInName']; ContactLinked = json['ContactLinked']; Outcome = json['Outcome']; OutcomeWaiting = json['OutcomeWaiting']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'FormUID': FormUID, 'FormName': FormName, 'AppJson': AppJson, 'AnswersJson': AnswersJson, 'Page': Page, 'Rev': Rev, 'TenantName': TenantName, 'Today': Today, 'ForName': ForName, 'BranchName': BranchName, 'FilledByName': FilledByName, 'SignedInName': SignedInName, 'ContactLinked': ContactLinked, 'Outcome': Outcome, 'OutcomeWaiting': OutcomeWaiting, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormOfficeDraftResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/office/drafts/{SubmissionUID}", "GET,PUT,DELETE,OPTIONS") class FormOfficeDraftRequest implements IReturn, IConvertible, IGet { String? SubmissionUID; String? AnswersJson; int? Page; int? Rev; FormOfficeDraftRequest({this.SubmissionUID,this.AnswersJson,this.Page,this.Rev}); FormOfficeDraftRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; AnswersJson = json['AnswersJson']; Page = json['Page']; Rev = json['Rev']; return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'AnswersJson': AnswersJson, 'Page': Page, 'Rev': Rev }; createResponse() => FormOfficeDraftResponse(); getResponseTypeName() => "FormOfficeDraftResponse"; getTypeName() => "FormOfficeDraftRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormOfficeDraftResponse': TypeInfo(TypeOf.Class, create:() => FormOfficeDraftResponse()), 'FormOfficeDraftRequest': TypeInfo(TypeOf.Class, create:() => FormOfficeDraftRequest()), });