for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spinen\Ncentral\Type;
class DeviceProperties
{
/**
* @var int
*/
private $deviceID;
* @var string
private $deviceName;
* @var \Spinen\Ncentral\Type\DeviceProperty
private $properties;
private $url;
* @return int
public function getDeviceID()
return $this->deviceID;
}
* @param int $deviceID
* @return DeviceProperties
public function withDeviceID($deviceID)
$new = clone $this;
$new->deviceID = $deviceID;
return $new;
* @return string
public function getDeviceName()
return $this->deviceName;
* @param string $deviceName
public function withDeviceName($deviceName)
$new->deviceName = $deviceName;
* @return \Spinen\Ncentral\Type\DeviceProperty
public function getProperties()
return $this->properties;
* @param \Spinen\Ncentral\Type\DeviceProperty $properties
public function withProperties($properties)
$new->properties = $properties;
public function getUrl()
return $this->url;
* @param string $url
public function withUrl($url)
$new->url = $url;