GData.GDOrganization¶
- 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 |
Specifies a department within the organization. |
||
r/w |
Indicates which organization out of a group is primary. |
||
r/w |
Description of a job within the organization. |
||
r/w |
A simple string value used to name this organization. |
||
r/w |
A place associated with the organization, e.g. office location. |
||
r/w |
The name of the organization. |
||
r/w |
A programmatic value that identifies the type of organization. |
||
r/w |
Symbol of the organization. |
||
r/w |
The title of a person within the organization. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.GDOrganization(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.GDOrganization
structure are private and should never be accessed directly.New in version 0.2.0.
- classmethod new(name, title, relation_type, label, is_primary)¶
- Parameters:
title (
str
orNone
) – the owner’s title within the organization, orNone
relation_type (
str
orNone
) – the relationship between the organization and its owner, orNone
label (
str
orNone
) – a human-readable label for the organization, orNone
is_primary (
bool
) –True
if this organization is its owner’s primary organization,False
otherwise
- Returns:
a new
GData.GDOrganization
, orNone
; unref withGObject.Object.unref
()- Return type:
Creates a new
GData.GDOrganization
. More information is available in the GData specification.New in version 0.2.0.
- get_department()¶
-
Gets the
GData.GDOrganization
:department
property.New in version 0.5.0.
- get_job_description()¶
-
Gets the
GData.GDOrganization
:job-description
property.New in version 0.5.0.
- get_label()¶
-
Gets the
GData.GDOrganization
:label
property.New in version 0.4.0.
- get_location()¶
- Returns:
the organization’s location, or
None
- Return type:
Gets the
GData.GDOrganization
:location
property.New in version 0.6.0.
- get_name()¶
-
Gets the
GData.GDOrganization
:name
property.New in version 0.4.0.
- get_relation_type()¶
-
Gets the
GData.GDOrganization
:relation-type
property.New in version 0.4.0.
- get_symbol()¶
-
Gets the
GData.GDOrganization
:symbol
property.New in version 0.5.0.
- get_title()¶
-
Gets the
GData.GDOrganization
:title
property.New in version 0.4.0.
- is_primary()¶
-
Gets the
GData.GDOrganization
:is-primary
property.New in version 0.4.0.
- set_department(department)¶
- Parameters:
department (
str
orNone
) – the new department for the person working in the organization, orNone
Sets the
GData.GDOrganization
:department
property to department.Set department to
None
to unset the property in the organization.New in version 0.5.0.
- set_is_primary(is_primary)¶
-
Sets the
GData.GDOrganization
:is-primary
property to is_primary.New in version 0.4.0.
- set_job_description(job_description)¶
- Parameters:
job_description (
str
orNone
) – the new job description for the person in the organization, orNone
Sets the
GData.GDOrganization
:job-description
property to job_description.Set job_description to
None
to unset the property in the organization.New in version 0.5.0.
- set_label(label)¶
-
Sets the
GData.GDOrganization
:label
property to label.Set label to
None
to unset the property in the organization.New in version 0.4.0.
- set_location(location)¶
- Parameters:
location (
GData.GDWhere
orNone
) – the new location for the organization, orNone
Sets the
GData.GDOrganization
:location
property to location.Set location to
None
to unset the property in the organization.New in version 0.6.0.
- set_name(name)¶
-
Sets the
GData.GDOrganization
:name
property to name.Set name to
None
to unset the property in the organization.New in version 0.4.0.
- set_relation_type(relation_type)¶
-
Sets the
GData.GDOrganization
:relation-type
property to relation_type.Set relation_type to
None
to unset the property in the organization.New in version 0.4.0.
- set_symbol(symbol)¶
-
Sets the
GData.GDOrganization
:symbol
property to symbol.Set symbol to
None
to unset the property in the organization.New in version 0.5.0.
Property Details¶
- GData.GDOrganization.props.department¶
-
Specifies a department within the organization.
For more information, see the
New in version 0.5.0.
- GData.GDOrganization.props.is_primary¶
-
Indicates which organization out of a group is primary.
For more information, see the
New in version 0.4.0.
- GData.GDOrganization.props.job_description¶
-
Description of a job within the organization.
For more information, see the
New in version 0.5.0.
- GData.GDOrganization.props.label¶
-
A simple string value used to name this organization. It allows UIs to display a label such as “Work”, “Volunteer”, “Professional Society”, etc.
For more information, see the
New in version 0.4.0.
- GData.GDOrganization.props.location¶
- Name:
location
- Type:
- Default Value:
- Flags:
A place associated with the organization, e.g. office location.
For more information, see the
New in version 0.6.0.
- GData.GDOrganization.props.name¶
-
The name of the organization.
For more information, see the
New in version 0.4.0.
- GData.GDOrganization.props.relation_type¶
-
A programmatic value that identifies the type of organization. For example:
GData.GD_ORGANIZATION_WORK
orGData.GD_ORGANIZATION_OTHER
.For more information, see the
New in version 0.4.0.
- GData.GDOrganization.props.symbol¶
-
Stock symbol of the organization.
For more information, see the
New in version 0.5.0.