<?php

/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* ManagementCertificateWithThumbprint 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 XCloner\Beta\Microsoft\Graph\Model;

if (!defined('ABSPATH') && \PHP_SAPI !== 'cli') {
    die;
}
/**
* ManagementCertificateWithThumbprint 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 ManagementCertificateWithThumbprint extends Entity
{
    /**
     * Gets the certificate
     * The Base 64 encoded management certificate
     *
     * @return string|null The certificate
     */
    public function getCertificate()
    {
        if (array_key_exists("certificate", $this->_propDict)) {
            return $this->_propDict["certificate"];
        } else {
            return null;
        }
    }
    /**
     * Sets the certificate
     * The Base 64 encoded management certificate
     *
     * @param string $val The value of the certificate
     *
     * @return ManagementCertificateWithThumbprint
     */
    public function setCertificate($val)
    {
        $this->_propDict["certificate"] = $val;
        return $this;
    }
    /**
     * Gets the thumbprint
     * The thumbprint of the management certificate
     *
     * @return string|null The thumbprint
     */
    public function getThumbprint()
    {
        if (array_key_exists("thumbprint", $this->_propDict)) {
            return $this->_propDict["thumbprint"];
        } else {
            return null;
        }
    }
    /**
     * Sets the thumbprint
     * The thumbprint of the management certificate
     *
     * @param string $val The value of the thumbprint
     *
     * @return ManagementCertificateWithThumbprint
     */
    public function setThumbprint($val)
    {
        $this->_propDict["thumbprint"] = $val;
        return $this;
    }
}
