<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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