storage  v1
Public Member Functions | Static Public Member Functions | List of all members
google_storage_api::Objects Class Reference

#include <objects.h>

Inheritance diagram for google_storage_api::Objects:

Public Member Functions

 Objects (const Json::Value &storage)
 
 Objects (Json::Value *storage)
 
virtual ~Objects ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Objectget_items () const
 
client::JsonCppArray< Objectmutable_items ()
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (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_prefixes () const
 
void clear_prefixes ()
 
const client::JsonCppArray< string > get_prefixes () const
 
client::JsonCppArray< string > mutable_prefixes ()
 

Static Public Member Functions

static ObjectsNew ()
 

Detailed Description

A list of objects.

Constructor & Destructor Documentation

◆ Objects() [1/2]

google_storage_api::Objects::Objects ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Objects() [2/2]

google_storage_api::Objects::Objects ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Objects()

google_storage_api::Objects::~Objects ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_storage_api::Objects::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_kind()

void google_storage_api::Objects::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_next_page_token()

void google_storage_api::Objects::clear_next_page_token ( )
inline

Clears the 'nextPageToken' attribute.

◆ clear_prefixes()

void google_storage_api::Objects::clear_prefixes ( )
inline

Clears the 'prefixes' attribute.

◆ get_items()

const client::JsonCppArray<Object > google_storage_api::Objects::get_items ( ) const

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

◆ get_kind()

const StringPiece google_storage_api::Objects::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_next_page_token()

const StringPiece google_storage_api::Objects::get_next_page_token ( ) const
inline

Get the value of the 'nextPageToken' attribute.

◆ get_prefixes()

const client::JsonCppArray<string > google_storage_api::Objects::get_prefixes ( ) const
inline

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

◆ GetTypeName()

const StringPiece google_storage_api::Objects::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_storage_api::Objects

◆ has_items()

bool google_storage_api::Objects::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_kind()

bool google_storage_api::Objects::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_next_page_token()

bool google_storage_api::Objects::has_next_page_token ( ) const
inline

Determine if the 'nextPageToken' attribute was set.

Returns
true if the 'nextPageToken' attribute was set.

◆ has_prefixes()

bool google_storage_api::Objects::has_prefixes ( ) const
inline

Determine if the 'prefixes' attribute was set.

Returns
true if the 'prefixes' attribute was set.

◆ mutable_items()

client::JsonCppArray<Object > google_storage_api::Objects::mutable_items ( )

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

The list of items.

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

◆ mutable_prefixes()

client::JsonCppArray<string > google_storage_api::Objects::mutable_prefixes ( )
inline

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

The list of prefixes of objects matching-but-not-listed up to and including the requested delimiter.

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

◆ New()

Objects * google_storage_api::Objects::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_kind()

void google_storage_api::Objects::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

The kind of item this is. For lists of objects, this is always storage::objects.

Parameters
[in]valueThe new value.

◆ set_next_page_token()

void google_storage_api::Objects::set_next_page_token ( const StringPiece &  value)
inline

Change the 'nextPageToken' attribute.

The continuation token, used to page through large result sets. Provide this value in a subsequent request to return the next page of results.

Parameters
[in]valueThe new value.

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