EnterpriseCrmFrontendsEventbusProtoTriggerConfig.fromJson constructor
EnterpriseCrmFrontendsEventbusProtoTriggerConfig.fromJson(
- Map json_
Implementation
EnterpriseCrmFrontendsEventbusProtoTriggerConfig.fromJson(core.Map json_)
: this(
alertConfig: json_.containsKey('alertConfig')
? (json_['alertConfig'] as core.List)
.map((value) =>
EnterpriseCrmEventbusProtoWorkflowAlertConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
cloudSchedulerConfig: json_.containsKey('cloudSchedulerConfig')
? EnterpriseCrmEventbusProtoCloudSchedulerConfig.fromJson(
json_['cloudSchedulerConfig']
as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
enabledClients: json_.containsKey('enabledClients')
? (json_['enabledClients'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
errorCatcherId: json_.containsKey('errorCatcherId')
? json_['errorCatcherId'] as core.String
: null,
label:
json_.containsKey('label') ? json_['label'] as core.String : null,
nextTasksExecutionPolicy:
json_.containsKey('nextTasksExecutionPolicy')
? json_['nextTasksExecutionPolicy'] as core.String
: null,
pauseWorkflowExecutions: json_.containsKey('pauseWorkflowExecutions')
? json_['pauseWorkflowExecutions'] as core.bool
: null,
position: json_.containsKey('position')
? EnterpriseCrmEventbusProtoCoordinate.fromJson(
json_['position'] as core.Map<core.String, core.dynamic>)
: null,
properties: json_.containsKey('properties')
? (json_['properties'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
startTasks: json_.containsKey('startTasks')
? (json_['startTasks'] as core.List)
.map((value) => EnterpriseCrmEventbusProtoNextTask.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
triggerCriteria: json_.containsKey('triggerCriteria')
? EnterpriseCrmEventbusProtoTriggerCriteria.fromJson(
json_['triggerCriteria']
as core.Map<core.String, core.dynamic>)
: null,
triggerId: json_.containsKey('triggerId')
? json_['triggerId'] as core.String
: null,
triggerName: json_.containsKey('triggerName')
? json_['triggerName'] as core.String
: null,
triggerNumber: json_.containsKey('triggerNumber')
? json_['triggerNumber'] as core.String
: null,
triggerType: json_.containsKey('triggerType')
? json_['triggerType'] as core.String
: null,
);