<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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