<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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