toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'chartType': chartType,
    'comments': comments,
    'createdAt': createdAt,
    'dimensions': dimensions,
    'displayName': displayName,
    'environment': environment,
    'filter': filter,
    'fromTime': fromTime,
    'lastModifiedAt': lastModifiedAt,
    'lastViewedAt': lastViewedAt,
    'limit': limit,
    'metrics': pulumi.Input.encodeList<GoogleCloudApigeeV1CustomReportMetricResponse, Map<String, dynamic>>(metrics, (value) => value.toMap()),
    'name': name,
    'offset': offset,
    'organization': organization,
    'properties': pulumi.Input.encodeList<GoogleCloudApigeeV1ReportPropertyResponse, Map<String, dynamic>>(properties, (value) => value.toMap()),
    'sortByCols': sortByCols,
    'sortOrder': sortOrder,
    'tags': tags,
    'timeUnit': timeUnit,
    'toTime': toTime,
    'topk': topk,
  };
}