<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddSNMPCommunityStringReq StructType
 * @subpackage Structs
 */
class AddSNMPCommunityStringReq extends APIRequest
{
    /**
     * The CommunityString
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\RCommunityString
     */
    public $CommunityString;
    /**
     * Constructor method for AddSNMPCommunityStringReq
     * @uses AddSNMPCommunityStringReq::setCommunityString()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RCommunityString $communityString
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\RCommunityString $communityString = null)
    {
        $this
            ->setCommunityString($communityString);
    }
    /**
     * Get CommunityString value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RCommunityString|null
     */
    public function getCommunityString()
    {
        return $this->CommunityString;
    }
    /**
     * Set CommunityString value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RCommunityString $communityString
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddSNMPCommunityStringReq
     */
    public function setCommunityString(\\Losc\CucmBundle\Model\Webservice\StructType\RCommunityString $communityString = null)
    {
        $this->CommunityString = $communityString;
        return $this;
    }
}
