<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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