translate  v2
 All Classes Functions Variables Groups
Public Member Functions | Static Public Member Functions | List of all members
google_translate_api::GetSupportedLanguagesRequest Class Reference

#include <get_supported_languages_request.h>

Public Member Functions

 GetSupportedLanguagesRequest (const Json::Value &storage)
 GetSupportedLanguagesRequest (Json::Value *storage)
virtual ~GetSupportedLanguagesRequest ()
const StringPiece GetTypeName () const
bool has_target () const
void clear_target ()
const StringPiece get_target () const
void set_target (const StringPiece &value)

Static Public Member Functions

static
GetSupportedLanguagesRequest
New ()

Detailed Description

The request message for discovering supported languages.

Constructor & Destructor Documentation

google_translate_api::GetSupportedLanguagesRequest::GetSupportedLanguagesRequest ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.
google_translate_api::GetSupportedLanguagesRequest::GetSupportedLanguagesRequest ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

Parameters
[in]storageThe underlying data storage for this instance.
google_translate_api::GetSupportedLanguagesRequest::~GetSupportedLanguagesRequest ( )
virtual

Standard destructor.

Member Function Documentation

void google_translate_api::GetSupportedLanguagesRequest::clear_target ( )
inline

Clears the 'target' attribute.

const StringPiece google_translate_api::GetSupportedLanguagesRequest::get_target ( ) const
inline

Get the value of the 'target' attribute.

const StringPiece google_translate_api::GetSupportedLanguagesRequest::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_translate_api::GetSupportedLanguagesRequest
bool google_translate_api::GetSupportedLanguagesRequest::has_target ( ) const
inline

Determine if the 'target' attribute was set.

Returns
true if the 'target' attribute was set.
GetSupportedLanguagesRequest * google_translate_api::GetSupportedLanguagesRequest::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.
void google_translate_api::GetSupportedLanguagesRequest::set_target ( const StringPiece &  value)
inline

Change the 'target' attribute.

The language to use to return localized, human readable names of supported languages.

Parameters
[in]valueThe new value.

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