#include <rest_resource.h>
◆ RestResource() [1/2]
| google_discovery_api::RestResource::RestResource |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ RestResource() [2/2]
| google_discovery_api::RestResource::RestResource |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~RestResource()
| google_discovery_api::RestResource::~RestResource |
( |
| ) |
|
|
virtual |
◆ clear_methods()
| void google_discovery_api::RestResource::clear_methods |
( |
| ) |
|
|
inline |
Clears the 'methods' attribute.
◆ clear_resources()
| void google_discovery_api::RestResource::clear_resources |
( |
| ) |
|
|
inline |
Clears the 'resources' attribute.
◆ get_methods()
| const client::JsonCppAssociativeArray<RestMethod > google_discovery_api::RestResource::get_methods |
( |
| ) |
const |
Get a reference to the value of the 'methods' attribute.
◆ get_resources()
| const client::JsonCppAssociativeArray<RestResource > google_discovery_api::RestResource::get_resources |
( |
| ) |
const |
Get a reference to the value of the 'resources' attribute.
◆ GetTypeName()
| const StringPiece google_discovery_api::RestResource::GetTypeName |
( |
| ) |
const |
|
inline |
◆ has_methods()
| bool google_discovery_api::RestResource::has_methods |
( |
| ) |
const |
|
inline |
Determine if the 'methods' attribute was set.
- Returns
- true if the '
methods' attribute was set.
◆ has_resources()
| bool google_discovery_api::RestResource::has_resources |
( |
| ) |
const |
|
inline |
Determine if the 'resources' attribute was set.
- Returns
- true if the '
resources' attribute was set.
◆ mutable_methods()
| client::JsonCppAssociativeArray<RestMethod > google_discovery_api::RestResource::mutable_methods |
( |
| ) |
|
Gets a reference to a mutable value of the 'methods' property.
Methods on this resource.
- Returns
- The result can be modified to change the attribute value.
◆ mutable_resources()
| client::JsonCppAssociativeArray<RestResource > google_discovery_api::RestResource::mutable_resources |
( |
| ) |
|
Gets a reference to a mutable value of the 'resources' property.
Sub-resources on this resource.
- Returns
- The result can be modified to change the attribute value.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
The documentation for this class was generated from the following files: