/* Options: Date: 2025-05-04 22:28:50 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetValueSourceFieldValues.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class FieldValue implements IConvertible { String? displayName; String? value; FieldValue({this.displayName,this.value}); FieldValue.fromJson(Map json) { fromMap(json); } fromMap(Map json) { displayName = json['displayName']; value = json['value']; return this; } Map toJson() => { 'displayName': displayName, 'value': value }; getTypeName() => "FieldValue"; TypeContext? context = _ctx; } class GetValuesResponse implements IConvertible { List? fieldValues; GetValuesResponse({this.fieldValues}); GetValuesResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { fieldValues = JsonConverters.fromJson(json['fieldValues'],'List',context!); return this; } Map toJson() => { 'fieldValues': JsonConverters.toJson(fieldValues,'List',context!) }; getTypeName() => "GetValuesResponse"; TypeContext? context = _ctx; } /** * Get the values for value source (used in SetXXX nodes) */ // @Route("/values/value-sources", "GET") // @Api(Description="Get the values for value source (used in SetXXX nodes)") class GetValueSourceFieldValues implements IReturn, IConvertible, IGet { String? accountId; String? param; GetValueSourceFieldValues({this.accountId,this.param}); GetValueSourceFieldValues.fromJson(Map json) { fromMap(json); } fromMap(Map json) { accountId = json['accountId']; param = json['param']; return this; } Map toJson() => { 'accountId': accountId, 'param': param }; createResponse() => GetValuesResponse(); getResponseTypeName() => "GetValuesResponse"; getTypeName() => "GetValueSourceFieldValues"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'team.evovoice.io', types: { 'FieldValue': TypeInfo(TypeOf.Class, create:() => FieldValue()), 'GetValuesResponse': TypeInfo(TypeOf.Class, create:() => GetValuesResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetValueSourceFieldValues': TypeInfo(TypeOf.Class, create:() => GetValueSourceFieldValues()), });