<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XAccessControlGroupName StructType
 * @subpackage Structs
 */
class XAccessControlGroupName extends AbstractStructBase
{
    /**
     * The name
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $name;
    /**
     * Constructor method for XAccessControlGroupName
     * @uses XAccessControlGroupName::setName()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $name
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $name = null)
    {
        $this
            ->setName($name);
    }
    /**
     * Get name value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $name
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XAccessControlGroupName
     */
    public function setName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $name = null)
    {
        $this->name = $name;
        return $this;
    }
}
