/* Options: Date: 2026-11-26 15:42:01 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: FormKioskBranchSetRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class FormKioskBranchApp implements IConvertible { String? FormUID; String? Name; String? Noun; bool? Shown; bool? Offered; FormKioskBranchApp({this.FormUID,this.Name,this.Noun,this.Shown,this.Offered}); FormKioskBranchApp.fromJson(Map json) { fromMap(json); } fromMap(Map json) { FormUID = json['FormUID']; Name = json['Name']; Noun = json['Noun']; Shown = json['Shown']; Offered = json['Offered']; return this; } Map toJson() => { 'FormUID': FormUID, 'Name': Name, 'Noun': Noun, 'Shown': Shown, 'Offered': Offered }; getTypeName() => "FormKioskBranchApp"; TypeContext? context = _ctx; } class FormKioskBranchName implements IConvertible { String? BranchId; String? Name; FormKioskBranchName({this.BranchId,this.Name}); FormKioskBranchName.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchId = json['BranchId']; Name = json['Name']; return this; } Map toJson() => { 'BranchId': BranchId, 'Name': Name }; getTypeName() => "FormKioskBranchName"; TypeContext? context = _ctx; } class FormKioskBranchesResponse implements IConvertible { String? BranchName; List? Apps = []; int? NotOffered; List? Branches = []; int? Count; String? Sentence; ResponseStatus? ResponseStatus; FormKioskBranchesResponse({this.BranchName,this.Apps,this.NotOffered,this.Branches,this.Count,this.Sentence,this.ResponseStatus}); FormKioskBranchesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchName = json['BranchName']; Apps = JsonConverters.fromJson(json['Apps'],'List',context!); NotOffered = json['NotOffered']; Branches = JsonConverters.fromJson(json['Branches'],'List',context!); Count = json['Count']; Sentence = json['Sentence']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'BranchName': BranchName, 'Apps': JsonConverters.toJson(Apps,'List',context!), 'NotOffered': NotOffered, 'Branches': JsonConverters.toJson(Branches,'List',context!), 'Count': Count, 'Sentence': Sentence, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "FormKioskBranchesResponse"; TypeContext? context = _ctx; } // @Route("/v1/forms/kiosk-branches/{BranchId}", "PUT") class FormKioskBranchSetRequest implements IReturn, IConvertible, IPut { String? BranchId; String? FormUID; bool? Show; FormKioskBranchSetRequest({this.BranchId,this.FormUID,this.Show}); FormKioskBranchSetRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BranchId = json['BranchId']; FormUID = json['FormUID']; Show = json['Show']; return this; } Map toJson() => { 'BranchId': BranchId, 'FormUID': FormUID, 'Show': Show }; createResponse() => FormKioskBranchesResponse(); getResponseTypeName() => "FormKioskBranchesResponse"; getTypeName() => "FormKioskBranchSetRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.dev.dynamics.trendsic.com', types: { 'FormKioskBranchApp': TypeInfo(TypeOf.Class, create:() => FormKioskBranchApp()), 'FormKioskBranchName': TypeInfo(TypeOf.Class, create:() => FormKioskBranchName()), 'FormKioskBranchesResponse': TypeInfo(TypeOf.Class, create:() => FormKioskBranchesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), 'FormKioskBranchSetRequest': TypeInfo(TypeOf.Class, create:() => FormKioskBranchSetRequest()), });