GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata.fromJson constructor

GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata.fromJson(
    core.Map json_)
    : this(
        ancestorIterationNumbers:
            json_.containsKey('ancestorIterationNumbers')
                ? (json_['ancestorIterationNumbers'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        ancestorTaskNumbers: json_.containsKey('ancestorTaskNumbers')
            ? (json_['ancestorTaskNumbers'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        executionAttempt: json_.containsKey('executionAttempt')
            ? json_['executionAttempt'] as core.int
            : null,
        integrationName: json_.containsKey('integrationName')
            ? json_['integrationName'] as core.String
            : null,
        task: json_.containsKey('task') ? json_['task'] as core.String : null,
        taskAttempt: json_.containsKey('taskAttempt')
            ? json_['taskAttempt'] as core.int
            : null,
        taskLabel: json_.containsKey('taskLabel')
            ? json_['taskLabel'] as core.String
            : null,
        taskNumber: json_.containsKey('taskNumber')
            ? json_['taskNumber'] as core.String
            : null,
      );