<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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