1
0
Fork 0
m365-php/vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/AssignedLabel.php

83 lines
2.0 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AssignedLabel 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;
/**
* AssignedLabel 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 AssignedLabel extends Entity
{
/**
* Gets the displayName
* The display name of the label. Read-only.
*
* @return string|null The displayName
*/
public function getDisplayName()
{
if (array_key_exists("displayName", $this->_propDict)) {
return $this->_propDict["displayName"];
} else {
return null;
}
}
/**
* Sets the displayName
* The display name of the label. Read-only.
*
* @param string $val The value of the displayName
*
* @return AssignedLabel
*/
public function setDisplayName($val)
{
$this->_propDict["displayName"] = $val;
return $this;
}
/**
* Gets the labelId
* The unique identifier of the label.
*
* @return string|null The labelId
*/
public function getLabelId()
{
if (array_key_exists("labelId", $this->_propDict)) {
return $this->_propDict["labelId"];
} else {
return null;
}
}
/**
* Sets the labelId
* The unique identifier of the label.
*
* @param string $val The value of the labelId
*
* @return AssignedLabel
*/
public function setLabelId($val)
{
$this->_propDict["labelId"] = $val;
return $this;
}
}