drive  v2
Public Member Functions | Static Public Member Functions | List of all members
google_drive_api::File::FileVideoMediaMetadata Class Reference

#include <file.h>

Inheritance diagram for google_drive_api::File::FileVideoMediaMetadata:

Public Member Functions

 FileVideoMediaMetadata (const Json::Value &storage)
 
 FileVideoMediaMetadata (Json::Value *storage)
 
virtual ~FileVideoMediaMetadata ()
 
const StringPiece GetTypeName () const
 
bool has_duration_millis () const
 
void clear_duration_millis ()
 
int64 get_duration_millis () const
 
void set_duration_millis (int64 value)
 
bool has_height () const
 
void clear_height ()
 
int32 get_height () const
 
void set_height (int32 value)
 
bool has_width () const
 
void clear_width ()
 
int32 get_width () const
 
void set_width (int32 value)
 

Static Public Member Functions

static FileVideoMediaMetadataNew ()
 

Detailed Description

Metadata about video media. This will only be present for video types.

Constructor & Destructor Documentation

◆ FileVideoMediaMetadata() [1/2]

google_drive_api::File::FileVideoMediaMetadata::FileVideoMediaMetadata ( const Json::Value &  storage)
explicit

Standard constructor for an immutable data object instance.

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

◆ FileVideoMediaMetadata() [2/2]

google_drive_api::File::FileVideoMediaMetadata::FileVideoMediaMetadata ( Json::Value *  storage)
explicit

Standard constructor for a mutable data object instance.

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

◆ ~FileVideoMediaMetadata()

google_drive_api::File::FileVideoMediaMetadata::~FileVideoMediaMetadata ( )
virtual

Standard destructor.

Member Function Documentation

◆ clear_duration_millis()

void google_drive_api::File::FileVideoMediaMetadata::clear_duration_millis ( )
inline

Clears the 'durationMillis' attribute.

◆ clear_height()

void google_drive_api::File::FileVideoMediaMetadata::clear_height ( )
inline

Clears the 'height' attribute.

◆ clear_width()

void google_drive_api::File::FileVideoMediaMetadata::clear_width ( )
inline

Clears the 'width' attribute.

◆ get_duration_millis()

int64 google_drive_api::File::FileVideoMediaMetadata::get_duration_millis ( ) const
inline

Get the value of the 'durationMillis' attribute.

◆ get_height()

int32 google_drive_api::File::FileVideoMediaMetadata::get_height ( ) const
inline

Get the value of the 'height' attribute.

◆ get_width()

int32 google_drive_api::File::FileVideoMediaMetadata::get_width ( ) const
inline

Get the value of the 'width' attribute.

◆ GetTypeName()

const StringPiece google_drive_api::File::FileVideoMediaMetadata::GetTypeName ( ) const
inline

Returns a string denoting the type of this data object.

Returns
google_drive_api::FileVideoMediaMetadata

◆ has_duration_millis()

bool google_drive_api::File::FileVideoMediaMetadata::has_duration_millis ( ) const
inline

Determine if the 'durationMillis' attribute was set.

Returns
true if the 'durationMillis' attribute was set.

◆ has_height()

bool google_drive_api::File::FileVideoMediaMetadata::has_height ( ) const
inline

Determine if the 'height' attribute was set.

Returns
true if the 'height' attribute was set.

◆ has_width()

bool google_drive_api::File::FileVideoMediaMetadata::has_width ( ) const
inline

Determine if the 'width' attribute was set.

Returns
true if the 'width' attribute was set.

◆ New()

File::FileVideoMediaMetadata * google_drive_api::File::FileVideoMediaMetadata::New ( )
static

Creates a new default instance.

Returns
Ownership is passed back to the caller.

◆ set_duration_millis()

void google_drive_api::File::FileVideoMediaMetadata::set_duration_millis ( int64  value)
inline

Change the 'durationMillis' attribute.

The duration of the video in milliseconds.

Parameters
[in]valueThe new value.

◆ set_height()

void google_drive_api::File::FileVideoMediaMetadata::set_height ( int32  value)
inline

Change the 'height' attribute.

The height of the video in pixels.

Parameters
[in]valueThe new value.

◆ set_width()

void google_drive_api::File::FileVideoMediaMetadata::set_width ( int32  value)
inline

Change the 'width' attribute.

The width of the video in pixels.

Parameters
[in]valueThe new value.

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