<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SetNotificheNotificateResponse StructType
 * @subpackage Structs
 */
class SetNotificheNotificateResponse extends AbstractStructBase
{
    /**
     * The SetNotificheNotificateResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var SetNotificheNotificate_Result
     */
    public $SetNotificheNotificateResult;
    /**
     * Constructor method for SetNotificheNotificateResponse
     * @uses SetNotificheNotificateResponse::setSetNotificheNotificateResult()
     * @param SetNotificheNotificate_Result $setNotificheNotificateResult
     */
    public function __construct(SetNotificheNotificate_Result $setNotificheNotificateResult = null)
    {
        $this
            ->setSetNotificheNotificateResult($setNotificheNotificateResult);
    }
    /**
     * Get SetNotificheNotificateResult value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return SetNotificheNotificate_Result|null
     */
    public function getSetNotificheNotificateResult()
    {
        return isset($this->SetNotificheNotificateResult) ? $this->SetNotificheNotificateResult : null;
    }
    /**
     * Set SetNotificheNotificateResult value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param SetNotificheNotificate_Result $setNotificheNotificateResult
     * @return SetNotificheNotificateResponse
     */
    public function setSetNotificheNotificateResult(SetNotificheNotificate_Result $setNotificheNotificateResult = null)
    {
        if (is_null($setNotificheNotificateResult) || (is_array($setNotificheNotificateResult) && empty($setNotificheNotificateResult))) {
            unset($this->SetNotificheNotificateResult);
        } else {
            $this->SetNotificheNotificateResult = $setNotificheNotificateResult;
        }
        return $this;
    }
}
