-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1328 from microsoftgraph/v1.0/pipelinebuild/123864
Generated models and request builders
- Loading branch information
Showing
17 changed files
with
827 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,120 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CommentAction 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; | ||
/** | ||
* CommentAction 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 CommentAction extends Entity | ||
{ | ||
/** | ||
* Gets the isReply | ||
* If true, this activity was a reply to an existing comment thread. | ||
* | ||
* @return bool|null The isReply | ||
*/ | ||
public function getIsReply() | ||
{ | ||
if (array_key_exists("isReply", $this->_propDict)) { | ||
return $this->_propDict["isReply"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the isReply | ||
* If true, this activity was a reply to an existing comment thread. | ||
* | ||
* @param bool $val The value of the isReply | ||
* | ||
* @return CommentAction | ||
*/ | ||
public function setIsReply($val) | ||
{ | ||
$this->_propDict["isReply"] = $val; | ||
return $this; | ||
} | ||
|
||
/** | ||
* Gets the parentAuthor | ||
* The identity of the user who started the comment thread. | ||
* | ||
* @return IdentitySet|null The parentAuthor | ||
*/ | ||
public function getParentAuthor() | ||
{ | ||
if (array_key_exists("parentAuthor", $this->_propDict)) { | ||
if (is_a($this->_propDict["parentAuthor"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["parentAuthor"])) { | ||
return $this->_propDict["parentAuthor"]; | ||
} else { | ||
$this->_propDict["parentAuthor"] = new IdentitySet($this->_propDict["parentAuthor"]); | ||
return $this->_propDict["parentAuthor"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the parentAuthor | ||
* The identity of the user who started the comment thread. | ||
* | ||
* @param IdentitySet $val The value to assign to the parentAuthor | ||
* | ||
* @return CommentAction The CommentAction | ||
*/ | ||
public function setParentAuthor($val) | ||
{ | ||
$this->_propDict["parentAuthor"] = $val; | ||
return $this; | ||
} | ||
|
||
/** | ||
* Gets the participants | ||
* The identities of the users participating in this comment thread. | ||
* | ||
* @return IdentitySet|null The participants | ||
*/ | ||
public function getParticipants() | ||
{ | ||
if (array_key_exists("participants", $this->_propDict)) { | ||
if (is_a($this->_propDict["participants"], "\Microsoft\Graph\Model\IdentitySet") || is_null($this->_propDict["participants"])) { | ||
return $this->_propDict["participants"]; | ||
} else { | ||
$this->_propDict["participants"] = new IdentitySet($this->_propDict["participants"]); | ||
return $this->_propDict["participants"]; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
/** | ||
* Sets the participants | ||
* The identities of the users participating in this comment thread. | ||
* | ||
* @param IdentitySet $val The value to assign to the participants | ||
* | ||
* @return CommentAction The CommentAction | ||
*/ | ||
public function setParticipants($val) | ||
{ | ||
$this->_propDict["participants"] = $val; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* CreateAction 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; | ||
/** | ||
* CreateAction 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 CreateAction extends Entity | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* DeleteAction 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; | ||
/** | ||
* DeleteAction 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 DeleteAction extends Entity | ||
{ | ||
/** | ||
* Gets the name | ||
* The name of the item that was deleted. | ||
* | ||
* @return string|null The name | ||
*/ | ||
public function getName() | ||
{ | ||
if (array_key_exists("name", $this->_propDict)) { | ||
return $this->_propDict["name"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the name | ||
* The name of the item that was deleted. | ||
* | ||
* @param string $val The value of the name | ||
* | ||
* @return DeleteAction | ||
*/ | ||
public function setName($val) | ||
{ | ||
$this->_propDict["name"] = $val; | ||
return $this; | ||
} | ||
/** | ||
* Gets the objectType | ||
* File or Folder, depending on the type of the deleted item. | ||
* | ||
* @return string|null The objectType | ||
*/ | ||
public function getObjectType() | ||
{ | ||
if (array_key_exists("objectType", $this->_propDict)) { | ||
return $this->_propDict["objectType"]; | ||
} else { | ||
return null; | ||
} | ||
} | ||
|
||
/** | ||
* Sets the objectType | ||
* File or Folder, depending on the type of the deleted item. | ||
* | ||
* @param string $val The value of the objectType | ||
* | ||
* @return DeleteAction | ||
*/ | ||
public function setObjectType($val) | ||
{ | ||
$this->_propDict["objectType"] = $val; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
/** | ||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. | ||
* | ||
* EditAction 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; | ||
/** | ||
* EditAction 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 EditAction extends Entity | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.