_propDict)) { return $this->_propDict["autoTrigger"]; } else { return null; } } /** * Sets the autoTrigger * Automatically connect to the VPN when the device connects to this domain: Default False. * * @param bool $val The value of the autoTrigger * * @return VpnDnsRule */ public function setAutoTrigger($val) { $this->_propDict["autoTrigger"] = $val; return $this; } /** * Gets the name * Name. * * @return string|null The name */ public function getName() { if (array_key_exists("name", $this->_propDict)) { return $this->_propDict["name"]; } else { return null; } } /** * Sets the name * Name. * * @param string $val The value of the name * * @return VpnDnsRule */ public function setName($val) { $this->_propDict["name"] = $val; return $this; } /** * Gets the persistent * Keep this rule active even when the VPN is not connected: Default False * * @return bool|null The persistent */ public function getPersistent() { if (array_key_exists("persistent", $this->_propDict)) { return $this->_propDict["persistent"]; } else { return null; } } /** * Sets the persistent * Keep this rule active even when the VPN is not connected: Default False * * @param bool $val The value of the persistent * * @return VpnDnsRule */ public function setPersistent($val) { $this->_propDict["persistent"] = $val; return $this; } /** * Gets the proxyServerUri * Proxy Server Uri. * * @return string|null The proxyServerUri */ public function getProxyServerUri() { if (array_key_exists("proxyServerUri", $this->_propDict)) { return $this->_propDict["proxyServerUri"]; } else { return null; } } /** * Sets the proxyServerUri * Proxy Server Uri. * * @param string $val The value of the proxyServerUri * * @return VpnDnsRule */ public function setProxyServerUri($val) { $this->_propDict["proxyServerUri"] = $val; return $this; } /** * Gets the servers * Servers. * * @return string|null The servers */ public function getServers() { if (array_key_exists("servers", $this->_propDict)) { return $this->_propDict["servers"]; } else { return null; } } /** * Sets the servers * Servers. * * @param string $val The value of the servers * * @return VpnDnsRule */ public function setServers($val) { $this->_propDict["servers"] = $val; return $this; } }