GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation.fromJson constructor

GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendation.fromJson(
    core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        recommendations: json_.containsKey('recommendations')
            ? (json_['recommendations'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1SecurityAssessmentResultScoringResultAssessmentRecommendationRecommendation
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        scoreImpact: json_.containsKey('scoreImpact')
            ? json_['scoreImpact'] as core.int
            : null,
        verdict: json_.containsKey('verdict')
            ? json_['verdict'] as core.String
            : null,
        weight: json_.containsKey('weight')
            ? json_['weight'] as core.String
            : null,
      );