Skip to content

Commit 2be074e

Browse files
authored
Merge pull request #394 from microsoftgraph/dev
Release 1.27.0
2 parents 8830f95 + 6a815d5 commit 2be074e

File tree

289 files changed

+18656
-1602
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+18656
-1602
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Copyright (c) Microsoft Corporation. All rights reserved.
2+
# Licensed under the MIT License.
3+
4+
name: "validate pull request"
5+
6+
on:
7+
push:
8+
branches: [ main, dev ]
9+
pull_request:
10+
branches: [ main, dev ]
11+
12+
jobs:
13+
validate-pull-request:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Run composer validate
18+
shell: bash
19+
run: |
20+
composer validate

composer.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
},
1919
"require-dev": {
2020
"phpunit/phpunit": "^7.5 || ^8.0",
21-
"phpdocumentor/phpdocumentor": "^2.9",
2221
"mikey179/vfsstream": "^1.2"
2322
},
2423
"autoload": {
Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<?php
2+
/**
3+
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
*
5+
* AddToReviewSetOperation File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright (c) Microsoft Corporation. All rights reserved.
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @link https://graph.microsoft.com
13+
*/
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
15+
16+
/**
17+
* AddToReviewSetOperation class
18+
*
19+
* @category Model
20+
* @package Microsoft.Graph
21+
* @copyright (c) Microsoft Corporation. All rights reserved.
22+
* @license https://opensource.org/licenses/MIT MIT License
23+
* @link https://graph.microsoft.com
24+
*/
25+
class AddToReviewSetOperation extends CaseOperation
26+
{
27+
/**
28+
* Gets the reviewSet
29+
*
30+
* @return ReviewSet The reviewSet
31+
*/
32+
public function getReviewSet()
33+
{
34+
if (array_key_exists("reviewSet", $this->_propDict)) {
35+
if (is_a($this->_propDict["reviewSet"], "Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet")) {
36+
return $this->_propDict["reviewSet"];
37+
} else {
38+
$this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]);
39+
return $this->_propDict["reviewSet"];
40+
}
41+
}
42+
return null;
43+
}
44+
45+
/**
46+
* Sets the reviewSet
47+
*
48+
* @param ReviewSet $val The reviewSet
49+
*
50+
* @return AddToReviewSetOperation
51+
*/
52+
public function setReviewSet($val)
53+
{
54+
$this->_propDict["reviewSet"] = $val;
55+
return $this;
56+
}
57+
58+
/**
59+
* Gets the sourceCollection
60+
*
61+
* @return SourceCollection The sourceCollection
62+
*/
63+
public function getSourceCollection()
64+
{
65+
if (array_key_exists("sourceCollection", $this->_propDict)) {
66+
if (is_a($this->_propDict["sourceCollection"], "Beta\Microsoft\Graph\Ediscovery\Model\SourceCollection")) {
67+
return $this->_propDict["sourceCollection"];
68+
} else {
69+
$this->_propDict["sourceCollection"] = new SourceCollection($this->_propDict["sourceCollection"]);
70+
return $this->_propDict["sourceCollection"];
71+
}
72+
}
73+
return null;
74+
}
75+
76+
/**
77+
* Sets the sourceCollection
78+
*
79+
* @param SourceCollection $val The sourceCollection
80+
*
81+
* @return AddToReviewSetOperation
82+
*/
83+
public function setSourceCollection($val)
84+
{
85+
$this->_propDict["sourceCollection"] = $val;
86+
return $this;
87+
}
88+
89+
}

src/Beta/Microsoft/Graph/Model/CaseAction.php renamed to src/Beta/Microsoft/Graph/Ediscovery/Model/CaseAction.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://opensource.org/licenses/MIT MIT License
1212
* @link https://graph.microsoft.com
1313
*/
14-
namespace Beta\Microsoft\Graph\Model;
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
1515

1616
use Microsoft\Graph\Core\Enum;
1717

@@ -30,9 +30,10 @@ class CaseAction extends Enum
3030
* The Enum CaseAction
3131
*/
3232
const CONTENT_EXPORT = "contentExport";
33-
const TAG = "tag";
33+
const APPLY_TAGS = "applyTags";
3434
const CONVERT_TO_PDF = "convertToPdf";
3535
const INDEX = "index";
36-
const SEARCH = "search";
37-
const ADD_DATA_TO_REVIEW_SET = "addDataToReviewSet";
36+
const ESTIMATE_STATISTICS = "estimateStatistics";
37+
const ADD_TO_REVIEW_SET = "addToReviewSet";
38+
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
3839
}

src/Beta/Microsoft/Graph/Model/CaseExportOperation.php renamed to src/Beta/Microsoft/Graph/Ediscovery/Model/CaseExportOperation.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://opensource.org/licenses/MIT MIT License
1212
* @link https://graph.microsoft.com
1313
*/
14-
namespace Beta\Microsoft\Graph\Model;
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
1515

1616
/**
1717
* CaseExportOperation class
@@ -113,7 +113,7 @@ public function setDescription($val)
113113
public function getExportOptions()
114114
{
115115
if (array_key_exists("exportOptions", $this->_propDict)) {
116-
if (is_a($this->_propDict["exportOptions"], "Beta\Microsoft\Graph\Model\ExportOptions")) {
116+
if (is_a($this->_propDict["exportOptions"], "Beta\Microsoft\Graph\Ediscovery\Model\ExportOptions")) {
117117
return $this->_propDict["exportOptions"];
118118
} else {
119119
$this->_propDict["exportOptions"] = new ExportOptions($this->_propDict["exportOptions"]);
@@ -144,7 +144,7 @@ public function setExportOptions($val)
144144
public function getExportStructure()
145145
{
146146
if (array_key_exists("exportStructure", $this->_propDict)) {
147-
if (is_a($this->_propDict["exportStructure"], "Beta\Microsoft\Graph\Model\ExportFileStructure")) {
147+
if (is_a($this->_propDict["exportStructure"], "Beta\Microsoft\Graph\Ediscovery\Model\ExportFileStructure")) {
148148
return $this->_propDict["exportStructure"];
149149
} else {
150150
$this->_propDict["exportStructure"] = new ExportFileStructure($this->_propDict["exportStructure"]);
@@ -229,7 +229,7 @@ public function setOutputName($val)
229229
public function getReviewSet()
230230
{
231231
if (array_key_exists("reviewSet", $this->_propDict)) {
232-
if (is_a($this->_propDict["reviewSet"], "Beta\Microsoft\Graph\Model\ReviewSet")) {
232+
if (is_a($this->_propDict["reviewSet"], "Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet")) {
233233
return $this->_propDict["reviewSet"];
234234
} else {
235235
$this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]);

src/Beta/Microsoft/Graph/Model/CaseIndexOperation.php renamed to src/Beta/Microsoft/Graph/Ediscovery/Model/CaseIndexOperation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://opensource.org/licenses/MIT MIT License
1212
* @link https://graph.microsoft.com
1313
*/
14-
namespace Beta\Microsoft\Graph\Model;
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
1515

1616
/**
1717
* CaseIndexOperation class

src/Beta/Microsoft/Graph/Model/CaseOperation.php renamed to src/Beta/Microsoft/Graph/Ediscovery/Model/CaseOperation.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://opensource.org/licenses/MIT MIT License
1212
* @link https://graph.microsoft.com
1313
*/
14-
namespace Beta\Microsoft\Graph\Model;
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
1515

1616
/**
1717
* CaseOperation class
@@ -22,7 +22,7 @@
2222
* @license https://opensource.org/licenses/MIT MIT License
2323
* @link https://graph.microsoft.com
2424
*/
25-
class CaseOperation extends Entity
25+
class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
2626
{
2727
/**
2828
* Gets the action
@@ -32,7 +32,7 @@ class CaseOperation extends Entity
3232
public function getAction()
3333
{
3434
if (array_key_exists("action", $this->_propDict)) {
35-
if (is_a($this->_propDict["action"], "Beta\Microsoft\Graph\Model\CaseAction")) {
35+
if (is_a($this->_propDict["action"], "Beta\Microsoft\Graph\Ediscovery\Model\CaseAction")) {
3636
return $this->_propDict["action"];
3737
} else {
3838
$this->_propDict["action"] = new CaseAction($this->_propDict["action"]);
@@ -89,15 +89,15 @@ public function setCompletedDateTime($val)
8989
/**
9090
* Gets the createdBy
9191
*
92-
* @return IdentitySet The createdBy
92+
* @return Beta\Microsoft\Graph\Model\IdentitySet The createdBy
9393
*/
9494
public function getCreatedBy()
9595
{
9696
if (array_key_exists("createdBy", $this->_propDict)) {
9797
if (is_a($this->_propDict["createdBy"], "Beta\Microsoft\Graph\Model\IdentitySet")) {
9898
return $this->_propDict["createdBy"];
9999
} else {
100-
$this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
100+
$this->_propDict["createdBy"] = new Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]);
101101
return $this->_propDict["createdBy"];
102102
}
103103
}
@@ -107,7 +107,7 @@ public function getCreatedBy()
107107
/**
108108
* Sets the createdBy
109109
*
110-
* @param IdentitySet $val The createdBy
110+
* @param Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy
111111
*
112112
* @return CaseOperation
113113
*/
@@ -178,15 +178,15 @@ public function setPercentProgress($val)
178178
/**
179179
* Gets the resultInfo
180180
*
181-
* @return ResultInfo The resultInfo
181+
* @return Beta\Microsoft\Graph\Model\ResultInfo The resultInfo
182182
*/
183183
public function getResultInfo()
184184
{
185185
if (array_key_exists("resultInfo", $this->_propDict)) {
186186
if (is_a($this->_propDict["resultInfo"], "Beta\Microsoft\Graph\Model\ResultInfo")) {
187187
return $this->_propDict["resultInfo"];
188188
} else {
189-
$this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]);
189+
$this->_propDict["resultInfo"] = new Beta\Microsoft\Graph\Model\ResultInfo($this->_propDict["resultInfo"]);
190190
return $this->_propDict["resultInfo"];
191191
}
192192
}
@@ -196,7 +196,7 @@ public function getResultInfo()
196196
/**
197197
* Sets the resultInfo
198198
*
199-
* @param ResultInfo $val The resultInfo
199+
* @param Beta\Microsoft\Graph\Model\ResultInfo $val The resultInfo
200200
*
201201
* @return CaseOperation
202202
*/
@@ -214,7 +214,7 @@ public function setResultInfo($val)
214214
public function getStatus()
215215
{
216216
if (array_key_exists("status", $this->_propDict)) {
217-
if (is_a($this->_propDict["status"], "Beta\Microsoft\Graph\Model\CaseOperationStatus")) {
217+
if (is_a($this->_propDict["status"], "Beta\Microsoft\Graph\Ediscovery\Model\CaseOperationStatus")) {
218218
return $this->_propDict["status"];
219219
} else {
220220
$this->_propDict["status"] = new CaseOperationStatus($this->_propDict["status"]);

src/Beta/Microsoft/Graph/Model/CaseOperationStatus.php renamed to src/Beta/Microsoft/Graph/Ediscovery/Model/CaseOperationStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://opensource.org/licenses/MIT MIT License
1212
* @link https://graph.microsoft.com
1313
*/
14-
namespace Beta\Microsoft\Graph\Model;
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
1515

1616
use Microsoft\Graph\Core\Enum;
1717

src/Beta/Microsoft/Graph/Model/CaseStatus.php renamed to src/Beta/Microsoft/Graph/Ediscovery/Model/CaseStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* @license https://opensource.org/licenses/MIT MIT License
1212
* @link https://graph.microsoft.com
1313
*/
14-
namespace Beta\Microsoft\Graph\Model;
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
1515

1616
use Microsoft\Graph\Core\Enum;
1717

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<?php
2+
/**
3+
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
*
5+
* ChildSelectability File
6+
* PHP version 7
7+
*
8+
* @category Library
9+
* @package Microsoft.Graph
10+
* @copyright (c) Microsoft Corporation. All rights reserved.
11+
* @license https://opensource.org/licenses/MIT MIT License
12+
* @link https://graph.microsoft.com
13+
*/
14+
namespace Beta\Microsoft\Graph\Ediscovery\Model;
15+
16+
use Microsoft\Graph\Core\Enum;
17+
18+
/**
19+
* ChildSelectability class
20+
*
21+
* @category Model
22+
* @package Microsoft.Graph
23+
* @copyright (c) Microsoft Corporation. All rights reserved.
24+
* @license https://opensource.org/licenses/MIT MIT License
25+
* @link https://graph.microsoft.com
26+
*/
27+
class ChildSelectability extends Enum
28+
{
29+
/**
30+
* The Enum ChildSelectability
31+
*/
32+
const ONE = "one";
33+
const MANY = "many";
34+
}

0 commit comments

Comments
 (0)