1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/EducationSynchronizationCus...

144 lines
4.9 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EducationSynchronizationCustomization 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 Beta\Microsoft\Graph\Model;
/**
* EducationSynchronizationCustomization 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 EducationSynchronizationCustomization extends Entity
{
/**
* Gets the allowDisplayNameUpdate
* Indicates whether the display name of the resource can be overwritten by the sync.
*
* @return bool|null The allowDisplayNameUpdate
*/
public function getAllowDisplayNameUpdate()
{
if (array_key_exists("allowDisplayNameUpdate", $this->_propDict)) {
return $this->_propDict["allowDisplayNameUpdate"];
} else {
return null;
}
}
/**
* Sets the allowDisplayNameUpdate
* Indicates whether the display name of the resource can be overwritten by the sync.
*
* @param bool $val The value of the allowDisplayNameUpdate
*
* @return EducationSynchronizationCustomization
*/
public function setAllowDisplayNameUpdate($val)
{
$this->_propDict["allowDisplayNameUpdate"] = $val;
return $this;
}
/**
* Gets the isSyncDeferred
* Indicates whether synchronization of the parent entity is deferred to a later date.
*
* @return bool|null The isSyncDeferred
*/
public function getIsSyncDeferred()
{
if (array_key_exists("isSyncDeferred", $this->_propDict)) {
return $this->_propDict["isSyncDeferred"];
} else {
return null;
}
}
/**
* Sets the isSyncDeferred
* Indicates whether synchronization of the parent entity is deferred to a later date.
*
* @param bool $val The value of the isSyncDeferred
*
* @return EducationSynchronizationCustomization
*/
public function setIsSyncDeferred($val)
{
$this->_propDict["isSyncDeferred"] = $val;
return $this;
}
/**
* Gets the optionalPropertiesToSync
* The collection of property names to sync. If set to null, all properties will be synchronized. Does not apply to Student Enrollments or Teacher Rosters
*
* @return string|null The optionalPropertiesToSync
*/
public function getOptionalPropertiesToSync()
{
if (array_key_exists("optionalPropertiesToSync", $this->_propDict)) {
return $this->_propDict["optionalPropertiesToSync"];
} else {
return null;
}
}
/**
* Sets the optionalPropertiesToSync
* The collection of property names to sync. If set to null, all properties will be synchronized. Does not apply to Student Enrollments or Teacher Rosters
*
* @param string $val The value of the optionalPropertiesToSync
*
* @return EducationSynchronizationCustomization
*/
public function setOptionalPropertiesToSync($val)
{
$this->_propDict["optionalPropertiesToSync"] = $val;
return $this;
}
/**
* Gets the synchronizationStartDate
* The date that the synchronization should start. This value should be set to a future date. If set to null, the resource will be synchronized when the profile setup completes. Only applies to Student Enrollments
*
* @return \DateTime|null The synchronizationStartDate
*/
public function getSynchronizationStartDate()
{
if (array_key_exists("synchronizationStartDate", $this->_propDict)) {
if (is_a($this->_propDict["synchronizationStartDate"], "\DateTime") || is_null($this->_propDict["synchronizationStartDate"])) {
return $this->_propDict["synchronizationStartDate"];
} else {
$this->_propDict["synchronizationStartDate"] = new \DateTime($this->_propDict["synchronizationStartDate"]);
return $this->_propDict["synchronizationStartDate"];
}
}
return null;
}
/**
* Sets the synchronizationStartDate
* The date that the synchronization should start. This value should be set to a future date. If set to null, the resource will be synchronized when the profile setup completes. Only applies to Student Enrollments
*
* @param \DateTime $val The value to assign to the synchronizationStartDate
*
* @return EducationSynchronizationCustomization The EducationSynchronizationCustomization
*/
public function setSynchronizationStartDate($val)
{
$this->_propDict["synchronizationStartDate"] = $val;
return $this;
}
}