83 lines
1.3 KiB
PHP
83 lines
1.3 KiB
PHP
<?php
|
|
namespace alphayax\freebox\api\v3\models\Call;
|
|
use alphayax\freebox\utils\Model;
|
|
|
|
/**
|
|
* Class ContactUrl
|
|
* @package alphayax\freebox\api\v3\models\Call
|
|
*/
|
|
class ContactUrl extends Model {
|
|
|
|
/** @var int : address id */
|
|
protected $id;
|
|
|
|
/** @var int : id of the related contact */
|
|
protected $contact_id;
|
|
|
|
/**
|
|
* @var string : Type of URL
|
|
* @see ContactUrlType
|
|
*/
|
|
protected $type;
|
|
|
|
/** @var string : URL address */
|
|
protected $url;
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getId() {
|
|
return $this->id;
|
|
}
|
|
|
|
/**
|
|
* @param int $id
|
|
*/
|
|
public function setId( $id) {
|
|
$this->id = $id;
|
|
}
|
|
|
|
/**
|
|
* @return int
|
|
*/
|
|
public function getContactId() {
|
|
return $this->contact_id;
|
|
}
|
|
|
|
/**
|
|
* @param int $contact_id
|
|
*/
|
|
public function setContactId( $contact_id) {
|
|
$this->contact_id = $contact_id;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getType() {
|
|
return $this->type;
|
|
}
|
|
|
|
/**
|
|
* @param string $type
|
|
*/
|
|
public function setType( $type) {
|
|
$this->type = $type;
|
|
}
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getUrl() {
|
|
return $this->url;
|
|
}
|
|
|
|
/**
|
|
* @param string $url
|
|
*/
|
|
public function setUrl( $url) {
|
|
$this->url = $url;
|
|
}
|
|
|
|
}
|