<?php

namespace Google\AdsApi\AdManager\v201805;


/**
 * This file was generated from WSDL. DO NOT EDIT.
 */
class DateTime
{

    /**
     * @var \Google\AdsApi\AdManager\v201805\Date $date
     */
    protected $date = null;

    /**
     * @var int $hour
     */
    protected $hour = null;

    /**
     * @var int $minute
     */
    protected $minute = null;

    /**
     * @var int $second
     */
    protected $second = null;

    /**
     * @var string $timeZoneID
     */
    protected $timeZoneID = null;

    /**
     * @param \Google\AdsApi\AdManager\v201805\Date $date
     * @param int $hour
     * @param int $minute
     * @param int $second
     * @param string $timeZoneID
     */
    public function __construct($date = null, $hour = null, $minute = null, $second = null, $timeZoneID = null)
    {
      $this->date = $date;
      $this->hour = $hour;
      $this->minute = $minute;
      $this->second = $second;
      $this->timeZoneID = $timeZoneID;
    }

    /**
     * @return \Google\AdsApi\AdManager\v201805\Date
     */
    public function getDate()
    {
      return $this->date;
    }

    /**
     * @param \Google\AdsApi\AdManager\v201805\Date $date
     * @return \Google\AdsApi\AdManager\v201805\DateTime
     */
    public function setDate($date)
    {
      $this->date = $date;
      return $this;
    }

    /**
     * @return int
     */
    public function getHour()
    {
      return $this->hour;
    }

    /**
     * @param int $hour
     * @return \Google\AdsApi\AdManager\v201805\DateTime
     */
    public function setHour($hour)
    {
      $this->hour = $hour;
      return $this;
    }

    /**
     * @return int
     */
    public function getMinute()
    {
      return $this->minute;
    }

    /**
     * @param int $minute
     * @return \Google\AdsApi\AdManager\v201805\DateTime
     */
    public function setMinute($minute)
    {
      $this->minute = $minute;
      return $this;
    }

    /**
     * @return int
     */
    public function getSecond()
    {
      return $this->second;
    }

    /**
     * @param int $second
     * @return \Google\AdsApi\AdManager\v201805\DateTime
     */
    public function setSecond($second)
    {
      $this->second = $second;
      return $this;
    }

    /**
     * @return string
     */
    public function getTimeZoneID()
    {
      return $this->timeZoneID;
    }

    /**
     * @param string $timeZoneID
     * @return \Google\AdsApi\AdManager\v201805\DateTime
     */
    public function setTimeZoneID($timeZoneID)
    {
      $this->timeZoneID = $timeZoneID;
      return $this;
    }

}
