<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Get_Absences StructType
 * @subpackage Structs
 */
class Get_Absences extends AbstractStructBase
{
    /**
     * The Login
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\Login
     */
    public $Login;
    /**
     * The AbsenceSelection
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\AbsenceSelection
     */
    public $AbsenceSelection;
    /**
     * Constructor method for Get_Absences
     * @uses Get_Absences::setLogin()
     * @uses Get_Absences::setAbsenceSelection()
     * @param \StructType\Login $login
     * @param \StructType\AbsenceSelection $absenceSelection
     */
    public function __construct(\StructType\Login $login = null, \StructType\AbsenceSelection $absenceSelection = null)
    {
        $this
            ->setLogin($login)
            ->setAbsenceSelection($absenceSelection);
    }
    /**
     * Get Login value
     * @return \StructType\Login|null
     */
    public function getLogin()
    {
        return $this->Login;
    }
    /**
     * Set Login value
     * @param \StructType\Login $login
     * @return \StructType\Get_Absences
     */
    public function setLogin(\StructType\Login $login = null)
    {
        $this->Login = $login;
        return $this;
    }
    /**
     * Get AbsenceSelection value
     * @return \StructType\AbsenceSelection|null
     */
    public function getAbsenceSelection()
    {
        return $this->AbsenceSelection;
    }
    /**
     * Set AbsenceSelection value
     * @param \StructType\AbsenceSelection $absenceSelection
     * @return \StructType\Get_Absences
     */
    public function setAbsenceSelection(\StructType\AbsenceSelection $absenceSelection = null)
    {
        $this->AbsenceSelection = $absenceSelection;
        return $this;
    }
}
