<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XCallManagerMember StructType
 * @subpackage Structs
 */
class XCallManagerMember extends AbstractStructBase
{
    /**
     * The callManagerName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $callManagerName;
    /**
     * The priority
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $priority;
    /**
     * Constructor method for XCallManagerMember
     * @uses XCallManagerMember::setCallManagerName()
     * @uses XCallManagerMember::setPriority()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callManagerName
     * @param string $priority
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callManagerName = null, $priority = null)
    {
        $this
            ->setCallManagerName($callManagerName)
            ->setPriority($priority);
    }
    /**
     * Get callManagerName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getCallManagerName()
    {
        return $this->callManagerName;
    }
    /**
     * Set callManagerName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callManagerName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XCallManagerMember
     */
    public function setCallManagerName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callManagerName = null)
    {
        $this->callManagerName = $callManagerName;
        return $this;
    }
    /**
     * Get priority value
     * @return string
     */
    public function getPriority()
    {
        return $this->priority;
    }
    /**
     * Set priority value
     * @param string $priority
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XCallManagerMember
     */
    public function setPriority($priority = null)
    {
        $this->priority = $priority;
        return $this;
    }
}
