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

#include <app.h>

Inheritance diagram for google_drive_api::App::AppIcons:

Public Member Functions

 AppIcons (const Json::Value &storage)
 
 AppIcons (Json::Value *storage)
 
virtual ~AppIcons ()
 
const StringPiece GetTypeName () const
 
bool has_category () const
 
void clear_category ()
 
const StringPiece get_category () const
 
void set_category (const StringPiece &value)
 
bool has_icon_url () const
 
void clear_icon_url ()
 
const StringPiece get_icon_url () const
 
void set_icon_url (const StringPiece &value)
 
bool has_size () const
 
void clear_size ()
 
int32 get_size () const
 
void set_size (int32 value)
 

Static Public Member Functions

static AppIconsNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ AppIcons() [1/2]

google_drive_api::App::AppIcons::AppIcons ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ AppIcons() [2/2]

google_drive_api::App::AppIcons::AppIcons ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~AppIcons()

google_drive_api::App::AppIcons::~AppIcons ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_category()

void google_drive_api::App::AppIcons::clear_category ( )
inline

Clears the 'category' attribute.

◆ clear_icon_url()

void google_drive_api::App::AppIcons::clear_icon_url ( )
inline

Clears the 'iconUrl' attribute.

◆ clear_size()

void google_drive_api::App::AppIcons::clear_size ( )
inline

Clears the 'size' attribute.

◆ get_category()

const StringPiece google_drive_api::App::AppIcons::get_category ( ) const
inline

Get the value of the 'category' attribute.

◆ get_icon_url()

const StringPiece google_drive_api::App::AppIcons::get_icon_url ( ) const
inline

Get the value of the 'iconUrl' attribute.

◆ get_size()

int32 google_drive_api::App::AppIcons::get_size ( ) const
inline

Get the value of the 'size' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::App::AppIcons::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::AppIcons

◆ has_category()

bool google_drive_api::App::AppIcons::has_category ( ) const
inline

Determine if the 'category' attribute was set.

Returns
true if the 'category' attribute was set.

◆ has_icon_url()

bool google_drive_api::App::AppIcons::has_icon_url ( ) const
inline

Determine if the 'iconUrl' attribute was set.

Returns
true if the 'iconUrl' attribute was set.

◆ has_size()

bool google_drive_api::App::AppIcons::has_size ( ) const
inline

Determine if the 'size' attribute was set.

Returns
true if the 'size' attribute was set.

◆ New()

App::AppIcons * google_drive_api::App::AppIcons::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_category()

void google_drive_api::App::AppIcons::set_category ( const StringPiece &  value)
inline

Change the 'category' attribute.

Category of the icon. Allowed values are:

application
icon for the application.
document
icon for a file associated with the app.
documentShared
icon for a shared file associated with the app.
Parameters
[in]valueThe new value.

◆ set_icon_url()

void google_drive_api::App::AppIcons::set_icon_url ( const StringPiece &  value)
inline

Change the 'iconUrl' attribute.

URL for the icon.

Parameters
[in]valueThe new value.

◆ set_size()

void google_drive_api::App::AppIcons::set_size ( int32  value)
inline

Change the 'size' attribute.

Size of the icon. Represented as the maximum of the width and height.

Parameters
[in]valueThe new value.

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