<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SearchMoreWithIdResponse StructType
 * @subpackage Structs
 */
class SearchMoreWithIdResponse extends AbstractStructBase
{
    /**
     * The searchResult
     * Meta information extracted from the WSDL
     * - ref: platformCore:searchResult
     * @var \StructType\SearchResult
     */
    public $searchResult;
    /**
     * Constructor method for SearchMoreWithIdResponse
     * @uses SearchMoreWithIdResponse::setSearchResult()
     * @param \StructType\SearchResult $searchResult
     */
    public function __construct(\StructType\SearchResult $searchResult = null)
    {
        $this
            ->setSearchResult($searchResult);
    }
    /**
     * Get searchResult value
     * @return \StructType\SearchResult|null
     */
    public function getSearchResult()
    {
        return $this->searchResult;
    }
    /**
     * Set searchResult value
     * @param \StructType\SearchResult $searchResult
     * @return \StructType\SearchMoreWithIdResponse
     */
    public function setSearchResult(\StructType\SearchResult $searchResult = null)
    {
        $this->searchResult = $searchResult;
        return $this;
    }
}
