#include <drive_folder.h>
Representation of a Google Drive folder.
◆ DriveFolder() [1/2]
google_classroom_api::DriveFolder::DriveFolder |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ DriveFolder() [2/2]
google_classroom_api::DriveFolder::DriveFolder |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~DriveFolder()
google_classroom_api::DriveFolder::~DriveFolder |
( |
| ) |
|
|
virtual |
◆ clear_alternate_link()
void google_classroom_api::DriveFolder::clear_alternate_link |
( |
| ) |
|
|
inline |
Clears the 'alternateLink
' attribute.
◆ clear_id()
void google_classroom_api::DriveFolder::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_title()
void google_classroom_api::DriveFolder::clear_title |
( |
| ) |
|
|
inline |
Clears the 'title
' attribute.
◆ get_alternate_link()
const StringPiece google_classroom_api::DriveFolder::get_alternate_link |
( |
| ) |
const |
|
inline |
Get the value of the 'alternateLink
' attribute.
◆ get_id()
const StringPiece google_classroom_api::DriveFolder::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_title()
const StringPiece google_classroom_api::DriveFolder::get_title |
( |
| ) |
const |
|
inline |
Get the value of the 'title
' attribute.
◆ GetTypeName()
const StringPiece google_classroom_api::DriveFolder::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_alternate_link()
bool google_classroom_api::DriveFolder::has_alternate_link |
( |
| ) |
const |
|
inline |
Determine if the 'alternateLink
' attribute was set.
- Returns
- true if the '
alternateLink
' attribute was set.
◆ has_id()
bool google_classroom_api::DriveFolder::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_title()
bool google_classroom_api::DriveFolder::has_title |
( |
| ) |
const |
|
inline |
Determine if the 'title
' attribute was set.
- Returns
- true if the '
title
' attribute was set.
◆ New()
DriveFolder * google_classroom_api::DriveFolder::New |
( |
| ) |
|
|
static |
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_alternate_link()
void google_classroom_api::DriveFolder::set_alternate_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'alternateLink
' attribute.
URL that can be used to access the Drive folder.
Read-only.
- Parameters
-
◆ set_id()
void google_classroom_api::DriveFolder::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
Drive API resource ID.
- Parameters
-
◆ set_title()
void google_classroom_api::DriveFolder::set_title |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'title
' attribute.
Title of the Drive folder.
Read-only.
- Parameters
-
The documentation for this class was generated from the following files:
- google/classroom_api/drive_folder.h
- google/classroom_api/drive_folder.cc