<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XResourcePriorityNamespaceListMember StructType
 * @subpackage Structs
 */
class XResourcePriorityNamespaceListMember extends AbstractStructBase
{
    /**
     * The resourcePriorityNamespaceName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $resourcePriorityNamespaceName;
    /**
     * The index
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $index;
    /**
     * Constructor method for XResourcePriorityNamespaceListMember
     * @uses XResourcePriorityNamespaceListMember::setResourcePriorityNamespaceName()
     * @uses XResourcePriorityNamespaceListMember::setIndex()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $resourcePriorityNamespaceName
     * @param string $index
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $resourcePriorityNamespaceName = null, $index = null)
    {
        $this
            ->setResourcePriorityNamespaceName($resourcePriorityNamespaceName)
            ->setIndex($index);
    }
    /**
     * Get resourcePriorityNamespaceName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getResourcePriorityNamespaceName()
    {
        return $this->resourcePriorityNamespaceName;
    }
    /**
     * Set resourcePriorityNamespaceName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $resourcePriorityNamespaceName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XResourcePriorityNamespaceListMember
     */
    public function setResourcePriorityNamespaceName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $resourcePriorityNamespaceName = null)
    {
        $this->resourcePriorityNamespaceName = $resourcePriorityNamespaceName;
        return $this;
    }
    /**
     * Get index value
     * @return string
     */
    public function getIndex()
    {
        return $this->index;
    }
    /**
     * Set index value
     * @param string $index
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XResourcePriorityNamespaceListMember
     */
    public function setIndex($index = null)
    {
        $this->index = $index;
        return $this;
    }
}
