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 : /proc/thread-self/cwd/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.
*
* RelatedContact 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;
/**
* RelatedContact 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 RelatedContact extends Entity
{
/**
* Gets the accessConsent
* Indicates whether the user has been consented to access student data.
*
* @return bool|null The accessConsent
*/
public function getAccessConsent()
{
if (array_key_exists("accessConsent", $this->_propDict)) {
return $this->_propDict["accessConsent"];
} else {
return null;
}
}
/**
* Sets the accessConsent
* Indicates whether the user has been consented to access student data.
*
* @param bool $val The value of the accessConsent
*
* @return RelatedContact
*/
public function setAccessConsent($val)
{
$this->_propDict["accessConsent"] = $val;
return $this;
}
/**
* Gets the displayName
* Name of the contact. Required.
*
* @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
* Name of the contact. Required.
*
* @param string $val The value of the displayName
*
* @return RelatedContact
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the emailAddress
* Primary email address of the contact. Required.
*
* @return string|null The emailAddress
*/
public function getEmailAddress()
{
if (array_key_exists("emailAddress", $this->_propDict)) {
return $this->_propDict["emailAddress"];
} else {
return null;
}
}
/**
* Sets the emailAddress
* Primary email address of the contact. Required.
*
* @param string $val The value of the emailAddress
*
* @return RelatedContact
*/
public function setEmailAddress($val)
{
$this->_propDict["emailAddress"] = $val;
return $this;
}
/**
* Gets the mobilePhone
* Mobile phone number of the contact.
*
* @return string|null The mobilePhone
*/
public function getMobilePhone()
{
if (array_key_exists("mobilePhone", $this->_propDict)) {
return $this->_propDict["mobilePhone"];
} else {
return null;
}
}
/**
* Sets the mobilePhone
* Mobile phone number of the contact.
*
* @param string $val The value of the mobilePhone
*
* @return RelatedContact
*/
public function setMobilePhone($val)
{
$this->_propDict["mobilePhone"] = $val;
return $this;
}
/**
* Gets the relationship
* Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue.
*
* @return ContactRelationship|null The relationship
*/
public function getRelationship()
{
if (array_key_exists("relationship", $this->_propDict)) {
if (is_a($this->_propDict["relationship"], "\Microsoft\Graph\Model\ContactRelationship") || is_null($this->_propDict["relationship"])) {
return $this->_propDict["relationship"];
} else {
$this->_propDict["relationship"] = new ContactRelationship($this->_propDict["relationship"]);
return $this->_propDict["relationship"];
}
}
return null;
}
/**
* Sets the relationship
* Relationship to the user. Possible values are: parent, relative, aide, doctor, guardian, child, other, unknownFutureValue.
*
* @param ContactRelationship $val The value to assign to the relationship
*
* @return RelatedContact The RelatedContact
*/
public function setRelationship($val)
{
$this->_propDict["relationship"] = $val;
return $this;
}
}