<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetSocialPoiResult StructType
 * @subpackage Structs
 */
class GetSocialPoiResult extends ExecutionResult
{
    /**
     * The DriverToPoiList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfDriverToPoiItem
     */
    public $DriverToPoiList;
    /**
     * Constructor method for GetSocialPoiResult
     * @uses GetSocialPoiResult::setDriverToPoiList()
     * @param \ArrayType\ArrayOfDriverToPoiItem $driverToPoiList
     */
    public function __construct(\ArrayType\ArrayOfDriverToPoiItem $driverToPoiList = null)
    {
        $this
            ->setDriverToPoiList($driverToPoiList);
    }
    /**
     * Get DriverToPoiList value
     * @return \ArrayType\ArrayOfDriverToPoiItem|null
     */
    public function getDriverToPoiList()
    {
        return $this->DriverToPoiList;
    }
    /**
     * Set DriverToPoiList value
     * @param \ArrayType\ArrayOfDriverToPoiItem $driverToPoiList
     * @return \StructType\GetSocialPoiResult
     */
    public function setDriverToPoiList(\ArrayType\ArrayOfDriverToPoiItem $driverToPoiList = null)
    {
        $this->DriverToPoiList = $driverToPoiList;
        return $this;
    }
}
