CloudProvidersProviderExporter

CloudProvidersProviderExporter — Base object for representing a single provider

Functions

Properties

GDBusConnection * bus Read / Write / Construct Only
char * bus-name Read / Write / Construct Only
char * bus-path Read / Write / Construct Only
char * name Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── CloudProvidersProviderExporter

Includes

#include <src/cloudprovidersexporter.h>

Description

CloudProvidersProviderExporter is the base object representing a single cloud provider. Multiple CloudProvidersAccountExporter objects can be added with cloud_providers_provider_exporter_add_account() After adding the initial set of accounts cloud_providers_provider_exporter_export_objects() must be called.

Functions

cloud_providers_provider_exporter_new ()

CloudProvidersProviderExporter *
cloud_providers_provider_exporter_new (GDBusConnection *bus,
                                       const gchar *bus_name,
                                       const gchar *bus_path);

Parameters

bus

A GDBusConnection to export the objects to

 

bus_name

A DBus name to bind to

 

bus_path

A DBus object path

 

cloud_providers_provider_exporter_remove_account ()

void
cloud_providers_provider_exporter_remove_account
                               (CloudProvidersProviderExporter *self,
                                CloudProvidersAccountExporter *account);

Each cloud provider can have a variety of account associated with it. Use this function to remove the accounts that were added when created by cloud_providers_account_exporter_new().

Parameters

self

The cloud provider exporter

 

account

The account object

 

cloud_providers_provider_exporter_set_name ()

void
cloud_providers_provider_exporter_set_name
                               (CloudProvidersProviderExporter *self,
                                const gchar *name);

cloud_providers_provider_exporter_get_name ()

const gchar *
cloud_providers_provider_exporter_get_name
                               (CloudProvidersProviderExporter *self);

Types and Values

CLOUD_PROVIDERS_TYPE_PROVIDER_EXPORTER

#define CLOUD_PROVIDERS_TYPE_PROVIDER_EXPORTER (cloud_providers_provider_exporter_get_type())

struct CloudProvidersProviderExporterClass

struct CloudProvidersProviderExporterClass {
  GObjectClass parent_class;
};

CloudProvidersProviderExporter

typedef struct _CloudProvidersProviderExporter CloudProvidersProviderExporter;

Property Details

The “bus” property

  “bus”                      GDBusConnection *

Bus.

Owner: CloudProvidersProviderExporter

Flags: Read / Write / Construct Only


The “bus-name” property

  “bus-name”                 char *

BusName.

Owner: CloudProvidersProviderExporter

Flags: Read / Write / Construct Only

Default value: NULL


The “bus-path” property

  “bus-path”                 char *

BusPath.

Owner: CloudProvidersProviderExporter

Flags: Read / Write / Construct Only

Default value: NULL


The “name” property

  “name”                     char *

The name of the cloud provider.

Owner: CloudProvidersProviderExporter

Flags: Read / Write

Default value: NULL