<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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