Class

FwupdReport

Description [src]

class Fwupd.Report : GObject.Object {
  parent_instance: GObject
}

A firmware report from a vendor.

This is the LVFS formatted report that the fwupd user consumes, NOT the thing that gets uploaded.

See also: FwupdRelease

Hierarchy

hierarchy this FwupdReport ancestor_0 GObject ancestor_0--this

Ancestors

Constructors

fwupd_report_new

Creates a new report.

Available since: 1.8.8

Functions

fwupd_report_from_variant

Creates a new report using serialized data.

Available since: 1.8.8

Instance methods

fwupd_report_add_metadata_item

Sets a report metadata item.

Available since: 1.8.8

fwupd_report_get_created

Gets when the report was created.

Available since: 1.8.8

fwupd_report_get_device_name

Gets the name of the device the update was performed on.

Available since: 1.8.8

fwupd_report_get_distro_id

Gets the distribution name.

Available since: 1.8.8

fwupd_report_get_distro_variant

Gets the distribution variant.

Available since: 1.8.8

fwupd_report_get_distro_version

Gets the distribution version.

Available since: 1.8.8

fwupd_report_get_metadata

Gets the report metadata.

Available since: 1.8.8

fwupd_report_get_metadata_item

Gets a report metadata item.

Available since: 1.8.8

fwupd_report_get_vendor

Gets the vendor that uploaded the test result.

Available since: 1.8.8

fwupd_report_get_vendor_id

Gets the vendor identifier. The mapping is only known on the remote server, and this can be useful to filter on different QA teams that work for the same OEM.

Available since: 1.8.8

fwupd_report_get_version_old

Gets the old version, i.e. what the upser was upgrading from.

Available since: 1.8.8

fwupd_report_set_created

Sets when the report was created.

Available since: 1.8.8

fwupd_report_set_device_name

Sets the name of the device the update was performed on.

Available since: 1.8.8

fwupd_report_set_distro_id

Sets the distribution name.

Available since: 1.8.8

fwupd_report_set_distro_variant

Sets the distribution variant.

Available since: 1.8.8

fwupd_report_set_distro_version

Sets the distribution version.

Available since: 1.8.8

fwupd_report_set_vendor

Sets the vendor that uploaded the test result.

Available since: 1.8.8

fwupd_report_set_vendor_id

Sets the vendor identifier. The mapping is only known on the remote server, and this can be useful to filter on different QA teams that work for the same OEM.

Available since: 1.8.8

fwupd_report_set_version_old

Sets the old version, i.e. what the upser was upgrading from.

Available since: 1.8.8

fwupd_report_to_json

Adds a fwupd report to a JSON builder.

Available since: 1.8.8

fwupd_report_to_string

Builds a text representation of the object.

Available since: 1.8.8

fwupd_report_to_variant

Serialize the report data.

Available since: 1.8.8

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct FwupdReportClass {
  GObjectClass parent_class;
  void (* _fwupd_reserved1) (
void
  );
  void (* _fwupd_reserved2) (
void
  );
  void (* _fwupd_reserved3) (
void
  );
  void (* _fwupd_reserved4) (
void
  );
  void (* _fwupd_reserved5) (
void
  );
  void (* _fwupd_reserved6) (
void
  );
  void (* _fwupd_reserved7) (
void
  );
  
}
Class members
parent_class
GObjectClass
  No description available.
_fwupd_reserved1
void (* _fwupd_reserved1) (
void
  )
  No description available.
_fwupd_reserved2
void (* _fwupd_reserved2) (
void
  )
  No description available.
_fwupd_reserved3
void (* _fwupd_reserved3) (
void
  )
  No description available.
_fwupd_reserved4
void (* _fwupd_reserved4) (
void
  )
  No description available.
_fwupd_reserved5
void (* _fwupd_reserved5) (
void
  )
  No description available.
_fwupd_reserved6
void (* _fwupd_reserved6) (
void
  )
  No description available.
_fwupd_reserved7
void (* _fwupd_reserved7) (
void
  )
  No description available.