_propDict)) { return $this->_propDict["defaultGateway"]; } else { return null; } } /** * Sets the defaultGateway * The default gateway is the path used to pass information when the destination is unknown to the device. * * @param string $val The value of the defaultGateway * * @return TeamworkNetworkConfiguration */ public function setDefaultGateway($val) { $this->_propDict["defaultGateway"] = $val; return $this; } /** * Gets the domainName * The network domain of the device, for example, contoso.com. * * @return string|null The domainName */ public function getDomainName() { if (array_key_exists("domainName", $this->_propDict)) { return $this->_propDict["domainName"]; } else { return null; } } /** * Sets the domainName * The network domain of the device, for example, contoso.com. * * @param string $val The value of the domainName * * @return TeamworkNetworkConfiguration */ public function setDomainName($val) { $this->_propDict["domainName"] = $val; return $this; } /** * Gets the hostName * The device name on a network. * * @return string|null The hostName */ public function getHostName() { if (array_key_exists("hostName", $this->_propDict)) { return $this->_propDict["hostName"]; } else { return null; } } /** * Sets the hostName * The device name on a network. * * @param string $val The value of the hostName * * @return TeamworkNetworkConfiguration */ public function setHostName($val) { $this->_propDict["hostName"] = $val; return $this; } /** * Gets the ipAddress * The IP address is a numerical label that uniquely identifies every device connected to the internet. * * @return string|null The ipAddress */ public function getIpAddress() { if (array_key_exists("ipAddress", $this->_propDict)) { return $this->_propDict["ipAddress"]; } else { return null; } } /** * Sets the ipAddress * The IP address is a numerical label that uniquely identifies every device connected to the internet. * * @param string $val The value of the ipAddress * * @return TeamworkNetworkConfiguration */ public function setIpAddress($val) { $this->_propDict["ipAddress"] = $val; return $this; } /** * Gets the isDhcpEnabled * True if DHCP is enabled. * * @return bool|null The isDhcpEnabled */ public function getIsDhcpEnabled() { if (array_key_exists("isDhcpEnabled", $this->_propDict)) { return $this->_propDict["isDhcpEnabled"]; } else { return null; } } /** * Sets the isDhcpEnabled * True if DHCP is enabled. * * @param bool $val The value of the isDhcpEnabled * * @return TeamworkNetworkConfiguration */ public function setIsDhcpEnabled($val) { $this->_propDict["isDhcpEnabled"] = $val; return $this; } /** * Gets the isPCPortEnabled * True if the PC port is enabled. * * @return bool|null The isPCPortEnabled */ public function getIsPCPortEnabled() { if (array_key_exists("isPCPortEnabled", $this->_propDict)) { return $this->_propDict["isPCPortEnabled"]; } else { return null; } } /** * Sets the isPCPortEnabled * True if the PC port is enabled. * * @param bool $val The value of the isPCPortEnabled * * @return TeamworkNetworkConfiguration */ public function setIsPCPortEnabled($val) { $this->_propDict["isPCPortEnabled"] = $val; return $this; } /** * Gets the primaryDns * A primary DNS is the first point of contact for a device that translates the hostname into an IP address. * * @return string|null The primaryDns */ public function getPrimaryDns() { if (array_key_exists("primaryDns", $this->_propDict)) { return $this->_propDict["primaryDns"]; } else { return null; } } /** * Sets the primaryDns * A primary DNS is the first point of contact for a device that translates the hostname into an IP address. * * @param string $val The value of the primaryDns * * @return TeamworkNetworkConfiguration */ public function setPrimaryDns($val) { $this->_propDict["primaryDns"] = $val; return $this; } /** * Gets the secondaryDns * A secondary DNS is used when the primary DNS is not available. * * @return string|null The secondaryDns */ public function getSecondaryDns() { if (array_key_exists("secondaryDns", $this->_propDict)) { return $this->_propDict["secondaryDns"]; } else { return null; } } /** * Sets the secondaryDns * A secondary DNS is used when the primary DNS is not available. * * @param string $val The value of the secondaryDns * * @return TeamworkNetworkConfiguration */ public function setSecondaryDns($val) { $this->_propDict["secondaryDns"] = $val; return $this; } /** * Gets the subnetMask * A subnet mask is a number that distinguishes the network address and the host address within an IP address. * * @return string|null The subnetMask */ public function getSubnetMask() { if (array_key_exists("subnetMask", $this->_propDict)) { return $this->_propDict["subnetMask"]; } else { return null; } } /** * Sets the subnetMask * A subnet mask is a number that distinguishes the network address and the host address within an IP address. * * @param string $val The value of the subnetMask * * @return TeamworkNetworkConfiguration */ public function setSubnetMask($val) { $this->_propDict["subnetMask"] = $val; return $this; } }