<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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