dns  v1
Public Member Functions | Static Public Member Functions | List of all members
google_dns_api::ResponseHeader Class Reference

#include <response_header.h>

Inheritance diagram for google_dns_api::ResponseHeader:

Public Member Functions

 ResponseHeader (const Json::Value &storage)
 
 ResponseHeader (Json::Value *storage)
 
virtual ~ResponseHeader ()
 
const StringPiece GetTypeName () const
 
bool has_operation_id () const
 
void clear_operation_id ()
 
const StringPiece get_operation_id () const
 
void set_operation_id (const StringPiece &value)
 

Static Public Member Functions

static ResponseHeaderNew ()
 

Detailed Description

Elements common to every response.

Constructor & Destructor Documentation

◆ ResponseHeader() [1/2]

google_dns_api::ResponseHeader::ResponseHeader ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ ResponseHeader() [2/2]

google_dns_api::ResponseHeader::ResponseHeader ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~ResponseHeader()

google_dns_api::ResponseHeader::~ResponseHeader ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_operation_id()

void google_dns_api::ResponseHeader::clear_operation_id ( )
inline

Clears the 'operationId' attribute.

◆ get_operation_id()

const StringPiece google_dns_api::ResponseHeader::get_operation_id ( ) const
inline

Get the value of the 'operationId' attribute.

◆ GetTypeName()

const StringPiece google_dns_api::ResponseHeader::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_dns_api::ResponseHeader

◆ has_operation_id()

bool google_dns_api::ResponseHeader::has_operation_id ( ) const
inline

Determine if the 'operationId' attribute was set.

Returns
true if the 'operationId' attribute was set.

◆ New()

ResponseHeader * google_dns_api::ResponseHeader::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_operation_id()

void google_dns_api::ResponseHeader::set_operation_id ( const StringPiece &  value)
inline

Change the 'operationId' attribute.

For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).

Parameters
[in]valueThe new value.

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