GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.fromJson constructor

GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1BatchComputeSecurityAssessmentResultsResponse.fromJson(
    core.Map json_)
    : this(
        assessmentTime: json_.containsKey('assessmentTime')
            ? json_['assessmentTime'] as core.String
            : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        securityAssessmentResults:
            json_.containsKey('securityAssessmentResults')
                ? (json_['securityAssessmentResults'] as core.List)
                    .map((value) =>
                        GoogleCloudApigeeV1SecurityAssessmentResult.fromJson(
                            value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );