/* Options: Date: 2026-11-25 14:19:56 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: FormServiceLinkSetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormServiceLinkView implements IConvertible { String? LineId; String? ServiceName; String? BranchName; bool? SendsQuestionnaire; String? FormUID; String? FormName; bool? Mine; bool? Live; String? Note; FormServiceLinkView({this.LineId,this.ServiceName,this.BranchName,this.SendsQuestionnaire,this.FormUID,this.FormName,this.Mine,this.Live,this.Note}); FormServiceLinkView.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LineId = json['LineId']; ServiceName = json['ServiceName']; BranchName = json['BranchName']; SendsQuestionnaire = json['SendsQuestionnaire']; FormUID = json['FormUID']; FormName = json['FormName']; Mine = json['Mine']; Live = json['Live']; Note = json['Note']; return this; } Map toJson() => { 'LineId': LineId, 'ServiceName': ServiceName, 'BranchName': BranchName, 'SendsQuestionnaire': SendsQuestionnaire, 'FormUID': FormUID, 'FormName': FormName, 'Mine': Mine, 'Live': Live, 'Note': Note }; getTypeName() => "FormServiceLinkView"; TypeContext? context = _ctx; } class FormServiceLinkForm implements IConvertible { String? FormUID; String? Name; FormServiceLinkForm({this.FormUID,this.Name}); FormServiceLinkForm.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; Name = json['Name']; return this; } Map toJson() => { 'FormUID': FormUID, 'Name': Name }; getTypeName() => "FormServiceLinkForm"; TypeContext? context = _ctx; } class FormServiceLinksResponse implements IConvertible { List? Services = []; List? Forms = []; String? Sentence; ResponseStatus? ResponseStatus; FormServiceLinksResponse({this.Services,this.Forms,this.Sentence,this.ResponseStatus}); FormServiceLinksResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Services = JsonConverters.fromJson(json['Services'],'List',context!); Forms = JsonConverters.fromJson(json['Forms'],'List',context!); Sentence = json['Sentence']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'Services': JsonConverters.toJson(Services,'List',context!), 'Forms': JsonConverters.toJson(Forms,'List',context!), 'Sentence': Sentence, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormServiceLinksResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/service-links/{LineId}", "PUT") class FormServiceLinkSetRequest implements IReturn, IConvertible, IPut { String? LineId; String? FormUID; String? ForFormUID; FormServiceLinkSetRequest({this.LineId,this.FormUID,this.ForFormUID}); FormServiceLinkSetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { LineId = json['LineId']; FormUID = json['FormUID']; ForFormUID = json['ForFormUID']; return this; } Map toJson() => { 'LineId': LineId, 'FormUID': FormUID, 'ForFormUID': ForFormUID }; createResponse() => FormServiceLinksResponse(); getResponseTypeName() => "FormServiceLinksResponse"; getTypeName() => "FormServiceLinkSetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormServiceLinkView': TypeInfo(TypeOf.Class, create:() => FormServiceLinkView()), 'FormServiceLinkForm': TypeInfo(TypeOf.Class, create:() => FormServiceLinkForm()), 'FormServiceLinksResponse': TypeInfo(TypeOf.Class, create:() => FormServiceLinksResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormServiceLinkSetRequest': TypeInfo(TypeOf.Class, create:() => FormServiceLinkSetRequest()), });