ameliabooking
/
vendor
/
microsoft
/
microsoft-graph
/
src
/
TermStore
/
Model
/
LocalizedDescription.php
Group.php
1 year ago
LocalizedDescription.php
1 year ago
LocalizedLabel.php
1 year ago
LocalizedName.php
1 year ago
Relation.php
1 year ago
RelationType.php
1 year ago
Set.php
1 year ago
Store.php
1 year ago
Term.php
1 year ago
TermGroupScope.php
1 year ago
LocalizedDescription.php
83 lines
| 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 | * LocalizedDescription 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\TermStore\Model; |
| 15 | /** |
| 16 | * LocalizedDescription class |
| 17 | * |
| 18 | * @category Model |
| 19 | * @package Microsoft.Graph |
| 20 | * @copyright (c) Microsoft Corporation. All rights reserved. |
| 21 | * @license https://opensource.org/licenses/MIT MIT License |
| 22 | * @link https://graph.microsoft.com |
| 23 | */ |
| 24 | class LocalizedDescription extends \Microsoft\Graph\Model\Entity |
| 25 | { |
| 26 | /** |
| 27 | * Gets the description |
| 28 | * The description in the localized language. |
| 29 | * |
| 30 | * @return string|null The description |
| 31 | */ |
| 32 | public function getDescription() |
| 33 | { |
| 34 | if (array_key_exists("description", $this->_propDict)) { |
| 35 | return $this->_propDict["description"]; |
| 36 | } else { |
| 37 | return null; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Sets the description |
| 43 | * The description in the localized language. |
| 44 | * |
| 45 | * @param string $val The value of the description |
| 46 | * |
| 47 | * @return LocalizedDescription |
| 48 | */ |
| 49 | public function setDescription($val) |
| 50 | { |
| 51 | $this->_propDict["description"] = $val; |
| 52 | return $this; |
| 53 | } |
| 54 | /** |
| 55 | * Gets the languageTag |
| 56 | * The language tag for the label. |
| 57 | * |
| 58 | * @return string|null The languageTag |
| 59 | */ |
| 60 | public function getLanguageTag() |
| 61 | { |
| 62 | if (array_key_exists("languageTag", $this->_propDict)) { |
| 63 | return $this->_propDict["languageTag"]; |
| 64 | } else { |
| 65 | return null; |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * Sets the languageTag |
| 71 | * The language tag for the label. |
| 72 | * |
| 73 | * @param string $val The value of the languageTag |
| 74 | * |
| 75 | * @return LocalizedDescription |
| 76 | */ |
| 77 | public function setLanguageTag($val) |
| 78 | { |
| 79 | $this->_propDict["languageTag"] = $val; |
| 80 | return $this; |
| 81 | } |
| 82 | } |
| 83 |