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

Ancestors

  • GObject

Constructors

fwupd_report_new

Creates a new report.

Available since: 1.8.8

Instance methods

fwupd_report_add_flag

Adds a specific report flag to the report.

Available since: 1.9.1

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_flags

Gets the report flags.

Available since: 1.9.1

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_remote_id

Gets the remote ID.

Available since: 1.9.3

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_has_flag

Finds if the report has a specific report flag.

Available since: 1.9.1

fwupd_report_remove_flag

Removes a specific report flag from the report.

Available since: 1.9.1

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_flags

Sets the report flags.

Available since: 1.9.1

fwupd_report_set_remote_id

Sets the remote ID.

Available since: 1.9.3

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

Properties

Fwupd.Report:flags

The report flags.

Available since: 1.9.1

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.

Functions

fwupd_report_flag_from_string

Converts a string to an enumerated report flag.

Available since: 1.9.1

fwupd_report_flag_to_string

Converts an enumerated report flag to a string.

Available since: 1.9.1

fwupd_report_from_variant

Creates a new report using serialized data.

Available since: 1.8.8