drive  v2
Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::ChangeList Class Reference

#include <change_list.h>

Inheritance diagram for google_drive_api::ChangeList:

Public Member Functions

 ChangeList (const Json::Value &storage)
 
 ChangeList (Json::Value *storage)
 
virtual ~ChangeList ()
 
const StringPiece GetTypeName () const
 
bool has_etag () const
 
void clear_etag ()
 
const StringPiece get_etag () const
 
void set_etag (const StringPiece &value)
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Changeget_items () const
 
client::JsonCppArray< Changemutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (const StringPiece &value)
 
bool has_largest_change_id () const
 
void clear_largest_change_id ()
 
int64 get_largest_change_id () const
 
void set_largest_change_id (int64 value)
 
bool has_new_start_page_token () const
 
void clear_new_start_page_token ()
 
const StringPiece get_new_start_page_token () const
 
void set_new_start_page_token (const StringPiece &value)
 
bool has_next_link () const
 
void clear_next_link ()
 
const StringPiece get_next_link () const
 
void set_next_link (const StringPiece &value)
 
bool has_next_page_token () const
 
void clear_next_page_token ()
 
const StringPiece get_next_page_token () const
 
void set_next_page_token (const StringPiece &value)
 
bool has_self_link () const
 
void clear_self_link ()
 
const StringPiece get_self_link () const
 
void set_self_link (const StringPiece &value)
 

Static Public Member Functions

static ChangeListNew ()
 

Detailed Description

A list of changes for a user.

Constructor & Destructor Documentation

◆ ChangeList() [1/2]

google_drive_api::ChangeList::ChangeList ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ChangeList() [2/2]

google_drive_api::ChangeList::ChangeList ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~ChangeList()

google_drive_api::ChangeList::~ChangeList ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_etag()

void google_drive_api::ChangeList::clear_etag ( )
inline

Clears the 'etag' attribute.

◆ clear_items()

void google_drive_api::ChangeList::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_drive_api::ChangeList::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_largest_change_id()

void google_drive_api::ChangeList::clear_largest_change_id ( )
inline

Clears the 'largestChangeId' attribute.

◆ clear_new_start_page_token()

void google_drive_api::ChangeList::clear_new_start_page_token ( )
inline

Clears the 'newStartPageToken' attribute.

◆ clear_next_link()

void google_drive_api::ChangeList::clear_next_link ( )
inline

Clears the 'nextLink' attribute.

◆ clear_next_page_token()

void google_drive_api::ChangeList::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ clear_self_link()

void google_drive_api::ChangeList::clear_self_link ( )
inline

Clears the 'selfLink' attribute.

◆ get_etag()

const StringPiece google_drive_api::ChangeList::get_etag ( ) const
inline

Get the value of the 'etag' attribute.

◆ get_items()

const client::JsonCppArray<Change > google_drive_api::ChangeList::get_items ( ) const

Get a reference to the value of the 'items' attribute.

◆ get_kind()

const StringPiece google_drive_api::ChangeList::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_largest_change_id()

int64 google_drive_api::ChangeList::get_largest_change_id ( ) const
inline

Get the value of the 'largestChangeId' attribute.

◆ get_new_start_page_token()

const StringPiece google_drive_api::ChangeList::get_new_start_page_token ( ) const
inline

Get the value of the 'newStartPageToken' attribute.

◆ get_next_link()

const StringPiece google_drive_api::ChangeList::get_next_link ( ) const
inline

Get the value of the 'nextLink' attribute.

◆ get_next_page_token()

const StringPiece google_drive_api::ChangeList::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ get_self_link()

const StringPiece google_drive_api::ChangeList::get_self_link ( ) const
inline

Get the value of the 'selfLink' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::ChangeList::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::ChangeList

◆ has_etag()

bool google_drive_api::ChangeList::has_etag ( ) const
inline

Determine if the 'etag' attribute was set.

Returns
true if the 'etag' attribute was set.

◆ has_items()

bool google_drive_api::ChangeList::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

bool google_drive_api::ChangeList::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_largest_change_id()

bool google_drive_api::ChangeList::has_largest_change_id ( ) const
inline

Determine if the 'largestChangeId' attribute was set.

Returns
true if the 'largestChangeId' attribute was set.

◆ has_new_start_page_token()

bool google_drive_api::ChangeList::has_new_start_page_token ( ) const
inline

Determine if the 'newStartPageToken' attribute was set.

Returns
true if the 'newStartPageToken' attribute was set.

◆ has_next_link()

bool google_drive_api::ChangeList::has_next_link ( ) const
inline

Determine if the 'nextLink' attribute was set.

Returns
true if the 'nextLink' attribute was set.

◆ has_next_page_token()

bool google_drive_api::ChangeList::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ has_self_link()

bool google_drive_api::ChangeList::has_self_link ( ) const
inline

Determine if the 'selfLink' attribute was set.

Returns
true if the 'selfLink' attribute was set.

◆ mutable_items()

client::JsonCppArray<Change > google_drive_api::ChangeList::mutable_items ( )

Gets a reference to a mutable value of the 'items' property.

The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.

Returns
The result can be modified to change the attribute value.

◆ New()

ChangeList * google_drive_api::ChangeList::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_etag()

void google_drive_api::ChangeList::set_etag ( const StringPiece &  value)
inline

Change the 'etag' attribute.

The ETag of the list.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_drive_api::ChangeList::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

This is always drive::changeList.

Parameters
[in]valueThe new value.

◆ set_largest_change_id()

void google_drive_api::ChangeList::set_largest_change_id ( int64  value)
inline

Change the 'largestChangeId' attribute.

The current largest change ID.

Parameters
[in]valueThe new value.

◆ set_new_start_page_token()

void google_drive_api::ChangeList::set_new_start_page_token ( const StringPiece &  value)
inline

Change the 'newStartPageToken' attribute.

The starting page token for future changes. This will be present only if the end of the current changes list has been reached.

Parameters
[in]valueThe new value.

◆ set_next_link()

void google_drive_api::ChangeList::set_next_link ( const StringPiece &  value)
inline

Change the 'nextLink' attribute.

A link to the next page of changes.

Parameters
[in]valueThe new value.

◆ set_next_page_token()

void google_drive_api::ChangeList::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

The page token for the next page of changes. This will be absent if the end of the changes list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.

Parameters
[in]valueThe new value.

◆ set_self_link()

void google_drive_api::ChangeList::set_self_link ( const StringPiece &  value)
inline

Change the 'selfLink' attribute.

A link back to this list.

Parameters
[in]valueThe new value.

The documentation for this class was generated from the following files: