[ 'id' => (string)$this->id, 'type' => 'shares', 'attributes' => [ 'permission' => $this->permission, 'protected' => $this->protected, 'item_id' => $this->item_id, 'token' => $this->token, 'link' => $this->link, 'type' => $this->type, 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, ] ] ]; } }