CloudProviders.Account¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The action group associated with the account and menu model |
||
r |
The icon representing the account |
||
r |
The menu model associated with the account |
||
r |
The name of the account |
||
r |
The path of the directory where files are located |
||
r |
The details of the account status |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class CloudProviders.Account(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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 theCloudProviders.Provider
menus, status and actions.- classmethod new(proxy)¶
- Parameters:
proxy (
Gio.DBusProxy
) – DBus proxy- Return type:
A
CloudProviders.Account
object are used to fetch details about cloud providers from DBus. Object are usually fetched fromCloudProviders.Provider.get_accounts
() as a list.
- get_action_group()¶
- Returns:
The action group exported by the cloud provider account
- Return type:
Get the action group exported in addition to the
Gio.MenuModel
fromCloudProviders.Account.get_menu_model
()
- get_icon()¶
- Returns:
The icon of the cloud provider account
- Return type:
Get the icon of the account
- Returns:
The menu model exported by the cloud provider account
- Return type:
Get the menu model exported for the account
- get_name()¶
- Returns:
The name of the cloud provider account
- Return type:
Get the name of the account
- get_path()¶
- Returns:
The directory path of the cloud provider account
- Return type:
Get the directory path of the account
- get_status()¶
- Returns:
The status of the cloud provider account
- Return type:
Get the status of the account
Property Details¶
- CloudProviders.Account.props.action_group¶
- Name:
action-group
- Type:
- Default Value:
- Flags:
The action group associated with the account and menu model
- CloudProviders.Account.props.icon¶
-
The icon representing the account
- Name:
menu-model
- Type:
- Default Value:
- Flags:
The menu model associated with the account
- CloudProviders.Account.props.name¶
-
The name of the account
- CloudProviders.Account.props.path¶
-
The path of the directory where files are located