<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for forwardHuntNoAnswer StructType
 * @subpackage Structs
 */
class ForwardHuntNoAnswer extends AbstractStructBase
{
    /**
     * The usePersonalPreferences
     * Meta information extracted from the WSDL
     * - base: xsd:string
     * - default: false
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: false
     * - pattern: (t)|(f)|(true)|(false)|(0)|(1)
     * @var string
     */
    public $usePersonalPreferences;
    /**
     * The destination
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: true
     * @var string
     */
    public $destination;
    /**
     * The callingSearchSpaceName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * - nillable: true
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $callingSearchSpaceName;
    /**
     * Constructor method for forwardHuntNoAnswer
     * @uses ForwardHuntNoAnswer::setUsePersonalPreferences()
     * @uses ForwardHuntNoAnswer::setDestination()
     * @uses ForwardHuntNoAnswer::setCallingSearchSpaceName()
     * @param string $usePersonalPreferences
     * @param string $destination
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callingSearchSpaceName
     */
    public function __construct($usePersonalPreferences = 'false', $destination = null, \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callingSearchSpaceName = null)
    {
        $this
            ->setUsePersonalPreferences($usePersonalPreferences)
            ->setDestination($destination)
            ->setCallingSearchSpaceName($callingSearchSpaceName);
    }
    /**
     * Get usePersonalPreferences value
     * @return string|null
     */
    public function getUsePersonalPreferences()
    {
        return $this->usePersonalPreferences;
    }
    /**
     * Set usePersonalPreferences value
     * @param string $usePersonalPreferences
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ForwardHuntNoAnswer
     */
    public function setUsePersonalPreferences($usePersonalPreferences = 'false')
    {
        $this->usePersonalPreferences = $usePersonalPreferences;
        return $this;
    }
    /**
     * Get destination value
     * @return string|null
     */
    public function getDestination()
    {
        return $this->destination;
    }
    /**
     * Set destination value
     * @param string $destination
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ForwardHuntNoAnswer
     */
    public function setDestination($destination = null)
    {
        $this->destination = $destination;
        return $this;
    }
    /**
     * Get callingSearchSpaceName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType|null
     */
    public function getCallingSearchSpaceName()
    {
        return $this->callingSearchSpaceName;
    }
    /**
     * Set callingSearchSpaceName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callingSearchSpaceName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ForwardHuntNoAnswer
     */
    public function setCallingSearchSpaceName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $callingSearchSpaceName = null)
    {
        $this->callingSearchSpaceName = $callingSearchSpaceName;
        return $this;
    }
}
