AgreementFile.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 | * AgreementFile 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 | * AgreementFile 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 AgreementFile extends AgreementFileProperties |
| 26 | { |
| 27 | |
| 28 | /** |
| 29 | * Gets the localizations |
| 30 | * The localized version of the terms of use agreement files attached to the agreement. |
| 31 | * |
| 32 | * @return array|null The localizations |
| 33 | */ |
| 34 | public function getLocalizations() |
| 35 | { |
| 36 | if (array_key_exists("localizations", $this->_propDict)) { |
| 37 | return $this->_propDict["localizations"]; |
| 38 | } else { |
| 39 | return null; |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | /** |
| 44 | * Sets the localizations |
| 45 | * The localized version of the terms of use agreement files attached to the agreement. |
| 46 | * |
| 47 | * @param AgreementFileLocalization[] $val The localizations |
| 48 | * |
| 49 | * @return AgreementFile |
| 50 | */ |
| 51 | public function setLocalizations($val) |
| 52 | { |
| 53 | $this->_propDict["localizations"] = $val; |
| 54 | return $this; |
| 55 | } |
| 56 | |
| 57 | } |
| 58 |