GData.Author¶
- Subclasses:
None
Methods¶
- Inherited:
GData.Parsable (5), GObject.Object (37), GData.Comparable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
GData.Parsable (9), GObject.Object (7), GData.Comparable (1)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w |
An e-mail address associated with the person. |
||
r/w |
A human-readable name for the person. |
||
r/w |
An IRI associated with the person. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent |
r |
Class Details¶
- class GData.Author(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.Authorstructure are private and should never be accessed directly.- classmethod new(name, uri, email_address)¶
- Parameters:
- Returns:
a new
GData.Author, orNone; unref withGObject.Object.unref()- Return type:
Creates a new
GData.Author. More information is available in the Atom specification.name must be non-
Noneand non-empty.
- get_email_address()¶
-
Gets the
GData.Author:email-addressproperty. If the e-mail address is non-None, it will be non-empty.New in version 0.4.0.
- get_name()¶
- Returns:
the author’s name
- Return type:
Gets the
GData.Author:nameproperty. The name will always be a non-None, non-empty string.New in version 0.4.0.
- get_uri()¶
-
Gets the
GData.Author:uriproperty. If the URI is non-None, it will be non-empty.New in version 0.4.0.
- set_email_address(email_address)¶
-
Sets the
GData.Author:email-addressproperty to email_address. email_address must beNoneor non-empty.Set email_address to
Noneto unset the property in the author.New in version 0.4.0.
- set_name(name)¶
- Parameters:
name (
str) – the new name for the author
Sets the
GData.Author:nameproperty to name. name must be non-Noneand non-empty.New in version 0.4.0.
Property Details¶
- GData.Author.props.email_address¶
-
An e-mail address associated with the person.
For more information, see the
New in version 0.4.0.
- GData.Author.props.name¶
-
A human-readable name for the person.
For more information, see the
New in version 0.4.0.