111 lines
3.2 KiB
PHP
111 lines
3.2 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* AccessReviewReviewerScope 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;
|
|
/**
|
|
* AccessReviewReviewerScope 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 AccessReviewReviewerScope extends AccessReviewScope
|
|
{
|
|
/**
|
|
* Gets the query
|
|
* The query specifying who will be the reviewer. See table for examples.
|
|
*
|
|
* @return string|null The query
|
|
*/
|
|
public function getQuery()
|
|
{
|
|
if (array_key_exists("query", $this->_propDict)) {
|
|
return $this->_propDict["query"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the query
|
|
* The query specifying who will be the reviewer. See table for examples.
|
|
*
|
|
* @param string $val The value of the query
|
|
*
|
|
* @return AccessReviewReviewerScope
|
|
*/
|
|
public function setQuery($val)
|
|
{
|
|
$this->_propDict["query"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the queryRoot
|
|
* In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions.
|
|
*
|
|
* @return string|null The queryRoot
|
|
*/
|
|
public function getQueryRoot()
|
|
{
|
|
if (array_key_exists("queryRoot", $this->_propDict)) {
|
|
return $this->_propDict["queryRoot"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the queryRoot
|
|
* In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query. This property is only required if a relative query, for example, ./manager, is specified. Possible value: decisions.
|
|
*
|
|
* @param string $val The value of the queryRoot
|
|
*
|
|
* @return AccessReviewReviewerScope
|
|
*/
|
|
public function setQueryRoot($val)
|
|
{
|
|
$this->_propDict["queryRoot"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the queryType
|
|
* The type of query. Examples include MicrosoftGraph and ARM.
|
|
*
|
|
* @return string|null The queryType
|
|
*/
|
|
public function getQueryType()
|
|
{
|
|
if (array_key_exists("queryType", $this->_propDict)) {
|
|
return $this->_propDict["queryType"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the queryType
|
|
* The type of query. Examples include MicrosoftGraph and ARM.
|
|
*
|
|
* @param string $val The value of the queryType
|
|
*
|
|
* @return AccessReviewReviewerScope
|
|
*/
|
|
public function setQueryType($val)
|
|
{
|
|
$this->_propDict["queryType"] = $val;
|
|
return $this;
|
|
}
|
|
}
|