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

#include <invideo_position.h>

Inheritance diagram for google_youtube_api::InvideoPosition:

Public Member Functions

 InvideoPosition (const Json::Value &storage)
 
 InvideoPosition (Json::Value *storage)
 
virtual ~InvideoPosition ()
 
const StringPiece GetTypeName () const
 
bool has_corner_position () const
 
void clear_corner_position ()
 
const StringPiece get_corner_position () const
 
void set_corner_position (const StringPiece &value)
 
bool has_type () const
 
void clear_type ()
 
const StringPiece get_type () const
 
void set_type (const StringPiece &value)
 

Static Public Member Functions

static InvideoPositionNew ()
 

Detailed Description

Describes the spatial position of a visual widget inside a video. It is a union of various position types, out of which only will be set one.

Constructor & Destructor Documentation

◆ InvideoPosition() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ InvideoPosition() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~InvideoPosition()

google_youtube_api::InvideoPosition::~InvideoPosition ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_corner_position()

void google_youtube_api::InvideoPosition::clear_corner_position ( )
inline

Clears the 'cornerPosition' attribute.

◆ clear_type()

void google_youtube_api::InvideoPosition::clear_type ( )
inline

Clears the 'type' attribute.

◆ get_corner_position()

const StringPiece google_youtube_api::InvideoPosition::get_corner_position ( ) const
inline

Get the value of the 'cornerPosition' attribute.

◆ get_type()

const StringPiece google_youtube_api::InvideoPosition::get_type ( ) const
inline

Get the value of the 'type' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::InvideoPosition

◆ has_corner_position()

bool google_youtube_api::InvideoPosition::has_corner_position ( ) const
inline

Determine if the 'cornerPosition' attribute was set.

Returns
true if the 'cornerPosition' attribute was set.

◆ has_type()

bool google_youtube_api::InvideoPosition::has_type ( ) const
inline

Determine if the 'type' attribute was set.

Returns
true if the 'type' attribute was set.

◆ New()

InvideoPosition * google_youtube_api::InvideoPosition::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_corner_position()

void google_youtube_api::InvideoPosition::set_corner_position ( const StringPiece &  value)
inline

Change the 'cornerPosition' attribute.

Describes in which corner of the video the visual widget will appear.

Parameters
[in]valueThe new value.

◆ set_type()

void google_youtube_api::InvideoPosition::set_type ( const StringPiece &  value)
inline

Change the 'type' attribute.

Defines the position type.

Parameters
[in]valueThe new value.

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