id; } /** * Get the created href * * @return string */ public function getHref() { return $this->href; } /** * Get the date and time the resource was created * * @return string */ public function getCreatedDatetime() { return $this->createdDatetime; } /** * @param $object * * @return $this|void */ public function loadFromArray ($object) { parent::loadFromArray($object); if (!empty($this->recipients->items)) { foreach($this->recipients->items AS &$item) { $Recipient = new Recipient(); $Recipient->loadFromArray($item); $item = $Recipient; } } return $this; } }