<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddMobilityReq StructType
 * @subpackage Structs
 */
class AddMobilityReq extends APIRequest
{
    /**
     * The mobility
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XMobility
     */
    public $mobility;
    /**
     * Constructor method for AddMobilityReq
     * @uses AddMobilityReq::setMobility()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XMobility $mobility
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XMobility $mobility = null)
    {
        $this
            ->setMobility($mobility);
    }
    /**
     * Get mobility value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XMobility|null
     */
    public function getMobility()
    {
        return $this->mobility;
    }
    /**
     * Set mobility value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XMobility $mobility
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddMobilityReq
     */
    public function setMobility(\\Losc\CucmBundle\Model\Webservice\StructType\XMobility $mobility = null)
    {
        $this->mobility = $mobility;
        return $this;
    }
}
