analytics  v3
Public Member Functions | Static Public Member Functions | List of all members
google_analytics_api::Uploads Class Reference

#include <uploads.h>

Inheritance diagram for google_analytics_api::Uploads:

Public Member Functions

 Uploads (const Json::Value &storage)
 
 Uploads (Json::Value *storage)
 
virtual ~Uploads ()
 
const StringPiece GetTypeName () const
 
bool has_items () const
 
void clear_items ()
 
const client::JsonCppArray< Uploadget_items () const
 
client::JsonCppArray< Uploadmutable_items ()
 
bool has_items_per_page () const
 
void clear_items_per_page ()
 
int32 get_items_per_page () const
 
void set_items_per_page (int32 value)
 
bool has_kind () const
 
void clear_kind ()
 
const StringPiece get_kind () const
 
void set_kind (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_previous_link () const
 
void clear_previous_link ()
 
const StringPiece get_previous_link () const
 
void set_previous_link (const StringPiece &value)
 
bool has_start_index () const
 
void clear_start_index ()
 
int32 get_start_index () const
 
void set_start_index (int32 value)
 
bool has_total_results () const
 
void clear_total_results ()
 
int32 get_total_results () const
 
void set_total_results (int32 value)
 

Static Public Member Functions

static UploadsNew ()
 

Detailed Description

Upload collection lists Analytics uploads to which the user has access. Each custom data source can have a set of uploads. Each resource in the upload collection corresponds to a single Analytics data upload.

Constructor & Destructor Documentation

◆ Uploads() [1/2]

google_analytics_api::Uploads::Uploads ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ Uploads() [2/2]

google_analytics_api::Uploads::Uploads ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~Uploads()

google_analytics_api::Uploads::~Uploads ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_items()

void google_analytics_api::Uploads::clear_items ( )
inline

Clears the 'items' attribute.

◆ clear_items_per_page()

void google_analytics_api::Uploads::clear_items_per_page ( )
inline

Clears the 'itemsPerPage' attribute.

◆ clear_kind()

void google_analytics_api::Uploads::clear_kind ( )
inline

Clears the 'kind' attribute.

◆ clear_next_link()

void google_analytics_api::Uploads::clear_next_link ( )
inline

Clears the 'nextLink' attribute.

◆ clear_previous_link()

void google_analytics_api::Uploads::clear_previous_link ( )
inline

Clears the 'previousLink' attribute.

◆ clear_start_index()

void google_analytics_api::Uploads::clear_start_index ( )
inline

Clears the 'startIndex' attribute.

◆ clear_total_results()

void google_analytics_api::Uploads::clear_total_results ( )
inline

Clears the 'totalResults' attribute.

◆ get_items()

const client::JsonCppArray<Upload > google_analytics_api::Uploads::get_items ( ) const

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

◆ get_items_per_page()

int32 google_analytics_api::Uploads::get_items_per_page ( ) const
inline

Get the value of the 'itemsPerPage' attribute.

◆ get_kind()

const StringPiece google_analytics_api::Uploads::get_kind ( ) const
inline

Get the value of the 'kind' attribute.

◆ get_next_link()

const StringPiece google_analytics_api::Uploads::get_next_link ( ) const
inline

Get the value of the 'nextLink' attribute.

◆ get_previous_link()

const StringPiece google_analytics_api::Uploads::get_previous_link ( ) const
inline

Get the value of the 'previousLink' attribute.

◆ get_start_index()

int32 google_analytics_api::Uploads::get_start_index ( ) const
inline

Get the value of the 'startIndex' attribute.

◆ get_total_results()

int32 google_analytics_api::Uploads::get_total_results ( ) const
inline

Get the value of the 'totalResults' attribute.

◆ GetTypeName()

const StringPiece google_analytics_api::Uploads::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_analytics_api::Uploads

◆ has_items()

bool google_analytics_api::Uploads::has_items ( ) const
inline

Determine if the 'items' attribute was set.

Returns
true if the 'items' attribute was set.

◆ has_items_per_page()

bool google_analytics_api::Uploads::has_items_per_page ( ) const
inline

Determine if the 'itemsPerPage' attribute was set.

Returns
true if the 'itemsPerPage' attribute was set.

◆ has_kind()

bool google_analytics_api::Uploads::has_kind ( ) const
inline

Determine if the 'kind' attribute was set.

Returns
true if the 'kind' attribute was set.

◆ has_next_link()

bool google_analytics_api::Uploads::has_next_link ( ) const
inline

Determine if the 'nextLink' attribute was set.

Returns
true if the 'nextLink' attribute was set.

◆ has_previous_link()

bool google_analytics_api::Uploads::has_previous_link ( ) const
inline

Determine if the 'previousLink' attribute was set.

Returns
true if the 'previousLink' attribute was set.

◆ has_start_index()

bool google_analytics_api::Uploads::has_start_index ( ) const
inline

Determine if the 'startIndex' attribute was set.

Returns
true if the 'startIndex' attribute was set.

◆ has_total_results()

bool google_analytics_api::Uploads::has_total_results ( ) const
inline

Determine if the 'totalResults' attribute was set.

Returns
true if the 'totalResults' attribute was set.

◆ mutable_items()

client::JsonCppArray<Upload > google_analytics_api::Uploads::mutable_items ( )

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

A list of uploads.

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

◆ New()

Uploads * google_analytics_api::Uploads::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_items_per_page()

void google_analytics_api::Uploads::set_items_per_page ( int32  value)
inline

Change the 'itemsPerPage' attribute.

The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.

Parameters
[in]valueThe new value.

◆ set_kind()

void google_analytics_api::Uploads::set_kind ( const StringPiece &  value)
inline

Change the 'kind' attribute.

Collection type.

Parameters
[in]valueThe new value.

◆ set_next_link()

void google_analytics_api::Uploads::set_next_link ( const StringPiece &  value)
inline

Change the 'nextLink' attribute.

Link to next page for this upload collection.

Parameters
[in]valueThe new value.

◆ set_previous_link()

void google_analytics_api::Uploads::set_previous_link ( const StringPiece &  value)
inline

Change the 'previousLink' attribute.

Link to previous page for this upload collection.

Parameters
[in]valueThe new value.

◆ set_start_index()

void google_analytics_api::Uploads::set_start_index ( int32  value)
inline

Change the 'startIndex' attribute.

The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.

Parameters
[in]valueThe new value.

◆ set_total_results()

void google_analytics_api::Uploads::set_total_results ( int32  value)
inline

Change the 'totalResults' attribute.

The total number of results for the query, regardless of the number of resources in the result.

Parameters
[in]valueThe new value.

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