gmail  v1
Public Member Functions | Static Public Member Functions | List of all members
google_gmail_api::MessagePartHeader Class Reference

#include <message_part_header.h>

Inheritance diagram for google_gmail_api::MessagePartHeader:

Public Member Functions

 MessagePartHeader (const Json::Value &storage)
 
 MessagePartHeader (Json::Value *storage)
 
virtual ~MessagePartHeader ()
 
const StringPiece GetTypeName () const
 
bool has_name () const
 
void clear_name ()
 
const StringPiece get_name () const
 
void set_name (const StringPiece &value)
 
bool has_value () const
 
void clear_value ()
 
const StringPiece get_value () const
 
void set_value (const StringPiece &value)
 

Static Public Member Functions

static MessagePartHeaderNew ()
 

Detailed Description

No description provided.

Constructor & Destructor Documentation

◆ MessagePartHeader() [1/2]

google_gmail_api::MessagePartHeader::MessagePartHeader ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ MessagePartHeader() [2/2]

google_gmail_api::MessagePartHeader::MessagePartHeader ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~MessagePartHeader()

google_gmail_api::MessagePartHeader::~MessagePartHeader ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_name()

void google_gmail_api::MessagePartHeader::clear_name ( )
inline

Clears the 'name' attribute.

◆ clear_value()

void google_gmail_api::MessagePartHeader::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_name()

const StringPiece google_gmail_api::MessagePartHeader::get_name ( ) const
inline

Get the value of the 'name' attribute.

◆ get_value()

const StringPiece google_gmail_api::MessagePartHeader::get_value ( ) const
inline

Get the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_gmail_api::MessagePartHeader::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_gmail_api::MessagePartHeader

◆ has_name()

bool google_gmail_api::MessagePartHeader::has_name ( ) const
inline

Determine if the 'name' attribute was set.

Returns
true if the 'name' attribute was set.

◆ has_value()

bool google_gmail_api::MessagePartHeader::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ New()

MessagePartHeader * google_gmail_api::MessagePartHeader::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_name()

void google_gmail_api::MessagePartHeader::set_name ( const StringPiece &  value)
inline

Change the 'name' attribute.

The name of the header before the : separator. For example, To.

Parameters
[in]valueThe new value.

◆ set_value()

void google_gmail_api::MessagePartHeader::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

The value of the header after the : separator. For example, someu.nosp@m.ser@.nosp@m.examp.nosp@m.le.c.nosp@m.om.

Parameters
[in]valueThe new value.

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