GoogleCloudApigeeV1ComputeEnvironmentScoresRequest.fromJson constructor

GoogleCloudApigeeV1ComputeEnvironmentScoresRequest.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1ComputeEnvironmentScoresRequest.fromJson(core.Map json_)
    : this(
        filters: json_.containsKey('filters')
            ? (json_['filters'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1ComputeEnvironmentScoresRequestFilter
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        pageSize: json_.containsKey('pageSize')
            ? json_['pageSize'] as core.int
            : null,
        pageToken: json_.containsKey('pageToken')
            ? json_['pageToken'] as core.String
            : null,
        timeRange: json_.containsKey('timeRange')
            ? GoogleTypeInterval.fromJson(
                json_['timeRange'] as core.Map<core.String, core.dynamic>)
            : null,
      );