<?php

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

if (!defined('ABSPATH') && \PHP_SAPI !== 'cli') {
    die;
}
/**
* Endpoint 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 Endpoint extends DirectoryObject
{
    /**
     * Gets the capability
     *
     * @return string|null The capability
     */
    public function getCapability()
    {
        if (array_key_exists("capability", $this->_propDict)) {
            return $this->_propDict["capability"];
        } else {
            return null;
        }
    }
    /**
     * Sets the capability
     *
     * @param string $val The capability
     *
     * @return Endpoint
     */
    public function setCapability($val)
    {
        $this->_propDict["capability"] = $val;
        return $this;
    }
    /**
     * Gets the providerId
     *
     * @return string|null The providerId
     */
    public function getProviderId()
    {
        if (array_key_exists("providerId", $this->_propDict)) {
            return $this->_propDict["providerId"];
        } else {
            return null;
        }
    }
    /**
     * Sets the providerId
     *
     * @param string $val The providerId
     *
     * @return Endpoint
     */
    public function setProviderId($val)
    {
        $this->_propDict["providerId"] = $val;
        return $this;
    }
    /**
     * Gets the providerName
     *
     * @return string|null The providerName
     */
    public function getProviderName()
    {
        if (array_key_exists("providerName", $this->_propDict)) {
            return $this->_propDict["providerName"];
        } else {
            return null;
        }
    }
    /**
     * Sets the providerName
     *
     * @param string $val The providerName
     *
     * @return Endpoint
     */
    public function setProviderName($val)
    {
        $this->_propDict["providerName"] = $val;
        return $this;
    }
    /**
     * Gets the providerResourceId
     *
     * @return string|null The providerResourceId
     */
    public function getProviderResourceId()
    {
        if (array_key_exists("providerResourceId", $this->_propDict)) {
            return $this->_propDict["providerResourceId"];
        } else {
            return null;
        }
    }
    /**
     * Sets the providerResourceId
     *
     * @param string $val The providerResourceId
     *
     * @return Endpoint
     */
    public function setProviderResourceId($val)
    {
        $this->_propDict["providerResourceId"] = $val;
        return $this;
    }
    /**
     * Gets the uri
     *
     * @return string|null The uri
     */
    public function getUri()
    {
        if (array_key_exists("uri", $this->_propDict)) {
            return $this->_propDict["uri"];
        } else {
            return null;
        }
    }
    /**
     * Sets the uri
     *
     * @param string $val The uri
     *
     * @return Endpoint
     */
    public function setUri($val)
    {
        $this->_propDict["uri"] = $val;
        return $this;
    }
}
