drive
v2
|
#include <file.h>
Public Member Functions | |
FileLabels (const Json::Value &storage) | |
FileLabels (Json::Value *storage) | |
virtual | ~FileLabels () |
const StringPiece | GetTypeName () const |
bool | has_hidden () const |
void | clear_hidden () |
bool | get_hidden () const |
void | set_hidden (bool value) |
bool | has_modified () const |
void | clear_modified () |
bool | get_modified () const |
void | set_modified (bool value) |
bool | has_restricted () const |
void | clear_restricted () |
bool | get_restricted () const |
void | set_restricted (bool value) |
bool | has_starred () const |
void | clear_starred () |
bool | get_starred () const |
void | set_starred (bool value) |
bool | has_trashed () const |
void | clear_trashed () |
bool | get_trashed () const |
void | set_trashed (bool value) |
bool | has_viewed () const |
void | clear_viewed () |
bool | get_viewed () const |
void | set_viewed (bool value) |
Static Public Member Functions | |
static FileLabels * | New () |
A group of labels for the file.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'hidden
' attribute.
|
inline |
Clears the 'modified
' attribute.
|
inline |
Clears the 'restricted
' attribute.
|
inline |
Clears the 'starred
' attribute.
|
inline |
Clears the 'trashed
' attribute.
|
inline |
Clears the 'viewed
' attribute.
|
inline |
Get the value of the 'hidden
' attribute.
|
inline |
Get the value of the 'modified
' attribute.
|
inline |
Get the value of the 'restricted
' attribute.
|
inline |
Get the value of the 'starred
' attribute.
|
inline |
Get the value of the 'trashed
' attribute.
|
inline |
Get the value of the 'viewed
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::FileLabels
|
inline |
Determine if the 'hidden
' attribute was set.
hidden
' attribute was set.
|
inline |
Determine if the 'modified
' attribute was set.
modified
' attribute was set.
|
inline |
Determine if the 'restricted
' attribute was set.
restricted
' attribute was set.
|
inline |
Determine if the 'starred
' attribute was set.
starred
' attribute was set.
|
inline |
Determine if the 'trashed
' attribute was set.
trashed
' attribute was set.
|
inline |
Determine if the 'viewed
' attribute was set.
viewed
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
|
inline |
Change the 'modified
' attribute.
Whether the file has been modified by this user.
[in] | value | The new value. |
|
inline |
Change the 'restricted
' attribute.
Deprecated - use copyRequiresWriterPermission instead.
[in] | value | The new value. |
|
inline |
Change the 'starred
' attribute.
Whether this file is starred by the user.
[in] | value | The new value. |
|
inline |
Change the 'trashed
' attribute.
Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are allowed to see and untrash files.
[in] | value | The new value. |
|
inline |
Change the 'viewed
' attribute.
Whether this file has been viewed by this user.
[in] | value | The new value. |