youtube  v3
Public Member Functions | Static Public Member Functions | List of all members
google_youtube_api::PropertyValue Class Reference

#include <property_value.h>

Inheritance diagram for google_youtube_api::PropertyValue:

Public Member Functions

 PropertyValue (const Json::Value &storage)
 
 PropertyValue (Json::Value *storage)
 
virtual ~PropertyValue ()
 
const StringPiece GetTypeName () const
 
bool has_property () const
 
void clear_property ()
 
const StringPiece get_property () const
 
void set_property (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 PropertyValueNew ()
 

Detailed Description

A pair Property / Value.

Constructor & Destructor Documentation

◆ PropertyValue() [1/2]

google_youtube_api::PropertyValue::PropertyValue ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ PropertyValue() [2/2]

google_youtube_api::PropertyValue::PropertyValue ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~PropertyValue()

google_youtube_api::PropertyValue::~PropertyValue ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_property()

void google_youtube_api::PropertyValue::clear_property ( )
inline

Clears the 'property' attribute.

◆ clear_value()

void google_youtube_api::PropertyValue::clear_value ( )
inline

Clears the 'value' attribute.

◆ get_property()

const StringPiece google_youtube_api::PropertyValue::get_property ( ) const
inline

Get the value of the 'property' attribute.

◆ get_value()

const StringPiece google_youtube_api::PropertyValue::get_value ( ) const
inline

Get the value of the 'value' attribute.

◆ GetTypeName()

const StringPiece google_youtube_api::PropertyValue::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_youtube_api::PropertyValue

◆ has_property()

bool google_youtube_api::PropertyValue::has_property ( ) const
inline

Determine if the 'property' attribute was set.

Returns
true if the 'property' attribute was set.

◆ has_value()

bool google_youtube_api::PropertyValue::has_value ( ) const
inline

Determine if the 'value' attribute was set.

Returns
true if the 'value' attribute was set.

◆ New()

PropertyValue * google_youtube_api::PropertyValue::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_property()

void google_youtube_api::PropertyValue::set_property ( const StringPiece &  value)
inline

Change the 'property' attribute.

A property.

Parameters
[in]valueThe new value.

◆ set_value()

void google_youtube_api::PropertyValue::set_value ( const StringPiece &  value)
inline

Change the 'value' attribute.

The property's value.

Parameters
[in]valueThe new value.

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