<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddRemoteDestinationReq StructType
 * @subpackage Structs
 */
class AddRemoteDestinationReq extends APIRequest
{
    /**
     * The remoteDestination
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XRemoteDestination
     */
    public $remoteDestination;
    /**
     * Constructor method for AddRemoteDestinationReq
     * @uses AddRemoteDestinationReq::setRemoteDestination()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XRemoteDestination $remoteDestination
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XRemoteDestination $remoteDestination = null)
    {
        $this
            ->setRemoteDestination($remoteDestination);
    }
    /**
     * Get remoteDestination value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XRemoteDestination|null
     */
    public function getRemoteDestination()
    {
        return $this->remoteDestination;
    }
    /**
     * Set remoteDestination value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XRemoteDestination $remoteDestination
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\AddRemoteDestinationReq
     */
    public function setRemoteDestination(\\Losc\CucmBundle\Model\Webservice\StructType\XRemoteDestination $remoteDestination = null)
    {
        $this->remoteDestination = $remoteDestination;
        return $this;
    }
}
