GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship.fromJson constructor

GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDataplexV1DataDocumentationResultSchemaRelationship.fromJson(
  core.Map json_,
) : this(
      leftSchemaPaths: json_.containsKey('leftSchemaPaths')
          ? GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths.fromJson(
              json_['leftSchemaPaths'] as core.Map<core.String, core.dynamic>,
            )
          : null,
      rightSchemaPaths: json_.containsKey('rightSchemaPaths')
          ? GoogleCloudDataplexV1DataDocumentationResultSchemaRelationshipSchemaPaths.fromJson(
              json_['rightSchemaPaths']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
      sources: (json_['sources'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      type: json_['type'] as core.String?,
    );