setODataType("#microsoft.graph.androidDeviceOwnerGlobalProxyDirect"); } /** * Gets the excludedHosts * The excluded hosts * * @return string|null The excludedHosts */ public function getExcludedHosts() { if (array_key_exists("excludedHosts", $this->_propDict)) { return $this->_propDict["excludedHosts"]; } else { return null; } } /** * Sets the excludedHosts * The excluded hosts * * @param string $val The value of the excludedHosts * * @return AndroidDeviceOwnerGlobalProxyDirect */ public function setExcludedHosts($val) { $this->_propDict["excludedHosts"] = $val; return $this; } /** * Gets the host * The host name * * @return string|null The host */ public function getHost() { if (array_key_exists("host", $this->_propDict)) { return $this->_propDict["host"]; } else { return null; } } /** * Sets the host * The host name * * @param string $val The value of the host * * @return AndroidDeviceOwnerGlobalProxyDirect */ public function setHost($val) { $this->_propDict["host"] = $val; return $this; } /** * Gets the port * The port * * @return int|null The port */ public function getPort() { if (array_key_exists("port", $this->_propDict)) { return $this->_propDict["port"]; } else { return null; } } /** * Sets the port * The port * * @param int $val The value of the port * * @return AndroidDeviceOwnerGlobalProxyDirect */ public function setPort($val) { $this->_propDict["port"] = $val; return $this; } }