GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson constructor

GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaTriggerConfig.fromJson(core.Map json_)
  : this(
      alertConfig:
          (json_['alertConfig'] as core.List?)
              ?.map(
                (value) =>
                    GoogleCloudIntegrationsV1alphaIntegrationAlertConfig.fromJson(
                      value as core.Map<core.String, core.dynamic>,
                    ),
              )
              .toList(),
      cloudSchedulerConfig:
          json_.containsKey('cloudSchedulerConfig')
              ? GoogleCloudIntegrationsV1alphaCloudSchedulerConfig.fromJson(
                json_['cloudSchedulerConfig']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      description: json_['description'] as core.String?,
      errorCatcherId: json_['errorCatcherId'] as core.String?,
      inputVariables:
          json_.containsKey('inputVariables')
              ? GoogleCloudIntegrationsV1alphaTriggerConfigVariables.fromJson(
                json_['inputVariables']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      label: json_['label'] as core.String?,
      nextTasksExecutionPolicy:
          json_['nextTasksExecutionPolicy'] as core.String?,
      outputVariables:
          json_.containsKey('outputVariables')
              ? GoogleCloudIntegrationsV1alphaTriggerConfigVariables.fromJson(
                json_['outputVariables']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
      position:
          json_.containsKey('position')
              ? GoogleCloudIntegrationsV1alphaCoordinate.fromJson(
                json_['position'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      properties: (json_['properties']
              as core.Map<core.String, core.dynamic>?)
          ?.map((key, value) => core.MapEntry(key, value as core.String)),
      startTasks:
          (json_['startTasks'] as core.List?)
              ?.map(
                (value) => GoogleCloudIntegrationsV1alphaNextTask.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
              )
              .toList(),
      trigger: json_['trigger'] as core.String?,
      triggerId: json_['triggerId'] as core.String?,
      triggerNumber: json_['triggerNumber'] as core.String?,
      triggerType: json_['triggerType'] as core.String?,
    );