GoogleCloudApigeeV1CustomReport.fromJson constructor

GoogleCloudApigeeV1CustomReport.fromJson(
  1. Map json_
)

Implementation

GoogleCloudApigeeV1CustomReport.fromJson(core.Map json_)
  : this(
      chartType: json_['chartType'] as core.String?,
      comments: (json_['comments'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      createdAt: json_['createdAt'] as core.String?,
      dimensions: (json_['dimensions'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      displayName: json_['displayName'] as core.String?,
      environment: json_['environment'] as core.String?,
      filter: json_['filter'] as core.String?,
      fromTime: json_['fromTime'] as core.String?,
      lastModifiedAt: json_['lastModifiedAt'] as core.String?,
      lastViewedAt: json_['lastViewedAt'] as core.String?,
      limit: json_['limit'] as core.String?,
      metrics: (json_['metrics'] as core.List?)
          ?.map(
            (value) => GoogleCloudApigeeV1CustomReportMetric.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      name: json_['name'] as core.String?,
      offset: json_['offset'] as core.String?,
      organization: json_['organization'] as core.String?,
      properties: (json_['properties'] as core.List?)
          ?.map(
            (value) => GoogleCloudApigeeV1ReportProperty.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      sortByCols: (json_['sortByCols'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      sortOrder: json_['sortOrder'] as core.String?,
      tags: (json_['tags'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      timeUnit: json_['timeUnit'] as core.String?,
      toTime: json_['toTime'] as core.String?,
      topk: json_['topk'] as core.String?,
    );