Update various things
parent
3289d1dbb3
commit
80d62586a2
35
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSnapshotType.php
vendored
Normal file
35
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/CloudPcSnapshotType.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* CloudPcSnapshotType 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;
|
||||
|
||||
use Microsoft\Graph\Core\Enum;
|
||||
|
||||
/**
|
||||
* CloudPcSnapshotType 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 CloudPcSnapshotType extends Enum
|
||||
{
|
||||
/**
|
||||
* The Enum CloudPcSnapshotType
|
||||
*/
|
||||
const AUTOMATIC = "automatic";
|
||||
const MANUAL = "manual";
|
||||
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* InvalidLicenseAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* InvalidLicenseAlertConfiguration 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 InvalidLicenseAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
}
|
54
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvalidLicenseAlertIncident.php
vendored
Normal file
54
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/InvalidLicenseAlertIncident.php
vendored
Normal file
|
@ -0,0 +1,54 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* InvalidLicenseAlertIncident 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;
|
||||
|
||||
/**
|
||||
* InvalidLicenseAlertIncident 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 InvalidLicenseAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the tenantLicenseStatus
|
||||
*
|
||||
* @return string|null The tenantLicenseStatus
|
||||
*/
|
||||
public function getTenantLicenseStatus()
|
||||
{
|
||||
if (array_key_exists("tenantLicenseStatus", $this->_propDict)) {
|
||||
return $this->_propDict["tenantLicenseStatus"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the tenantLicenseStatus
|
||||
*
|
||||
* @param string $val The tenantLicenseStatus
|
||||
*
|
||||
* @return InvalidLicenseAlertIncident
|
||||
*/
|
||||
public function setTenantLicenseStatus($val)
|
||||
{
|
||||
$this->_propDict["tenantLicenseStatus"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,52 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* JustInTimeEnforcementConfiguration 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;
|
||||
/**
|
||||
* JustInTimeEnforcementConfiguration 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 JustInTimeEnforcementConfiguration extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the isEnabled
|
||||
*
|
||||
* @return bool|null The isEnabled
|
||||
*/
|
||||
public function getIsEnabled()
|
||||
{
|
||||
if (array_key_exists("isEnabled", $this->_propDict)) {
|
||||
return $this->_propDict["isEnabled"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isEnabled
|
||||
*
|
||||
* @param bool $val The value of the isEnabled
|
||||
*
|
||||
* @return JustInTimeEnforcementConfiguration
|
||||
*/
|
||||
public function setIsEnabled($val)
|
||||
{
|
||||
$this->_propDict["isEnabled"] = $val;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* NoMfaOnRoleActivationAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* NoMfaOnRoleActivationAlertConfiguration 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 NoMfaOnRoleActivationAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* NoMfaOnRoleActivationAlertIncident 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;
|
||||
|
||||
/**
|
||||
* NoMfaOnRoleActivationAlertIncident 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 NoMfaOnRoleActivationAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the roleDisplayName
|
||||
*
|
||||
* @return string|null The roleDisplayName
|
||||
*/
|
||||
public function getRoleDisplayName()
|
||||
{
|
||||
if (array_key_exists("roleDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["roleDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDisplayName
|
||||
*
|
||||
* @param string $val The roleDisplayName
|
||||
*
|
||||
* @return NoMfaOnRoleActivationAlertIncident
|
||||
*/
|
||||
public function setRoleDisplayName($val)
|
||||
{
|
||||
$this->_propDict["roleDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleTemplateId
|
||||
*
|
||||
* @return string|null The roleTemplateId
|
||||
*/
|
||||
public function getRoleTemplateId()
|
||||
{
|
||||
if (array_key_exists("roleTemplateId", $this->_propDict)) {
|
||||
return $this->_propDict["roleTemplateId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleTemplateId
|
||||
*
|
||||
* @param string $val The roleTemplateId
|
||||
*
|
||||
* @return NoMfaOnRoleActivationAlertIncident
|
||||
*/
|
||||
public function setRoleTemplateId($val)
|
||||
{
|
||||
$this->_propDict["roleTemplateId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* RedundantAssignmentAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* RedundantAssignmentAlertConfiguration 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 RedundantAssignmentAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
/**
|
||||
* Gets the duration
|
||||
*
|
||||
* @return \DateInterval|null The duration
|
||||
*/
|
||||
public function getDuration()
|
||||
{
|
||||
if (array_key_exists("duration", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) {
|
||||
return $this->_propDict["duration"];
|
||||
} else {
|
||||
$this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]);
|
||||
return $this->_propDict["duration"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the duration
|
||||
*
|
||||
* @param \DateInterval $val The duration
|
||||
*
|
||||
* @return RedundantAssignmentAlertConfiguration
|
||||
*/
|
||||
public function setDuration($val)
|
||||
{
|
||||
$this->_propDict["duration"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
220
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php
vendored
Normal file
220
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RedundantAssignmentAlertIncident.php
vendored
Normal file
|
@ -0,0 +1,220 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* RedundantAssignmentAlertIncident 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;
|
||||
|
||||
/**
|
||||
* RedundantAssignmentAlertIncident 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 RedundantAssignmentAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the assigneeDisplayName
|
||||
*
|
||||
* @return string|null The assigneeDisplayName
|
||||
*/
|
||||
public function getAssigneeDisplayName()
|
||||
{
|
||||
if (array_key_exists("assigneeDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeDisplayName
|
||||
*
|
||||
* @param string $val The assigneeDisplayName
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setAssigneeDisplayName($val)
|
||||
{
|
||||
$this->_propDict["assigneeDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeId
|
||||
*
|
||||
* @return string|null The assigneeId
|
||||
*/
|
||||
public function getAssigneeId()
|
||||
{
|
||||
if (array_key_exists("assigneeId", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeId
|
||||
*
|
||||
* @param string $val The assigneeId
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setAssigneeId($val)
|
||||
{
|
||||
$this->_propDict["assigneeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeUserPrincipalName
|
||||
*
|
||||
* @return string|null The assigneeUserPrincipalName
|
||||
*/
|
||||
public function getAssigneeUserPrincipalName()
|
||||
{
|
||||
if (array_key_exists("assigneeUserPrincipalName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeUserPrincipalName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeUserPrincipalName
|
||||
*
|
||||
* @param string $val The assigneeUserPrincipalName
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setAssigneeUserPrincipalName($val)
|
||||
{
|
||||
$this->_propDict["assigneeUserPrincipalName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the lastActivationDateTime
|
||||
*
|
||||
* @return \DateTime|null The lastActivationDateTime
|
||||
*/
|
||||
public function getLastActivationDateTime()
|
||||
{
|
||||
if (array_key_exists("lastActivationDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["lastActivationDateTime"], "\DateTime") || is_null($this->_propDict["lastActivationDateTime"])) {
|
||||
return $this->_propDict["lastActivationDateTime"];
|
||||
} else {
|
||||
$this->_propDict["lastActivationDateTime"] = new \DateTime($this->_propDict["lastActivationDateTime"]);
|
||||
return $this->_propDict["lastActivationDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the lastActivationDateTime
|
||||
*
|
||||
* @param \DateTime $val The lastActivationDateTime
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setLastActivationDateTime($val)
|
||||
{
|
||||
$this->_propDict["lastActivationDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDefinitionId
|
||||
*
|
||||
* @return string|null The roleDefinitionId
|
||||
*/
|
||||
public function getRoleDefinitionId()
|
||||
{
|
||||
if (array_key_exists("roleDefinitionId", $this->_propDict)) {
|
||||
return $this->_propDict["roleDefinitionId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDefinitionId
|
||||
*
|
||||
* @param string $val The roleDefinitionId
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setRoleDefinitionId($val)
|
||||
{
|
||||
$this->_propDict["roleDefinitionId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDisplayName
|
||||
*
|
||||
* @return string|null The roleDisplayName
|
||||
*/
|
||||
public function getRoleDisplayName()
|
||||
{
|
||||
if (array_key_exists("roleDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["roleDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDisplayName
|
||||
*
|
||||
* @param string $val The roleDisplayName
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setRoleDisplayName($val)
|
||||
{
|
||||
$this->_propDict["roleDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleTemplateId
|
||||
*
|
||||
* @return string|null The roleTemplateId
|
||||
*/
|
||||
public function getRoleTemplateId()
|
||||
{
|
||||
if (array_key_exists("roleTemplateId", $this->_propDict)) {
|
||||
return $this->_propDict["roleTemplateId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleTemplateId
|
||||
*
|
||||
* @param string $val The roleTemplateId
|
||||
*
|
||||
* @return RedundantAssignmentAlertIncident
|
||||
*/
|
||||
public function setRoleTemplateId($val)
|
||||
{
|
||||
$this->_propDict["roleTemplateId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
139
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleManagementAlert.php
vendored
Normal file
139
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/RoleManagementAlert.php
vendored
Normal file
|
@ -0,0 +1,139 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* RoleManagementAlert 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;
|
||||
|
||||
/**
|
||||
* RoleManagementAlert 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 RoleManagementAlert extends Entity
|
||||
{
|
||||
|
||||
/**
|
||||
* Gets the alertConfigurations
|
||||
*
|
||||
* @return array|null The alertConfigurations
|
||||
*/
|
||||
public function getAlertConfigurations()
|
||||
{
|
||||
if (array_key_exists("alertConfigurations", $this->_propDict)) {
|
||||
return $this->_propDict["alertConfigurations"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertConfigurations
|
||||
*
|
||||
* @param UnifiedRoleManagementAlertConfiguration[] $val The alertConfigurations
|
||||
*
|
||||
* @return RoleManagementAlert
|
||||
*/
|
||||
public function setAlertConfigurations($val)
|
||||
{
|
||||
$this->_propDict["alertConfigurations"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the alertDefinitions
|
||||
*
|
||||
* @return array|null The alertDefinitions
|
||||
*/
|
||||
public function getAlertDefinitions()
|
||||
{
|
||||
if (array_key_exists("alertDefinitions", $this->_propDict)) {
|
||||
return $this->_propDict["alertDefinitions"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertDefinitions
|
||||
*
|
||||
* @param UnifiedRoleManagementAlertDefinition[] $val The alertDefinitions
|
||||
*
|
||||
* @return RoleManagementAlert
|
||||
*/
|
||||
public function setAlertDefinitions($val)
|
||||
{
|
||||
$this->_propDict["alertDefinitions"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the alerts
|
||||
*
|
||||
* @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
|
||||
*
|
||||
* @param UnifiedRoleManagementAlert[] $val The alerts
|
||||
*
|
||||
* @return RoleManagementAlert
|
||||
*/
|
||||
public function setAlerts($val)
|
||||
{
|
||||
$this->_propDict["alerts"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the operations
|
||||
*
|
||||
* @return array|null The operations
|
||||
*/
|
||||
public function getOperations()
|
||||
{
|
||||
if (array_key_exists("operations", $this->_propDict)) {
|
||||
return $this->_propDict["operations"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the operations
|
||||
*
|
||||
* @param LongRunningOperation[] $val The operations
|
||||
*
|
||||
* @return RoleManagementAlert
|
||||
*/
|
||||
public function setOperations($val)
|
||||
{
|
||||
$this->_propDict["operations"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* RolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* RolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration 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 RolesAssignedOutsidePrivilegedIdentityManagementAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
}
|
|
@ -0,0 +1,220 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident 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;
|
||||
|
||||
/**
|
||||
* RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident 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 RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the assigneeDisplayName
|
||||
*
|
||||
* @return string|null The assigneeDisplayName
|
||||
*/
|
||||
public function getAssigneeDisplayName()
|
||||
{
|
||||
if (array_key_exists("assigneeDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeDisplayName
|
||||
*
|
||||
* @param string $val The assigneeDisplayName
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setAssigneeDisplayName($val)
|
||||
{
|
||||
$this->_propDict["assigneeDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeId
|
||||
*
|
||||
* @return string|null The assigneeId
|
||||
*/
|
||||
public function getAssigneeId()
|
||||
{
|
||||
if (array_key_exists("assigneeId", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeId
|
||||
*
|
||||
* @param string $val The assigneeId
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setAssigneeId($val)
|
||||
{
|
||||
$this->_propDict["assigneeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeUserPrincipalName
|
||||
*
|
||||
* @return string|null The assigneeUserPrincipalName
|
||||
*/
|
||||
public function getAssigneeUserPrincipalName()
|
||||
{
|
||||
if (array_key_exists("assigneeUserPrincipalName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeUserPrincipalName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeUserPrincipalName
|
||||
*
|
||||
* @param string $val The assigneeUserPrincipalName
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setAssigneeUserPrincipalName($val)
|
||||
{
|
||||
$this->_propDict["assigneeUserPrincipalName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assignmentCreatedDateTime
|
||||
*
|
||||
* @return \DateTime|null The assignmentCreatedDateTime
|
||||
*/
|
||||
public function getAssignmentCreatedDateTime()
|
||||
{
|
||||
if (array_key_exists("assignmentCreatedDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["assignmentCreatedDateTime"], "\DateTime") || is_null($this->_propDict["assignmentCreatedDateTime"])) {
|
||||
return $this->_propDict["assignmentCreatedDateTime"];
|
||||
} else {
|
||||
$this->_propDict["assignmentCreatedDateTime"] = new \DateTime($this->_propDict["assignmentCreatedDateTime"]);
|
||||
return $this->_propDict["assignmentCreatedDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assignmentCreatedDateTime
|
||||
*
|
||||
* @param \DateTime $val The assignmentCreatedDateTime
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setAssignmentCreatedDateTime($val)
|
||||
{
|
||||
$this->_propDict["assignmentCreatedDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDefinitionId
|
||||
*
|
||||
* @return string|null The roleDefinitionId
|
||||
*/
|
||||
public function getRoleDefinitionId()
|
||||
{
|
||||
if (array_key_exists("roleDefinitionId", $this->_propDict)) {
|
||||
return $this->_propDict["roleDefinitionId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDefinitionId
|
||||
*
|
||||
* @param string $val The roleDefinitionId
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setRoleDefinitionId($val)
|
||||
{
|
||||
$this->_propDict["roleDefinitionId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDisplayName
|
||||
*
|
||||
* @return string|null The roleDisplayName
|
||||
*/
|
||||
public function getRoleDisplayName()
|
||||
{
|
||||
if (array_key_exists("roleDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["roleDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDisplayName
|
||||
*
|
||||
* @param string $val The roleDisplayName
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setRoleDisplayName($val)
|
||||
{
|
||||
$this->_propDict["roleDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleTemplateId
|
||||
*
|
||||
* @return string|null The roleTemplateId
|
||||
*/
|
||||
public function getRoleTemplateId()
|
||||
{
|
||||
if (array_key_exists("roleTemplateId", $this->_propDict)) {
|
||||
return $this->_propDict["roleTemplateId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleTemplateId
|
||||
*
|
||||
* @param string $val The roleTemplateId
|
||||
*
|
||||
* @return RolesAssignedOutsidePrivilegedIdentityManagementAlertIncident
|
||||
*/
|
||||
public function setRoleTemplateId($val)
|
||||
{
|
||||
$this->_propDict["roleTemplateId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
26
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureSignInSessionControl.php
vendored
Normal file
26
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/SecureSignInSessionControl.php
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* SecureSignInSessionControl 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;
|
||||
/**
|
||||
* SecureSignInSessionControl 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 SecureSignInSessionControl extends ConditionalAccessSessionControl
|
||||
{
|
||||
}
|
|
@ -0,0 +1,85 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* SequentialActivationRenewalsAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* SequentialActivationRenewalsAlertConfiguration 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 SequentialActivationRenewalsAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
/**
|
||||
* Gets the sequentialActivationCounterThreshold
|
||||
*
|
||||
* @return int|null The sequentialActivationCounterThreshold
|
||||
*/
|
||||
public function getSequentialActivationCounterThreshold()
|
||||
{
|
||||
if (array_key_exists("sequentialActivationCounterThreshold", $this->_propDict)) {
|
||||
return $this->_propDict["sequentialActivationCounterThreshold"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sequentialActivationCounterThreshold
|
||||
*
|
||||
* @param int $val The sequentialActivationCounterThreshold
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertConfiguration
|
||||
*/
|
||||
public function setSequentialActivationCounterThreshold($val)
|
||||
{
|
||||
$this->_propDict["sequentialActivationCounterThreshold"] = intval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the timeIntervalBetweenActivations
|
||||
*
|
||||
* @return \DateInterval|null The timeIntervalBetweenActivations
|
||||
*/
|
||||
public function getTimeIntervalBetweenActivations()
|
||||
{
|
||||
if (array_key_exists("timeIntervalBetweenActivations", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["timeIntervalBetweenActivations"], "\DateInterval") || is_null($this->_propDict["timeIntervalBetweenActivations"])) {
|
||||
return $this->_propDict["timeIntervalBetweenActivations"];
|
||||
} else {
|
||||
$this->_propDict["timeIntervalBetweenActivations"] = new \DateInterval($this->_propDict["timeIntervalBetweenActivations"]);
|
||||
return $this->_propDict["timeIntervalBetweenActivations"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the timeIntervalBetweenActivations
|
||||
*
|
||||
* @param \DateInterval $val The timeIntervalBetweenActivations
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertConfiguration
|
||||
*/
|
||||
public function setTimeIntervalBetweenActivations($val)
|
||||
{
|
||||
$this->_propDict["timeIntervalBetweenActivations"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,278 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* SequentialActivationRenewalsAlertIncident 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;
|
||||
|
||||
/**
|
||||
* SequentialActivationRenewalsAlertIncident 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 SequentialActivationRenewalsAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the activationCount
|
||||
*
|
||||
* @return int|null The activationCount
|
||||
*/
|
||||
public function getActivationCount()
|
||||
{
|
||||
if (array_key_exists("activationCount", $this->_propDict)) {
|
||||
return $this->_propDict["activationCount"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the activationCount
|
||||
*
|
||||
* @param int $val The activationCount
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setActivationCount($val)
|
||||
{
|
||||
$this->_propDict["activationCount"] = intval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeDisplayName
|
||||
*
|
||||
* @return string|null The assigneeDisplayName
|
||||
*/
|
||||
public function getAssigneeDisplayName()
|
||||
{
|
||||
if (array_key_exists("assigneeDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeDisplayName
|
||||
*
|
||||
* @param string $val The assigneeDisplayName
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setAssigneeDisplayName($val)
|
||||
{
|
||||
$this->_propDict["assigneeDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeId
|
||||
*
|
||||
* @return string|null The assigneeId
|
||||
*/
|
||||
public function getAssigneeId()
|
||||
{
|
||||
if (array_key_exists("assigneeId", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeId
|
||||
*
|
||||
* @param string $val The assigneeId
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setAssigneeId($val)
|
||||
{
|
||||
$this->_propDict["assigneeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeUserPrincipalName
|
||||
*
|
||||
* @return string|null The assigneeUserPrincipalName
|
||||
*/
|
||||
public function getAssigneeUserPrincipalName()
|
||||
{
|
||||
if (array_key_exists("assigneeUserPrincipalName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeUserPrincipalName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeUserPrincipalName
|
||||
*
|
||||
* @param string $val The assigneeUserPrincipalName
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setAssigneeUserPrincipalName($val)
|
||||
{
|
||||
$this->_propDict["assigneeUserPrincipalName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDefinitionId
|
||||
*
|
||||
* @return string|null The roleDefinitionId
|
||||
*/
|
||||
public function getRoleDefinitionId()
|
||||
{
|
||||
if (array_key_exists("roleDefinitionId", $this->_propDict)) {
|
||||
return $this->_propDict["roleDefinitionId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDefinitionId
|
||||
*
|
||||
* @param string $val The roleDefinitionId
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setRoleDefinitionId($val)
|
||||
{
|
||||
$this->_propDict["roleDefinitionId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDisplayName
|
||||
*
|
||||
* @return string|null The roleDisplayName
|
||||
*/
|
||||
public function getRoleDisplayName()
|
||||
{
|
||||
if (array_key_exists("roleDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["roleDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDisplayName
|
||||
*
|
||||
* @param string $val The roleDisplayName
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setRoleDisplayName($val)
|
||||
{
|
||||
$this->_propDict["roleDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleTemplateId
|
||||
*
|
||||
* @return string|null The roleTemplateId
|
||||
*/
|
||||
public function getRoleTemplateId()
|
||||
{
|
||||
if (array_key_exists("roleTemplateId", $this->_propDict)) {
|
||||
return $this->_propDict["roleTemplateId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleTemplateId
|
||||
*
|
||||
* @param string $val The roleTemplateId
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setRoleTemplateId($val)
|
||||
{
|
||||
$this->_propDict["roleTemplateId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the sequenceEndDateTime
|
||||
*
|
||||
* @return \DateTime|null The sequenceEndDateTime
|
||||
*/
|
||||
public function getSequenceEndDateTime()
|
||||
{
|
||||
if (array_key_exists("sequenceEndDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["sequenceEndDateTime"], "\DateTime") || is_null($this->_propDict["sequenceEndDateTime"])) {
|
||||
return $this->_propDict["sequenceEndDateTime"];
|
||||
} else {
|
||||
$this->_propDict["sequenceEndDateTime"] = new \DateTime($this->_propDict["sequenceEndDateTime"]);
|
||||
return $this->_propDict["sequenceEndDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sequenceEndDateTime
|
||||
*
|
||||
* @param \DateTime $val The sequenceEndDateTime
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setSequenceEndDateTime($val)
|
||||
{
|
||||
$this->_propDict["sequenceEndDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the sequenceStartDateTime
|
||||
*
|
||||
* @return \DateTime|null The sequenceStartDateTime
|
||||
*/
|
||||
public function getSequenceStartDateTime()
|
||||
{
|
||||
if (array_key_exists("sequenceStartDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["sequenceStartDateTime"], "\DateTime") || is_null($this->_propDict["sequenceStartDateTime"])) {
|
||||
return $this->_propDict["sequenceStartDateTime"];
|
||||
} else {
|
||||
$this->_propDict["sequenceStartDateTime"] = new \DateTime($this->_propDict["sequenceStartDateTime"]);
|
||||
return $this->_propDict["sequenceStartDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sequenceStartDateTime
|
||||
*
|
||||
* @param \DateTime $val The sequenceStartDateTime
|
||||
*
|
||||
* @return SequentialActivationRenewalsAlertIncident
|
||||
*/
|
||||
public function setSequenceStartDateTime($val)
|
||||
{
|
||||
$this->_propDict["sequenceStartDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,58 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* StaleSignInAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* StaleSignInAlertConfiguration 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 StaleSignInAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
/**
|
||||
* Gets the duration
|
||||
*
|
||||
* @return \DateInterval|null The duration
|
||||
*/
|
||||
public function getDuration()
|
||||
{
|
||||
if (array_key_exists("duration", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["duration"], "\DateInterval") || is_null($this->_propDict["duration"])) {
|
||||
return $this->_propDict["duration"];
|
||||
} else {
|
||||
$this->_propDict["duration"] = new \DateInterval($this->_propDict["duration"]);
|
||||
return $this->_propDict["duration"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the duration
|
||||
*
|
||||
* @param \DateInterval $val The duration
|
||||
*
|
||||
* @return StaleSignInAlertConfiguration
|
||||
*/
|
||||
public function setDuration($val)
|
||||
{
|
||||
$this->_propDict["duration"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
251
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StaleSignInAlertIncident.php
vendored
Normal file
251
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/StaleSignInAlertIncident.php
vendored
Normal file
|
@ -0,0 +1,251 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* StaleSignInAlertIncident 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;
|
||||
|
||||
/**
|
||||
* StaleSignInAlertIncident 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 StaleSignInAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the assigneeDisplayName
|
||||
*
|
||||
* @return string|null The assigneeDisplayName
|
||||
*/
|
||||
public function getAssigneeDisplayName()
|
||||
{
|
||||
if (array_key_exists("assigneeDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeDisplayName
|
||||
*
|
||||
* @param string $val The assigneeDisplayName
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setAssigneeDisplayName($val)
|
||||
{
|
||||
$this->_propDict["assigneeDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeId
|
||||
*
|
||||
* @return string|null The assigneeId
|
||||
*/
|
||||
public function getAssigneeId()
|
||||
{
|
||||
if (array_key_exists("assigneeId", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeId
|
||||
*
|
||||
* @param string $val The assigneeId
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setAssigneeId($val)
|
||||
{
|
||||
$this->_propDict["assigneeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeUserPrincipalName
|
||||
*
|
||||
* @return string|null The assigneeUserPrincipalName
|
||||
*/
|
||||
public function getAssigneeUserPrincipalName()
|
||||
{
|
||||
if (array_key_exists("assigneeUserPrincipalName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeUserPrincipalName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeUserPrincipalName
|
||||
*
|
||||
* @param string $val The assigneeUserPrincipalName
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setAssigneeUserPrincipalName($val)
|
||||
{
|
||||
$this->_propDict["assigneeUserPrincipalName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assignmentCreatedDateTime
|
||||
*
|
||||
* @return \DateTime|null The assignmentCreatedDateTime
|
||||
*/
|
||||
public function getAssignmentCreatedDateTime()
|
||||
{
|
||||
if (array_key_exists("assignmentCreatedDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["assignmentCreatedDateTime"], "\DateTime") || is_null($this->_propDict["assignmentCreatedDateTime"])) {
|
||||
return $this->_propDict["assignmentCreatedDateTime"];
|
||||
} else {
|
||||
$this->_propDict["assignmentCreatedDateTime"] = new \DateTime($this->_propDict["assignmentCreatedDateTime"]);
|
||||
return $this->_propDict["assignmentCreatedDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assignmentCreatedDateTime
|
||||
*
|
||||
* @param \DateTime $val The assignmentCreatedDateTime
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setAssignmentCreatedDateTime($val)
|
||||
{
|
||||
$this->_propDict["assignmentCreatedDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the lastSignInDateTime
|
||||
*
|
||||
* @return \DateTime|null The lastSignInDateTime
|
||||
*/
|
||||
public function getLastSignInDateTime()
|
||||
{
|
||||
if (array_key_exists("lastSignInDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["lastSignInDateTime"], "\DateTime") || is_null($this->_propDict["lastSignInDateTime"])) {
|
||||
return $this->_propDict["lastSignInDateTime"];
|
||||
} else {
|
||||
$this->_propDict["lastSignInDateTime"] = new \DateTime($this->_propDict["lastSignInDateTime"]);
|
||||
return $this->_propDict["lastSignInDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the lastSignInDateTime
|
||||
*
|
||||
* @param \DateTime $val The lastSignInDateTime
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setLastSignInDateTime($val)
|
||||
{
|
||||
$this->_propDict["lastSignInDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDefinitionId
|
||||
*
|
||||
* @return string|null The roleDefinitionId
|
||||
*/
|
||||
public function getRoleDefinitionId()
|
||||
{
|
||||
if (array_key_exists("roleDefinitionId", $this->_propDict)) {
|
||||
return $this->_propDict["roleDefinitionId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDefinitionId
|
||||
*
|
||||
* @param string $val The roleDefinitionId
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setRoleDefinitionId($val)
|
||||
{
|
||||
$this->_propDict["roleDefinitionId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleDisplayName
|
||||
*
|
||||
* @return string|null The roleDisplayName
|
||||
*/
|
||||
public function getRoleDisplayName()
|
||||
{
|
||||
if (array_key_exists("roleDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["roleDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDisplayName
|
||||
*
|
||||
* @param string $val The roleDisplayName
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setRoleDisplayName($val)
|
||||
{
|
||||
$this->_propDict["roleDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the roleTemplateId
|
||||
*
|
||||
* @return string|null The roleTemplateId
|
||||
*/
|
||||
public function getRoleTemplateId()
|
||||
{
|
||||
if (array_key_exists("roleTemplateId", $this->_propDict)) {
|
||||
return $this->_propDict["roleTemplateId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleTemplateId
|
||||
*
|
||||
* @param string $val The roleTemplateId
|
||||
*
|
||||
* @return StaleSignInAlertIncident
|
||||
*/
|
||||
public function setRoleTemplateId($val)
|
||||
{
|
||||
$this->_propDict["roleTemplateId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,81 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* TooManyGlobalAdminsAssignedToTenantAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* TooManyGlobalAdminsAssignedToTenantAlertConfiguration 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 TooManyGlobalAdminsAssignedToTenantAlertConfiguration extends UnifiedRoleManagementAlertConfiguration
|
||||
{
|
||||
/**
|
||||
* Gets the globalAdminCountThreshold
|
||||
*
|
||||
* @return int|null The globalAdminCountThreshold
|
||||
*/
|
||||
public function getGlobalAdminCountThreshold()
|
||||
{
|
||||
if (array_key_exists("globalAdminCountThreshold", $this->_propDict)) {
|
||||
return $this->_propDict["globalAdminCountThreshold"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the globalAdminCountThreshold
|
||||
*
|
||||
* @param int $val The globalAdminCountThreshold
|
||||
*
|
||||
* @return TooManyGlobalAdminsAssignedToTenantAlertConfiguration
|
||||
*/
|
||||
public function setGlobalAdminCountThreshold($val)
|
||||
{
|
||||
$this->_propDict["globalAdminCountThreshold"] = intval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the percentageOfGlobalAdminsOutOfRolesThreshold
|
||||
*
|
||||
* @return int|null The percentageOfGlobalAdminsOutOfRolesThreshold
|
||||
*/
|
||||
public function getPercentageOfGlobalAdminsOutOfRolesThreshold()
|
||||
{
|
||||
if (array_key_exists("percentageOfGlobalAdminsOutOfRolesThreshold", $this->_propDict)) {
|
||||
return $this->_propDict["percentageOfGlobalAdminsOutOfRolesThreshold"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the percentageOfGlobalAdminsOutOfRolesThreshold
|
||||
*
|
||||
* @param int $val The percentageOfGlobalAdminsOutOfRolesThreshold
|
||||
*
|
||||
* @return TooManyGlobalAdminsAssignedToTenantAlertConfiguration
|
||||
*/
|
||||
public function setPercentageOfGlobalAdminsOutOfRolesThreshold($val)
|
||||
{
|
||||
$this->_propDict["percentageOfGlobalAdminsOutOfRolesThreshold"] = intval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,108 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* TooManyGlobalAdminsAssignedToTenantAlertIncident 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;
|
||||
|
||||
/**
|
||||
* TooManyGlobalAdminsAssignedToTenantAlertIncident 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 TooManyGlobalAdminsAssignedToTenantAlertIncident extends UnifiedRoleManagementAlertIncident
|
||||
{
|
||||
/**
|
||||
* Gets the assigneeDisplayName
|
||||
*
|
||||
* @return string|null The assigneeDisplayName
|
||||
*/
|
||||
public function getAssigneeDisplayName()
|
||||
{
|
||||
if (array_key_exists("assigneeDisplayName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeDisplayName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeDisplayName
|
||||
*
|
||||
* @param string $val The assigneeDisplayName
|
||||
*
|
||||
* @return TooManyGlobalAdminsAssignedToTenantAlertIncident
|
||||
*/
|
||||
public function setAssigneeDisplayName($val)
|
||||
{
|
||||
$this->_propDict["assigneeDisplayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeId
|
||||
*
|
||||
* @return string|null The assigneeId
|
||||
*/
|
||||
public function getAssigneeId()
|
||||
{
|
||||
if (array_key_exists("assigneeId", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeId
|
||||
*
|
||||
* @param string $val The assigneeId
|
||||
*
|
||||
* @return TooManyGlobalAdminsAssignedToTenantAlertIncident
|
||||
*/
|
||||
public function setAssigneeId($val)
|
||||
{
|
||||
$this->_propDict["assigneeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the assigneeUserPrincipalName
|
||||
*
|
||||
* @return string|null The assigneeUserPrincipalName
|
||||
*/
|
||||
public function getAssigneeUserPrincipalName()
|
||||
{
|
||||
if (array_key_exists("assigneeUserPrincipalName", $this->_propDict)) {
|
||||
return $this->_propDict["assigneeUserPrincipalName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the assigneeUserPrincipalName
|
||||
*
|
||||
* @param string $val The assigneeUserPrincipalName
|
||||
*
|
||||
* @return TooManyGlobalAdminsAssignedToTenantAlertIncident
|
||||
*/
|
||||
public function setAssigneeUserPrincipalName($val)
|
||||
{
|
||||
$this->_propDict["assigneeUserPrincipalName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
139
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php
vendored
Normal file
139
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRbacApplication.php
vendored
Normal file
|
@ -0,0 +1,139 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* UnifiedRbacApplication 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;
|
||||
|
||||
/**
|
||||
* UnifiedRbacApplication 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 UnifiedRbacApplication extends Entity
|
||||
{
|
||||
|
||||
/**
|
||||
* Gets the resourceNamespaces
|
||||
*
|
||||
* @return array|null The resourceNamespaces
|
||||
*/
|
||||
public function getResourceNamespaces()
|
||||
{
|
||||
if (array_key_exists("resourceNamespaces", $this->_propDict)) {
|
||||
return $this->_propDict["resourceNamespaces"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the resourceNamespaces
|
||||
*
|
||||
* @param UnifiedRbacResourceNamespace[] $val The resourceNamespaces
|
||||
*
|
||||
* @return UnifiedRbacApplication
|
||||
*/
|
||||
public function setResourceNamespaces($val)
|
||||
{
|
||||
$this->_propDict["resourceNamespaces"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the roleAssignments
|
||||
*
|
||||
* @return array|null The roleAssignments
|
||||
*/
|
||||
public function getRoleAssignments()
|
||||
{
|
||||
if (array_key_exists("roleAssignments", $this->_propDict)) {
|
||||
return $this->_propDict["roleAssignments"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleAssignments
|
||||
*
|
||||
* @param UnifiedRoleAssignment[] $val The roleAssignments
|
||||
*
|
||||
* @return UnifiedRbacApplication
|
||||
*/
|
||||
public function setRoleAssignments($val)
|
||||
{
|
||||
$this->_propDict["roleAssignments"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the roleDefinitions
|
||||
*
|
||||
* @return array|null The roleDefinitions
|
||||
*/
|
||||
public function getRoleDefinitions()
|
||||
{
|
||||
if (array_key_exists("roleDefinitions", $this->_propDict)) {
|
||||
return $this->_propDict["roleDefinitions"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the roleDefinitions
|
||||
*
|
||||
* @param UnifiedRoleDefinition[] $val The roleDefinitions
|
||||
*
|
||||
* @return UnifiedRbacApplication
|
||||
*/
|
||||
public function setRoleDefinitions($val)
|
||||
{
|
||||
$this->_propDict["roleDefinitions"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the transitiveRoleAssignments
|
||||
*
|
||||
* @return array|null The transitiveRoleAssignments
|
||||
*/
|
||||
public function getTransitiveRoleAssignments()
|
||||
{
|
||||
if (array_key_exists("transitiveRoleAssignments", $this->_propDict)) {
|
||||
return $this->_propDict["transitiveRoleAssignments"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the transitiveRoleAssignments
|
||||
*
|
||||
* @param UnifiedRoleAssignment[] $val The transitiveRoleAssignments
|
||||
*
|
||||
* @return UnifiedRbacApplication
|
||||
*/
|
||||
public function setTransitiveRoleAssignments($val)
|
||||
{
|
||||
$this->_propDict["transitiveRoleAssignments"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
314
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementAlert.php
vendored
Normal file
314
vendor/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/UnifiedRoleManagementAlert.php
vendored
Normal file
|
@ -0,0 +1,314 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* UnifiedRoleManagementAlert 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;
|
||||
|
||||
/**
|
||||
* UnifiedRoleManagementAlert 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 UnifiedRoleManagementAlert extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the alertDefinitionId
|
||||
*
|
||||
* @return string|null The alertDefinitionId
|
||||
*/
|
||||
public function getAlertDefinitionId()
|
||||
{
|
||||
if (array_key_exists("alertDefinitionId", $this->_propDict)) {
|
||||
return $this->_propDict["alertDefinitionId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertDefinitionId
|
||||
*
|
||||
* @param string $val The alertDefinitionId
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setAlertDefinitionId($val)
|
||||
{
|
||||
$this->_propDict["alertDefinitionId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the incidentCount
|
||||
*
|
||||
* @return int|null The incidentCount
|
||||
*/
|
||||
public function getIncidentCount()
|
||||
{
|
||||
if (array_key_exists("incidentCount", $this->_propDict)) {
|
||||
return $this->_propDict["incidentCount"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the incidentCount
|
||||
*
|
||||
* @param int $val The incidentCount
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setIncidentCount($val)
|
||||
{
|
||||
$this->_propDict["incidentCount"] = intval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the isActive
|
||||
*
|
||||
* @return bool|null The isActive
|
||||
*/
|
||||
public function getIsActive()
|
||||
{
|
||||
if (array_key_exists("isActive", $this->_propDict)) {
|
||||
return $this->_propDict["isActive"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isActive
|
||||
*
|
||||
* @param bool $val The isActive
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setIsActive($val)
|
||||
{
|
||||
$this->_propDict["isActive"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the lastModifiedDateTime
|
||||
*
|
||||
* @return \DateTime|null The lastModifiedDateTime
|
||||
*/
|
||||
public function getLastModifiedDateTime()
|
||||
{
|
||||
if (array_key_exists("lastModifiedDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["lastModifiedDateTime"], "\DateTime") || is_null($this->_propDict["lastModifiedDateTime"])) {
|
||||
return $this->_propDict["lastModifiedDateTime"];
|
||||
} else {
|
||||
$this->_propDict["lastModifiedDateTime"] = new \DateTime($this->_propDict["lastModifiedDateTime"]);
|
||||
return $this->_propDict["lastModifiedDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the lastModifiedDateTime
|
||||
*
|
||||
* @param \DateTime $val The lastModifiedDateTime
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setLastModifiedDateTime($val)
|
||||
{
|
||||
$this->_propDict["lastModifiedDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the lastScannedDateTime
|
||||
*
|
||||
* @return \DateTime|null The lastScannedDateTime
|
||||
*/
|
||||
public function getLastScannedDateTime()
|
||||
{
|
||||
if (array_key_exists("lastScannedDateTime", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["lastScannedDateTime"], "\DateTime") || is_null($this->_propDict["lastScannedDateTime"])) {
|
||||
return $this->_propDict["lastScannedDateTime"];
|
||||
} else {
|
||||
$this->_propDict["lastScannedDateTime"] = new \DateTime($this->_propDict["lastScannedDateTime"]);
|
||||
return $this->_propDict["lastScannedDateTime"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the lastScannedDateTime
|
||||
*
|
||||
* @param \DateTime $val The lastScannedDateTime
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setLastScannedDateTime($val)
|
||||
{
|
||||
$this->_propDict["lastScannedDateTime"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the scopeId
|
||||
*
|
||||
* @return string|null The scopeId
|
||||
*/
|
||||
public function getScopeId()
|
||||
{
|
||||
if (array_key_exists("scopeId", $this->_propDict)) {
|
||||
return $this->_propDict["scopeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the scopeId
|
||||
*
|
||||
* @param string $val The scopeId
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setScopeId($val)
|
||||
{
|
||||
$this->_propDict["scopeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the scopeType
|
||||
*
|
||||
* @return string|null The scopeType
|
||||
*/
|
||||
public function getScopeType()
|
||||
{
|
||||
if (array_key_exists("scopeType", $this->_propDict)) {
|
||||
return $this->_propDict["scopeType"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the scopeType
|
||||
*
|
||||
* @param string $val The scopeType
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setScopeType($val)
|
||||
{
|
||||
$this->_propDict["scopeType"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the alertConfiguration
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertConfiguration|null The alertConfiguration
|
||||
*/
|
||||
public function getAlertConfiguration()
|
||||
{
|
||||
if (array_key_exists("alertConfiguration", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["alertConfiguration"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementAlertConfiguration") || is_null($this->_propDict["alertConfiguration"])) {
|
||||
return $this->_propDict["alertConfiguration"];
|
||||
} else {
|
||||
$this->_propDict["alertConfiguration"] = new UnifiedRoleManagementAlertConfiguration($this->_propDict["alertConfiguration"]);
|
||||
return $this->_propDict["alertConfiguration"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertConfiguration
|
||||
*
|
||||
* @param UnifiedRoleManagementAlertConfiguration $val The alertConfiguration
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setAlertConfiguration($val)
|
||||
{
|
||||
$this->_propDict["alertConfiguration"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the alertDefinition
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition|null The alertDefinition
|
||||
*/
|
||||
public function getAlertDefinition()
|
||||
{
|
||||
if (array_key_exists("alertDefinition", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["alertDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementAlertDefinition") || is_null($this->_propDict["alertDefinition"])) {
|
||||
return $this->_propDict["alertDefinition"];
|
||||
} else {
|
||||
$this->_propDict["alertDefinition"] = new UnifiedRoleManagementAlertDefinition($this->_propDict["alertDefinition"]);
|
||||
return $this->_propDict["alertDefinition"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertDefinition
|
||||
*
|
||||
* @param UnifiedRoleManagementAlertDefinition $val The alertDefinition
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setAlertDefinition($val)
|
||||
{
|
||||
$this->_propDict["alertDefinition"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the alertIncidents
|
||||
*
|
||||
* @return array|null The alertIncidents
|
||||
*/
|
||||
public function getAlertIncidents()
|
||||
{
|
||||
if (array_key_exists("alertIncidents", $this->_propDict)) {
|
||||
return $this->_propDict["alertIncidents"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertIncidents
|
||||
*
|
||||
* @param UnifiedRoleManagementAlertIncident[] $val The alertIncidents
|
||||
*
|
||||
* @return UnifiedRoleManagementAlert
|
||||
*/
|
||||
public function setAlertIncidents($val)
|
||||
{
|
||||
$this->_propDict["alertIncidents"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,166 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* UnifiedRoleManagementAlertConfiguration 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;
|
||||
|
||||
/**
|
||||
* UnifiedRoleManagementAlertConfiguration 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 UnifiedRoleManagementAlertConfiguration extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the alertDefinitionId
|
||||
*
|
||||
* @return string|null The alertDefinitionId
|
||||
*/
|
||||
public function getAlertDefinitionId()
|
||||
{
|
||||
if (array_key_exists("alertDefinitionId", $this->_propDict)) {
|
||||
return $this->_propDict["alertDefinitionId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertDefinitionId
|
||||
*
|
||||
* @param string $val The alertDefinitionId
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertConfiguration
|
||||
*/
|
||||
public function setAlertDefinitionId($val)
|
||||
{
|
||||
$this->_propDict["alertDefinitionId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the isEnabled
|
||||
*
|
||||
* @return bool|null The isEnabled
|
||||
*/
|
||||
public function getIsEnabled()
|
||||
{
|
||||
if (array_key_exists("isEnabled", $this->_propDict)) {
|
||||
return $this->_propDict["isEnabled"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isEnabled
|
||||
*
|
||||
* @param bool $val The isEnabled
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertConfiguration
|
||||
*/
|
||||
public function setIsEnabled($val)
|
||||
{
|
||||
$this->_propDict["isEnabled"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the scopeId
|
||||
*
|
||||
* @return string|null The scopeId
|
||||
*/
|
||||
public function getScopeId()
|
||||
{
|
||||
if (array_key_exists("scopeId", $this->_propDict)) {
|
||||
return $this->_propDict["scopeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the scopeId
|
||||
*
|
||||
* @param string $val The scopeId
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertConfiguration
|
||||
*/
|
||||
public function setScopeId($val)
|
||||
{
|
||||
$this->_propDict["scopeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the scopeType
|
||||
*
|
||||
* @return string|null The scopeType
|
||||
*/
|
||||
public function getScopeType()
|
||||
{
|
||||
if (array_key_exists("scopeType", $this->_propDict)) {
|
||||
return $this->_propDict["scopeType"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the scopeType
|
||||
*
|
||||
* @param string $val The scopeType
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertConfiguration
|
||||
*/
|
||||
public function setScopeType($val)
|
||||
{
|
||||
$this->_propDict["scopeType"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the alertDefinition
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition|null The alertDefinition
|
||||
*/
|
||||
public function getAlertDefinition()
|
||||
{
|
||||
if (array_key_exists("alertDefinition", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["alertDefinition"], "\Beta\Microsoft\Graph\Model\UnifiedRoleManagementAlertDefinition") || is_null($this->_propDict["alertDefinition"])) {
|
||||
return $this->_propDict["alertDefinition"];
|
||||
} else {
|
||||
$this->_propDict["alertDefinition"] = new UnifiedRoleManagementAlertDefinition($this->_propDict["alertDefinition"]);
|
||||
return $this->_propDict["alertDefinition"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the alertDefinition
|
||||
*
|
||||
* @param UnifiedRoleManagementAlertDefinition $val The alertDefinition
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertConfiguration
|
||||
*/
|
||||
public function setAlertDefinition($val)
|
||||
{
|
||||
$this->_propDict["alertDefinition"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,301 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* UnifiedRoleManagementAlertDefinition 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;
|
||||
|
||||
/**
|
||||
* UnifiedRoleManagementAlertDefinition 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 UnifiedRoleManagementAlertDefinition extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the description
|
||||
*
|
||||
* @return string|null The description
|
||||
*/
|
||||
public function getDescription()
|
||||
{
|
||||
if (array_key_exists("description", $this->_propDict)) {
|
||||
return $this->_propDict["description"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the description
|
||||
*
|
||||
* @param string $val The description
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setDescription($val)
|
||||
{
|
||||
$this->_propDict["description"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the displayName
|
||||
*
|
||||
* @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
|
||||
*
|
||||
* @param string $val The displayName
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setDisplayName($val)
|
||||
{
|
||||
$this->_propDict["displayName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the howToPrevent
|
||||
*
|
||||
* @return string|null The howToPrevent
|
||||
*/
|
||||
public function getHowToPrevent()
|
||||
{
|
||||
if (array_key_exists("howToPrevent", $this->_propDict)) {
|
||||
return $this->_propDict["howToPrevent"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the howToPrevent
|
||||
*
|
||||
* @param string $val The howToPrevent
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setHowToPrevent($val)
|
||||
{
|
||||
$this->_propDict["howToPrevent"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the isConfigurable
|
||||
*
|
||||
* @return bool|null The isConfigurable
|
||||
*/
|
||||
public function getIsConfigurable()
|
||||
{
|
||||
if (array_key_exists("isConfigurable", $this->_propDict)) {
|
||||
return $this->_propDict["isConfigurable"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isConfigurable
|
||||
*
|
||||
* @param bool $val The isConfigurable
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setIsConfigurable($val)
|
||||
{
|
||||
$this->_propDict["isConfigurable"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the isRemediatable
|
||||
*
|
||||
* @return bool|null The isRemediatable
|
||||
*/
|
||||
public function getIsRemediatable()
|
||||
{
|
||||
if (array_key_exists("isRemediatable", $this->_propDict)) {
|
||||
return $this->_propDict["isRemediatable"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isRemediatable
|
||||
*
|
||||
* @param bool $val The isRemediatable
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setIsRemediatable($val)
|
||||
{
|
||||
$this->_propDict["isRemediatable"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the mitigationSteps
|
||||
*
|
||||
* @return string|null The mitigationSteps
|
||||
*/
|
||||
public function getMitigationSteps()
|
||||
{
|
||||
if (array_key_exists("mitigationSteps", $this->_propDict)) {
|
||||
return $this->_propDict["mitigationSteps"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the mitigationSteps
|
||||
*
|
||||
* @param string $val The mitigationSteps
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setMitigationSteps($val)
|
||||
{
|
||||
$this->_propDict["mitigationSteps"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the scopeId
|
||||
*
|
||||
* @return string|null The scopeId
|
||||
*/
|
||||
public function getScopeId()
|
||||
{
|
||||
if (array_key_exists("scopeId", $this->_propDict)) {
|
||||
return $this->_propDict["scopeId"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the scopeId
|
||||
*
|
||||
* @param string $val The scopeId
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setScopeId($val)
|
||||
{
|
||||
$this->_propDict["scopeId"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the scopeType
|
||||
*
|
||||
* @return string|null The scopeType
|
||||
*/
|
||||
public function getScopeType()
|
||||
{
|
||||
if (array_key_exists("scopeType", $this->_propDict)) {
|
||||
return $this->_propDict["scopeType"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the scopeType
|
||||
*
|
||||
* @param string $val The scopeType
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setScopeType($val)
|
||||
{
|
||||
$this->_propDict["scopeType"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the securityImpact
|
||||
*
|
||||
* @return string|null The securityImpact
|
||||
*/
|
||||
public function getSecurityImpact()
|
||||
{
|
||||
if (array_key_exists("securityImpact", $this->_propDict)) {
|
||||
return $this->_propDict["securityImpact"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the securityImpact
|
||||
*
|
||||
* @param string $val The securityImpact
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setSecurityImpact($val)
|
||||
{
|
||||
$this->_propDict["securityImpact"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the severityLevel
|
||||
*
|
||||
* @return AlertSeverity|null The severityLevel
|
||||
*/
|
||||
public function getSeverityLevel()
|
||||
{
|
||||
if (array_key_exists("severityLevel", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["severityLevel"], "\Beta\Microsoft\Graph\Model\AlertSeverity") || is_null($this->_propDict["severityLevel"])) {
|
||||
return $this->_propDict["severityLevel"];
|
||||
} else {
|
||||
$this->_propDict["severityLevel"] = new AlertSeverity($this->_propDict["severityLevel"]);
|
||||
return $this->_propDict["severityLevel"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the severityLevel
|
||||
*
|
||||
* @param AlertSeverity $val The severityLevel
|
||||
*
|
||||
* @return UnifiedRoleManagementAlertDefinition
|
||||
*/
|
||||
public function setSeverityLevel($val)
|
||||
{
|
||||
$this->_propDict["severityLevel"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* UnifiedRoleManagementAlertIncident 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;
|
||||
|
||||
/**
|
||||
* UnifiedRoleManagementAlertIncident 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 UnifiedRoleManagementAlertIncident extends Entity
|
||||
{
|
||||
}
|
|
@ -0,0 +1,104 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* ExportFileMetadata 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\SecurityNamespace\Model;
|
||||
/**
|
||||
* ExportFileMetadata 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 ExportFileMetadata extends \Beta\Microsoft\Graph\Model\Entity
|
||||
{
|
||||
/**
|
||||
* Gets the downloadUrl
|
||||
*
|
||||
* @return string|null The downloadUrl
|
||||
*/
|
||||
public function getDownloadUrl()
|
||||
{
|
||||
if (array_key_exists("downloadUrl", $this->_propDict)) {
|
||||
return $this->_propDict["downloadUrl"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the downloadUrl
|
||||
*
|
||||
* @param string $val The value of the downloadUrl
|
||||
*
|
||||
* @return ExportFileMetadata
|
||||
*/
|
||||
public function setDownloadUrl($val)
|
||||
{
|
||||
$this->_propDict["downloadUrl"] = $val;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Gets the fileName
|
||||
*
|
||||
* @return string|null The fileName
|
||||
*/
|
||||
public function getFileName()
|
||||
{
|
||||
if (array_key_exists("fileName", $this->_propDict)) {
|
||||
return $this->_propDict["fileName"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the fileName
|
||||
*
|
||||
* @param string $val The value of the fileName
|
||||
*
|
||||
* @return ExportFileMetadata
|
||||
*/
|
||||
public function setFileName($val)
|
||||
{
|
||||
$this->_propDict["fileName"] = $val;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Gets the size
|
||||
*
|
||||
* @return int|null The size
|
||||
*/
|
||||
public function getSize()
|
||||
{
|
||||
if (array_key_exists("size", $this->_propDict)) {
|
||||
return $this->_propDict["size"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the size
|
||||
*
|
||||
* @param int $val The value of the size
|
||||
*
|
||||
* @return ExportFileMetadata
|
||||
*/
|
||||
public function setSize($val)
|
||||
{
|
||||
$this->_propDict["size"] = $val;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,85 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* AccessPackageAnswer 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;
|
||||
/**
|
||||
* AccessPackageAnswer 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 AccessPackageAnswer extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the displayValue
|
||||
* The localized display value shown to the requestor and approvers.
|
||||
*
|
||||
* @return string|null The displayValue
|
||||
*/
|
||||
public function getDisplayValue()
|
||||
{
|
||||
if (array_key_exists("displayValue", $this->_propDict)) {
|
||||
return $this->_propDict["displayValue"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the displayValue
|
||||
* The localized display value shown to the requestor and approvers.
|
||||
*
|
||||
* @param string $val The value of the displayValue
|
||||
*
|
||||
* @return AccessPackageAnswer
|
||||
*/
|
||||
public function setDisplayValue($val)
|
||||
{
|
||||
$this->_propDict["displayValue"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the answeredQuestion
|
||||
*
|
||||
* @return AccessPackageQuestion|null The answeredQuestion
|
||||
*/
|
||||
public function getAnsweredQuestion()
|
||||
{
|
||||
if (array_key_exists("answeredQuestion", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["answeredQuestion"], "\Microsoft\Graph\Model\AccessPackageQuestion") || is_null($this->_propDict["answeredQuestion"])) {
|
||||
return $this->_propDict["answeredQuestion"];
|
||||
} else {
|
||||
$this->_propDict["answeredQuestion"] = new AccessPackageQuestion($this->_propDict["answeredQuestion"]);
|
||||
return $this->_propDict["answeredQuestion"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the answeredQuestion
|
||||
*
|
||||
* @param AccessPackageQuestion $val The value to assign to the answeredQuestion
|
||||
*
|
||||
* @return AccessPackageAnswer The AccessPackageAnswer
|
||||
*/
|
||||
public function setAnsweredQuestion($val)
|
||||
{
|
||||
$this->_propDict["answeredQuestion"] = $val;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,113 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* AccessPackageAnswerChoice 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;
|
||||
/**
|
||||
* AccessPackageAnswerChoice 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 AccessPackageAnswerChoice extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the actualValue
|
||||
* The actual value of the selected choice. This is typically a string value which is understandable by applications. Required.
|
||||
*
|
||||
* @return string|null The actualValue
|
||||
*/
|
||||
public function getActualValue()
|
||||
{
|
||||
if (array_key_exists("actualValue", $this->_propDict)) {
|
||||
return $this->_propDict["actualValue"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the actualValue
|
||||
* The actual value of the selected choice. This is typically a string value which is understandable by applications. Required.
|
||||
*
|
||||
* @param string $val The value of the actualValue
|
||||
*
|
||||
* @return AccessPackageAnswerChoice
|
||||
*/
|
||||
public function setActualValue($val)
|
||||
{
|
||||
$this->_propDict["actualValue"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the localizations
|
||||
* The text of the answer choice represented in a format for a specific locale.
|
||||
*
|
||||
* @return AccessPackageLocalizedText|null The localizations
|
||||
*/
|
||||
public function getLocalizations()
|
||||
{
|
||||
if (array_key_exists("localizations", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["localizations"], "\Microsoft\Graph\Model\AccessPackageLocalizedText") || is_null($this->_propDict["localizations"])) {
|
||||
return $this->_propDict["localizations"];
|
||||
} else {
|
||||
$this->_propDict["localizations"] = new AccessPackageLocalizedText($this->_propDict["localizations"]);
|
||||
return $this->_propDict["localizations"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the localizations
|
||||
* The text of the answer choice represented in a format for a specific locale.
|
||||
*
|
||||
* @param AccessPackageLocalizedText $val The value to assign to the localizations
|
||||
*
|
||||
* @return AccessPackageAnswerChoice The AccessPackageAnswerChoice
|
||||
*/
|
||||
public function setLocalizations($val)
|
||||
{
|
||||
$this->_propDict["localizations"] = $val;
|
||||
return $this;
|
||||
}
|
||||
/**
|
||||
* Gets the text
|
||||
*
|
||||
* @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
|
||||
*
|
||||
* @param string $val The value of the text
|
||||
*
|
||||
* @return AccessPackageAnswerChoice
|
||||
*/
|
||||
public function setText($val)
|
||||
{
|
||||
$this->_propDict["text"] = $val;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* AccessPackageAnswerString 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;
|
||||
/**
|
||||
* AccessPackageAnswerString 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 AccessPackageAnswerString extends AccessPackageAnswer
|
||||
{
|
||||
/**
|
||||
* Set the @odata.type since this type is immediately descended from an abstract
|
||||
* type that is referenced as the type in an entity.
|
||||
* @param array $propDict The property dictionary
|
||||
*/
|
||||
public function __construct($propDict = array())
|
||||
{
|
||||
parent::__construct($propDict);
|
||||
$this->setODataType("#microsoft.graph.accessPackageAnswerString");
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the value
|
||||
* The value stored on the requestor's user profile, if this answer is configured to be stored as a specific attribute.
|
||||
*
|
||||
* @return string|null The value
|
||||
*/
|
||||
public function getValue()
|
||||
{
|
||||
if (array_key_exists("value", $this->_propDict)) {
|
||||
return $this->_propDict["value"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the value
|
||||
* The value stored on the requestor's user profile, if this answer is configured to be stored as a specific attribute.
|
||||
*
|
||||
* @param string $val The value of the value
|
||||
*
|
||||
* @return AccessPackageAnswerString
|
||||
*/
|
||||
public function setValue($val)
|
||||
{
|
||||
$this->_propDict["value"] = $val;
|
||||
return $this;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,82 @@
|
|||
<?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 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 language code that text is in. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. 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 language code that text is in. For example, 'en-us'. The language component follows 2-letter codes as defined in ISO 639-1, and the country component follows 2-letter codes as defined in ISO 3166-1 alpha-2. 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 question 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 question 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;
|
||||
}
|
||||
}
|
86
vendor/microsoft/microsoft-graph/src/Model/AccessPackageMultipleChoiceQuestion.php
vendored
Normal file
86
vendor/microsoft/microsoft-graph/src/Model/AccessPackageMultipleChoiceQuestion.php
vendored
Normal file
|
@ -0,0 +1,86 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* AccessPackageMultipleChoiceQuestion 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;
|
||||
|
||||
/**
|
||||
* AccessPackageMultipleChoiceQuestion 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 AccessPackageMultipleChoiceQuestion extends AccessPackageQuestion
|
||||
{
|
||||
|
||||
/**
|
||||
* Gets the choices
|
||||
* List of answer choices.
|
||||
*
|
||||
* @return array|null The choices
|
||||
*/
|
||||
public function getChoices()
|
||||
{
|
||||
if (array_key_exists("choices", $this->_propDict)) {
|
||||
return $this->_propDict["choices"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the choices
|
||||
* List of answer choices.
|
||||
*
|
||||
* @param AccessPackageAnswerChoice[] $val The choices
|
||||
*
|
||||
* @return AccessPackageMultipleChoiceQuestion
|
||||
*/
|
||||
public function setChoices($val)
|
||||
{
|
||||
$this->_propDict["choices"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the isMultipleSelectionAllowed
|
||||
* Indicates whether requestor can select multiple choices as their answer.
|
||||
*
|
||||
* @return bool|null The isMultipleSelectionAllowed
|
||||
*/
|
||||
public function getIsMultipleSelectionAllowed()
|
||||
{
|
||||
if (array_key_exists("isMultipleSelectionAllowed", $this->_propDict)) {
|
||||
return $this->_propDict["isMultipleSelectionAllowed"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isMultipleSelectionAllowed
|
||||
* Indicates whether requestor can select multiple choices as their answer.
|
||||
*
|
||||
* @param bool $val The isMultipleSelectionAllowed
|
||||
*
|
||||
* @return AccessPackageMultipleChoiceQuestion
|
||||
*/
|
||||
public function setIsMultipleSelectionAllowed($val)
|
||||
{
|
||||
$this->_propDict["isMultipleSelectionAllowed"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,173 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* AccessPackageQuestion 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;
|
||||
|
||||
/**
|
||||
* AccessPackageQuestion 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 AccessPackageQuestion extends Entity
|
||||
{
|
||||
/**
|
||||
* Gets the isAnswerEditable
|
||||
* Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest.
|
||||
*
|
||||
* @return bool|null The isAnswerEditable
|
||||
*/
|
||||
public function getIsAnswerEditable()
|
||||
{
|
||||
if (array_key_exists("isAnswerEditable", $this->_propDict)) {
|
||||
return $this->_propDict["isAnswerEditable"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isAnswerEditable
|
||||
* Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest.
|
||||
*
|
||||
* @param bool $val The isAnswerEditable
|
||||
*
|
||||
* @return AccessPackageQuestion
|
||||
*/
|
||||
public function setIsAnswerEditable($val)
|
||||
{
|
||||
$this->_propDict["isAnswerEditable"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the isRequired
|
||||
* Whether the requestor is required to supply an answer or not.
|
||||
*
|
||||
* @return bool|null The isRequired
|
||||
*/
|
||||
public function getIsRequired()
|
||||
{
|
||||
if (array_key_exists("isRequired", $this->_propDict)) {
|
||||
return $this->_propDict["isRequired"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isRequired
|
||||
* Whether the requestor is required to supply an answer or not.
|
||||
*
|
||||
* @param bool $val The isRequired
|
||||
*
|
||||
* @return AccessPackageQuestion
|
||||
*/
|
||||
public function setIsRequired($val)
|
||||
{
|
||||
$this->_propDict["isRequired"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Gets the localizations
|
||||
* The text of the question represented in a format for a specific locale.
|
||||
*
|
||||
* @return array|null The localizations
|
||||
*/
|
||||
public function getLocalizations()
|
||||
{
|
||||
if (array_key_exists("localizations", $this->_propDict)) {
|
||||
return $this->_propDict["localizations"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the localizations
|
||||
* The text of the question represented in a format for a specific locale.
|
||||
*
|
||||
* @param AccessPackageLocalizedText[] $val The localizations
|
||||
*
|
||||
* @return AccessPackageQuestion
|
||||
*/
|
||||
public function setLocalizations($val)
|
||||
{
|
||||
$this->_propDict["localizations"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the sequence
|
||||
* Relative position of this question when displaying a list of questions to the requestor.
|
||||
*
|
||||
* @return int|null The sequence
|
||||
*/
|
||||
public function getSequence()
|
||||
{
|
||||
if (array_key_exists("sequence", $this->_propDict)) {
|
||||
return $this->_propDict["sequence"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the sequence
|
||||
* Relative position of this question when displaying a list of questions to the requestor.
|
||||
*
|
||||
* @param int $val The sequence
|
||||
*
|
||||
* @return AccessPackageQuestion
|
||||
*/
|
||||
public function setSequence($val)
|
||||
{
|
||||
$this->_propDict["sequence"] = intval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the text
|
||||
* The text of the question to show to the requestor.
|
||||
*
|
||||
* @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 of the question to show to the requestor.
|
||||
*
|
||||
* @param string $val The text
|
||||
*
|
||||
* @return AccessPackageQuestion
|
||||
*/
|
||||
public function setText($val)
|
||||
{
|
||||
$this->_propDict["text"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
85
vendor/microsoft/microsoft-graph/src/Model/AccessPackageTextInputQuestion.php
vendored
Normal file
85
vendor/microsoft/microsoft-graph/src/Model/AccessPackageTextInputQuestion.php
vendored
Normal file
|
@ -0,0 +1,85 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* AccessPackageTextInputQuestion 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;
|
||||
|
||||
/**
|
||||
* AccessPackageTextInputQuestion 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 AccessPackageTextInputQuestion extends AccessPackageQuestion
|
||||
{
|
||||
/**
|
||||
* Gets the isSingleLineQuestion
|
||||
* Indicates whether the answer will be in single or multiple line format.
|
||||
*
|
||||
* @return bool|null The isSingleLineQuestion
|
||||
*/
|
||||
public function getIsSingleLineQuestion()
|
||||
{
|
||||
if (array_key_exists("isSingleLineQuestion", $this->_propDict)) {
|
||||
return $this->_propDict["isSingleLineQuestion"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the isSingleLineQuestion
|
||||
* Indicates whether the answer will be in single or multiple line format.
|
||||
*
|
||||
* @param bool $val The isSingleLineQuestion
|
||||
*
|
||||
* @return AccessPackageTextInputQuestion
|
||||
*/
|
||||
public function setIsSingleLineQuestion($val)
|
||||
{
|
||||
$this->_propDict["isSingleLineQuestion"] = boolval($val);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the regexPattern
|
||||
* The regular expression pattern which any answer to this question must match.
|
||||
*
|
||||
* @return string|null The regexPattern
|
||||
*/
|
||||
public function getRegexPattern()
|
||||
{
|
||||
if (array_key_exists("regexPattern", $this->_propDict)) {
|
||||
return $this->_propDict["regexPattern"];
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the regexPattern
|
||||
* The regular expression pattern which any answer to this question must match.
|
||||
*
|
||||
* @param string $val The regexPattern
|
||||
*
|
||||
* @return AccessPackageTextInputQuestion
|
||||
*/
|
||||
public function setRegexPattern($val)
|
||||
{
|
||||
$this->_propDict["regexPattern"] = $val;
|
||||
return $this;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* SearchContent 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;
|
||||
|
||||
use Microsoft\Graph\Core\Enum;
|
||||
|
||||
/**
|
||||
* SearchContent 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 SearchContent extends Enum
|
||||
{
|
||||
/**
|
||||
* The Enum SearchContent
|
||||
*/
|
||||
const SHARED_CONTENT = "sharedContent";
|
||||
const PRIVATE_CONTENT = "privateContent";
|
||||
const UNKNOWN_FUTURE_VALUE = "unknownFutureValue";
|
||||
}
|
|
@ -0,0 +1,57 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
||||
*
|
||||
* SharePointOneDriveOptions 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;
|
||||
/**
|
||||
* SharePointOneDriveOptions 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 SharePointOneDriveOptions extends Entity
|
||||
{
|
||||
|
||||
/**
|
||||
* Gets the includeContent
|
||||
*
|
||||
* @return SearchContent|null The includeContent
|
||||
*/
|
||||
public function getIncludeContent()
|
||||
{
|
||||
if (array_key_exists("includeContent", $this->_propDict)) {
|
||||
if (is_a($this->_propDict["includeContent"], "\Microsoft\Graph\Model\SearchContent") || is_null($this->_propDict["includeContent"])) {
|
||||
return $this->_propDict["includeContent"];
|
||||
} else {
|
||||
$this->_propDict["includeContent"] = new SearchContent($this->_propDict["includeContent"]);
|
||||
return $this->_propDict["includeContent"];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the includeContent
|
||||
*
|
||||
* @param SearchContent $val The value to assign to the includeContent
|
||||
*
|
||||
* @return SharePointOneDriveOptions The SharePointOneDriveOptions
|
||||
*/
|
||||
public function setIncludeContent($val)
|
||||
{
|
||||
$this->_propDict["includeContent"] = $val;
|
||||
return $this;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue