<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for OXCallForwardAll StructType
 * @subpackage Structs
 */
class OXCallForwardAll extends AbstractStructBase
{
    /**
     * The callingSearchSpaceName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType
     */
    public $callingSearchSpaceName;
    /**
     * The secondaryCallingSearchSpaceName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType
     */
    public $secondaryCallingSearchSpaceName;
    /**
     * Constructor method for OXCallForwardAll
     * @uses OXCallForwardAll::setCallingSearchSpaceName()
     * @uses OXCallForwardAll::setSecondaryCallingSearchSpaceName()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $callingSearchSpaceName
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $secondaryCallingSearchSpaceName
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $callingSearchSpaceName = null, \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $secondaryCallingSearchSpaceName = null)
    {
        $this
            ->setCallingSearchSpaceName($callingSearchSpaceName)
            ->setSecondaryCallingSearchSpaceName($secondaryCallingSearchSpaceName);
    }
    /**
     * Get callingSearchSpaceName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType|null
     */
    public function getCallingSearchSpaceName()
    {
        return $this->callingSearchSpaceName;
    }
    /**
     * Set callingSearchSpaceName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $callingSearchSpaceName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\OXCallForwardAll
     */
    public function setCallingSearchSpaceName(\\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $callingSearchSpaceName = null)
    {
        $this->callingSearchSpaceName = $callingSearchSpaceName;
        return $this;
    }
    /**
     * Get secondaryCallingSearchSpaceName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType|null
     */
    public function getSecondaryCallingSearchSpaceName()
    {
        return $this->secondaryCallingSearchSpaceName;
    }
    /**
     * Set secondaryCallingSearchSpaceName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $secondaryCallingSearchSpaceName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\OXCallForwardAll
     */
    public function setSecondaryCallingSearchSpaceName(\\Losc\CucmBundle\Model\Webservice\StructType\OXFkType $secondaryCallingSearchSpaceName = null)
    {
        $this->secondaryCallingSearchSpaceName = $secondaryCallingSearchSpaceName;
        return $this;
    }
}
