Class

FwupdRequest

[]

Description [src]

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

A user request from the device.

See also: FwupdDevice

[]

Ancestors

[]

Constructors

fwupd_request_new

Creates a new request.

since: 1.6.2

[]

Functions

fwupd_request_flag_from_string

Converts a string to an enumerated request flag.

since: 1.8.6

fwupd_request_flag_to_string

Converts an enumerated request flag to a string.

since: 1.8.6

fwupd_request_from_variant

Creates a new request using serialized data.

since: 1.6.2

fwupd_request_kind_from_string

Converts a string to an enumerated update message kind.

since: 1.6.2

fwupd_request_kind_to_string

Converts an enumerated update message kind to a string.

since: 1.6.2

[]

Instance methods

fwupd_request_add_flag

Adds a specific flag to the request.

since: 1.8.6

fwupd_request_get_created

Gets when the request was created.

since: 1.6.2

fwupd_request_get_device_id

Gets the device_id that created the request.

since: 1.6.2

fwupd_request_get_flags

Gets the request flags.

since: 1.8.6

fwupd_request_get_id

Gets the ID.

since: 1.6.2

fwupd_request_get_image

Gets the update image.

since: 1.6.2

fwupd_request_get_kind

Returns what the request is currently doing.

since: 1.6.2

fwupd_request_get_message

Gets the update message.

since: 1.6.2

fwupd_request_has_flag

Finds if the request has a specific flag.

since: 1.8.6

fwupd_request_remove_flag

Removes a specific flag from the request.

since: 1.8.6

fwupd_request_set_created

Sets when the request was created.

since: 1.6.2

fwupd_request_set_device_id

Sets the device_id that created the request.

since: 1.6.2

fwupd_request_set_flags

Sets the request flags.

since: 1.8.6

fwupd_request_set_id

Sets the ID.

since: 1.6.2

fwupd_request_set_image

Sets the update image.

since: 1.6.2

fwupd_request_set_kind

Sets what the request is currently doing.

since: 1.6.2

fwupd_request_set_message

Sets the update message.

since: 1.6.2

fwupd_request_to_string

Builds a text representation of the object.

since: 1.6.2

fwupd_request_to_variant

Serialize the request data.

since: 1.6.2

Methods inherited from GObject (43)
[]

Properties

Fwupd.Request:device-id

The device ID for the request.

since: 1.8.2

Fwupd.Request:flags

The flags for the request.

since: 1.8.6

Fwupd.Request:id

The request identifier.

since: 1.6.2

Fwupd.Request:image

The image link for the request.

since: 1.6.2

Fwupd.Request:kind

The kind of the request.

since: 1.6.2

Fwupd.Request:message

The message text in the request.

since: 1.6.2

[]

Signals

Signals inherited from GObject (1)

Class structure