<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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