public function addToLifts(\Api\StructType\ApiLift $item)
{
// validation for constraint: itemType
if (!$item instanceof \Api\StructType\ApiLift) {
throw new \InvalidArgumentException(sprintf('The lifts property can only contain items of \\Api\\StructType\\ApiLift, "%s" given', is_object($item) ? get_class($item) : gettype($item)), __LINE__);
}
$this->lifts[] = $item;
return $this;
}