<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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