<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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