<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

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