Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/hopeinstoughton_www/vendor/microsoft/microsoft-graph/src/Model/ |
Upload File : |
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* TermsAndConditions 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;
/**
* TermsAndConditions 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 TermsAndConditions extends Entity
{
/**
* Gets the acceptanceStatement
* Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy.
*
* @return string|null The acceptanceStatement
*/
public function getAcceptanceStatement()
{
if (array_key_exists("acceptanceStatement", $this->_propDict)) {
return $this->_propDict["acceptanceStatement"];
} else {
return null;
}
}
/**
* Sets the acceptanceStatement
* Administrator-supplied explanation of the terms and conditions, typically describing what it means to accept the terms and conditions set out in the T&C policy. This is shown to the user on prompts to accept the T&C policy.
*
* @param string $val The acceptanceStatement
*
* @return TermsAndConditions
*/
public function setAcceptanceStatement($val)
{
$this->_propDict["acceptanceStatement"] = $val;
return $this;
}
/**
* Gets the bodyText
* Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy.
*
* @return string|null The bodyText
*/
public function getBodyText()
{
if (array_key_exists("bodyText", $this->_propDict)) {
return $this->_propDict["bodyText"];
} else {
return null;
}
}
/**
* Sets the bodyText
* Administrator-supplied body text of the terms and conditions, typically the terms themselves. This is shown to the user on prompts to accept the T&C policy.
*
* @param string $val The bodyText
*
* @return TermsAndConditions
*/
public function setBodyText($val)
{
$this->_propDict["bodyText"] = $val;
return $this;
}
/**
* Gets the createdDateTime
* DateTime the object 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
* DateTime the object was created.
*
* @param \DateTime $val The createdDateTime
*
* @return TermsAndConditions
*/
public function setCreatedDateTime($val)
{
$this->_propDict["createdDateTime"] = $val;
return $this;
}
/**
* Gets the description
* Administrator-supplied description of the T&C policy.
*
* @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
* Administrator-supplied description of the T&C policy.
*
* @param string $val The description
*
* @return TermsAndConditions
*/
public function setDescription($val)
{
$this->_propDict["description"] = $val;
return $this;
}
/**
* Gets the displayName
* Administrator-supplied name for the T&C policy.
*
* @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
* Administrator-supplied name for the T&C policy.
*
* @param string $val The displayName
*
* @return TermsAndConditions
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the lastModifiedDateTime
* DateTime the object 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
* DateTime the object was last modified.
*
* @param \DateTime $val The lastModifiedDateTime
*
* @return TermsAndConditions
*/
public function setLastModifiedDateTime($val)
{
$this->_propDict["lastModifiedDateTime"] = $val;
return $this;
}
/**
* Gets the title
* Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy.
*
* @return string|null The title
*/
public function getTitle()
{
if (array_key_exists("title", $this->_propDict)) {
return $this->_propDict["title"];
} else {
return null;
}
}
/**
* Sets the title
* Administrator-supplied title of the terms and conditions. This is shown to the user on prompts to accept the T&C policy.
*
* @param string $val The title
*
* @return TermsAndConditions
*/
public function setTitle($val)
{
$this->_propDict["title"] = $val;
return $this;
}
/**
* Gets the version
* Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy.
*
* @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
* Integer indicating the current version of the terms. Incremented when an administrator makes a change to the terms and wishes to require users to re-accept the modified T&C policy.
*
* @param int $val The version
*
* @return TermsAndConditions
*/
public function setVersion($val)
{
$this->_propDict["version"] = intval($val);
return $this;
}
/**
* Gets the acceptanceStatuses
* The list of acceptance statuses for this T&C policy.
*
* @return array|null The acceptanceStatuses
*/
public function getAcceptanceStatuses()
{
if (array_key_exists("acceptanceStatuses", $this->_propDict)) {
return $this->_propDict["acceptanceStatuses"];
} else {
return null;
}
}
/**
* Sets the acceptanceStatuses
* The list of acceptance statuses for this T&C policy.
*
* @param TermsAndConditionsAcceptanceStatus[] $val The acceptanceStatuses
*
* @return TermsAndConditions
*/
public function setAcceptanceStatuses($val)
{
$this->_propDict["acceptanceStatuses"] = $val;
return $this;
}
/**
* Gets the assignments
* The list of assignments for this T&C policy.
*
* @return array|null The assignments
*/
public function getAssignments()
{
if (array_key_exists("assignments", $this->_propDict)) {
return $this->_propDict["assignments"];
} else {
return null;
}
}
/**
* Sets the assignments
* The list of assignments for this T&C policy.
*
* @param TermsAndConditionsAssignment[] $val The assignments
*
* @return TermsAndConditions
*/
public function setAssignments($val)
{
$this->_propDict["assignments"] = $val;
return $this;
}
}