83 lines
2.1 KiB
PHP
83 lines
2.1 KiB
PHP
<?php
|
|
/**
|
|
* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
|
|
*
|
|
* ResetPasscodeActionResult 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;
|
|
/**
|
|
* ResetPasscodeActionResult 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 ResetPasscodeActionResult extends DeviceActionResult
|
|
{
|
|
/**
|
|
* Gets the errorCode
|
|
* RotateBitLockerKeys action error code. Valid values 0 to 2147483647
|
|
*
|
|
* @return int|null The errorCode
|
|
*/
|
|
public function getErrorCode()
|
|
{
|
|
if (array_key_exists("errorCode", $this->_propDict)) {
|
|
return $this->_propDict["errorCode"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the errorCode
|
|
* RotateBitLockerKeys action error code. Valid values 0 to 2147483647
|
|
*
|
|
* @param int $val The value of the errorCode
|
|
*
|
|
* @return ResetPasscodeActionResult
|
|
*/
|
|
public function setErrorCode($val)
|
|
{
|
|
$this->_propDict["errorCode"] = $val;
|
|
return $this;
|
|
}
|
|
/**
|
|
* Gets the passcode
|
|
* Newly generated passcode for the device
|
|
*
|
|
* @return string|null The passcode
|
|
*/
|
|
public function getPasscode()
|
|
{
|
|
if (array_key_exists("passcode", $this->_propDict)) {
|
|
return $this->_propDict["passcode"];
|
|
} else {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
/**
|
|
* Sets the passcode
|
|
* Newly generated passcode for the device
|
|
*
|
|
* @param string $val The value of the passcode
|
|
*
|
|
* @return ResetPasscodeActionResult
|
|
*/
|
|
public function setPasscode($val)
|
|
{
|
|
$this->_propDict["passcode"] = $val;
|
|
return $this;
|
|
}
|
|
}
|