<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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