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
LocalizedLabel.php
111 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 | * LocalizedLabel 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 | * LocalizedLabel 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 LocalizedLabel extends \Microsoft\Graph\Model\Entity |
| 25 | { |
| 26 | /** |
| 27 | * Gets the isDefault |
| 28 | * Indicates whether the label is the default label. |
| 29 | * |
| 30 | * @return bool|null The isDefault |
| 31 | */ |
| 32 | public function getIsDefault() |
| 33 | { |
| 34 | if (array_key_exists("isDefault", $this->_propDict)) { |
| 35 | return $this->_propDict["isDefault"]; |
| 36 | } else { |
| 37 | return null; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Sets the isDefault |
| 43 | * Indicates whether the label is the default label. |
| 44 | * |
| 45 | * @param bool $val The value of the isDefault |
| 46 | * |
| 47 | * @return LocalizedLabel |
| 48 | */ |
| 49 | public function setIsDefault($val) |
| 50 | { |
| 51 | $this->_propDict["isDefault"] = $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 LocalizedLabel |
| 76 | */ |
| 77 | public function setLanguageTag($val) |
| 78 | { |
| 79 | $this->_propDict["languageTag"] = $val; |
| 80 | return $this; |
| 81 | } |
| 82 | /** |
| 83 | * Gets the name |
| 84 | * The name of the label. |
| 85 | * |
| 86 | * @return string|null The name |
| 87 | */ |
| 88 | public function getName() |
| 89 | { |
| 90 | if (array_key_exists("name", $this->_propDict)) { |
| 91 | return $this->_propDict["name"]; |
| 92 | } else { |
| 93 | return null; |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Sets the name |
| 99 | * The name of the label. |
| 100 | * |
| 101 | * @param string $val The value of the name |
| 102 | * |
| 103 | * @return LocalizedLabel |
| 104 | */ |
| 105 | public function setName($val) |
| 106 | { |
| 107 | $this->_propDict["name"] = $val; |
| 108 | return $this; |
| 109 | } |
| 110 | } |
| 111 |