GoogleCloudDatacatalogLineageV1LineageLink.fromJson constructor

GoogleCloudDatacatalogLineageV1LineageLink.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatacatalogLineageV1LineageLink.fromJson(core.Map json_)
  : this(
      dependencyInfo: (json_['dependencyInfo'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDatacatalogLineageV1LineageLinkDependencyInfo.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      depth: json_['depth'] as core.int?,
      location: json_['location'] as core.String?,
      processes: (json_['processes'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudDatacatalogLineageV1LineageLinkLineageProcess.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      source: json_.containsKey('source')
          ? GoogleCloudDatacatalogLineageV1EntityReference.fromJson(
              json_['source'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      target: json_.containsKey('target')
          ? GoogleCloudDatacatalogLineageV1EntityReference.fromJson(
              json_['target'] as core.Map<core.String, core.dynamic>,
            )
          : null,
    );