toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return <String, dynamic>{
    'autoRenew': autoRenew,
    'category': category,
    'creationTimestamp': creationTimestamp,
    'description': description,
    'endTimestamp': endTimestamp,
    'kind': kind,
    'licenseResource': licenseResource.toMap(),
    'mergeSourceCommitments': mergeSourceCommitments,
    'name': name,
    'plan': plan,
    'region': region,
    'reservations': pulumi.Input.encodeList<ReservationResponseComputeV1, Map<String, dynamic>>(reservations, (value) => value.toMap()),
    'resources': pulumi.Input.encodeList<ResourceCommitmentResponseComputeV1, Map<String, dynamic>>(resources, (value) => value.toMap()),
    'selfLink': selfLink,
    'splitSourceCommitment': splitSourceCommitment,
    'startTimestamp': startTimestamp,
    'status': status,
    'statusMessage': statusMessage,
    'type': type,
  };
}