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

#include <languages_list_response.h>

Public Member Functions

 LanguagesListResponse (const Json::Value &storage)
 LanguagesListResponse (Json::Value *storage)
virtual ~LanguagesListResponse ()
const StringPiece GetTypeName () const
bool has_languages () const
void clear_languages ()
const client::JsonCppArray
< LanguagesResource
get_languages () const
client::JsonCppArray
< LanguagesResource
mutable_languages ()

Static Public Member Functions

static LanguagesListResponseNew ()

Detailed Description

No description provided.

Constructor & Destructor Documentation

google_translate_api::LanguagesListResponse::LanguagesListResponse ( 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::LanguagesListResponse::LanguagesListResponse ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

Standard destructor.

Member Function Documentation

void google_translate_api::LanguagesListResponse::clear_languages ( )
inline

Clears the 'languages' attribute.

const client::JsonCppArray<LanguagesResource > google_translate_api::LanguagesListResponse::get_languages ( ) const

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

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

Returns a string denoting the type of this data object.

Returns
google_translate_api::LanguagesListResponse
bool google_translate_api::LanguagesListResponse::has_languages ( ) const
inline

Determine if the 'languages' attribute was set.

Returns
true if the 'languages' attribute was set.
client::JsonCppArray<LanguagesResource > google_translate_api::LanguagesListResponse::mutable_languages ( )

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

List of source/target languages supported by the translation API. If target parameter is unspecified, the list is sorted by the ASCII code point order of the language code. If target parameter is specified, the list is sorted by the collation order of the language name in the target language.

Returns
The result can be modified to change the attribute value.
LanguagesListResponse * google_translate_api::LanguagesListResponse::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: