<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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