Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License.

name: "validate pull request"

on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]

jobs:
validate-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run composer validate
shell: bash
run: |
composer validate
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
},
"require-dev": {
"phpunit/phpunit": "^7.5 || ^8.0",
"phpdocumentor/phpdocumentor": "^2.9",
"mikey179/vfsstream": "^1.2"
},
"autoload": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AddToReviewSetOperation 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\Ediscovery\Model;

/**
* AddToReviewSetOperation 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 AddToReviewSetOperation extends CaseOperation
{
/**
* Gets the reviewSet
*
* @return ReviewSet The reviewSet
*/
public function getReviewSet()
{
if (array_key_exists("reviewSet", $this->_propDict)) {
if (is_a($this->_propDict["reviewSet"], "Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet")) {
return $this->_propDict["reviewSet"];
} else {
$this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]);
return $this->_propDict["reviewSet"];
}
}
return null;
}

/**
* Sets the reviewSet
*
* @param ReviewSet $val The reviewSet
*
* @return AddToReviewSetOperation
*/
public function setReviewSet($val)
{
$this->_propDict["reviewSet"] = $val;
return $this;
}

/**
* Gets the sourceCollection
*
* @return SourceCollection The sourceCollection
*/
public function getSourceCollection()
{
if (array_key_exists("sourceCollection", $this->_propDict)) {
if (is_a($this->_propDict["sourceCollection"], "Beta\Microsoft\Graph\Ediscovery\Model\SourceCollection")) {
return $this->_propDict["sourceCollection"];
} else {
$this->_propDict["sourceCollection"] = new SourceCollection($this->_propDict["sourceCollection"]);
return $this->_propDict["sourceCollection"];
}
}
return null;
}

/**
* Sets the sourceCollection
*
* @param SourceCollection $val The sourceCollection
*
* @return AddToReviewSetOperation
*/
public function setSourceCollection($val)
{
$this->_propDict["sourceCollection"] = $val;
return $this;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
namespace Beta\Microsoft\Graph\Ediscovery\Model;

use Microsoft\Graph\Core\Enum;

Expand All @@ -30,9 +30,10 @@ class CaseAction extends Enum
* The Enum CaseAction
*/
const CONTENT_EXPORT = "contentExport";
const TAG = "tag";
const APPLY_TAGS = "applyTags";
const CONVERT_TO_PDF = "convertToPdf";
const INDEX = "index";
const SEARCH = "search";
const ADD_DATA_TO_REVIEW_SET = "addDataToReviewSet";
const ESTIMATE_STATISTICS = "estimateStatistics";
const ADD_TO_REVIEW_SET = "addToReviewSet";
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
namespace Beta\Microsoft\Graph\Ediscovery\Model;

/**
* CaseExportOperation class
Expand Down Expand Up @@ -113,7 +113,7 @@ public function setDescription($val)
public function getExportOptions()
{
if (array_key_exists("exportOptions", $this->_propDict)) {
if (is_a($this->_propDict["exportOptions"], "Beta\Microsoft\Graph\Model\ExportOptions")) {
if (is_a($this->_propDict["exportOptions"], "Beta\Microsoft\Graph\Ediscovery\Model\ExportOptions")) {
return $this->_propDict["exportOptions"];
} else {
$this->_propDict["exportOptions"] = new ExportOptions($this->_propDict["exportOptions"]);
Expand Down Expand Up @@ -144,7 +144,7 @@ public function setExportOptions($val)
public function getExportStructure()
{
if (array_key_exists("exportStructure", $this->_propDict)) {
if (is_a($this->_propDict["exportStructure"], "Beta\Microsoft\Graph\Model\ExportFileStructure")) {
if (is_a($this->_propDict["exportStructure"], "Beta\Microsoft\Graph\Ediscovery\Model\ExportFileStructure")) {
return $this->_propDict["exportStructure"];
} else {
$this->_propDict["exportStructure"] = new ExportFileStructure($this->_propDict["exportStructure"]);
Expand Down Expand Up @@ -229,7 +229,7 @@ public function setOutputName($val)
public function getReviewSet()
{
if (array_key_exists("reviewSet", $this->_propDict)) {
if (is_a($this->_propDict["reviewSet"], "Beta\Microsoft\Graph\Model\ReviewSet")) {
if (is_a($this->_propDict["reviewSet"], "Beta\Microsoft\Graph\Ediscovery\Model\ReviewSet")) {
return $this->_propDict["reviewSet"];
} else {
$this->_propDict["reviewSet"] = new ReviewSet($this->_propDict["reviewSet"]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
namespace Beta\Microsoft\Graph\Ediscovery\Model;

/**
* CaseIndexOperation class
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
namespace Beta\Microsoft\Graph\Ediscovery\Model;

/**
* CaseOperation class
Expand All @@ -22,7 +22,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
class CaseOperation extends Entity
class CaseOperation extends \Beta\Microsoft\Graph\Model\Entity
{
/**
* Gets the action
Expand All @@ -32,7 +32,7 @@ class CaseOperation extends Entity
public function getAction()
{
if (array_key_exists("action", $this->_propDict)) {
if (is_a($this->_propDict["action"], "Beta\Microsoft\Graph\Model\CaseAction")) {
if (is_a($this->_propDict["action"], "Beta\Microsoft\Graph\Ediscovery\Model\CaseAction")) {
return $this->_propDict["action"];
} else {
$this->_propDict["action"] = new CaseAction($this->_propDict["action"]);
Expand Down Expand Up @@ -89,15 +89,15 @@ public function setCompletedDateTime($val)
/**
* Gets the createdBy
*
* @return IdentitySet The createdBy
* @return Beta\Microsoft\Graph\Model\IdentitySet The createdBy
*/
public function getCreatedBy()
{
if (array_key_exists("createdBy", $this->_propDict)) {
if (is_a($this->_propDict["createdBy"], "Beta\Microsoft\Graph\Model\IdentitySet")) {
return $this->_propDict["createdBy"];
} else {
$this->_propDict["createdBy"] = new IdentitySet($this->_propDict["createdBy"]);
$this->_propDict["createdBy"] = new Beta\Microsoft\Graph\Model\IdentitySet($this->_propDict["createdBy"]);
return $this->_propDict["createdBy"];
}
}
Expand All @@ -107,7 +107,7 @@ public function getCreatedBy()
/**
* Sets the createdBy
*
* @param IdentitySet $val The createdBy
* @param Beta\Microsoft\Graph\Model\IdentitySet $val The createdBy
*
* @return CaseOperation
*/
Expand Down Expand Up @@ -178,15 +178,15 @@ public function setPercentProgress($val)
/**
* Gets the resultInfo
*
* @return ResultInfo The resultInfo
* @return Beta\Microsoft\Graph\Model\ResultInfo The resultInfo
*/
public function getResultInfo()
{
if (array_key_exists("resultInfo", $this->_propDict)) {
if (is_a($this->_propDict["resultInfo"], "Beta\Microsoft\Graph\Model\ResultInfo")) {
return $this->_propDict["resultInfo"];
} else {
$this->_propDict["resultInfo"] = new ResultInfo($this->_propDict["resultInfo"]);
$this->_propDict["resultInfo"] = new Beta\Microsoft\Graph\Model\ResultInfo($this->_propDict["resultInfo"]);
return $this->_propDict["resultInfo"];
}
}
Expand All @@ -196,7 +196,7 @@ public function getResultInfo()
/**
* Sets the resultInfo
*
* @param ResultInfo $val The resultInfo
* @param Beta\Microsoft\Graph\Model\ResultInfo $val The resultInfo
*
* @return CaseOperation
*/
Expand All @@ -214,7 +214,7 @@ public function setResultInfo($val)
public function getStatus()
{
if (array_key_exists("status", $this->_propDict)) {
if (is_a($this->_propDict["status"], "Beta\Microsoft\Graph\Model\CaseOperationStatus")) {
if (is_a($this->_propDict["status"], "Beta\Microsoft\Graph\Ediscovery\Model\CaseOperationStatus")) {
return $this->_propDict["status"];
} else {
$this->_propDict["status"] = new CaseOperationStatus($this->_propDict["status"]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
namespace Beta\Microsoft\Graph\Ediscovery\Model;

use Microsoft\Graph\Core\Enum;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @license https://opensource.org/licenses/MIT MIT License
* @link https://graph.microsoft.com
*/
namespace Beta\Microsoft\Graph\Model;
namespace Beta\Microsoft\Graph\Ediscovery\Model;

use Microsoft\Graph\Core\Enum;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* ChildSelectability 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\Ediscovery\Model;

use Microsoft\Graph\Core\Enum;

/**
* ChildSelectability 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 ChildSelectability extends Enum
{
/**
* The Enum ChildSelectability
*/
const ONE = "one";
const MANY = "many";
}
Loading