1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/WorkbookComment.php

114 lines
2.5 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* WorkbookComment 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;
/**
* WorkbookComment 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 WorkbookComment extends Entity
{
/**
* Gets the content
* The content of the comment.
*
* @return string|null The content
*/
public function getContent()
{
if (array_key_exists("content", $this->_propDict)) {
return $this->_propDict["content"];
} else {
return null;
}
}
/**
* Sets the content
* The content of the comment.
*
* @param string $val The content
*
* @return WorkbookComment
*/
public function setContent($val)
{
$this->_propDict["content"] = $val;
return $this;
}
/**
* Gets the contentType
* Indicates the type for the comment.
*
* @return string|null The contentType
*/
public function getContentType()
{
if (array_key_exists("contentType", $this->_propDict)) {
return $this->_propDict["contentType"];
} else {
return null;
}
}
/**
* Sets the contentType
* Indicates the type for the comment.
*
* @param string $val The contentType
*
* @return WorkbookComment
*/
public function setContentType($val)
{
$this->_propDict["contentType"] = $val;
return $this;
}
/**
* Gets the replies
*
* @return array|null The replies
*/
public function getReplies()
{
if (array_key_exists("replies", $this->_propDict)) {
return $this->_propDict["replies"];
} else {
return null;
}
}
/**
* Sets the replies
*
* @param WorkbookCommentReply[] $val The replies
*
* @return WorkbookComment
*/
public function setReplies($val)
{
$this->_propDict["replies"] = $val;
return $this;
}
}