forked from microsoftgraph/msgraph-sdk-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAccessReviewQueryScope.php
More file actions
110 lines (107 loc) · 3.09 KB
/
Copy pathAccessReviewQueryScope.php
File metadata and controls
110 lines (107 loc) · 3.09 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccessReviewQueryScope 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;
/**
* AccessReviewQueryScope 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 AccessReviewQueryScope extends AccessReviewScope
{
/**
* Gets the query
* The query representing what will be reviewed in an access review.
*
* @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 representing what will be reviewed in an access review.
*
* @param string $val The value of the query
*
* @return AccessReviewQueryScope
*/
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 is specified. For example, ./manager.
*
* @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 is specified. For example, ./manager.
*
* @param string $val The value of the queryRoot
*
* @return AccessReviewQueryScope
*/
public function setQueryRoot($val)
{
$this->_propDict["queryRoot"] = $val;
return $this;
}
/**
* Gets the queryType
* Indicates the type of query. Types 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
* Indicates the type of query. Types include MicrosoftGraph and ARM.
*
* @param string $val The value of the queryType
*
* @return AccessReviewQueryScope
*/
public function setQueryType($val)
{
$this->_propDict["queryType"] = $val;
return $this;
}
}