<?php

/**
* Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
* 
* IntegerRange 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;
}
/**
* IntegerRange 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 IntegerRange extends Entity
{
    /**
     * Gets the end
     * The inclusive upper bound of the integer range.
     *
     * @return int|null The end
     */
    public function getEnd()
    {
        if (array_key_exists("end", $this->_propDict)) {
            return $this->_propDict["end"];
        } else {
            return null;
        }
    }
    /**
     * Sets the end
     * The inclusive upper bound of the integer range.
     *
     * @param int $val The value of the end
     *
     * @return IntegerRange
     */
    public function setEnd($val)
    {
        $this->_propDict["end"] = $val;
        return $this;
    }
    /**
     * Gets the maximum
     *
     * @return int|null The maximum
     */
    public function getMaximum()
    {
        if (array_key_exists("maximum", $this->_propDict)) {
            return $this->_propDict["maximum"];
        } else {
            return null;
        }
    }
    /**
     * Sets the maximum
     *
     * @param int $val The value of the maximum
     *
     * @return IntegerRange
     */
    public function setMaximum($val)
    {
        $this->_propDict["maximum"] = $val;
        return $this;
    }
    /**
     * Gets the minimum
     *
     * @return int|null The minimum
     */
    public function getMinimum()
    {
        if (array_key_exists("minimum", $this->_propDict)) {
            return $this->_propDict["minimum"];
        } else {
            return null;
        }
    }
    /**
     * Sets the minimum
     *
     * @param int $val The value of the minimum
     *
     * @return IntegerRange
     */
    public function setMinimum($val)
    {
        $this->_propDict["minimum"] = $val;
        return $this;
    }
    /**
     * Gets the start
     * The inclusive lower bound of the integer range.
     *
     * @return int|null The start
     */
    public function getStart()
    {
        if (array_key_exists("start", $this->_propDict)) {
            return $this->_propDict["start"];
        } else {
            return null;
        }
    }
    /**
     * Sets the start
     * The inclusive lower bound of the integer range.
     *
     * @param int $val The value of the start
     *
     * @return IntegerRange
     */
    public function setStart($val)
    {
        $this->_propDict["start"] = $val;
        return $this;
    }
}
