GoogleCloudApigeeV1ScoreComponent.fromJson constructor

GoogleCloudApigeeV1ScoreComponent.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ScoreComponent.fromJson(core.Map json_)
    : this(
        calculateTime: json_.containsKey('calculateTime')
            ? json_['calculateTime'] as core.String
            : null,
        dataCaptureTime: json_.containsKey('dataCaptureTime')
            ? json_['dataCaptureTime'] as core.String
            : null,
        drilldownPaths: json_.containsKey('drilldownPaths')
            ? (json_['drilldownPaths'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        recommendations: json_.containsKey('recommendations')
            ? (json_['recommendations'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1ScoreComponentRecommendation.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        score: json_.containsKey('score') ? json_['score'] as core.int : null,
        scorePath: json_.containsKey('scorePath')
            ? json_['scorePath'] as core.String
            : null,
      );