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

144 lines
5.0 KiB
PHP

<?php
/**
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
*
* AccessPackageAssignmentRequestCallbackData 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;
/**
* AccessPackageAssignmentRequestCallbackData 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 AccessPackageAssignmentRequestCallbackData extends CustomExtensionData
{
/**
* Gets the customExtensionStageInstanceDetail
* Details for the callback.
*
* @return string|null The customExtensionStageInstanceDetail
*/
public function getCustomExtensionStageInstanceDetail()
{
if (array_key_exists("customExtensionStageInstanceDetail", $this->_propDict)) {
return $this->_propDict["customExtensionStageInstanceDetail"];
} else {
return null;
}
}
/**
* Sets the customExtensionStageInstanceDetail
* Details for the callback.
*
* @param string $val The value of the customExtensionStageInstanceDetail
*
* @return AccessPackageAssignmentRequestCallbackData
*/
public function setCustomExtensionStageInstanceDetail($val)
{
$this->_propDict["customExtensionStageInstanceDetail"] = $val;
return $this;
}
/**
* Gets the customExtensionStageInstanceId
* Unique identifier of the callout to the custom extension.
*
* @return string|null The customExtensionStageInstanceId
*/
public function getCustomExtensionStageInstanceId()
{
if (array_key_exists("customExtensionStageInstanceId", $this->_propDict)) {
return $this->_propDict["customExtensionStageInstanceId"];
} else {
return null;
}
}
/**
* Sets the customExtensionStageInstanceId
* Unique identifier of the callout to the custom extension.
*
* @param string $val The value of the customExtensionStageInstanceId
*
* @return AccessPackageAssignmentRequestCallbackData
*/
public function setCustomExtensionStageInstanceId($val)
{
$this->_propDict["customExtensionStageInstanceId"] = $val;
return $this;
}
/**
* Gets the stage
* Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @return AccessPackageCustomExtensionStage|null The stage
*/
public function getStage()
{
if (array_key_exists("stage", $this->_propDict)) {
if (is_a($this->_propDict["stage"], "\Beta\Microsoft\Graph\Model\AccessPackageCustomExtensionStage") || is_null($this->_propDict["stage"])) {
return $this->_propDict["stage"];
} else {
$this->_propDict["stage"] = new AccessPackageCustomExtensionStage($this->_propDict["stage"]);
return $this->_propDict["stage"];
}
}
return null;
}
/**
* Sets the stage
* Indicates the stage at which the custom callout extension will be executed. The possible values are: assignmentRequestCreated, assignmentRequestApproved, assignmentRequestGranted, assignmentRequestRemoved, assignmentFourteenDaysBeforeExpiration, assignmentOneDayBeforeExpiration, unknownFutureValue.
*
* @param AccessPackageCustomExtensionStage $val The value to assign to the stage
*
* @return AccessPackageAssignmentRequestCallbackData The AccessPackageAssignmentRequestCallbackData
*/
public function setStage($val)
{
$this->_propDict["stage"] = $val;
return $this;
}
/**
* Gets the state
* Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage.
*
* @return string|null The state
*/
public function getState()
{
if (array_key_exists("state", $this->_propDict)) {
return $this->_propDict["state"];
} else {
return null;
}
}
/**
* Sets the state
* Allow the extension to be able to deny or cancel the request submitted by the requestor. The supported values are Denied and Canceled. This property can only be set for an assignmentRequestCreated stage.
*
* @param string $val The value of the state
*
* @return AccessPackageAssignmentRequestCallbackData
*/
public function setState($val)
{
$this->_propDict["state"] = $val;
return $this;
}
}