<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetTotaleNotificheDaNotificareResponse StructType
 * @subpackage Structs
 */
class GetTotaleNotificheDaNotificareResponse extends AbstractStructBase
{
    /**
     * The GetTotaleNotificheDaNotificareResult
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var GetTotaleNotificheDaNotificare_Result
     */
    public $GetTotaleNotificheDaNotificareResult;
    /**
     * Constructor method for GetTotaleNotificheDaNotificareResponse
     * @uses GetTotaleNotificheDaNotificareResponse::setGetTotaleNotificheDaNotificareResult()
     * @param GetTotaleNotificheDaNotificare_Result $getTotaleNotificheDaNotificareResult
     */
    public function __construct(GetTotaleNotificheDaNotificare_Result $getTotaleNotificheDaNotificareResult = null)
    {
        $this
            ->setGetTotaleNotificheDaNotificareResult($getTotaleNotificheDaNotificareResult);
    }
    /**
     * Get GetTotaleNotificheDaNotificareResult 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 GetTotaleNotificheDaNotificare_Result|null
     */
    public function getGetTotaleNotificheDaNotificareResult()
    {
        return isset($this->GetTotaleNotificheDaNotificareResult) ? $this->GetTotaleNotificheDaNotificareResult : null;
    }
    /**
     * Set GetTotaleNotificheDaNotificareResult 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 GetTotaleNotificheDaNotificare_Result $getTotaleNotificheDaNotificareResult
     * @return GetTotaleNotificheDaNotificareResponse
     */
    public function setGetTotaleNotificheDaNotificareResult(GetTotaleNotificheDaNotificare_Result $getTotaleNotificheDaNotificareResult = null)
    {
        if (is_null($getTotaleNotificheDaNotificareResult) || (is_array($getTotaleNotificheDaNotificareResult) && empty($getTotaleNotificheDaNotificareResult))) {
            unset($this->GetTotaleNotificheDaNotificareResult);
        } else {
            $this->GetTotaleNotificheDaNotificareResult = $getTotaleNotificheDaNotificareResult;
        }
        return $this;
    }
}
