|
discovery
v1
|
#include <rest_description.h>
Classes | |
| class | RestDescriptionAuth |
| class | RestDescriptionIcons |
Public Member Functions | |
| RestDescription (const Json::Value &storage) | |
| RestDescription (Json::Value *storage) | |
| virtual | ~RestDescription () |
| const StringPiece | GetTypeName () const |
| bool | has_auth () const |
| void | clear_auth () |
| const RestDescriptionAuth | get_auth () const |
| RestDescriptionAuth | mutable_auth () |
| bool | has_base_path () const |
| void | clear_base_path () |
| const StringPiece | get_base_path () const |
| void | set_base_path (const StringPiece &value) |
| bool | has_base_url () const |
| void | clear_base_url () |
| const StringPiece | get_base_url () const |
| void | set_base_url (const StringPiece &value) |
| bool | has_batch_path () const |
| void | clear_batch_path () |
| const StringPiece | get_batch_path () const |
| void | set_batch_path (const StringPiece &value) |
| bool | has_canonical_name () const |
| void | clear_canonical_name () |
| const StringPiece | get_canonical_name () const |
| void | set_canonical_name (const StringPiece &value) |
| bool | has_description () const |
| void | clear_description () |
| const StringPiece | get_description () const |
| void | set_description (const StringPiece &value) |
| bool | has_discovery_version () const |
| void | clear_discovery_version () |
| const StringPiece | get_discovery_version () const |
| void | set_discovery_version (const StringPiece &value) |
| bool | has_documentation_link () const |
| void | clear_documentation_link () |
| const StringPiece | get_documentation_link () const |
| void | set_documentation_link (const StringPiece &value) |
| bool | has_etag () const |
| void | clear_etag () |
| const StringPiece | get_etag () const |
| void | set_etag (const StringPiece &value) |
| bool | has_exponential_backoff_default () const |
| void | clear_exponential_backoff_default () |
| bool | get_exponential_backoff_default () const |
| void | set_exponential_backoff_default (bool value) |
| bool | has_features () const |
| void | clear_features () |
| const client::JsonCppArray< string > | get_features () const |
| client::JsonCppArray< string > | mutable_features () |
| bool | has_icons () const |
| void | clear_icons () |
| const RestDescriptionIcons | get_icons () const |
| RestDescriptionIcons | mutable_icons () |
| bool | has_id () const |
| void | clear_id () |
| const StringPiece | get_id () const |
| void | set_id (const StringPiece &value) |
| bool | has_kind () const |
| void | clear_kind () |
| const StringPiece | get_kind () const |
| void | set_kind (const StringPiece &value) |
| bool | has_labels () const |
| void | clear_labels () |
| const client::JsonCppArray< string > | get_labels () const |
| client::JsonCppArray< string > | mutable_labels () |
| bool | has_methods () const |
| void | clear_methods () |
| const client::JsonCppAssociativeArray< RestMethod > | get_methods () const |
| client::JsonCppAssociativeArray< RestMethod > | mutable_methods () |
| bool | has_name () const |
| void | clear_name () |
| const StringPiece | get_name () const |
| void | set_name (const StringPiece &value) |
| bool | has_owner_domain () const |
| void | clear_owner_domain () |
| const StringPiece | get_owner_domain () const |
| void | set_owner_domain (const StringPiece &value) |
| bool | has_owner_name () const |
| void | clear_owner_name () |
| const StringPiece | get_owner_name () const |
| void | set_owner_name (const StringPiece &value) |
| bool | has_package_path () const |
| void | clear_package_path () |
| const StringPiece | get_package_path () const |
| void | set_package_path (const StringPiece &value) |
| bool | has_parameters () const |
| void | clear_parameters () |
| const client::JsonCppAssociativeArray< JsonSchema > | get_parameters () const |
| client::JsonCppAssociativeArray< JsonSchema > | mutable_parameters () |
| bool | has_protocol () const |
| void | clear_protocol () |
| const StringPiece | get_protocol () const |
| void | set_protocol (const StringPiece &value) |
| bool | has_resources () const |
| void | clear_resources () |
| const client::JsonCppAssociativeArray< RestResource > | get_resources () const |
| client::JsonCppAssociativeArray< RestResource > | mutable_resources () |
| bool | has_revision () const |
| void | clear_revision () |
| const StringPiece | get_revision () const |
| void | set_revision (const StringPiece &value) |
| bool | has_root_url () const |
| void | clear_root_url () |
| const StringPiece | get_root_url () const |
| void | set_root_url (const StringPiece &value) |
| bool | has_schemas () const |
| void | clear_schemas () |
| const client::JsonCppAssociativeArray< JsonSchema > | get_schemas () const |
| client::JsonCppAssociativeArray< JsonSchema > | mutable_schemas () |
| bool | has_service_path () const |
| void | clear_service_path () |
| const StringPiece | get_service_path () const |
| void | set_service_path (const StringPiece &value) |
| bool | has_title () const |
| void | clear_title () |
| const StringPiece | get_title () const |
| void | set_title (const StringPiece &value) |
| bool | has_version () const |
| void | clear_version () |
| const StringPiece | get_version () const |
| void | set_version (const StringPiece &value) |
| bool | has_version_module () const |
| void | clear_version_module () |
| bool | get_version_module () const |
| void | set_version_module (bool value) |
Static Public Member Functions | |
| static RestDescription * | New () |
No description provided.
|
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 'auth' attribute.
|
inline |
Clears the 'basePath' attribute.
|
inline |
Clears the 'baseUrl' attribute.
|
inline |
Clears the 'batchPath' attribute.
|
inline |
Clears the 'canonicalName' attribute.
|
inline |
Clears the 'description' attribute.
|
inline |
Clears the 'discoveryVersion' attribute.
|
inline |
Clears the 'documentationLink' attribute.
|
inline |
Clears the 'etag' attribute.
|
inline |
Clears the 'exponentialBackoffDefault' attribute.
|
inline |
Clears the 'features' attribute.
|
inline |
Clears the 'icons' attribute.
|
inline |
Clears the 'id' attribute.
|
inline |
Clears the 'kind' attribute.
|
inline |
Clears the 'labels' attribute.
|
inline |
Clears the 'methods' attribute.
|
inline |
Clears the 'name' attribute.
|
inline |
Clears the 'ownerDomain' attribute.
|
inline |
Clears the 'ownerName' attribute.
|
inline |
Clears the 'packagePath' attribute.
|
inline |
Clears the 'parameters' attribute.
|
inline |
Clears the 'protocol' attribute.
|
inline |
Clears the 'resources' attribute.
|
inline |
Clears the 'revision' attribute.
|
inline |
Clears the 'rootUrl' attribute.
|
inline |
Clears the 'schemas' attribute.
|
inline |
Clears the 'servicePath' attribute.
|
inline |
Clears the 'title' attribute.
|
inline |
Clears the 'version' attribute.
|
inline |
Clears the 'version_module' attribute.
|
inline |
Get a reference to the value of the 'auth' attribute.
|
inline |
Get the value of the 'basePath' attribute.
|
inline |
Get the value of the 'baseUrl' attribute.
|
inline |
Get the value of the 'batchPath' attribute.
|
inline |
Get the value of the 'canonicalName' attribute.
|
inline |
Get the value of the 'description' attribute.
|
inline |
Get the value of the 'discoveryVersion' attribute.
|
inline |
Get the value of the 'documentationLink' attribute.
|
inline |
Get the value of the 'etag' attribute.
|
inline |
Get the value of the 'exponentialBackoffDefault' attribute.
|
inline |
Get a reference to the value of the 'features' attribute.
|
inline |
Get a reference to the value of the 'icons' attribute.
|
inline |
Get the value of the 'id' attribute.
|
inline |
Get the value of the 'kind' attribute.
|
inline |
Get a reference to the value of the 'labels' attribute.
| const client::JsonCppAssociativeArray<RestMethod > google_discovery_api::RestDescription::get_methods | ( | ) | const |
Get a reference to the value of the 'methods' attribute.
|
inline |
Get the value of the 'name' attribute.
|
inline |
Get the value of the 'ownerDomain' attribute.
|
inline |
Get the value of the 'ownerName' attribute.
|
inline |
Get the value of the 'packagePath' attribute.
| const client::JsonCppAssociativeArray<JsonSchema > google_discovery_api::RestDescription::get_parameters | ( | ) | const |
Get a reference to the value of the 'parameters' attribute.
|
inline |
Get the value of the 'protocol' attribute.
| const client::JsonCppAssociativeArray<RestResource > google_discovery_api::RestDescription::get_resources | ( | ) | const |
Get a reference to the value of the 'resources' attribute.
|
inline |
Get the value of the 'revision' attribute.
|
inline |
Get the value of the 'rootUrl' attribute.
| const client::JsonCppAssociativeArray<JsonSchema > google_discovery_api::RestDescription::get_schemas | ( | ) | const |
Get a reference to the value of the 'schemas' attribute.
|
inline |
Get the value of the 'servicePath' attribute.
|
inline |
Get the value of the 'title' attribute.
|
inline |
Get the value of the 'version' attribute.
|
inline |
Get the value of the 'version_module' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'auth' attribute was set.
auth' attribute was set.
|
inline |
Determine if the 'basePath' attribute was set.
basePath' attribute was set.
|
inline |
Determine if the 'baseUrl' attribute was set.
baseUrl' attribute was set.
|
inline |
Determine if the 'batchPath' attribute was set.
batchPath' attribute was set.
|
inline |
Determine if the 'canonicalName' attribute was set.
canonicalName' attribute was set.
|
inline |
Determine if the 'description' attribute was set.
description' attribute was set.
|
inline |
Determine if the 'discoveryVersion' attribute was set.
discoveryVersion' attribute was set.
|
inline |
Determine if the 'documentationLink' attribute was set.
documentationLink' attribute was set.
|
inline |
Determine if the 'etag' attribute was set.
etag' attribute was set.
|
inline |
Determine if the 'exponentialBackoffDefault' attribute was set.
exponentialBackoffDefault' attribute was set.
|
inline |
Determine if the 'features' attribute was set.
features' attribute was set.
|
inline |
Determine if the 'icons' attribute was set.
icons' attribute was set.
|
inline |
Determine if the 'id' attribute was set.
id' attribute was set.
|
inline |
Determine if the 'kind' attribute was set.
kind' attribute was set.
|
inline |
Determine if the 'labels' attribute was set.
labels' attribute was set.
|
inline |
Determine if the 'methods' attribute was set.
methods' attribute was set.
|
inline |
Determine if the 'name' attribute was set.
name' attribute was set.
|
inline |
Determine if the 'ownerDomain' attribute was set.
ownerDomain' attribute was set.
|
inline |
Determine if the 'ownerName' attribute was set.
ownerName' attribute was set.
|
inline |
Determine if the 'packagePath' attribute was set.
packagePath' attribute was set.
|
inline |
Determine if the 'parameters' attribute was set.
parameters' attribute was set.
|
inline |
Determine if the 'protocol' attribute was set.
protocol' attribute was set.
|
inline |
Determine if the 'resources' attribute was set.
resources' attribute was set.
|
inline |
Determine if the 'revision' attribute was set.
revision' attribute was set.
|
inline |
Determine if the 'rootUrl' attribute was set.
rootUrl' attribute was set.
|
inline |
Determine if the 'schemas' attribute was set.
schemas' attribute was set.
|
inline |
Determine if the 'servicePath' attribute was set.
servicePath' attribute was set.
|
inline |
Determine if the 'title' attribute was set.
title' attribute was set.
|
inline |
Determine if the 'version' attribute was set.
version' attribute was set.
|
inline |
Determine if the 'version_module' attribute was set.
version_module' attribute was set.
|
inline |
Gets a reference to a mutable value of the 'auth' property.
Authentication information.
|
inline |
Gets a reference to a mutable value of the 'features' property.
A list of supported features for this API.
|
inline |
Gets a reference to a mutable value of the 'icons' property.
Links to 16x16 and 32x32 icons representing the API.
|
inline |
Gets a reference to a mutable value of the 'labels' property.
Labels for the status of this API, such as labs or deprecated.
| client::JsonCppAssociativeArray<RestMethod > google_discovery_api::RestDescription::mutable_methods | ( | ) |
Gets a reference to a mutable value of the 'methods' property.
API-level methods for this API.
| client::JsonCppAssociativeArray<JsonSchema > google_discovery_api::RestDescription::mutable_parameters | ( | ) |
Gets a reference to a mutable value of the 'parameters' property.
Common parameters that apply across all apis.
| client::JsonCppAssociativeArray<RestResource > google_discovery_api::RestDescription::mutable_resources | ( | ) |
Gets a reference to a mutable value of the 'resources' property.
The resources in this API.
| client::JsonCppAssociativeArray<JsonSchema > google_discovery_api::RestDescription::mutable_schemas | ( | ) |
Gets a reference to a mutable value of the 'schemas' property.
The schemas for this API.
|
static |
Creates a new default instance.
|
inline |
Change the 'basePath' attribute.
[DEPRECATED] The base path for REST requests.
| [in] | value | The new value. |
|
inline |
Change the 'baseUrl' attribute.
[DEPRECATED] The base URL for REST requests.
| [in] | value | The new value. |
|
inline |
Change the 'batchPath' attribute.
The path for REST batch requests.
| [in] | value | The new value. |
|
inline |
Change the 'canonicalName' attribute.
Indicates how the API name should be capitalized and split into various parts. Useful for generating pretty class names.
| [in] | value | The new value. |
|
inline |
Change the 'description' attribute.
The description of this API.
| [in] | value | The new value. |
|
inline |
Change the 'discoveryVersion' attribute.
Indicate the version of the Discovery API used to generate this doc.
| [in] | value | The new value. |
|
inline |
Change the 'documentationLink' attribute.
A link to human readable documentation for the API.
| [in] | value | The new value. |
|
inline |
Change the 'etag' attribute.
The ETag for this response.
| [in] | value | The new value. |
|
inline |
Change the 'exponentialBackoffDefault' attribute.
Enable exponential backoff for suitable methods in the generated clients.
| [in] | value | The new value. |
|
inline |
Change the 'id' attribute.
The ID of this API.
| [in] | value | The new value. |
|
inline |
Change the 'kind' attribute.
The kind for this response.
| [in] | value | The new value. |
|
inline |
Change the 'name' attribute.
The name of this API.
| [in] | value | The new value. |
|
inline |
Change the 'ownerDomain' attribute.
The domain of the owner of this API. Together with the ownerName and a packagePath values, this can be used to generate a library for this API which would have a unique fully qualified name.
| [in] | value | The new value. |
|
inline |
Change the 'ownerName' attribute.
The name of the owner of this API. See ownerDomain.
| [in] | value | The new value. |
|
inline |
Change the 'packagePath' attribute.
The package of the owner of this API. See ownerDomain.
| [in] | value | The new value. |
|
inline |
Change the 'protocol' attribute.
The protocol described by this document.
| [in] | value | The new value. |
|
inline |
Change the 'revision' attribute.
The version of this API.
| [in] | value | The new value. |
|
inline |
Change the 'rootUrl' attribute.
The root URL under which all API services live.
| [in] | value | The new value. |
|
inline |
Change the 'servicePath' attribute.
The base path for all REST requests.
| [in] | value | The new value. |
|
inline |
Change the 'title' attribute.
The title of this API.
| [in] | value | The new value. |
|
inline |
Change the 'version' attribute.
The version of this API.
| [in] | value | The new value. |
|
inline |
Change the 'version_module' attribute.
| [in] | value | The new value. |