<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddSNMPUserReq StructType
 * @subpackage Structs
 */
class AddSNMPUserReq extends APIRequest
{
    /**
     * The user
     * Meta information extracted from the WSDL
     * - nillable: true
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\RSNMPUser
     */
    public $user;
    /**
     * Constructor method for AddSNMPUserReq
     * @uses AddSNMPUserReq::setUser()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RSNMPUser $user
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\RSNMPUser $user = null)
    {
        $this
            ->setUser($user);
    }
    /**
     * Get user value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RSNMPUser|null
     */
    public function getUser()
    {
        return $this->user;
    }
    /**
     * Set user value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RSNMPUser $user
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddSNMPUserReq
     */
    public function setUser(\\Losc\CucmBundle\Model\Webservice\StructType\RSNMPUser $user = null)
    {
        $this->user = $user;
        return $this;
    }
}
