<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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