<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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