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