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
Store.php
146 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 | * Store 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 | /** |
| 17 | * Store 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 Store extends \Microsoft\Graph\Model\Entity |
| 26 | { |
| 27 | /** |
| 28 | * Gets the defaultLanguageTag |
| 29 | * Default language of the term store. |
| 30 | * |
| 31 | * @return string|null The defaultLanguageTag |
| 32 | */ |
| 33 | public function getDefaultLanguageTag() |
| 34 | { |
| 35 | if (array_key_exists("defaultLanguageTag", $this->_propDict)) { |
| 36 | return $this->_propDict["defaultLanguageTag"]; |
| 37 | } else { |
| 38 | return null; |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | /** |
| 43 | * Sets the defaultLanguageTag |
| 44 | * Default language of the term store. |
| 45 | * |
| 46 | * @param string $val The defaultLanguageTag |
| 47 | * |
| 48 | * @return Store |
| 49 | */ |
| 50 | public function setDefaultLanguageTag($val) |
| 51 | { |
| 52 | $this->_propDict["defaultLanguageTag"] = $val; |
| 53 | return $this; |
| 54 | } |
| 55 | |
| 56 | /** |
| 57 | * Gets the languageTags |
| 58 | * List of languages for the term store. |
| 59 | * |
| 60 | * @return string|null The languageTags |
| 61 | */ |
| 62 | public function getLanguageTags() |
| 63 | { |
| 64 | if (array_key_exists("languageTags", $this->_propDict)) { |
| 65 | return $this->_propDict["languageTags"]; |
| 66 | } else { |
| 67 | return null; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Sets the languageTags |
| 73 | * List of languages for the term store. |
| 74 | * |
| 75 | * @param string $val The languageTags |
| 76 | * |
| 77 | * @return Store |
| 78 | */ |
| 79 | public function setLanguageTags($val) |
| 80 | { |
| 81 | $this->_propDict["languageTags"] = $val; |
| 82 | return $this; |
| 83 | } |
| 84 | |
| 85 | |
| 86 | /** |
| 87 | * Gets the groups |
| 88 | * Collection of all groups available in the term store. |
| 89 | * |
| 90 | * @return array|null The groups |
| 91 | */ |
| 92 | public function getGroups() |
| 93 | { |
| 94 | if (array_key_exists("groups", $this->_propDict)) { |
| 95 | return $this->_propDict["groups"]; |
| 96 | } else { |
| 97 | return null; |
| 98 | } |
| 99 | } |
| 100 | |
| 101 | /** |
| 102 | * Sets the groups |
| 103 | * Collection of all groups available in the term store. |
| 104 | * |
| 105 | * @param Group[] $val The groups |
| 106 | * |
| 107 | * @return Store |
| 108 | */ |
| 109 | public function setGroups($val) |
| 110 | { |
| 111 | $this->_propDict["groups"] = $val; |
| 112 | return $this; |
| 113 | } |
| 114 | |
| 115 | |
| 116 | /** |
| 117 | * Gets the sets |
| 118 | * Collection of all sets available in the term store. |
| 119 | * |
| 120 | * @return array|null The sets |
| 121 | */ |
| 122 | public function getSets() |
| 123 | { |
| 124 | if (array_key_exists("sets", $this->_propDict)) { |
| 125 | return $this->_propDict["sets"]; |
| 126 | } else { |
| 127 | return null; |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | /** |
| 132 | * Sets the sets |
| 133 | * Collection of all sets available in the term store. |
| 134 | * |
| 135 | * @param Set[] $val The sets |
| 136 | * |
| 137 | * @return Store |
| 138 | */ |
| 139 | public function setSets($val) |
| 140 | { |
| 141 | $this->_propDict["sets"] = $val; |
| 142 | return $this; |
| 143 | } |
| 144 | |
| 145 | } |
| 146 |