<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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