#include <app.h>
◆ AppIcons() [1/2]
google_drive_api::App::AppIcons::AppIcons |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The 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] | storage | The underlying data storage for this instance. |
◆ ~AppIcons()
google_drive_api::App::AppIcons::~AppIcons |
( |
| ) |
|
|
virtual |
◆ 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()
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
-
◆ 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
-
◆ 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
-
The documentation for this class was generated from the following files:
- google/drive_api/app.h
- google/drive_api/app.cc