/* Options: Date: 2026-11-23 14:43:04 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: FormOfficeOfferedRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormInboxCount implements IConvertible { String? V; String? L; int? N; FormInboxCount({this.V,this.L,this.N}); FormInboxCount.fromJson(Map json) { fromMap(json); } fromMap(Map json) { V = json['V']; L = json['L']; N = json['N']; return this; } Map toJson() => { 'V': V, 'L': L, 'N': N }; getTypeName() => "FormInboxCount"; TypeContext? context = _ctx; } class FormOfficeApp implements IConvertible { String? FormUID; String? Name; String? Noun; String? DefaultBranchId; FormOfficeApp({this.FormUID,this.Name,this.Noun,this.DefaultBranchId}); FormOfficeApp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; Name = json['Name']; Noun = json['Noun']; DefaultBranchId = json['DefaultBranchId']; return this; } Map toJson() => { 'FormUID': FormUID, 'Name': Name, 'Noun': Noun, 'DefaultBranchId': DefaultBranchId }; getTypeName() => "FormOfficeApp"; 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 FormOfficeOfferedResponse implements IConvertible { List? Apps = []; List? Branches = []; List? Drafts = []; bool? CanSearchContacts; ResponseStatus? ResponseStatus; FormOfficeOfferedResponse({this.Apps,this.Branches,this.Drafts,this.CanSearchContacts,this.ResponseStatus}); FormOfficeOfferedResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Apps = JsonConverters.fromJson(json['Apps'],'List',context!); Branches = JsonConverters.fromJson(json['Branches'],'List',context!); Drafts = JsonConverters.fromJson(json['Drafts'],'List',context!); CanSearchContacts = json['CanSearchContacts']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Apps': JsonConverters.toJson(Apps,'List',context!), 'Branches': JsonConverters.toJson(Branches,'List',context!), 'Drafts': JsonConverters.toJson(Drafts,'List',context!), 'CanSearchContacts': CanSearchContacts, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormOfficeOfferedResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/office", "GET,OPTIONS") class FormOfficeOfferedRequest implements IReturn, IConvertible, IGet { String? FormUID; FormOfficeOfferedRequest({this.FormUID}); FormOfficeOfferedRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; return this; } Map toJson() => { 'FormUID': FormUID }; createResponse() => FormOfficeOfferedResponse(); getResponseTypeName() => "FormOfficeOfferedResponse"; getTypeName() => "FormOfficeOfferedRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormInboxCount': TypeInfo(TypeOf.Class, create:() => FormInboxCount()), 'FormOfficeApp': TypeInfo(TypeOf.Class, create:() => FormOfficeApp()), 'FormOfficeDraftRow': TypeInfo(TypeOf.Class, create:() => FormOfficeDraftRow()), 'FormOfficeOfferedResponse': TypeInfo(TypeOf.Class, create:() => FormOfficeOfferedResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormOfficeOfferedRequest': TypeInfo(TypeOf.Class, create:() => FormOfficeOfferedRequest()), });