CloudProviders.Account

g CloudProviders.Account CloudProviders.Account GObject.Object GObject.Object GObject.Object->CloudProviders.Account

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (proxy)

get_action_group ()

get_icon ()

get_menu_model ()

get_name ()

get_path ()

get_status ()

get_status_details ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

action-group

Gio.ActionGroup

r

The action group associated with the account and menu model

icon

Gio.Icon

r

The icon representing the account

menu-model

Gio.MenuModel

r

The menu model associated with the account

name

str

r

The name of the account

path

str

r

The path of the directory where files are located

status-details

str

r

The details of the account status

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class CloudProviders.Account(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

CloudProviders.AccountClass

CloudProviders.Account is the basic object used to construct the integrator UI and actions that a provider will present to the user, from the client side. Integrators of the cloud providers can use this object to poll the CloudProviders.Provider menus, status and actions.

classmethod new(proxy)
Parameters:

proxy (Gio.DBusProxy) – DBus proxy

Return type:

CloudProviders.Account

A CloudProviders.Account object are used to fetch details about cloud providers from DBus. Object are usually fetched from CloudProviders.Provider.get_accounts() as a list.

get_action_group()
Returns:

The action group exported by the cloud provider account

Return type:

Gio.ActionGroup

Get the action group exported in addition to the Gio.MenuModel from CloudProviders.Account.get_menu_model()

get_icon()
Returns:

The icon of the cloud provider account

Return type:

Gio.Icon

Get the icon of the account

get_menu_model()
Returns:

The menu model exported by the cloud provider account

Return type:

Gio.MenuModel

Get the menu model exported for the account

get_name()
Returns:

The name of the cloud provider account

Return type:

str

Get the name of the account

get_path()
Returns:

The directory path of the cloud provider account

Return type:

str

Get the directory path of the account

get_status()
Returns:

The status of the cloud provider account

Return type:

CloudProviders.AccountStatus

Get the status of the account

get_status_details()
Returns:

The status detail description of the cloud provider account

Return type:

str

Get the status details of the account

Property Details

CloudProviders.Account.props.action_group
Name:

action-group

Type:

Gio.ActionGroup

Default Value:

None

Flags:

READABLE

The action group associated with the account and menu model

CloudProviders.Account.props.icon
Name:

icon

Type:

Gio.Icon

Default Value:

None

Flags:

READABLE

The icon representing the account

CloudProviders.Account.props.menu_model
Name:

menu-model

Type:

Gio.MenuModel

Default Value:

None

Flags:

READABLE

The menu model associated with the account

CloudProviders.Account.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE

The name of the account

CloudProviders.Account.props.path
Name:

path

Type:

str

Default Value:

None

Flags:

READABLE

The path of the directory where files are located

CloudProviders.Account.props.status_details
Name:

status-details

Type:

str

Default Value:

None

Flags:

READABLE

The details of the account status