WorkbookCommentReply.php
| 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 | * WorkbookCommentReply 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 Microsoft\Graph\Model; |
| 15 | |
| 16 | /** |
| 17 | * WorkbookCommentReply 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 WorkbookCommentReply extends Entity |
| 26 | { |
| 27 | /** |
| 28 | * Gets the content |
| 29 | * The content of a comment reply. |
| 30 | * |
| 31 | * @return string|null The content |
| 32 | */ |
| 33 | public function getContent() |
| 34 | { |
| 35 | if (array_key_exists("content", $this->_propDict)) { |
| 36 | return $this->_propDict["content"]; |
| 37 | } else { |
| 38 | return null; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Sets the content |
| 44 | * The content of a comment reply. |
| 45 | * |
| 46 | * @param string $val The content |
| 47 | * |
| 48 | * @return WorkbookCommentReply |
| 49 | */ |
| 50 | public function setContent($val) |
| 51 | { |
| 52 | $this->_propDict["content"] = $val; |
| 53 | return $this; |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Gets the contentType |
| 58 | * Indicates the type for the comment reply. |
| 59 | * |
| 60 | * @return string|null The contentType |
| 61 | */ |
| 62 | public function getContentType() |
| 63 | { |
| 64 | if (array_key_exists("contentType", $this->_propDict)) { |
| 65 | return $this->_propDict["contentType"]; |
| 66 | } else { |
| 67 | return null; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Sets the contentType |
| 73 | * Indicates the type for the comment reply. |
| 74 | * |
| 75 | * @param string $val The contentType |
| 76 | * |
| 77 | * @return WorkbookCommentReply |
| 78 | */ |
| 79 | public function setContentType($val) |
| 80 | { |
| 81 | $this->_propDict["contentType"] = $val; |
| 82 | return $this; |
| 83 | } |
| 84 | |
| 85 | } |
| 86 |