GData.YouTubeComment

g GData.Comment GData.Comment GData.YouTubeComment GData.YouTubeComment GData.Comment->GData.YouTubeComment GData.Entry GData.Entry GData.Entry->GData.Comment GData.Parsable GData.Parsable GData.Parsable->GData.Entry GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.Entry (24), GData.Parsable (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (id)

get_parent_comment_uri ()

set_parent_comment_uri (parent_comment_uri)

Virtual Methods

Inherited:

GData.Parsable (9), GObject.Object (7)

Properties

Inherited:

GData.Entry (10), GData.Parsable (1)

Name

Type

Flags

Short Description

parent-comment-uri

str

r/w

The URI of the parent comment to this one.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Comment

r

Class Details

class GData.YouTubeComment(**kwargs)
Bases:

GData.Comment

Abstract:

No

Structure:

GData.YouTubeCommentClass

All the fields in the GData.YouTubeComment structure are private and should never be accessed directly.

New in version 0.10.0.

classmethod new(id)
Parameters:

id (str) – the comment’s ID, or None

Returns:

a new GData.YouTubeComment; unref with GObject.Object.unref()

Return type:

GData.YouTubeComment

Creates a new GData.YouTubeComment with the given ID and default properties.

New in version 0.10.0.

get_parent_comment_uri()
Returns:

the parent comment URI, or None

Return type:

str

Gets the GData.YouTubeComment :parent-comment-uri property.

New in version 0.10.0.

set_parent_comment_uri(parent_comment_uri)
Parameters:

parent_comment_uri (str) – a new parent comment URI, or None

Sets the GData.YouTubeComment :parent-comment-uri property to parent_comment_uri.

Set parent_comment_uri to None to unset the GData.YouTubeComment :parent-comment-uri property in the comment (i.e. make the comment a top-level comment).

See the online documentation for more information.

New in version 0.10.0.

Property Details

GData.YouTubeComment.props.parent_comment_uri
Name:

parent-comment-uri

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The URI of the parent comment to this one, or None if this comment is a top-level comment.

See the documentation for GData.YouTubeComment for an explanation of the semantics of parent comment URIs.

New in version 0.10.0.