<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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