83 lines
2.1 KiB
PHP
83 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* AccessPackageLocalizedText File
|
|
* PHP version 7
|
|
*
|
|
* @category Library
|
|
* @package Microsoft.Graph
|
|
* @copyright (c) Microsoft Corporation. All rights reserved.
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://graph.microsoft.com
|
|
*/
|
|
namespace Beta\Microsoft\Graph\Model;
|
|
/**
|
|
* AccessPackageLocalizedText class
|
|
*
|
|
* @category Model
|
|
* @package Microsoft.Graph
|
|
* @copyright (c) Microsoft Corporation. All rights reserved.
|
|
* @license https://opensource.org/licenses/MIT MIT License
|
|
* @link https://graph.microsoft.com
|
|
*/
|
|
class AccessPackageLocalizedText extends Entity
|
|
{
|
|
/**
|
|
* Gets the languageCode
|
|
* The ISO code for the intended language. Required.
|
|
*
|
|
* @return string|null The languageCode
|
|
*/
|
|
public function getLanguageCode()
|
|
{
|
|
if (array_key_exists("languageCode", $this->_propDict)) {
|
|
return $this->_propDict["languageCode"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the languageCode
|
|
* The ISO code for the intended language. Required.
|
|
*
|
|
* @param string $val The value of the languageCode
|
|
*
|
|
* @return AccessPackageLocalizedText
|
|
*/
|
|
public function setLanguageCode($val)
|
|
{
|
|
$this->_propDict["languageCode"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the text
|
|
* The text in the specific language. Required.
|
|
*
|
|
* @return string|null The text
|
|
*/
|
|
public function getText()
|
|
{
|
|
if (array_key_exists("text", $this->_propDict)) {
|
|
return $this->_propDict["text"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the text
|
|
* The text in the specific language. Required.
|
|
*
|
|
* @param string $val The value of the text
|
|
*
|
|
* @return AccessPackageLocalizedText
|
|
*/
|
|
public function setText($val)
|
|
{
|
|
$this->_propDict["text"] = $val;
|
|
return $this;
|
|
}
|
|
}
|