core.Map<core.String, core.dynamic> toJson() => { if (capacityCommitmentIds != null) 'capacityCommitmentIds': capacityCommitmentIds!, };