#include <watch_response.h>
Push notification watch response.
◆ WatchResponse() [1/2]
google_gmail_api::WatchResponse::WatchResponse |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ WatchResponse() [2/2]
google_gmail_api::WatchResponse::WatchResponse |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~WatchResponse()
google_gmail_api::WatchResponse::~WatchResponse |
( |
| ) |
|
|
virtual |
◆ clear_expiration()
void google_gmail_api::WatchResponse::clear_expiration |
( |
| ) |
|
|
inline |
Clears the 'expiration
' attribute.
◆ clear_history_id()
void google_gmail_api::WatchResponse::clear_history_id |
( |
| ) |
|
|
inline |
Clears the 'historyId
' attribute.
◆ get_expiration()
int64 google_gmail_api::WatchResponse::get_expiration |
( |
| ) |
const |
|
inline |
Get the value of the 'expiration
' attribute.
◆ get_history_id()
uint64 google_gmail_api::WatchResponse::get_history_id |
( |
| ) |
const |
|
inline |
Get the value of the 'historyId
' attribute.
◆ GetTypeName()
const StringPiece google_gmail_api::WatchResponse::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_expiration()
bool google_gmail_api::WatchResponse::has_expiration |
( |
| ) |
const |
|
inline |
Determine if the 'expiration
' attribute was set.
- Returns
- true if the '
expiration
' attribute was set.
◆ has_history_id()
bool google_gmail_api::WatchResponse::has_history_id |
( |
| ) |
const |
|
inline |
Determine if the 'historyId
' attribute was set.
- Returns
- true if the '
historyId
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_expiration()
void google_gmail_api::WatchResponse::set_expiration |
( |
int64 |
value | ) |
|
|
inline |
Change the 'expiration
' attribute.
When Gmail will stop sending notifications for mailbox updates (epoch millis). Call watch again before this time to renew the watch.
- Parameters
-
◆ set_history_id()
void google_gmail_api::WatchResponse::set_history_id |
( |
uint64 |
value | ) |
|
|
inline |
Change the 'historyId
' attribute.
The ID of the mailbox's current history record.
- Parameters
-
The documentation for this class was generated from the following files: