<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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