GoogleCloudApigeeV1QueryTabularStatsRequest.fromJson constructor

GoogleCloudApigeeV1QueryTabularStatsRequest.fromJson(
  1. Map json_
)

Implementation

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