toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'chartType': ?chartType,
    'comments': ?comments,
    'dimensions': ?dimensions,
    'displayName': ?displayName,
    'filter': ?filter,
    'fromTime': ?fromTime,
    'limit': ?limit,
    'metrics': pulumi.Input.mapInputValue<List<GoogleCloudApigeeV1CustomReportMetric>, List<Map<String, dynamic>>>(metrics, (value) => pulumi.Input.encodeList<GoogleCloudApigeeV1CustomReportMetric, Map<String, dynamic>>(value, (value) => value.toMap())),
    'name': ?name,
    'offset': ?offset,
    'organizationId': organizationId,
    'properties': ?pulumi.Input.mapOptionalInputValue<List<GoogleCloudApigeeV1ReportProperty>, List<Map<String, dynamic>>>(properties, (value) => pulumi.Input.encodeList<GoogleCloudApigeeV1ReportProperty, Map<String, dynamic>>(value, (value) => value.toMap())),
    'sortByCols': ?sortByCols,
    'sortOrder': ?sortOrder,
    'tags': ?tags,
    'timeUnit': ?timeUnit,
    'toTime': ?toTime,
    'topk': ?topk,
  };
}