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

#include <detections_list_response.h>

Public Member Functions

 DetectionsListResponse (const Json::Value &storage)
 DetectionsListResponse (Json::Value *storage)
virtual ~DetectionsListResponse ()
const StringPiece GetTypeName () const
bool has_detections () const
void clear_detections ()
const client::JsonCppArray
< client::JsonCppArray
< DetectionsResourceItems > > 
get_detections () const
client::JsonCppArray
< client::JsonCppArray
< DetectionsResourceItems > > 
mutable_detections ()

Static Public Member Functions

static DetectionsListResponseNew ()

Detailed Description

No description provided.

Constructor & Destructor Documentation

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

Standard constructor for a mutable data object instance.

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

Standard destructor.

Member Function Documentation

void google_translate_api::DetectionsListResponse::clear_detections ( )
inline

Clears the 'detections' attribute.

const client::JsonCppArray<client::JsonCppArray<DetectionsResourceItems > > google_translate_api::DetectionsListResponse::get_detections ( ) const
inline

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

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

Returns a string denoting the type of this data object.

Returns
google_translate_api::DetectionsListResponse
bool google_translate_api::DetectionsListResponse::has_detections ( ) const
inline

Determine if the 'detections' attribute was set.

Returns
true if the 'detections' attribute was set.
client::JsonCppArray<client::JsonCppArray<DetectionsResourceItems > > google_translate_api::DetectionsListResponse::mutable_detections ( )
inline

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

A detections contains detection results of several text.

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