<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for DriverToPoiItem StructType
 * @subpackage Structs
 */
class DriverToPoiItem extends AbstractStructBase
{
    /**
     * The IdentifierPerson
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\IdentifierPerson
     */
    public $IdentifierPerson;
    /**
     * The LinkedPoiItemList
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfLinkedPoiItem
     */
    public $LinkedPoiItemList;
    /**
     * Constructor method for DriverToPoiItem
     * @uses DriverToPoiItem::setIdentifierPerson()
     * @uses DriverToPoiItem::setLinkedPoiItemList()
     * @param \StructType\IdentifierPerson $identifierPerson
     * @param \ArrayType\ArrayOfLinkedPoiItem $linkedPoiItemList
     */
    public function __construct(\StructType\IdentifierPerson $identifierPerson = null, \ArrayType\ArrayOfLinkedPoiItem $linkedPoiItemList = null)
    {
        $this
            ->setIdentifierPerson($identifierPerson)
            ->setLinkedPoiItemList($linkedPoiItemList);
    }
    /**
     * Get IdentifierPerson value
     * @return \StructType\IdentifierPerson|null
     */
    public function getIdentifierPerson()
    {
        return $this->IdentifierPerson;
    }
    /**
     * Set IdentifierPerson value
     * @param \StructType\IdentifierPerson $identifierPerson
     * @return \StructType\DriverToPoiItem
     */
    public function setIdentifierPerson(\StructType\IdentifierPerson $identifierPerson = null)
    {
        $this->IdentifierPerson = $identifierPerson;
        return $this;
    }
    /**
     * Get LinkedPoiItemList value
     * @return \ArrayType\ArrayOfLinkedPoiItem|null
     */
    public function getLinkedPoiItemList()
    {
        return $this->LinkedPoiItemList;
    }
    /**
     * Set LinkedPoiItemList value
     * @param \ArrayType\ArrayOfLinkedPoiItem $linkedPoiItemList
     * @return \StructType\DriverToPoiItem
     */
    public function setLinkedPoiItemList(\ArrayType\ArrayOfLinkedPoiItem $linkedPoiItemList = null)
    {
        $this->LinkedPoiItemList = $linkedPoiItemList;
        return $this;
    }
}
