<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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