_propDict)) { return $this->_propDict["label"]; } else { return null; } } /** * Sets the label * Localized text label for any presentation entity. The default value is empty. * * @param string $val The label * * @return GroupPolicyPresentation */ public function setLabel($val) { $this->_propDict["label"] = $val; return $this; } /** * Gets the lastModifiedDateTime * The date and time the entity was last modified. * * @return \DateTime|null The lastModifiedDateTime */ public function getLastModifiedDateTime() { if (array_key_exists("lastModifiedDateTime", $this->_propDict)) { if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) { return $this->_propDict["lastModifiedDateTime"]; } else { $this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]); return $this->_propDict["lastModifiedDateTime"]; } } return null; } /** * Sets the lastModifiedDateTime * The date and time the entity was last modified. * * @param \DateTime $val The lastModifiedDateTime * * @return GroupPolicyPresentation */ public function setLastModifiedDateTime($val) { $this->_propDict["lastModifiedDateTime"] = $val; return $this; } /** * Gets the definition * The group policy definition associated with the presentation. * * @return GroupPolicyDefinition|null The definition */ public function getDefinition() { if (array_key_exists("definition", $this->_propDict)) { if (is_a($this->_propDict["definition"], "\Beta\Microsoft\Graph\Model\GroupPolicyDefinition") || is_null($this->_propDict["definition"])) { return $this->_propDict["definition"]; } else { $this->_propDict["definition"] = new GroupPolicyDefinition($this->_propDict["definition"]); return $this->_propDict["definition"]; } } return null; } /** * Sets the definition * The group policy definition associated with the presentation. * * @param GroupPolicyDefinition $val The definition * * @return GroupPolicyPresentation */ public function setDefinition($val) { $this->_propDict["definition"] = $val; return $this; } }