_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * Human-readable name of the location. * * @param string $val The displayName * * @return NamedLocation */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the createdDateTime * The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. * * @return \DateTime The createdDateTime */ public function getCreatedDateTime() { if (array_key_exists("createdDateTime", $this->_propDict)) { if (is_a($this->_propDict["createdDateTime"], "\DateTime")) { return $this->_propDict["createdDateTime"]; } else { $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); return $this->_propDict["createdDateTime"]; } } return null; } /** * Sets the createdDateTime * The Timestamp type represents creation date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. * * @param \DateTime $val The createdDateTime * * @return NamedLocation */ public function setCreatedDateTime($val) { $this->_propDict["createdDateTime"] = $val; return $this; } /** * Gets the modifiedDateTime * The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. * * @return \DateTime The modifiedDateTime */ public function getModifiedDateTime() { if (array_key_exists("modifiedDateTime", $this->_propDict)) { if (is_a($this->_propDict["modifiedDateTime"], "\DateTime")) { return $this->_propDict["modifiedDateTime"]; } else { $this->_propDict["modifiedDateTime"] = new \DateTime($this->_propDict["modifiedDateTime"]); return $this->_propDict["modifiedDateTime"]; } } return null; } /** * Sets the modifiedDateTime * The Timestamp type represents last modified date and time of the location using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 would look like this: '2014-01-01T00:00:00Z'. Read-only. * * @param \DateTime $val The modifiedDateTime * * @return NamedLocation */ public function setModifiedDateTime($val) { $this->_propDict["modifiedDateTime"] = $val; return $this; } }