<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for response StructType
 * @subpackage Structs
 */
class Response extends AbstractStructBase
{
    /**
     * The result
     * Meta information extracted from the WSDL
     * - form: unqualified
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Result
     */
    public $result;
    /**
     * Constructor method for response
     * @uses Response::setResult()
     * @param Result $result
     */
    public function __construct(Result $result = null)
    {
        $this
            ->setResult($result);
    }
    /**
     * Get result value
     * @return Result|null
     */
    public function getResult()
    {
        return $this->result;
    }
    /**
     * Set result value
     * @param Result $result
     * @return Response
     */
    public function setResult(Result $result = null)
    {
        $this->result = $result;
        return $this;
    }
}
