<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XImeExclusionNumber StructType
 * @subpackage Structs
 */
class XImeExclusionNumber extends AbstractStructBase
{
    /**
     * The pattern
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - maxLength: 16
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var string
     */
    public $pattern;
    /**
     * The imeExclusionNumberGroupName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $imeExclusionNumberGroupName;
    /**
     * The description
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * @var string
     */
    public $description;
    /**
     * Constructor method for XImeExclusionNumber
     * @uses XImeExclusionNumber::setPattern()
     * @uses XImeExclusionNumber::setImeExclusionNumberGroupName()
     * @uses XImeExclusionNumber::setDescription()
     * @param string $pattern
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $imeExclusionNumberGroupName
     * @param string $description
     */
    public function __construct($pattern = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $imeExclusionNumberGroupName = null, $description = null)
    {
        $this
            ->setPattern($pattern)
            ->setImeExclusionNumberGroupName($imeExclusionNumberGroupName)
            ->setDescription($description);
    }
    /**
     * Get pattern value
     * @return string
     */
    public function getPattern()
    {
        return $this->pattern;
    }
    /**
     * Set pattern value
     * @param string $pattern
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XImeExclusionNumber
     */
    public function setPattern($pattern = null)
    {
        $this->pattern = $pattern;
        return $this;
    }
    /**
     * Get imeExclusionNumberGroupName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getImeExclusionNumberGroupName()
    {
        return $this->imeExclusionNumberGroupName;
    }
    /**
     * Set imeExclusionNumberGroupName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $imeExclusionNumberGroupName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XImeExclusionNumber
     */
    public function setImeExclusionNumberGroupName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $imeExclusionNumberGroupName = null)
    {
        $this->imeExclusionNumberGroupName = $imeExclusionNumberGroupName;
        return $this;
    }
    /**
     * Get description value
     * @return string|null
     */
    public function getDescription()
    {
        return $this->description;
    }
    /**
     * Set description value
     * @param string $description
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XImeExclusionNumber
     */
    public function setDescription($description = null)
    {
        $this->description = $description;
        return $this;
    }
}
