<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

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