<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XLocation StructType
 * @subpackage Structs
 */
class XLocation extends AbstractStructBase
{
    /**
     * The name
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - maxLength: 50
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var string
     */
    public $name;
    /**
     * The withinAudioBandwidth
     * Meta information extracted from the WSDL
     * - default: 0
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var string
     */
    public $withinAudioBandwidth;
    /**
     * The withinVideoBandwidth
     * Meta information extracted from the WSDL
     * - default: 0
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var string
     */
    public $withinVideoBandwidth;
    /**
     * The withinImmersiveKbits
     * Meta information extracted from the WSDL
     * - default: 0
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: false
     * @var string
     */
    public $withinImmersiveKbits;
    /**
     * The betweenLocations
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\BetweenLocations
     */
    public $betweenLocations;
    /**
     * The relatedLocations
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\RelatedLocations
     */
    public $relatedLocations;
    /**
     * Constructor method for XLocation
     * @uses XLocation::setName()
     * @uses XLocation::setWithinAudioBandwidth()
     * @uses XLocation::setWithinVideoBandwidth()
     * @uses XLocation::setWithinImmersiveKbits()
     * @uses XLocation::setBetweenLocations()
     * @uses XLocation::setRelatedLocations()
     * @param string $name
     * @param string $withinAudioBandwidth
     * @param string $withinVideoBandwidth
     * @param string $withinImmersiveKbits
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\BetweenLocations $betweenLocations
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RelatedLocations $relatedLocations
     */
    public function __construct($name = null, $withinAudioBandwidth = '0', $withinVideoBandwidth = '0', $withinImmersiveKbits = '0', \\Losc\CucmBundle\Model\Webservice\StructType\BetweenLocations $betweenLocations = null, \\Losc\CucmBundle\Model\Webservice\StructType\RelatedLocations $relatedLocations = null)
    {
        $this
            ->setName($name)
            ->setWithinAudioBandwidth($withinAudioBandwidth)
            ->setWithinVideoBandwidth($withinVideoBandwidth)
            ->setWithinImmersiveKbits($withinImmersiveKbits)
            ->setBetweenLocations($betweenLocations)
            ->setRelatedLocations($relatedLocations);
    }
    /**
     * Get name value
     * @return string
     */
    public function getName()
    {
        return $this->name;
    }
    /**
     * Set name value
     * @param string $name
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XLocation
     */
    public function setName($name = null)
    {
        $this->name = $name;
        return $this;
    }
    /**
     * Get withinAudioBandwidth value
     * @return string
     */
    public function getWithinAudioBandwidth()
    {
        return $this->withinAudioBandwidth;
    }
    /**
     * Set withinAudioBandwidth value
     * @param string $withinAudioBandwidth
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XLocation
     */
    public function setWithinAudioBandwidth($withinAudioBandwidth = '0')
    {
        $this->withinAudioBandwidth = $withinAudioBandwidth;
        return $this;
    }
    /**
     * Get withinVideoBandwidth value
     * @return string
     */
    public function getWithinVideoBandwidth()
    {
        return $this->withinVideoBandwidth;
    }
    /**
     * Set withinVideoBandwidth value
     * @param string $withinVideoBandwidth
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XLocation
     */
    public function setWithinVideoBandwidth($withinVideoBandwidth = '0')
    {
        $this->withinVideoBandwidth = $withinVideoBandwidth;
        return $this;
    }
    /**
     * Get withinImmersiveKbits value
     * @return string
     */
    public function getWithinImmersiveKbits()
    {
        return $this->withinImmersiveKbits;
    }
    /**
     * Set withinImmersiveKbits value
     * @param string $withinImmersiveKbits
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XLocation
     */
    public function setWithinImmersiveKbits($withinImmersiveKbits = '0')
    {
        $this->withinImmersiveKbits = $withinImmersiveKbits;
        return $this;
    }
    /**
     * Get betweenLocations value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\BetweenLocations
     */
    public function getBetweenLocations()
    {
        return $this->betweenLocations;
    }
    /**
     * Set betweenLocations value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\BetweenLocations $betweenLocations
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XLocation
     */
    public function setBetweenLocations(\\Losc\CucmBundle\Model\Webservice\StructType\BetweenLocations $betweenLocations = null)
    {
        $this->betweenLocations = $betweenLocations;
        return $this;
    }
    /**
     * Get relatedLocations value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RelatedLocations|null
     */
    public function getRelatedLocations()
    {
        return $this->relatedLocations;
    }
    /**
     * Set relatedLocations value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\RelatedLocations $relatedLocations
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XLocation
     */
    public function setRelatedLocations(\\Losc\CucmBundle\Model\Webservice\StructType\RelatedLocations $relatedLocations = null)
    {
        $this->relatedLocations = $relatedLocations;
        return $this;
    }
}
