classroom
v1
|
#include <registration.h>
Public Member Functions | |
Registration (const Json::Value &storage) | |
Registration (Json::Value *storage) | |
virtual | ~Registration () |
const StringPiece | GetTypeName () const |
bool | has_cloud_pubsub_topic () const |
void | clear_cloud_pubsub_topic () |
const CloudPubsubTopic | get_cloud_pubsub_topic () const |
CloudPubsubTopic | mutable_cloudPubsubTopic () |
bool | has_expiry_time () const |
void | clear_expiry_time () |
const StringPiece | get_expiry_time () const |
void | set_expiry_time (const StringPiece &value) |
bool | has_feed () const |
void | clear_feed () |
const Feed | get_feed () const |
Feed | mutable_feed () |
bool | has_registration_id () const |
void | clear_registration_id () |
const StringPiece | get_registration_id () const |
void | set_registration_id (const StringPiece &value) |
Static Public Member Functions | |
static Registration * | New () |
An instruction to Classroom to send notifications from the feed
to the provided destination.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'cloudPubsubTopic
' attribute.
|
inline |
Clears the 'expiryTime
' attribute.
|
inline |
Clears the 'feed
' attribute.
|
inline |
Clears the 'registrationId
' attribute.
const CloudPubsubTopic google_classroom_api::Registration::get_cloud_pubsub_topic | ( | ) | const |
Get a reference to the value of the 'cloudPubsubTopic
' attribute.
|
inline |
Get the value of the 'expiryTime
' attribute.
const Feed google_classroom_api::Registration::get_feed | ( | ) | const |
Get a reference to the value of the 'feed
' attribute.
|
inline |
Get the value of the 'registrationId
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'cloudPubsubTopic
' attribute was set.
cloudPubsubTopic
' attribute was set.
|
inline |
Determine if the 'expiryTime
' attribute was set.
expiryTime
' attribute was set.
|
inline |
Determine if the 'feed
' attribute was set.
feed
' attribute was set.
|
inline |
Determine if the 'registrationId
' attribute was set.
registrationId
' attribute was set. CloudPubsubTopic google_classroom_api::Registration::mutable_cloudPubsubTopic | ( | ) |
Gets a reference to a mutable value of the 'cloudPubsubTopic
' property.
The Cloud Pub/Sub topic that notifications are to be sent to.
Feed google_classroom_api::Registration::mutable_feed | ( | ) |
Gets a reference to a mutable value of the 'feed
' property.
Specification for the class of notifications that Classroom should deliver to the destination.
|
static |
Creates a new default instance.
|
inline |
Change the 'expiryTime
' attribute.
The time until which the Registration
is effective.
This is a read-only field assigned by the server.
[in] | value | The new value. |
|
inline |
Change the 'registrationId
' attribute.
A server-generated unique identifier for this Registration
.
Read-only.
[in] | value | The new value. |