<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SearchRequest StructType
 * @subpackage Structs
 */
class SearchRequest extends AbstractStructBase
{
    /**
     * The searchRecord
     * @var \StructType\SearchRecord
     */
    public $searchRecord;
    /**
     * Constructor method for SearchRequest
     * @uses SearchRequest::setSearchRecord()
     * @param \StructType\SearchRecord $searchRecord
     */
    public function __construct(\StructType\SearchRecord $searchRecord = null)
    {
        $this
            ->setSearchRecord($searchRecord);
    }
    /**
     * Get searchRecord value
     * @return \StructType\SearchRecord|null
     */
    public function getSearchRecord()
    {
        return $this->searchRecord;
    }
    /**
     * Set searchRecord value
     * @param \StructType\SearchRecord $searchRecord
     * @return \StructType\SearchRequest
     */
    public function setSearchRecord(\StructType\SearchRecord $searchRecord = null)
    {
        $this->searchRecord = $searchRecord;
        return $this;
    }
}
