/* Options: Date: 2026-11-24 11:40:12 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: FormContactPanelRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FormContactPanelSub implements IConvertible { String? SubmissionUID; String? Number; String? FormName; String? Stage; String? Tone; String? SubmittedAt; String? BranchName; FormContactPanelSub({this.SubmissionUID,this.Number,this.FormName,this.Stage,this.Tone,this.SubmittedAt,this.BranchName}); FormContactPanelSub.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; Number = json['Number']; FormName = json['FormName']; Stage = json['Stage']; Tone = json['Tone']; SubmittedAt = json['SubmittedAt']; BranchName = json['BranchName']; return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'Number': Number, 'FormName': FormName, 'Stage': Stage, 'Tone': Tone, 'SubmittedAt': SubmittedAt, 'BranchName': BranchName }; getTypeName() => "FormContactPanelSub"; TypeContext? context = _ctx; } class FormOfficeDraftRow implements IConvertible { String? SubmissionUID; String? FormUID; String? FormName; String? ForName; String? BranchName; int? ContactId; int? Page; int? Pages; String? SavedBy; String? SavedAt; FormOfficeDraftRow({this.SubmissionUID,this.FormUID,this.FormName,this.ForName,this.BranchName,this.ContactId,this.Page,this.Pages,this.SavedBy,this.SavedAt}); FormOfficeDraftRow.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SubmissionUID = json['SubmissionUID']; FormUID = json['FormUID']; FormName = json['FormName']; ForName = json['ForName']; BranchName = json['BranchName']; ContactId = json['ContactId']; Page = json['Page']; Pages = json['Pages']; SavedBy = json['SavedBy']; SavedAt = json['SavedAt']; return this; } Map toJson() => { 'SubmissionUID': SubmissionUID, 'FormUID': FormUID, 'FormName': FormName, 'ForName': ForName, 'BranchName': BranchName, 'ContactId': ContactId, 'Page': Page, 'Pages': Pages, 'SavedBy': SavedBy, 'SavedAt': SavedAt }; getTypeName() => "FormOfficeDraftRow"; TypeContext? context = _ctx; } class FormOfficeApp implements IConvertible { String? FormUID; String? Name; String? Noun; String? DefaultBranchId; bool? IsRecord; String? RoleName; FormOfficeApp({this.FormUID,this.Name,this.Noun,this.DefaultBranchId,this.IsRecord,this.RoleName}); FormOfficeApp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; Name = json['Name']; Noun = json['Noun']; DefaultBranchId = json['DefaultBranchId']; IsRecord = json['IsRecord']; RoleName = json['RoleName']; return this; } Map toJson() => { 'FormUID': FormUID, 'Name': Name, 'Noun': Noun, 'DefaultBranchId': DefaultBranchId, 'IsRecord': IsRecord, 'RoleName': RoleName }; getTypeName() => "FormOfficeApp"; TypeContext? context = _ctx; } class FormContactPanelResponse implements IConvertible { List? Subs = []; List? Drafts = []; List? Forms = []; bool? CanStart; String? ContactName; ResponseStatus? ResponseStatus; FormContactPanelResponse({this.Subs,this.Drafts,this.Forms,this.CanStart,this.ContactName,this.ResponseStatus}); FormContactPanelResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Subs = JsonConverters.fromJson(json['Subs'],'List',context!); Drafts = JsonConverters.fromJson(json['Drafts'],'List',context!); Forms = JsonConverters.fromJson(json['Forms'],'List',context!); CanStart = json['CanStart']; ContactName = json['ContactName']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Subs': JsonConverters.toJson(Subs,'List',context!), 'Drafts': JsonConverters.toJson(Drafts,'List',context!), 'Forms': JsonConverters.toJson(Forms,'List',context!), 'CanStart': CanStart, 'ContactName': ContactName, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormContactPanelResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/contacts/{ContactId}", "GET") class FormContactPanelRequest implements IReturn, IConvertible, IGet { int? ContactId; FormContactPanelRequest({this.ContactId}); FormContactPanelRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ContactId = json['ContactId']; return this; } Map toJson() => { 'ContactId': ContactId }; createResponse() => FormContactPanelResponse(); getResponseTypeName() => "FormContactPanelResponse"; getTypeName() => "FormContactPanelRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormContactPanelSub': TypeInfo(TypeOf.Class, create:() => FormContactPanelSub()), 'FormOfficeDraftRow': TypeInfo(TypeOf.Class, create:() => FormOfficeDraftRow()), 'FormOfficeApp': TypeInfo(TypeOf.Class, create:() => FormOfficeApp()), 'FormContactPanelResponse': TypeInfo(TypeOf.Class, create:() => FormContactPanelResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormContactPanelRequest': TypeInfo(TypeOf.Class, create:() => FormContactPanelRequest()), });