GoogleCloudApigeeV1OptimizedStatsResponse.fromJson constructor

GoogleCloudApigeeV1OptimizedStatsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1OptimizedStatsResponse.fromJson(core.Map json_)
    : this(
        TimeUnit: json_.containsKey('TimeUnit')
            ? (json_['TimeUnit'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        metaData: json_.containsKey('metaData')
            ? GoogleCloudApigeeV1Metadata.fromJson(
                json_['metaData'] as core.Map<core.String, core.dynamic>)
            : null,
        resultTruncated: json_.containsKey('resultTruncated')
            ? json_['resultTruncated'] as core.bool
            : null,
        stats: json_.containsKey('stats')
            ? GoogleCloudApigeeV1OptimizedStatsNode.fromJson(
                json_['stats'] as core.Map<core.String, core.dynamic>)
            : null,
      );