_propDict)) { return $this->_propDict["asn"]; } else { return null; } } /** * Sets the asn * * @param int $val The value of the asn * * @return LocalConnectivityConfiguration */ public function setAsn($val) { $this->_propDict["asn"] = $val; return $this; } /** * Gets the bgpAddress * * @return string|null The bgpAddress */ public function getBgpAddress() { if (array_key_exists("bgpAddress", $this->_propDict)) { return $this->_propDict["bgpAddress"]; } else { return null; } } /** * Sets the bgpAddress * * @param string $val The value of the bgpAddress * * @return LocalConnectivityConfiguration */ public function setBgpAddress($val) { $this->_propDict["bgpAddress"] = $val; return $this; } /** * Gets the endpoint * * @return string|null The endpoint */ public function getEndpoint() { if (array_key_exists("endpoint", $this->_propDict)) { return $this->_propDict["endpoint"]; } else { return null; } } /** * Sets the endpoint * * @param string $val The value of the endpoint * * @return LocalConnectivityConfiguration */ public function setEndpoint($val) { $this->_propDict["endpoint"] = $val; return $this; } /** * Gets the region * * @return Region|null The region */ public function getRegion() { if (array_key_exists("region", $this->_propDict)) { if (is_a($this->_propDict["region"], "\Beta\Microsoft\Graph\Networkaccess\Model\Region") || is_null($this->_propDict["region"])) { return $this->_propDict["region"]; } else { $this->_propDict["region"] = new Region($this->_propDict["region"]); return $this->_propDict["region"]; } } return null; } /** * Sets the region * * @param Region $val The value to assign to the region * * @return LocalConnectivityConfiguration The LocalConnectivityConfiguration */ public function setRegion($val) { $this->_propDict["region"] = $val; return $this; } }