ruạṛ
<?php /** * Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. * * WorkbookChartAxisTitle 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 Microsoft\Graph\Model; /** * WorkbookChartAxisTitle 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 WorkbookChartAxisTitle extends Entity { /** * Gets the text * Represents the axis title. * * @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 * Represents the axis title. * * @param string $val The text * * @return WorkbookChartAxisTitle */ public function setText($val) { $this->_propDict["text"] = $val; return $this; } /** * Gets the visible * A boolean that specifies the visibility of an axis title. * * @return bool|null The visible */ public function getVisible() { if (array_key_exists("visible", $this->_propDict)) { return $this->_propDict["visible"]; } else { return null; } } /** * Sets the visible * A boolean that specifies the visibility of an axis title. * * @param bool $val The visible * * @return WorkbookChartAxisTitle */ public function setVisible($val) { $this->_propDict["visible"] = boolval($val); return $this; } /** * Gets the format * Represents the formatting of chart axis title. Read-only. * * @return WorkbookChartAxisTitleFormat|null The format */ public function getFormat() { if (array_key_exists("format", $this->_propDict)) { if (is_a($this->_propDict["format"], "\Microsoft\Graph\Model\WorkbookChartAxisTitleFormat") || is_null($this->_propDict["format"])) { return $this->_propDict["format"]; } else { $this->_propDict["format"] = new WorkbookChartAxisTitleFormat($this->_propDict["format"]); return $this->_propDict["format"]; } } return null; } /** * Sets the format * Represents the formatting of chart axis title. Read-only. * * @param WorkbookChartAxisTitleFormat $val The format * * @return WorkbookChartAxisTitle */ public function setFormat($val) { $this->_propDict["format"] = $val; return $this; } }
cải xoăn