<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UnknownSubscriberErrorStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for Error: Subscriber not found.
 * @subpackage Structs
 */
class UnknownSubscriberErrorStructure extends ErrorCodeStructure
{
    /**
     * The SubscriberRef
     * Meta informations extracted from the WSDL
     * - documentation: Id of capabiliuty that is noit supported. + SIRI v2.0
     * - minOccurs: 0
     * @var \StructType\ParticipantRefStructure
     */
    public $SubscriberRef;
    /**
     * Constructor method for UnknownSubscriberErrorStructure
     * @uses UnknownSubscriberErrorStructure::setSubscriberRef()
     * @param \StructType\ParticipantRefStructure $subscriberRef
     */
    public function __construct(\StructType\ParticipantRefStructure $subscriberRef = null)
    {
        $this
            ->setSubscriberRef($subscriberRef);
    }
    /**
     * Get SubscriberRef value
     * @return \StructType\ParticipantRefStructure|null
     */
    public function getSubscriberRef()
    {
        return $this->SubscriberRef;
    }
    /**
     * Set SubscriberRef value
     * @param \StructType\ParticipantRefStructure $subscriberRef
     * @return \StructType\UnknownSubscriberErrorStructure
     */
    public function setSubscriberRef(\StructType\ParticipantRefStructure $subscriberRef = null)
    {
        $this->SubscriberRef = $subscriberRef;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return \StructType\UnknownSubscriberErrorStructure
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
