GoogleCloudIntegrationsV1alphaExecutionSnapshot.fromJson constructor

GoogleCloudIntegrationsV1alphaExecutionSnapshot.fromJson(
  1. Map json_
)

Implementation

GoogleCloudIntegrationsV1alphaExecutionSnapshot.fromJson(core.Map json_)
    : this(
        checkpointTaskNumber: json_.containsKey('checkpointTaskNumber')
            ? json_['checkpointTaskNumber'] as core.String
            : null,
        executionSnapshotMetadata: json_
                .containsKey('executionSnapshotMetadata')
            ? GoogleCloudIntegrationsV1alphaExecutionSnapshotExecutionSnapshotMetadata
                .fromJson(json_['executionSnapshotMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        params: json_.containsKey('params')
            ? (json_['params'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  GoogleCloudIntegrationsV1alphaValueType.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        taskExecutionDetails: json_.containsKey('taskExecutionDetails')
            ? (json_['taskExecutionDetails'] as core.List)
                .map((value) =>
                    GoogleCloudIntegrationsV1alphaTaskExecutionDetails
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );