_propDict)) { return $this->_propDict["networkNames"]; } else { return null; } } /** * Sets the networkNames * Provides the name of the network used when signing in. * * @param string $val The value of the networkNames * * @return NetworkLocationDetail */ public function setNetworkNames($val) { $this->_propDict["networkNames"] = $val; return $this; } /** * Gets the networkType * Provides the type of network used when signing in. Possible values are: intranet, extranet, namedNetwork, trusted, unknownFutureValue. * * @return NetworkType|null The networkType */ public function getNetworkType() { if (array_key_exists("networkType", $this->_propDict)) { if (is_a($this->_propDict["networkType"], "\Beta\Microsoft\Graph\Model\NetworkType") || is_null($this->_propDict["networkType"])) { return $this->_propDict["networkType"]; } else { $this->_propDict["networkType"] = new NetworkType($this->_propDict["networkType"]); return $this->_propDict["networkType"]; } } return null; } /** * Sets the networkType * Provides the type of network used when signing in. Possible values are: intranet, extranet, namedNetwork, trusted, unknownFutureValue. * * @param NetworkType $val The value to assign to the networkType * * @return NetworkLocationDetail The NetworkLocationDetail */ public function setNetworkType($val) { $this->_propDict["networkType"] = $val; return $this; } }