GData.Generator

g GData.Comparable GData.Comparable GData.Generator GData.Generator GData.Comparable->GData.Generator GData.Parsable GData.Parsable GData.Parsable->GData.Generator GObject.GInterface GObject.GInterface GObject.GInterface->GData.Comparable GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.Parsable (5), GObject.Object (37), GData.Comparable (1)

Structs:

GObject.ObjectClass (5)

get_name ()

get_uri ()

get_version ()

Virtual Methods

Inherited:

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

Properties

Inherited:

GData.Parsable (1)

Name

Type

Flags

Short Description

name

str

r

A human-readable name for the generating agent.

uri

str

r

An IRI reference that is relevant to the agent.

version

str

r

Indicates the version of the generating agent.

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.Parsable

r

Class Details

class GData.Generator(**kwargs)
Bases:

GData.Parsable, GData.Comparable

Abstract:

No

Structure:

GData.GeneratorClass

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

get_name()
Returns:

the generator’s name

Return type:

str or None

Gets the GData.Generator :name property. The name will be None or non-empty.

New in version 0.4.0.

get_uri()
Returns:

the generator’s URI, or None

Return type:

str or None

Gets the GData.Generator :uri property. The URI will be None or non-empty.

New in version 0.4.0.

get_version()
Returns:

the generator’s version, or None

Return type:

str

Gets the GData.Generator :version property.

New in version 0.4.0.

Property Details

GData.Generator.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE

A human-readable name for the generating agent.

For more information, see the

Atom specification.

New in version 0.4.0.

GData.Generator.props.uri
Name:

uri

Type:

str

Default Value:

None

Flags:

READABLE

An IRI reference that is relevant to the agent.

For more information, see the

Atom specification.

New in version 0.4.0.

GData.Generator.props.version
Name:

version

Type:

str

Default Value:

None

Flags:

READABLE

Indicates the version of the generating agent.

For more information, see the

Atom specification.

New in version 0.4.0.