classroom  v1
Public Member Functions | Static Public Member Functions | List of all members
google_classroom_api::YouTubeVideo Class Reference

#include <you_tube_video.h>

Inheritance diagram for google_classroom_api::YouTubeVideo:

Public Member Functions

 YouTubeVideo (const Json::Value &storage)
 
 YouTubeVideo (Json::Value *storage)
 
virtual ~YouTubeVideo ()
 
const StringPiece GetTypeName () const
 
bool has_alternate_link () const
 
void clear_alternate_link ()
 
const StringPiece get_alternate_link () const
 
void set_alternate_link (const StringPiece &value)
 
bool has_id () const
 
void clear_id ()
 
const StringPiece get_id () const
 
void set_id (const StringPiece &value)
 
bool has_thumbnail_url () const
 
void clear_thumbnail_url ()
 
const StringPiece get_thumbnail_url () const
 
void set_thumbnail_url (const StringPiece &value)
 
bool has_title () const
 
void clear_title ()
 
const StringPiece get_title () const
 
void set_title (const StringPiece &value)
 

Static Public Member Functions

static YouTubeVideoNew ()
 

Detailed Description

YouTube video item.

Constructor & Destructor Documentation

◆ YouTubeVideo() [1/2]

google_classroom_api::YouTubeVideo::YouTubeVideo ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ YouTubeVideo() [2/2]

google_classroom_api::YouTubeVideo::YouTubeVideo ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~YouTubeVideo()

google_classroom_api::YouTubeVideo::~YouTubeVideo ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_alternate_link()

void google_classroom_api::YouTubeVideo::clear_alternate_link ( )
inline

Clears the 'alternateLink' attribute.

◆ clear_id()

void google_classroom_api::YouTubeVideo::clear_id ( )
inline

Clears the 'id' attribute.

◆ clear_thumbnail_url()

void google_classroom_api::YouTubeVideo::clear_thumbnail_url ( )
inline

Clears the 'thumbnailUrl' attribute.

◆ clear_title()

void google_classroom_api::YouTubeVideo::clear_title ( )
inline

Clears the 'title' attribute.

◆ get_alternate_link()

const StringPiece google_classroom_api::YouTubeVideo::get_alternate_link ( ) const
inline

Get the value of the 'alternateLink' attribute.

◆ get_id()

const StringPiece google_classroom_api::YouTubeVideo::get_id ( ) const
inline

Get the value of the 'id' attribute.

◆ get_thumbnail_url()

const StringPiece google_classroom_api::YouTubeVideo::get_thumbnail_url ( ) const
inline

Get the value of the 'thumbnailUrl' attribute.

◆ get_title()

const StringPiece google_classroom_api::YouTubeVideo::get_title ( ) const
inline

Get the value of the 'title' attribute.

◆ GetTypeName()

const StringPiece google_classroom_api::YouTubeVideo::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_classroom_api::YouTubeVideo

◆ has_alternate_link()

bool google_classroom_api::YouTubeVideo::has_alternate_link ( ) const
inline

Determine if the 'alternateLink' attribute was set.

Returns
true if the 'alternateLink' attribute was set.

◆ has_id()

bool google_classroom_api::YouTubeVideo::has_id ( ) const
inline

Determine if the 'id' attribute was set.

Returns
true if the 'id' attribute was set.

◆ has_thumbnail_url()

bool google_classroom_api::YouTubeVideo::has_thumbnail_url ( ) const
inline

Determine if the 'thumbnailUrl' attribute was set.

Returns
true if the 'thumbnailUrl' attribute was set.

◆ has_title()

bool google_classroom_api::YouTubeVideo::has_title ( ) const
inline

Determine if the 'title' attribute was set.

Returns
true if the 'title' attribute was set.

◆ New()

YouTubeVideo * google_classroom_api::YouTubeVideo::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_alternate_link()

void google_classroom_api::YouTubeVideo::set_alternate_link ( const StringPiece &  value)
inline

Change the 'alternateLink' attribute.

URL that can be used to view the YouTube video.

Read-only.

Parameters
[in]valueThe new value.

◆ set_id()

void google_classroom_api::YouTubeVideo::set_id ( const StringPiece &  value)
inline

Change the 'id' attribute.

YouTube API resource ID.

Parameters
[in]valueThe new value.

◆ set_thumbnail_url()

void google_classroom_api::YouTubeVideo::set_thumbnail_url ( const StringPiece &  value)
inline

Change the 'thumbnailUrl' attribute.

URL of a thumbnail image of the YouTube video.

Read-only.

Parameters
[in]valueThe new value.

◆ set_title()

void google_classroom_api::YouTubeVideo::set_title ( const StringPiece &  value)
inline

Change the 'title' attribute.

Title of the YouTube video.

Read-only.

Parameters
[in]valueThe new value.

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