GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson constructor
GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson(
- Map json_
Implementation
GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson(core.Map json_)
: this(
alertConfig: json_.containsKey('alertConfig')
? (json_['alertConfig'] as core.List)
.map((value) =>
GoogleCloudIntegrationsV1alphaIntegrationAlertConfig
.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
cloudSchedulerConfig: json_.containsKey('cloudSchedulerConfig')
? GoogleCloudIntegrationsV1alphaCloudSchedulerConfig.fromJson(
json_['cloudSchedulerConfig']
as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: 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,
position: json_.containsKey('position')
? GoogleCloudIntegrationsV1alphaCoordinate.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) =>
GoogleCloudIntegrationsV1alphaNextTask.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
trigger: json_.containsKey('trigger')
? json_['trigger'] as core.String
: null,
triggerId: json_.containsKey('triggerId')
? json_['triggerId'] as core.String
: null,
triggerNumber: json_.containsKey('triggerNumber')
? json_['triggerNumber'] as core.String
: null,
triggerType: json_.containsKey('triggerType')
? json_['triggerType'] as core.String
: null,
);