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

699 lines
18 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* Security 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;
/**
* Security 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 Security extends Entity
{
/**
* Gets the providerStatus
*
* @return array|null The providerStatus
*/
public function getProviderStatus()
{
if (array_key_exists("providerStatus", $this->_propDict)) {
return $this->_propDict["providerStatus"];
} else {
return null;
}
}
/**
* Sets the providerStatus
*
* @param SecurityProviderStatus[] $val The providerStatus
*
* @return Security
*/
public function setProviderStatus($val)
{
$this->_propDict["providerStatus"] = $val;
return $this;
}
/**
* Gets the subjectRightsRequests
*
* @return array|null The subjectRightsRequests
*/
public function getSubjectRightsRequests()
{
if (array_key_exists("subjectRightsRequests", $this->_propDict)) {
return $this->_propDict["subjectRightsRequests"];
} else {
return null;
}
}
/**
* Sets the subjectRightsRequests
*
* @param SubjectRightsRequest[] $val The subjectRightsRequests
*
* @return Security
*/
public function setSubjectRightsRequests($val)
{
$this->_propDict["subjectRightsRequests"] = $val;
return $this;
}
/**
* Gets the cases
*
* @return \Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot|null The cases
*/
public function getCases()
{
if (array_key_exists("cases", $this->_propDict)) {
if (is_a($this->_propDict["cases"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot") || is_null($this->_propDict["cases"])) {
return $this->_propDict["cases"];
} else {
$this->_propDict["cases"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot($this->_propDict["cases"]);
return $this->_propDict["cases"];
}
}
return null;
}
/**
* Sets the cases
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\CasesRoot $val The cases
*
* @return Security
*/
public function setCases($val)
{
$this->_propDict["cases"] = $val;
return $this;
}
/**
* Gets the informationProtection
*
* @return \Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection|null The informationProtection
*/
public function getInformationProtection()
{
if (array_key_exists("informationProtection", $this->_propDict)) {
if (is_a($this->_propDict["informationProtection"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection") || is_null($this->_propDict["informationProtection"])) {
return $this->_propDict["informationProtection"];
} else {
$this->_propDict["informationProtection"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection($this->_propDict["informationProtection"]);
return $this->_propDict["informationProtection"];
}
}
return null;
}
/**
* Sets the informationProtection
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\InformationProtection $val The informationProtection
*
* @return Security
*/
public function setInformationProtection($val)
{
$this->_propDict["informationProtection"] = $val;
return $this;
}
/**
* Gets the alertsV2
*
* @return array|null The alertsV2
*/
public function getAlertsV2()
{
if (array_key_exists("alertsV2", $this->_propDict)) {
return $this->_propDict["alertsV2"];
} else {
return null;
}
}
/**
* Sets the alertsV2
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\Alert[] $val The alertsV2
*
* @return Security
*/
public function setAlertsV2($val)
{
$this->_propDict["alertsV2"] = $val;
return $this;
}
/**
* Gets the incidents
*
* @return array|null The incidents
*/
public function getIncidents()
{
if (array_key_exists("incidents", $this->_propDict)) {
return $this->_propDict["incidents"];
} else {
return null;
}
}
/**
* Sets the incidents
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\Incident[] $val The incidents
*
* @return Security
*/
public function setIncidents($val)
{
$this->_propDict["incidents"] = $val;
return $this;
}
/**
* Gets the attackSimulation
* Provides tenants capability to launch a simulated and realistic phishing attack and learn from it.
*
* @return AttackSimulationRoot|null The attackSimulation
*/
public function getAttackSimulation()
{
if (array_key_exists("attackSimulation", $this->_propDict)) {
if (is_a($this->_propDict["attackSimulation"], "\Beta\Microsoft\Graph\Model\AttackSimulationRoot") || is_null($this->_propDict["attackSimulation"])) {
return $this->_propDict["attackSimulation"];
} else {
$this->_propDict["attackSimulation"] = new AttackSimulationRoot($this->_propDict["attackSimulation"]);
return $this->_propDict["attackSimulation"];
}
}
return null;
}
/**
* Sets the attackSimulation
* Provides tenants capability to launch a simulated and realistic phishing attack and learn from it.
*
* @param AttackSimulationRoot $val The attackSimulation
*
* @return Security
*/
public function setAttackSimulation($val)
{
$this->_propDict["attackSimulation"] = $val;
return $this;
}
/**
* Gets the labels
*
* @return \Beta\Microsoft\Graph\SecurityNamespace\Model\LabelsRoot|null The labels
*/
public function getLabels()
{
if (array_key_exists("labels", $this->_propDict)) {
if (is_a($this->_propDict["labels"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\LabelsRoot") || is_null($this->_propDict["labels"])) {
return $this->_propDict["labels"];
} else {
$this->_propDict["labels"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\LabelsRoot($this->_propDict["labels"]);
return $this->_propDict["labels"];
}
}
return null;
}
/**
* Sets the labels
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\LabelsRoot $val The labels
*
* @return Security
*/
public function setLabels($val)
{
$this->_propDict["labels"] = $val;
return $this;
}
/**
* Gets the triggers
*
* @return \Beta\Microsoft\Graph\SecurityNamespace\Model\TriggersRoot|null The triggers
*/
public function getTriggers()
{
if (array_key_exists("triggers", $this->_propDict)) {
if (is_a($this->_propDict["triggers"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\TriggersRoot") || is_null($this->_propDict["triggers"])) {
return $this->_propDict["triggers"];
} else {
$this->_propDict["triggers"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\TriggersRoot($this->_propDict["triggers"]);
return $this->_propDict["triggers"];
}
}
return null;
}
/**
* Sets the triggers
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\TriggersRoot $val The triggers
*
* @return Security
*/
public function setTriggers($val)
{
$this->_propDict["triggers"] = $val;
return $this;
}
/**
* Gets the triggerTypes
*
* @return \Beta\Microsoft\Graph\SecurityNamespace\Model\TriggerTypesRoot|null The triggerTypes
*/
public function getTriggerTypes()
{
if (array_key_exists("triggerTypes", $this->_propDict)) {
if (is_a($this->_propDict["triggerTypes"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\TriggerTypesRoot") || is_null($this->_propDict["triggerTypes"])) {
return $this->_propDict["triggerTypes"];
} else {
$this->_propDict["triggerTypes"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\TriggerTypesRoot($this->_propDict["triggerTypes"]);
return $this->_propDict["triggerTypes"];
}
}
return null;
}
/**
* Sets the triggerTypes
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\TriggerTypesRoot $val The triggerTypes
*
* @return Security
*/
public function setTriggerTypes($val)
{
$this->_propDict["triggerTypes"] = $val;
return $this;
}
/**
* Gets the threatSubmission
* A threat submission sent to Microsoft; for example, a suspicious email threat, URL threat, or file threat.
*
* @return \Beta\Microsoft\Graph\SecurityNamespace\Model\ThreatSubmissionRoot|null The threatSubmission
*/
public function getThreatSubmission()
{
if (array_key_exists("threatSubmission", $this->_propDict)) {
if (is_a($this->_propDict["threatSubmission"], "\Beta\Microsoft\Graph\SecurityNamespace\Model\ThreatSubmissionRoot") || is_null($this->_propDict["threatSubmission"])) {
return $this->_propDict["threatSubmission"];
} else {
$this->_propDict["threatSubmission"] = new \Beta\Microsoft\Graph\SecurityNamespace\Model\ThreatSubmissionRoot($this->_propDict["threatSubmission"]);
return $this->_propDict["threatSubmission"];
}
}
return null;
}
/**
* Sets the threatSubmission
* A threat submission sent to Microsoft; for example, a suspicious email threat, URL threat, or file threat.
*
* @param \Beta\Microsoft\Graph\SecurityNamespace\Model\ThreatSubmissionRoot $val The threatSubmission
*
* @return Security
*/
public function setThreatSubmission($val)
{
$this->_propDict["threatSubmission"] = $val;
return $this;
}
/**
* Gets the alerts
* Notifications for suspicious or potential security issues in a customers tenant.
*
* @return array|null The alerts
*/
public function getAlerts()
{
if (array_key_exists("alerts", $this->_propDict)) {
return $this->_propDict["alerts"];
} else {
return null;
}
}
/**
* Sets the alerts
* Notifications for suspicious or potential security issues in a customers tenant.
*
* @param Alert[] $val The alerts
*
* @return Security
*/
public function setAlerts($val)
{
$this->_propDict["alerts"] = $val;
return $this;
}
/**
* Gets the cloudAppSecurityProfiles
*
* @return array|null The cloudAppSecurityProfiles
*/
public function getCloudAppSecurityProfiles()
{
if (array_key_exists("cloudAppSecurityProfiles", $this->_propDict)) {
return $this->_propDict["cloudAppSecurityProfiles"];
} else {
return null;
}
}
/**
* Sets the cloudAppSecurityProfiles
*
* @param CloudAppSecurityProfile[] $val The cloudAppSecurityProfiles
*
* @return Security
*/
public function setCloudAppSecurityProfiles($val)
{
$this->_propDict["cloudAppSecurityProfiles"] = $val;
return $this;
}
/**
* Gets the domainSecurityProfiles
*
* @return array|null The domainSecurityProfiles
*/
public function getDomainSecurityProfiles()
{
if (array_key_exists("domainSecurityProfiles", $this->_propDict)) {
return $this->_propDict["domainSecurityProfiles"];
} else {
return null;
}
}
/**
* Sets the domainSecurityProfiles
*
* @param DomainSecurityProfile[] $val The domainSecurityProfiles
*
* @return Security
*/
public function setDomainSecurityProfiles($val)
{
$this->_propDict["domainSecurityProfiles"] = $val;
return $this;
}
/**
* Gets the fileSecurityProfiles
*
* @return array|null The fileSecurityProfiles
*/
public function getFileSecurityProfiles()
{
if (array_key_exists("fileSecurityProfiles", $this->_propDict)) {
return $this->_propDict["fileSecurityProfiles"];
} else {
return null;
}
}
/**
* Sets the fileSecurityProfiles
*
* @param FileSecurityProfile[] $val The fileSecurityProfiles
*
* @return Security
*/
public function setFileSecurityProfiles($val)
{
$this->_propDict["fileSecurityProfiles"] = $val;
return $this;
}
/**
* Gets the hostSecurityProfiles
*
* @return array|null The hostSecurityProfiles
*/
public function getHostSecurityProfiles()
{
if (array_key_exists("hostSecurityProfiles", $this->_propDict)) {
return $this->_propDict["hostSecurityProfiles"];
} else {
return null;
}
}
/**
* Sets the hostSecurityProfiles
*
* @param HostSecurityProfile[] $val The hostSecurityProfiles
*
* @return Security
*/
public function setHostSecurityProfiles($val)
{
$this->_propDict["hostSecurityProfiles"] = $val;
return $this;
}
/**
* Gets the ipSecurityProfiles
*
* @return array|null The ipSecurityProfiles
*/
public function getIpSecurityProfiles()
{
if (array_key_exists("ipSecurityProfiles", $this->_propDict)) {
return $this->_propDict["ipSecurityProfiles"];
} else {
return null;
}
}
/**
* Sets the ipSecurityProfiles
*
* @param IpSecurityProfile[] $val The ipSecurityProfiles
*
* @return Security
*/
public function setIpSecurityProfiles($val)
{
$this->_propDict["ipSecurityProfiles"] = $val;
return $this;
}
/**
* Gets the providerTenantSettings
*
* @return array|null The providerTenantSettings
*/
public function getProviderTenantSettings()
{
if (array_key_exists("providerTenantSettings", $this->_propDict)) {
return $this->_propDict["providerTenantSettings"];
} else {
return null;
}
}
/**
* Sets the providerTenantSettings
*
* @param ProviderTenantSetting[] $val The providerTenantSettings
*
* @return Security
*/
public function setProviderTenantSettings($val)
{
$this->_propDict["providerTenantSettings"] = $val;
return $this;
}
/**
* Gets the secureScoreControlProfiles
*
* @return array|null The secureScoreControlProfiles
*/
public function getSecureScoreControlProfiles()
{
if (array_key_exists("secureScoreControlProfiles", $this->_propDict)) {
return $this->_propDict["secureScoreControlProfiles"];
} else {
return null;
}
}
/**
* Sets the secureScoreControlProfiles
*
* @param SecureScoreControlProfile[] $val The secureScoreControlProfiles
*
* @return Security
*/
public function setSecureScoreControlProfiles($val)
{
$this->_propDict["secureScoreControlProfiles"] = $val;
return $this;
}
/**
* Gets the secureScores
*
* @return array|null The secureScores
*/
public function getSecureScores()
{
if (array_key_exists("secureScores", $this->_propDict)) {
return $this->_propDict["secureScores"];
} else {
return null;
}
}
/**
* Sets the secureScores
*
* @param SecureScore[] $val The secureScores
*
* @return Security
*/
public function setSecureScores($val)
{
$this->_propDict["secureScores"] = $val;
return $this;
}
/**
* Gets the securityActions
*
* @return array|null The securityActions
*/
public function getSecurityActions()
{
if (array_key_exists("securityActions", $this->_propDict)) {
return $this->_propDict["securityActions"];
} else {
return null;
}
}
/**
* Sets the securityActions
*
* @param SecurityAction[] $val The securityActions
*
* @return Security
*/
public function setSecurityActions($val)
{
$this->_propDict["securityActions"] = $val;
return $this;
}
/**
* Gets the tiIndicators
*
* @return array|null The tiIndicators
*/
public function getTiIndicators()
{
if (array_key_exists("tiIndicators", $this->_propDict)) {
return $this->_propDict["tiIndicators"];
} else {
return null;
}
}
/**
* Sets the tiIndicators
*
* @param TiIndicator[] $val The tiIndicators
*
* @return Security
*/
public function setTiIndicators($val)
{
$this->_propDict["tiIndicators"] = $val;
return $this;
}
/**
* Gets the userSecurityProfiles
*
* @return array|null The userSecurityProfiles
*/
public function getUserSecurityProfiles()
{
if (array_key_exists("userSecurityProfiles", $this->_propDict)) {
return $this->_propDict["userSecurityProfiles"];
} else {
return null;
}
}
/**
* Sets the userSecurityProfiles
*
* @param UserSecurityProfile[] $val The userSecurityProfiles
*
* @return Security
*/
public function setUserSecurityProfiles($val)
{
$this->_propDict["userSecurityProfiles"] = $val;
return $this;
}
}