VacationSettings class

Vacation auto-reply settings for an account. These settings correspond to the "Vacation responder" feature in the web interface.

Constructors

VacationSettings()
VacationSettings.fromJson(Map _json)

Properties

enableAutoReply bool
Flag that controls whether Gmail automatically replies to messages.
read / write
endTime String
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.
read / write
responseBodyHtml String
Response body in HTML format. Gmail will sanitize the HTML before storing it.
read / write
responseBodyPlainText String
Response body in plain text format.
read / write
responseSubject String
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.
read / write
restrictToContacts bool
Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.
read / write
restrictToDomain bool
Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users.
read / write
startTime String
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.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited