<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for SetUnsetEvents StructType
 * @subpackage Structs
 */
class SetUnsetEvents extends AbstractStructBase
{
    /**
     * The History
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\ArrayType\ArrayOfSetUnsetEventsItem
     */
    public $History;
    /**
     * Constructor method for SetUnsetEvents
     * @uses SetUnsetEvents::setHistory()
     * @param \CustomerManagement\ArrayType\ArrayOfSetUnsetEventsItem $history
     */
    public function __construct(\CustomerManagement\ArrayType\ArrayOfSetUnsetEventsItem $history = null)
    {
        $this
            ->setHistory($history);
    }
    /**
     * Get History value
     * @return \CustomerManagement\ArrayType\ArrayOfSetUnsetEventsItem|null
     */
    public function getHistory()
    {
        return $this->History;
    }
    /**
     * Set History value
     * @param \CustomerManagement\ArrayType\ArrayOfSetUnsetEventsItem $history
     * @return \CustomerManagement\StructType\SetUnsetEvents
     */
    public function setHistory(\CustomerManagement\ArrayType\ArrayOfSetUnsetEventsItem $history = null)
    {
        $this->History = $history;
        return $this;
    }
}
