for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Spinen\Ncentral\Type;
class DeviceProperty
{
/**
* @var string
*/
private $defaultValue;
* @var int
private $devicePropertyID;
private $dropdownValues;
private $label;
private $type;
private $value;
* @return string
public function getDefaultValue()
return $this->defaultValue;
}
* @param string $defaultValue
* @return DeviceProperty
public function withDefaultValue($defaultValue)
$new = clone $this;
$new->defaultValue = $defaultValue;
return $new;
* @return int
public function getDevicePropertyID()
return $this->devicePropertyID;
* @param int $devicePropertyID
public function withDevicePropertyID($devicePropertyID)
$new->devicePropertyID = $devicePropertyID;
public function getDropdownValues()
return $this->dropdownValues;
* @param string $dropdownValues
public function withDropdownValues($dropdownValues)
$new->dropdownValues = $dropdownValues;
public function getLabel()
return $this->label;
* @param string $label
public function withLabel($label)
$new->label = $label;
public function getType()
return $this->type;
* @param int $type
public function withType($type)
$new->type = $type;
public function getValue()
return $this->value;
* @param string $value
public function withValue($value)
$new->value = $value;