/* Options: Date: 2026-11-14 02:51:57 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: FormStartersRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FormStarter implements IConvertible { String? TemplateUID; String? Name; String? Noun; String? NumberPrefix; String? Description; String? Pack; String? PackName; bool? IsTenantTemplate; String? PayloadJson; FormStarter({this.TemplateUID,this.Name,this.Noun,this.NumberPrefix,this.Description,this.Pack,this.PackName,this.IsTenantTemplate,this.PayloadJson}); FormStarter.fromJson(Map json) { fromMap(json); } fromMap(Map json) { TemplateUID = json['TemplateUID']; Name = json['Name']; Noun = json['Noun']; NumberPrefix = json['NumberPrefix']; Description = json['Description']; Pack = json['Pack']; PackName = json['PackName']; IsTenantTemplate = json['IsTenantTemplate']; PayloadJson = json['PayloadJson']; return this; } Map toJson() => { 'TemplateUID': TemplateUID, 'Name': Name, 'Noun': Noun, 'NumberPrefix': NumberPrefix, 'Description': Description, 'Pack': Pack, 'PackName': PackName, 'IsTenantTemplate': IsTenantTemplate, 'PayloadJson': PayloadJson }; getTypeName() => "FormStarter"; TypeContext? context = _ctx; } class FormStartersResponse implements IConvertible { List? Starters = []; ResponseStatus? ResponseStatus; FormStartersResponse({this.Starters,this.ResponseStatus}); FormStartersResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Starters = JsonConverters.fromJson(json['Starters'],'List',context!); ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Starters': JsonConverters.toJson(Starters,'List',context!), 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormStartersResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/starters", "GET") class FormStartersRequest implements IReturn, IConvertible, IGet { FormStartersRequest(); FormStartersRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => FormStartersResponse(); getResponseTypeName() => "FormStartersResponse"; getTypeName() => "FormStartersRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormStarter': TypeInfo(TypeOf.Class, create:() => FormStarter()), 'FormStartersResponse': TypeInfo(TypeOf.Class, create:() => FormStartersResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormStartersRequest': TypeInfo(TypeOf.Class, create:() => FormStartersRequest()), });