<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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