discovery  v1
Classes | Public Member Functions | Static Public Member Functions | List of all members
google_discovery_api::RestDescription::RestDescriptionAuth Class Reference

#include <rest_description.h>

Inheritance diagram for google_discovery_api::RestDescription::RestDescriptionAuth:

Classes

class  RestDescriptionAuthOauth2
 

Public Member Functions

 RestDescriptionAuth (const Json::Value &storage)
 
 RestDescriptionAuth (Json::Value *storage)
 
virtual ~RestDescriptionAuth ()
 
const StringPiece GetTypeName () const
 
bool has_oauth2 () const
 
void clear_oauth2 ()
 
const RestDescriptionAuthOauth2 get_oauth2 () const
 
RestDescriptionAuthOauth2 mutable_oauth2 ()
 

Static Public Member Functions

static RestDescriptionAuthNew ()
 

Detailed Description

Authentication information.

Constructor & Destructor Documentation

◆ RestDescriptionAuth() [1/2]

google_discovery_api::RestDescription::RestDescriptionAuth::RestDescriptionAuth ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ RestDescriptionAuth() [2/2]

google_discovery_api::RestDescription::RestDescriptionAuth::RestDescriptionAuth ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.

◆ ~RestDescriptionAuth()

google_discovery_api::RestDescription::RestDescriptionAuth::~RestDescriptionAuth ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_oauth2()

void google_discovery_api::RestDescription::RestDescriptionAuth::clear_oauth2 ( )
inline

Clears the 'oauth2' attribute.

◆ get_oauth2()

const RestDescriptionAuthOauth2 google_discovery_api::RestDescription::RestDescriptionAuth::get_oauth2 ( ) const
inline

Get a reference to the value of the 'oauth2' attribute.

◆ GetTypeName()

const StringPiece google_discovery_api::RestDescription::RestDescriptionAuth::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_discovery_api::RestDescriptionAuth

◆ has_oauth2()

bool google_discovery_api::RestDescription::RestDescriptionAuth::has_oauth2 ( ) const
inline

Determine if the 'oauth2' attribute was set.

Returns
true if the 'oauth2' attribute was set.

◆ mutable_oauth2()

RestDescriptionAuthOauth2 google_discovery_api::RestDescription::RestDescriptionAuth::mutable_oauth2 ( )
inline

Gets a reference to a mutable value of the 'oauth2' property.

OAuth 2.0 authentication information.

Returns
The result can be modified to change the attribute value.

◆ New()

RestDescription::RestDescriptionAuth * google_discovery_api::RestDescription::RestDescriptionAuth::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

The documentation for this class was generated from the following files: