GoogleCloudRecommenderV1Impact.fromJson constructor

GoogleCloudRecommenderV1Impact.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecommenderV1Impact.fromJson(core.Map json_)
    : this(
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        costProjection: json_.containsKey('costProjection')
            ? GoogleCloudRecommenderV1CostProjection.fromJson(
                json_['costProjection']
                    as core.Map<core.String, core.dynamic>)
            : null,
        reliabilityProjection: json_.containsKey('reliabilityProjection')
            ? GoogleCloudRecommenderV1ReliabilityProjection.fromJson(
                json_['reliabilityProjection']
                    as core.Map<core.String, core.dynamic>)
            : null,
        securityProjection: json_.containsKey('securityProjection')
            ? GoogleCloudRecommenderV1SecurityProjection.fromJson(
                json_['securityProjection']
                    as core.Map<core.String, core.dynamic>)
            : null,
        sustainabilityProjection:
            json_.containsKey('sustainabilityProjection')
                ? GoogleCloudRecommenderV1SustainabilityProjection.fromJson(
                    json_['sustainabilityProjection']
                        as core.Map<core.String, core.dynamic>)
                : null,
      );