<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for MapView_V2 StructType
 * @subpackage Structs
 */
class MapView_V2 extends MapViewParent
{
    /**
     * The MapPositions
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfMapPosition_V2
     */
    public $MapPositions;
    /**
     * The CurrentMapPositions
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfMapPosition_V2
     */
    public $CurrentMapPositions;
    /**
     * Constructor method for MapView_V2
     * @uses MapView_V2::setMapPositions()
     * @uses MapView_V2::setCurrentMapPositions()
     * @param \ArrayType\ArrayOfMapPosition_V2 $mapPositions
     * @param \ArrayType\ArrayOfMapPosition_V2 $currentMapPositions
     */
    public function __construct(\ArrayType\ArrayOfMapPosition_V2 $mapPositions = null, \ArrayType\ArrayOfMapPosition_V2 $currentMapPositions = null)
    {
        $this
            ->setMapPositions($mapPositions)
            ->setCurrentMapPositions($currentMapPositions);
    }
    /**
     * Get MapPositions value
     * @return \ArrayType\ArrayOfMapPosition_V2|null
     */
    public function getMapPositions()
    {
        return $this->MapPositions;
    }
    /**
     * Set MapPositions value
     * @param \ArrayType\ArrayOfMapPosition_V2 $mapPositions
     * @return \StructType\MapView_V2
     */
    public function setMapPositions(\ArrayType\ArrayOfMapPosition_V2 $mapPositions = null)
    {
        $this->MapPositions = $mapPositions;
        return $this;
    }
    /**
     * Get CurrentMapPositions value
     * @return \ArrayType\ArrayOfMapPosition_V2|null
     */
    public function getCurrentMapPositions()
    {
        return $this->CurrentMapPositions;
    }
    /**
     * Set CurrentMapPositions value
     * @param \ArrayType\ArrayOfMapPosition_V2 $currentMapPositions
     * @return \StructType\MapView_V2
     */
    public function setCurrentMapPositions(\ArrayType\ArrayOfMapPosition_V2 $currentMapPositions = null)
    {
        $this->CurrentMapPositions = $currentMapPositions;
        return $this;
    }
}
