GoogleCloudApigeeV1SecurityReportQuery.fromJson constructor

GoogleCloudApigeeV1SecurityReportQuery.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1SecurityReportQuery.fromJson(core.Map json_)
    : this(
        csvDelimiter: json_.containsKey('csvDelimiter')
            ? json_['csvDelimiter'] as core.String
            : null,
        dimensions: json_.containsKey('dimensions')
            ? (json_['dimensions'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        envgroupHostname: json_.containsKey('envgroupHostname')
            ? json_['envgroupHostname'] as core.String
            : null,
        filter: json_.containsKey('filter')
            ? json_['filter'] as core.String
            : null,
        groupByTimeUnit: json_.containsKey('groupByTimeUnit')
            ? json_['groupByTimeUnit'] as core.String
            : null,
        limit: json_.containsKey('limit') ? json_['limit'] as core.int : null,
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) =>
                    GoogleCloudApigeeV1SecurityReportQueryMetric.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
        reportDefinitionId: json_.containsKey('reportDefinitionId')
            ? json_['reportDefinitionId'] as core.String
            : null,
        timeRange: json_.containsKey('timeRange') ? json_['timeRange'] : null,
      );