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.Author
structure 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-
None
and non-empty.
- get_email_address()¶
-
Gets the
GData.Author
:email-address
property. 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
:name
property. The name will always be a non-None
, non-empty string.New in version 0.4.0.
- get_uri()¶
-
Gets the
GData.Author
:uri
property. 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-address
property to email_address. email_address must beNone
or non-empty.Set email_address to
None
to 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
:name
property to name. name must be non-None
and 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.