📂 File Browser

AgentAI/vendor/google/apiclient-services/src/Gmail
🌙 Dark Mode
🎯 Quick Launch:

📁 Directories

📁 Resource/ 🔓 Open

📄 Files

🐘 AutoForwarding.php
▶ Open 📄 View Source
🐘 BatchDeleteMessagesRequest.php
▶ Open 📄 View Source
🐘 BatchModifyMessagesRequest.php
▶ Open 📄 View Source
🐘 ClassificationLabelFieldValue.php
▶ Open 📄 View Source
🐘 ClassificationLabelValue.php
▶ Open 📄 View Source
🐘 CseIdentity.php
▶ Open 📄 View Source
🐘 CseKeyPair.php
▶ Open 📄 View Source
🐘 CsePrivateKeyMetadata.php
▶ Open 📄 View Source
🐘 Delegate.php
▶ Open 📄 View Source
🐘 DisableCseKeyPairRequest.php
▶ Open 📄 View Source
🐘 Draft.php
▶ Open 📄 View Source
🐘 EnableCseKeyPairRequest.php
▶ Open 📄 View Source
🐘 Filter.php
▶ Open 📄 View Source
🐘 FilterAction.php
▶ Open 📄 View Source
🐘 FilterCriteria.php
▶ Open 📄 View Source
🐘 ForwardingAddress.php
▶ Open 📄 View Source
🐘 HardwareKeyMetadata.php
▶ Open 📄 View Source
🐘 History.php
▶ Open 📄 View Source
🐘 HistoryLabelAdded.php
▶ Open 📄 View Source
🐘 HistoryLabelRemoved.php
▶ Open 📄 View Source
🐘 HistoryMessageAdded.php
▶ Open 📄 View Source
🐘 HistoryMessageDeleted.php
▶ Open 📄 View Source
🐘 ImapSettings.php
▶ Open 📄 View Source
🐘 KaclsKeyMetadata.php
▶ Open 📄 View Source
🐘 Label.php
▶ Open 📄 View Source
🐘 LabelColor.php
▶ Open 📄 View Source
🐘 LanguageSettings.php
▶ Open 📄 View Source
🐘 ListCseIdentitiesResponse.php
▶ Open 📄 View Source
🐘 ListCseKeyPairsResponse.php
▶ Open 📄 View Source
🐘 ListDelegatesResponse.php
▶ Open 📄 View Source
🐘 ListDraftsResponse.php
▶ Open 📄 View Source
🐘 ListFiltersResponse.php
▶ Open 📄 View Source
🐘 ListForwardingAddressesResponse.php
▶ Open 📄 View Source
🐘 ListHistoryResponse.php
▶ Open 📄 View Source
🐘 ListLabelsResponse.php
▶ Open 📄 View Source
🐘 ListMessagesResponse.php
▶ Open 📄 View Source
🐘 ListSendAsResponse.php
▶ Open 📄 View Source
🐘 ListSmimeInfoResponse.php
▶ Open 📄 View Source
🐘 ListThreadsResponse.php
▶ Open 📄 View Source
🐘 Message.php
▶ Open 📄 View Source
🐘 MessagePart.php
▶ Open 📄 View Source
🐘 MessagePartBody.php
▶ Open 📄 View Source
🐘 MessagePartHeader.php
▶ Open 📄 View Source
🐘 ModifyMessageRequest.php
▶ Open 📄 View Source
🐘 ModifyThreadRequest.php
▶ Open 📄 View Source
🐘 ObliterateCseKeyPairRequest.php
▶ Open 📄 View Source
🐘 PivKeyMetadata.php
▶ Open 📄 View Source
🐘 PopSettings.php
▶ Open 📄 View Source
🐘 Profile.php
▶ Open 📄 View Source
🐘 SendAs.php
▶ Open 📄 View Source
🐘 SignAndEncryptKeyPairs.php
▶ Open 📄 View Source
🐘 SmimeInfo.php
▶ Open 📄 View Source
🐘 SmtpMsa.php
▶ Open 📄 View Source
🐘 Thread.php
▶ Open 📄 View Source
🐘 VacationSettings.php
▶ Open 📄 View Source
🐘 WatchRequest.php
▶ Open 📄 View Source
🐘 WatchResponse.php
▶ Open 📄 View Source

📄 Source: VacationSettings.php

<?php
/*
 * Copyright 2014 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

namespace Google\Service\Gmail;

class VacationSettings extends \Google\Model
{
  /**
   * Flag that controls whether Gmail automatically replies to messages.
   *
   * @var bool
   */
  public $enableAutoReply;
  /**
   * An optional end time for sending auto-replies (epoch ms). When this is
   * specified, Gmail will automatically reply only to messages that it receives
   * before the end time. If both `startTime` and `endTime` are specified,
   * `startTime` must precede `endTime`.
   *
   * @var string
   */
  public $endTime;
  /**
   * Response body in HTML format. Gmail will sanitize the HTML before storing
   * it. If both `response_body_plain_text` and `response_body_html` are
   * specified, `response_body_html` will be used.
   *
   * @var string
   */
  public $responseBodyHtml;
  /**
   * Response body in plain text format. If both `response_body_plain_text` and
   * `response_body_html` are specified, `response_body_html` will be used.
   *
   * @var string
   */
  public $responseBodyPlainText;
  /**
   * Optional text to prepend to the subject line in vacation responses. In
   * order to enable auto-replies, either the response subject or the response
   * body must be nonempty.
   *
   * @var string
   */
  public $responseSubject;
  /**
   * Flag that determines whether responses are sent to recipients who are not
   * in the user's list of contacts.
   *
   * @var bool
   */
  public $restrictToContacts;
  /**
   * Flag that determines whether responses are sent to recipients who are
   * outside of the user's domain. This feature is only available for Google
   * Workspace users.
   *
   * @var bool
   */
  public $restrictToDomain;
  /**
   * An optional start time for sending auto-replies (epoch ms). When this is
   * specified, Gmail will automatically reply only to messages that it receives
   * after the start time. If both `startTime` and `endTime` are specified,
   * `startTime` must precede `endTime`.
   *
   * @var string
   */
  public $startTime;

  /**
   * Flag that controls whether Gmail automatically replies to messages.
   *
   * @param bool $enableAutoReply
   */
  public function setEnableAutoReply($enableAutoReply)
  {
    $this->enableAutoReply = $enableAutoReply;
  }
  /**
   * @return bool
   */
  public function getEnableAutoReply()
  {
    return $this->enableAutoReply;
  }
  /**
   * An optional end time for sending auto-replies (epoch ms). When this is
   * specified, Gmail will automatically reply only to messages that it receives
   * before the end time. If both `startTime` and `endTime` are specified,
   * `startTime` must precede `endTime`.
   *
   * @param string $endTime
   */
  public function setEndTime($endTime)
  {
    $this->endTime = $endTime;
  }
  /**
   * @return string
   */
  public function getEndTime()
  {
    return $this->endTime;
  }
  /**
   * Response body in HTML format. Gmail will sanitize the HTML before storing
   * it. If both `response_body_plain_text` and `response_body_html` are
   * specified, `response_body_html` will be used.
   *
   * @param string $responseBodyHtml
   */
  public function setResponseBodyHtml($responseBodyHtml)
  {
    $this->responseBodyHtml = $responseBodyHtml;
  }
  /**
   * @return string
   */
  public function getResponseBodyHtml()
  {
    return $this->responseBodyHtml;
  }
  /**
   * Response body in plain text format. If both `response_body_plain_text` and
   * `response_body_html` are specified, `response_body_html` will be used.
   *
   * @param string $responseBodyPlainText
   */
  public function setResponseBodyPlainText($responseBodyPlainText)
  {
    $this->responseBodyPlainText = $responseBodyPlainText;
  }
  /**
   * @return string
   */
  public function getResponseBodyPlainText()
  {
    return $this->responseBodyPlainText;
  }
  /**
   * Optional text to prepend to the subject line in vacation responses. In
   * order to enable auto-replies, either the response subject or the response
   * body must be nonempty.
   *
   * @param string $responseSubject
   */
  public function setResponseSubject($responseSubject)
  {
    $this->responseSubject = $responseSubject;
  }
  /**
   * @return string
   */
  public function getResponseSubject()
  {
    return $this->responseSubject;
  }
  /**
   * Flag that determines whether responses are sent to recipients who are not
   * in the user's list of contacts.
   *
   * @param bool $restrictToContacts
   */
  public function setRestrictToContacts($restrictToContacts)
  {
    $this->restrictToContacts = $restrictToContacts;
  }
  /**
   * @return bool
   */
  public function getRestrictToContacts()
  {
    return $this->restrictToContacts;
  }
  /**
   * Flag that determines whether responses are sent to recipients who are
   * outside of the user's domain. This feature is only available for Google
   * Workspace users.
   *
   * @param bool $restrictToDomain
   */
  public function setRestrictToDomain($restrictToDomain)
  {
    $this->restrictToDomain = $restrictToDomain;
  }
  /**
   * @return bool
   */
  public function getRestrictToDomain()
  {
    return $this->restrictToDomain;
  }
  /**
   * An optional start time for sending auto-replies (epoch ms). When this is
   * specified, Gmail will automatically reply only to messages that it receives
   * after the start time. If both `startTime` and `endTime` are specified,
   * `startTime` must precede `endTime`.
   *
   * @param string $startTime
   */
  public function setStartTime($startTime)
  {
    $this->startTime = $startTime;
  }
  /**
   * @return string
   */
  public function getStartTime()
  {
    return $this->startTime;
  }
}

// Adding a class alias for backwards compatibility with the previous class name.
class_alias(VacationSettings::class, 'Google_Service_Gmail_VacationSettings');
← Back