_propDict)) { if (is_a($this->_propDict["category"], "\Beta\Microsoft\Graph\ManagedTenants\Model\ManagementCategory") || is_null($this->_propDict["category"])) { return $this->_propDict["category"]; } else { $this->_propDict["category"] = new ManagementCategory($this->_propDict["category"]); return $this->_propDict["category"]; } } return null; } /** * Sets the category * The management category for the management template. Possible values are: custom, devices, identity, unknownFutureValue. Required. Read-only. * * @param ManagementCategory $val The value to assign to the category * * @return ManagementTemplateDetailedInfo The ManagementTemplateDetailedInfo */ public function setCategory($val) { $this->_propDict["category"] = $val; return $this; } /** * Gets the displayName * The display name for the management template. Required. Read-only. * * @return string|null The displayName */ public function getDisplayName() { if (array_key_exists("displayName", $this->_propDict)) { return $this->_propDict["displayName"]; } else { return null; } } /** * Sets the displayName * The display name for the management template. Required. Read-only. * * @param string $val The value of the displayName * * @return ManagementTemplateDetailedInfo */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the managementTemplateId * The unique identifier for the management template. Required. Read-only. * * @return string|null The managementTemplateId */ public function getManagementTemplateId() { if (array_key_exists("managementTemplateId", $this->_propDict)) { return $this->_propDict["managementTemplateId"]; } else { return null; } } /** * Sets the managementTemplateId * The unique identifier for the management template. Required. Read-only. * * @param string $val The value of the managementTemplateId * * @return ManagementTemplateDetailedInfo */ public function setManagementTemplateId($val) { $this->_propDict["managementTemplateId"] = $val; return $this; } /** * Gets the version * * @return int|null The version */ public function getVersion() { if (array_key_exists("version", $this->_propDict)) { return $this->_propDict["version"]; } else { return null; } } /** * Sets the version * * @param int $val The value of the version * * @return ManagementTemplateDetailedInfo */ public function setVersion($val) { $this->_propDict["version"] = $val; return $this; } }