#include <parent_reference.h>
A reference to a file's parent.
◆ ParentReference() [1/2]
google_drive_api::ParentReference::ParentReference |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ParentReference() [2/2]
google_drive_api::ParentReference::ParentReference |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
[in] | storage | The underlying data storage for this instance. |
◆ ~ParentReference()
google_drive_api::ParentReference::~ParentReference |
( |
| ) |
|
|
virtual |
◆ clear_id()
void google_drive_api::ParentReference::clear_id |
( |
| ) |
|
|
inline |
Clears the 'id
' attribute.
◆ clear_is_root()
void google_drive_api::ParentReference::clear_is_root |
( |
| ) |
|
|
inline |
Clears the 'isRoot
' attribute.
◆ clear_kind()
void google_drive_api::ParentReference::clear_kind |
( |
| ) |
|
|
inline |
Clears the 'kind
' attribute.
◆ clear_parent_link()
void google_drive_api::ParentReference::clear_parent_link |
( |
| ) |
|
|
inline |
Clears the 'parentLink
' attribute.
◆ clear_self_link()
void google_drive_api::ParentReference::clear_self_link |
( |
| ) |
|
|
inline |
Clears the 'selfLink
' attribute.
◆ get_id()
const StringPiece google_drive_api::ParentReference::get_id |
( |
| ) |
const |
|
inline |
Get the value of the 'id
' attribute.
◆ get_is_root()
bool google_drive_api::ParentReference::get_is_root |
( |
| ) |
const |
|
inline |
Get the value of the 'isRoot
' attribute.
◆ get_kind()
const StringPiece google_drive_api::ParentReference::get_kind |
( |
| ) |
const |
|
inline |
Get the value of the 'kind
' attribute.
◆ get_parent_link()
const StringPiece google_drive_api::ParentReference::get_parent_link |
( |
| ) |
const |
|
inline |
Get the value of the 'parentLink
' attribute.
◆ get_self_link()
const StringPiece google_drive_api::ParentReference::get_self_link |
( |
| ) |
const |
|
inline |
Get the value of the 'selfLink
' attribute.
◆ GetTypeName()
const StringPiece google_drive_api::ParentReference::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_id()
bool google_drive_api::ParentReference::has_id |
( |
| ) |
const |
|
inline |
Determine if the 'id
' attribute was set.
- Returns
- true if the '
id
' attribute was set.
◆ has_is_root()
bool google_drive_api::ParentReference::has_is_root |
( |
| ) |
const |
|
inline |
Determine if the 'isRoot
' attribute was set.
- Returns
- true if the '
isRoot
' attribute was set.
◆ has_kind()
bool google_drive_api::ParentReference::has_kind |
( |
| ) |
const |
|
inline |
Determine if the 'kind
' attribute was set.
- Returns
- true if the '
kind
' attribute was set.
◆ has_parent_link()
bool google_drive_api::ParentReference::has_parent_link |
( |
| ) |
const |
|
inline |
Determine if the 'parentLink
' attribute was set.
- Returns
- true if the '
parentLink
' attribute was set.
◆ has_self_link()
bool google_drive_api::ParentReference::has_self_link |
( |
| ) |
const |
|
inline |
Determine if the 'selfLink
' attribute was set.
- Returns
- true if the '
selfLink
' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_id()
void google_drive_api::ParentReference::set_id |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'id
' attribute.
The ID of the parent.
- Parameters
-
◆ set_is_root()
void google_drive_api::ParentReference::set_is_root |
( |
bool |
value | ) |
|
|
inline |
Change the 'isRoot
' attribute.
Whether or not the parent is the root folder.
- Parameters
-
◆ set_kind()
void google_drive_api::ParentReference::set_kind |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'kind
' attribute.
This is always drive::parentReference.
- Parameters
-
◆ set_parent_link()
void google_drive_api::ParentReference::set_parent_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'parentLink
' attribute.
A link to the parent.
- Parameters
-
◆ set_self_link()
void google_drive_api::ParentReference::set_self_link |
( |
const StringPiece & |
value | ) |
|
|
inline |
Change the 'selfLink
' attribute.
A link back to this reference.
- Parameters
-
The documentation for this class was generated from the following files: