freebox_api_php/freebox/api/v3/models/DhcpConfig.php

43 lines
969 B
PHP
Raw Normal View History

2016-02-03 21:36:45 +01:00
<?php
namespace alphayax\freebox\api\v3\models;
use alphayax\freebox\api\v3\Model;
/**
* Class DhcpConfig
* @package alphayax\freebox\api\v3\models
*/
class DhcpConfig extends Model {
/** @var bool Enable/Disable the DHCP server */
protected $enabled;
/** @var bool Always assign the same IP to a given host */
protected $sticky_assign;
/** @var string (Read-only) Gateway IP address */
protected $gateway;
/** @var string (Read-only) Gateway subnet netmask */
protected $netmask;
/** @var string DHCP range start IP */
protected $ip_range_start;
/** @var string DHCP range end IP */
protected $ip_range_end;
/** @var bool Always broadcast DHCP responses */
protected $always_broadcast;
/** @var array of string List of dns servers to include in DHCP reply */
protected $dns = [];
2016-03-05 20:05:35 +01:00
/**
* @return array
*/
public function getDNS(){
return $this->dns;
}
2016-02-03 21:36:45 +01:00
}