FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
Model
Edit File: ManagedAppPolicy.php
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * ManagedAppPolicy File * PHP version 7 * * @category Library * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ namespace Microsoft\Graph\Model; /** * ManagedAppPolicy class * * @category Model * @package Microsoft.Graph * @copyright (c) Microsoft Corporation. All rights reserved. * @license https://opensource.org/licenses/MIT MIT License * @link https://graph.microsoft.com */ class ManagedAppPolicy extends Entity { /** * Gets the createdDateTime * The date and time the policy was created. * * @return \DateTime|null The createdDateTime */ public function getCreatedDateTime() { if (array_key_exists("createdDateTime", $this->_propDict)) { if (is_a($this->_propDict["createdDateTime"], "\DateTime") || is_null($this->_propDict["createdDateTime"])) { return $this->_propDict["createdDateTime"]; } else { $this->_propDict["createdDateTime"] = new \DateTime($this->_propDict["createdDateTime"]); return $this->_propDict["createdDateTime"]; } } return null; } /** * Sets the createdDateTime * The date and time the policy was created. * * @param \DateTime $val The createdDateTime * * @return ManagedAppPolicy */ public function setCreatedDateTime($val) { $this->_propDict["createdDateTime"] = $val; return $this; } /** * Gets the description * The policy's description. * * @return string|null The description */ public function getDescription() { if (array_key_exists("description", $this->_propDict)) { return $this->_propDict["description"]; } else { return null; } } /** * Sets the description * The policy's description. * * @param string $val The description * * @return ManagedAppPolicy */ public function setDescription($val) { $this->_propDict["description"] = $val; return $this; } /** * Gets the displayName * Policy display name. * * @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 * Policy display name. * * @param string $val The displayName * * @return ManagedAppPolicy */ public function setDisplayName($val) { $this->_propDict["displayName"] = $val; return $this; } /** * Gets the lastModifiedDateTime * Last time the policy was 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 * Last time the policy was modified. * * @param \DateTime $val The lastModifiedDateTime * * @return ManagedAppPolicy */ public function setLastModifiedDateTime($val) { $this->_propDict["lastModifiedDateTime"] = $val; return $this; } /** * Gets the version * Version of the entity. * * @return string|null The version */ public function getVersion() { if (array_key_exists("version", $this->_propDict)) { return $this->_propDict["version"]; } else { return null; } } /** * Sets the version * Version of the entity. * * @param string $val The version * * @return ManagedAppPolicy */ public function setVersion($val) { $this->_propDict["version"] = $val; return $this; } }
Save
Back