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.GDOrganizationstructure 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 (
strorNone) – the owner’s title within the organization, orNonerelation_type (
strorNone) – the relationship between the organization and its owner, orNonelabel (
strorNone) – a human-readable label for the organization, orNoneis_primary (
bool) –Trueif this organization is its owner’s primary organization,Falseotherwise
- 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:departmentproperty.New in version 0.5.0.
- get_job_description()¶
-
Gets the
GData.GDOrganization:job-descriptionproperty.New in version 0.5.0.
- get_label()¶
-
Gets the
GData.GDOrganization:labelproperty.New in version 0.4.0.
- get_location()¶
- Returns:
the organization’s location, or
None- Return type:
Gets the
GData.GDOrganization:locationproperty.New in version 0.6.0.
- get_name()¶
-
Gets the
GData.GDOrganization:nameproperty.New in version 0.4.0.
- get_relation_type()¶
-
Gets the
GData.GDOrganization:relation-typeproperty.New in version 0.4.0.
- get_symbol()¶
-
Gets the
GData.GDOrganization:symbolproperty.New in version 0.5.0.
- get_title()¶
-
Gets the
GData.GDOrganization:titleproperty.New in version 0.4.0.
- is_primary()¶
-
Gets the
GData.GDOrganization:is-primaryproperty.New in version 0.4.0.
- set_department(department)¶
- Parameters:
department (
strorNone) – the new department for the person working in the organization, orNone
Sets the
GData.GDOrganization:departmentproperty to department.Set department to
Noneto unset the property in the organization.New in version 0.5.0.
- set_is_primary(is_primary)¶
-
Sets the
GData.GDOrganization:is-primaryproperty to is_primary.New in version 0.4.0.
- set_job_description(job_description)¶
- Parameters:
job_description (
strorNone) – the new job description for the person in the organization, orNone
Sets the
GData.GDOrganization:job-descriptionproperty to job_description.Set job_description to
Noneto unset the property in the organization.New in version 0.5.0.
- set_label(label)¶
-
Sets the
GData.GDOrganization:labelproperty to label.Set label to
Noneto unset the property in the organization.New in version 0.4.0.
- set_location(location)¶
- Parameters:
location (
GData.GDWhereorNone) – the new location for the organization, orNone
Sets the
GData.GDOrganization:locationproperty to location.Set location to
Noneto unset the property in the organization.New in version 0.6.0.
- set_name(name)¶
-
Sets the
GData.GDOrganization:nameproperty to name.Set name to
Noneto unset the property in the organization.New in version 0.4.0.
- set_relation_type(relation_type)¶
-
Sets the
GData.GDOrganization:relation-typeproperty to relation_type.Set relation_type to
Noneto unset the property in the organization.New in version 0.4.0.
- set_symbol(symbol)¶
-
Sets the
GData.GDOrganization:symbolproperty to symbol.Set symbol to
Noneto 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_WORKorGData.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.