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

89 lines
2.9 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* EvaluateSensitivityLabelsRequest 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;
/**
* EvaluateSensitivityLabelsRequest 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 EvaluateSensitivityLabelsRequest extends Entity
{
/**
* Gets the currentLabel
*
* @return CurrentLabel|null The currentLabel
*/
public function getCurrentLabel()
{
if (array_key_exists("currentLabel", $this->_propDict)) {
if (is_a($this->_propDict["currentLabel"], "\Beta\Microsoft\Graph\Model\CurrentLabel") || is_null($this->_propDict["currentLabel"])) {
return $this->_propDict["currentLabel"];
} else {
$this->_propDict["currentLabel"] = new CurrentLabel($this->_propDict["currentLabel"]);
return $this->_propDict["currentLabel"];
}
}
return null;
}
/**
* Sets the currentLabel
*
* @param CurrentLabel $val The value to assign to the currentLabel
*
* @return EvaluateSensitivityLabelsRequest The EvaluateSensitivityLabelsRequest
*/
public function setCurrentLabel($val)
{
$this->_propDict["currentLabel"] = $val;
return $this;
}
/**
* Gets the discoveredSensitiveTypes
*
* @return DiscoveredSensitiveType|null The discoveredSensitiveTypes
*/
public function getDiscoveredSensitiveTypes()
{
if (array_key_exists("discoveredSensitiveTypes", $this->_propDict)) {
if (is_a($this->_propDict["discoveredSensitiveTypes"], "\Beta\Microsoft\Graph\Model\DiscoveredSensitiveType") || is_null($this->_propDict["discoveredSensitiveTypes"])) {
return $this->_propDict["discoveredSensitiveTypes"];
} else {
$this->_propDict["discoveredSensitiveTypes"] = new DiscoveredSensitiveType($this->_propDict["discoveredSensitiveTypes"]);
return $this->_propDict["discoveredSensitiveTypes"];
}
}
return null;
}
/**
* Sets the discoveredSensitiveTypes
*
* @param DiscoveredSensitiveType $val The value to assign to the discoveredSensitiveTypes
*
* @return EvaluateSensitivityLabelsRequest The EvaluateSensitivityLabelsRequest
*/
public function setDiscoveredSensitiveTypes($val)
{
$this->_propDict["discoveredSensitiveTypes"] = $val;
return $this;
}
}