Heray-Was-Here
Server : Apache
System : Linux mail.lomejor.cr 6.8.0-1059-azure #65~22.04.1-Ubuntu SMP Thu May 28 16:59:19 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.2.31
Disable Function : NONE
Directory :  /var/www/erp/htdocs/includes/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/erp/htdocs/includes/microsoft/microsoft-graph/src/Beta/Microsoft/Graph/Model/DeviceKey.php
<?php
/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* DeviceKey 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;
/**
* DeviceKey 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 DeviceKey extends Entity
{
    /**
    * Gets the deviceId
    *
    * @return string|null The deviceId
    */
    public function getDeviceId()
    {
        if (array_key_exists("deviceId", $this->_propDict)) {
            return $this->_propDict["deviceId"];
        } else {
            return null;
        }
    }

    /**
    * Sets the deviceId
    *
    * @param string $val The value of the deviceId
    *
    * @return DeviceKey
    */
    public function setDeviceId($val)
    {
        $this->_propDict["deviceId"] = $val;
        return $this;
    }

    /**
    * Gets the keyMaterial
    *
    * @return \GuzzleHttp\Psr7\Stream|null The keyMaterial
    */
    public function getKeyMaterial()
    {
        if (array_key_exists("keyMaterial", $this->_propDict)) {
            if (is_a($this->_propDict["keyMaterial"], "\GuzzleHttp\Psr7\Stream") || is_null($this->_propDict["keyMaterial"])) {
                return $this->_propDict["keyMaterial"];
            } else {
                $this->_propDict["keyMaterial"] = \GuzzleHttp\Psr7\Utils::streamFor($this->_propDict["keyMaterial"]);
                return $this->_propDict["keyMaterial"];
            }
        }
        return null;
    }

    /**
    * Sets the keyMaterial
    *
    * @param \GuzzleHttp\Psr7\Stream $val The value to assign to the keyMaterial
    *
    * @return DeviceKey The DeviceKey
    */
    public function setKeyMaterial($val)
    {
        $this->_propDict["keyMaterial"] = $val;
         return $this;
    }
    /**
    * Gets the keyType
    *
    * @return string|null The keyType
    */
    public function getKeyType()
    {
        if (array_key_exists("keyType", $this->_propDict)) {
            return $this->_propDict["keyType"];
        } else {
            return null;
        }
    }

    /**
    * Sets the keyType
    *
    * @param string $val The value of the keyType
    *
    * @return DeviceKey
    */
    public function setKeyType($val)
    {
        $this->_propDict["keyType"] = $val;
        return $this;
    }
}

Hry