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

#include <channel_content_owner_details.h>

Inheritance diagram for google_youtube_api::ChannelContentOwnerDetails:

Public Member Functions

 ChannelContentOwnerDetails (const Json::Value &storage)
 
 ChannelContentOwnerDetails (Json::Value *storage)
 
virtual ~ChannelContentOwnerDetails ()
 
const StringPiece GetTypeName () const
 
bool has_content_owner () const
 
void clear_content_owner ()
 
const StringPiece get_content_owner () const
 
void set_content_owner (const StringPiece &value)
 
bool has_time_linked () const
 
void clear_time_linked ()
 
client::DateTime get_time_linked () const
 
void set_time_linked (client::DateTime value)
 

Static Public Member Functions

static ChannelContentOwnerDetailsNew ()
 

Detailed Description

The contentOwnerDetails object encapsulates channel data that is relevant for YouTube Partners linked with the channel.

Constructor & Destructor Documentation

◆ ChannelContentOwnerDetails() [1/2]

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

Standard constructor for an immutable data object instance.

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

◆ ChannelContentOwnerDetails() [2/2]

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

Standard constructor for a mutable data object instance.

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

◆ ~ChannelContentOwnerDetails()

google_youtube_api::ChannelContentOwnerDetails::~ChannelContentOwnerDetails ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_content_owner()

void google_youtube_api::ChannelContentOwnerDetails::clear_content_owner ( )
inline

Clears the 'contentOwner' attribute.

◆ clear_time_linked()

void google_youtube_api::ChannelContentOwnerDetails::clear_time_linked ( )
inline

Clears the 'timeLinked' attribute.

◆ get_content_owner()

const StringPiece google_youtube_api::ChannelContentOwnerDetails::get_content_owner ( ) const
inline

Get the value of the 'contentOwner' attribute.

◆ get_time_linked()

client::DateTime google_youtube_api::ChannelContentOwnerDetails::get_time_linked ( ) const
inline

Get the value of the 'timeLinked' attribute.

◆ GetTypeName()

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

Returns a string denoting the type of this data object.

Returns
google_youtube_api::ChannelContentOwnerDetails

◆ has_content_owner()

bool google_youtube_api::ChannelContentOwnerDetails::has_content_owner ( ) const
inline

Determine if the 'contentOwner' attribute was set.

Returns
true if the 'contentOwner' attribute was set.

◆ has_time_linked()

bool google_youtube_api::ChannelContentOwnerDetails::has_time_linked ( ) const
inline

Determine if the 'timeLinked' attribute was set.

Returns
true if the 'timeLinked' attribute was set.

◆ New()

ChannelContentOwnerDetails * google_youtube_api::ChannelContentOwnerDetails::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_content_owner()

void google_youtube_api::ChannelContentOwnerDetails::set_content_owner ( const StringPiece &  value)
inline

Change the 'contentOwner' attribute.

The ID of the content owner linked to the channel.

Parameters
[in]valueThe new value.

◆ set_time_linked()

void google_youtube_api::ChannelContentOwnerDetails::set_time_linked ( client::DateTime  value)
inline

Change the 'timeLinked' attribute.

The date and time of when the channel was linked to the content owner. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format.

Parameters
[in]valueThe new value.

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