CloudProviders.Provider

g CloudProviders.Provider CloudProviders.Provider GObject.Object GObject.Object GObject.Object->CloudProviders.Provider

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (bus_name, object_path)

get_accounts ()

get_name ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

name

str

r

Signals

Inherited:

GObject.Object (1)

Name

Short Description

accounts-changed

removed

Fields

Inherited:

GObject.Object (1)

Class Details

class CloudProviders.Provider(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

CloudProviders.ProviderClass

Base object for representing a single provider for clients.

This is the basic object object for client implementers that contains the properties of the provider such as name, and the accounts associated with it.

classmethod new(bus_name, object_path)
Parameters:
  • bus_name (str) –

  • object_path (str) –

Return type:

CloudProviders.Provider

get_accounts()
Returns:

A list of [class`Account`] objects.

Return type:

[CloudProviders.Account]

Get the list of accounts from this provider.

get_name()
Return type:

str

Signal Details

CloudProviders.Provider.signals.accounts_changed(provider)
Signal Name:

accounts-changed

Flags:

RUN_LAST

Parameters:

provider (CloudProviders.Provider) – The object which received the signal

CloudProviders.Provider.signals.removed(provider)
Signal Name:

removed

Flags:

RUN_LAST

Parameters:

provider (CloudProviders.Provider) – The object which received the signal

Property Details

CloudProviders.Provider.props.name
Name:

name

Type:

str

Default Value:

None

Flags:

READABLE

The name of the cloud provider.