GoogleCloudAiplatformV1ExplanationMetadataInputMetadata.fromJson constructor

GoogleCloudAiplatformV1ExplanationMetadataInputMetadata.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1ExplanationMetadataInputMetadata.fromJson(
    core.Map json_)
    : this(
        denseShapeTensorName: json_.containsKey('denseShapeTensorName')
            ? json_['denseShapeTensorName'] as core.String
            : null,
        encodedBaselines: json_.containsKey('encodedBaselines')
            ? json_['encodedBaselines'] as core.List
            : null,
        encodedTensorName: json_.containsKey('encodedTensorName')
            ? json_['encodedTensorName'] as core.String
            : null,
        encoding: json_.containsKey('encoding')
            ? json_['encoding'] as core.String
            : null,
        featureValueDomain: json_.containsKey('featureValueDomain')
            ? GoogleCloudAiplatformV1ExplanationMetadataInputMetadataFeatureValueDomain
                .fromJson(json_['featureValueDomain']
                    as core.Map<core.String, core.dynamic>)
            : null,
        groupName: json_.containsKey('groupName')
            ? json_['groupName'] as core.String
            : null,
        indexFeatureMapping: json_.containsKey('indexFeatureMapping')
            ? (json_['indexFeatureMapping'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        indicesTensorName: json_.containsKey('indicesTensorName')
            ? json_['indicesTensorName'] as core.String
            : null,
        inputBaselines: json_.containsKey('inputBaselines')
            ? json_['inputBaselines'] as core.List
            : null,
        inputTensorName: json_.containsKey('inputTensorName')
            ? json_['inputTensorName'] as core.String
            : null,
        modality: json_.containsKey('modality')
            ? json_['modality'] as core.String
            : null,
        visualization: json_.containsKey('visualization')
            ? GoogleCloudAiplatformV1ExplanationMetadataInputMetadataVisualization
                .fromJson(json_['visualization']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );