90 lines
2.6 KiB
PHP
90 lines
2.6 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* UnifiedRoleEligibilitySchedule 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;
|
|
|
|
/**
|
|
* UnifiedRoleEligibilitySchedule 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 UnifiedRoleEligibilitySchedule extends UnifiedRoleScheduleBase
|
|
{
|
|
/**
|
|
* Gets the memberType
|
|
* Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. Supports $filter (eq).
|
|
*
|
|
* @return string|null The memberType
|
|
*/
|
|
public function getMemberType()
|
|
{
|
|
if (array_key_exists("memberType", $this->_propDict)) {
|
|
return $this->_propDict["memberType"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the memberType
|
|
* Membership type of the eligible assignment. It can either be Inherited, Direct, or Group. Supports $filter (eq).
|
|
*
|
|
* @param string $val The memberType
|
|
*
|
|
* @return UnifiedRoleEligibilitySchedule
|
|
*/
|
|
public function setMemberType($val)
|
|
{
|
|
$this->_propDict["memberType"] = $val;
|
|
return $this;
|
|
}
|
|
|
|
/**
|
|
* Gets the scheduleInfo
|
|
* The schedule object of the eligible role assignment request.
|
|
*
|
|
* @return RequestSchedule|null The scheduleInfo
|
|
*/
|
|
public function getScheduleInfo()
|
|
{
|
|
if (array_key_exists("scheduleInfo", $this->_propDict)) {
|
|
if (is_a($this->_propDict["scheduleInfo"], "\Beta\Microsoft\Graph\Model\RequestSchedule") || is_null($this->_propDict["scheduleInfo"])) {
|
|
return $this->_propDict["scheduleInfo"];
|
|
} else {
|
|
$this->_propDict["scheduleInfo"] = new RequestSchedule($this->_propDict["scheduleInfo"]);
|
|
return $this->_propDict["scheduleInfo"];
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/**
|
|
* Sets the scheduleInfo
|
|
* The schedule object of the eligible role assignment request.
|
|
*
|
|
* @param RequestSchedule $val The scheduleInfo
|
|
*
|
|
* @return UnifiedRoleEligibilitySchedule
|
|
*/
|
|
public function setScheduleInfo($val)
|
|
{
|
|
$this->_propDict["scheduleInfo"] = $val;
|
|
return $this;
|
|
}
|
|
|
|
}
|