<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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