<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <include name="Json" version="1.0"/>
  <package name="fwupd"/>
  <c:include name="fwupd.h"/>
  <namespace name="Fwupd"
             version="2.0"
             shared-library="libfwupd.so.2"
             c:identifier-prefixes="Fwupd"
             c:symbol-prefixes="fwupd">
    <alias name="DeviceFlags" c:type="FwupdDeviceFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="539">Flags used to represent device attributes</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="544"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <alias name="DeviceProblem" c:type="FwupdDeviceProblem">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="627">Problems are reasons why the device is not updatable.

All problems have to be fixable by the user, rather than the plugin author.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="634"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <alias name="PluginFlags" c:type="FwupdPluginFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="899">Flags used to represent plugin attributes</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="904"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <alias name="ReleaseFlags" c:type="FwupdReleaseFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="716">Flags used to represent release attributes</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="721"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <alias name="RequestFlags" c:type="FwupdRequestFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="121">Flags used to represent request attributes</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="126"/>
      <type name="guint64" c:type="guint64"/>
    </alias>
    <constant name="BATTERY_LEVEL_INVALID"
              value="101"
              c:type="FWUPD_BATTERY_LEVEL_INVALID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="1037">This value signifies the battery level is either unset, or the value cannot
be discovered.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1043"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="BIOS_SETTING_DEBUG_CMD"
              value="debug_cmd"
              c:type="FWUPD_BIOS_SETTING_DEBUG_CMD">
      <source-position filename="libfwupd/fwupd-bios-setting.h" line="33"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="BIOS_SETTING_PENDING_REBOOT"
              value="pending_reboot"
              c:type="FWUPD_BIOS_SETTING_PENDING_REBOOT">
      <source-position filename="libfwupd/fwupd-bios-setting.h" line="31"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="BIOS_SETTING_RESET_BIOS"
              value="reset_bios"
              c:type="FWUPD_BIOS_SETTING_RESET_BIOS">
      <source-position filename="libfwupd/fwupd-bios-setting.h" line="32"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="BiosSetting"
           c:symbol-prefix="bios_setting"
           c:type="FwupdBiosSetting"
           parent="GObject.Object"
           glib:type-name="FwupdBiosSetting"
           glib:get-type="fwupd_bios_setting_get_type"
           glib:type-struct="BiosSettingClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-bios-setting.c"
           line="14">A BIOS setting that represents a setting in the firmware.</doc>
      <source-position filename="libfwupd/fwupd-bios-setting.h" line="28"/>
      <constructor name="new"
                   c:identifier="fwupd_bios_setting_new"
                   version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="1043">Creates a new bios setting.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="55"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="1050">a new #FwupdBiosSetting.</doc>
          <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
        </return-value>
        <parameters>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="1045">the attribute name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="path"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="1046">the path the driver providing this attribute uses</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="array_from_variant"
                c:identifier="fwupd_bios_setting_array_from_variant"
                version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="1010">Creates an array of new bios settings using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="107"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="1016">attributes,
or %NULL if @value was invalid.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="BiosSetting"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="1012">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_bios_setting_from_variant"
                version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="976">Creates a new bios setting using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="105"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="982">a new #FwupdBiosSetting, or %NULL if @value was invalid.</doc>
          <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="978">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_possible_value"
              c:identifier="fwupd_bios_setting_add_possible_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="451">Adds a possible value to the attribute.  This indicates one of the values the
kernel driver will accept from userspace.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="453">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="possible_value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="454">the possible</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="from_json"
              c:identifier="fwupd_bios_setting_from_json"
              version="1.8.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="742">Loads a fwupd bios setting from a JSON node.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting-private.h"
                         line="18"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="750">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="744">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="json_node" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="745">a JSON node</doc>
            <type name="Json.Node" c:type="JsonNode*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_current_value"
              c:identifier="fwupd_bios_setting_get_current_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="546">Gets the string representation of the current_value stored in an attribute
from the kernel.  This value is cached; so changing it outside of fwupd may
may put it out of sync.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="554">the current value of the attribute.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="548">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="fwupd_bios_setting_get_description"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="527">Gets the attribute description which is provided by some drivers to explain
what they change.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="534">the attribute description, or %NULL if unset.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="529">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="fwupd_bios_setting_get_id"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="40">Gets the unique attribute identifier for this attribute/driver</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="46">attribute ID if set otherwise NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="42">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="fwupd_bios_setting_get_kind"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="225">Gets the BIOS setting type used by the kernel interface.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="231">the bios setting type, or %FWUPD_BIOS_SETTING_KIND_UNKNOWN if unset.</doc>
          <type name="BiosSettingKind" c:type="FwupdBiosSettingKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="227">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_lower_bound"
              c:identifier="fwupd_bios_setting_get_lower_bound"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="116">Gets the lower bound for integer attributes or
minimum length for string attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="123">guint64</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="118">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_bios_setting_get_name"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="491">Gets the attribute name.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="90"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="497">the attribute name, or %NULL if unset.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="493">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_path"
              c:identifier="fwupd_bios_setting_get_path"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="509">Gets the path for the driver providing the attribute.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="92"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="515">the driver, or %NULL if unfound.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="511">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_possible_values"
              c:identifier="fwupd_bios_setting_get_possible_values"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="472">Find all possible values for an enumeration attribute.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="102"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="478">all possible values.</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="474">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_read_only"
              c:identifier="fwupd_bios_setting_get_read_only"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="80">Determines if a BIOS setting is read only</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="86">gboolean</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="82">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_scalar_increment"
              c:identifier="fwupd_bios_setting_get_scalar_increment"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="154">Gets the scalar increment used for integer attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="160">guint64</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="156">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_upper_bound"
              c:identifier="fwupd_bios_setting_get_upper_bound"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="135">Gets the upper bound for integer attributes or
maximum length for string attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="142">guint64</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="137">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_possible_value"
              c:identifier="fwupd_bios_setting_has_possible_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="422">Finds out if a specific possible value was added to the attribute.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="429">%TRUE if the self matches.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="424">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="425">the possible value string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="map_possible_value"
              c:identifier="fwupd_bios_setting_map_possible_value"
              version="1.8.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="359">Attempts to map a user provided string into strings that a #FwupdBiosSetting can
support.  The following heuristics are used:
- Ignore case sensitivity
- Map obviously "positive" phrases into a value that turns on the #FwupdBiosSetting
- Map obviously "negative" phrases into a value that turns off the #FwupdBiosSetting</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="96"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="371">the possible value that maps or NULL if none if found</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="361">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="362">the string to try to map</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_current_value"
              c:identifier="fwupd_bios_setting_set_current_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="566">Sets the string stored in an attribute.
This doesn't change the representation in the kernel.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="112"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="568">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="569">The string to set an attribute to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="fwupd_bios_setting_set_description"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="306">Sets the attribute description.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="308">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="description"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="309">the attribute description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id"
              c:identifier="fwupd_bios_setting_set_id"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="58">Sets the unique attribute identifier for this attribute</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="117"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="60">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="fwupd_bios_setting_set_kind"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="243">Sets the BIOS setting type used by the kernel interface.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="245">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="246">a bios setting type, e.g. %FWUPD_BIOS_SETTING_KIND_ENUMERATION</doc>
            <type name="BiosSettingKind" c:type="FwupdBiosSettingKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_lower_bound"
              c:identifier="fwupd_bios_setting_set_lower_bound"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="190">Sets the lower bound used for BIOS integer attributes or max
length for string attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="192">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="193">a guint64 value to set bound to</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_bios_setting_set_name"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="260">Sets the attribute name provided by a kernel driver.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="81"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="262">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="263">the attribute name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_path"
              c:identifier="fwupd_bios_setting_set_path"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="283">Sets path to the attribute.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="285">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="path"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="286">the path the driver providing the attribute uses</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_read_only"
              c:identifier="fwupd_bios_setting_set_read_only"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="98">Configures whether an attribute is read only
maximum length for string attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="100">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="val" transfer-ownership="none">
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_scalar_increment"
              c:identifier="fwupd_bios_setting_set_scalar_increment"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="208">Sets the scalar increment used for BIOS integer attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="76"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="210">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="211">a guint64 value to set increment to</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_upper_bound"
              c:identifier="fwupd_bios_setting_set_upper_bound"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="172">Sets the upper bound used for BIOS integer attributes or max
length for string attributes.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="72"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="174">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="val" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="175">a guint64 value to set bound to</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_bios_setting_to_json"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="830">Adds a fwupd bios setting to a JSON builder.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting-private.h"
                         line="16"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="832">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="833">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_bios_setting_to_string"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="886">Builds a text representation of the object.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting.h" line="57"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="892">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="888">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_bios_setting_to_variant"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.c"
             line="601">Serialize the bios setting.</doc>
        <source-position filename="libfwupd/fwupd-bios-setting-private.h"
                         line="14"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-bios-setting.c"
               line="608">the serialized data, or %NULL for error.</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="603">a #FwupdBiosSetting</doc>
            <type name="BiosSetting" c:type="FwupdBiosSetting*"/>
          </instance-parameter>
          <parameter name="trusted" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-bios-setting.c"
                 line="604">whether the caller should receive trusted values</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="BiosSettingClass"
            c:type="FwupdBiosSettingClass"
            glib:is-gtype-struct-for="BiosSetting">
      <source-position filename="libfwupd/fwupd-bios-setting.h" line="28"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-bios-setting.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="BiosSettingKind" c:type="FwupdBiosSettingKind">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-bios-setting.h"
           line="35">The type of BIOS setting.</doc>
      <source-position filename="libfwupd/fwupd-bios-setting.h" line="52"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_BIOS_SETTING_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.h"
             line="37">BIOS setting type is unknown</doc>
      </member>
      <member name="enumeration"
              value="1"
              c:identifier="FWUPD_BIOS_SETTING_KIND_ENUMERATION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.h"
             line="38">BIOS setting that has enumerated possible
values</doc>
      </member>
      <member name="integer"
              value="2"
              c:identifier="FWUPD_BIOS_SETTING_KIND_INTEGER">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.h"
             line="40">BIOS setting that is an integer</doc>
      </member>
      <member name="string"
              value="3"
              c:identifier="FWUPD_BIOS_SETTING_KIND_STRING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-bios-setting.h"
             line="41">BIOS setting that accepts a string</doc>
      </member>
    </enumeration>
    <function-macro name="CHECK_VERSION"
                    c:identifier="FWUPD_CHECK_VERSION"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-version.h"
           line="38">Check whether a fwupd version equal to or greater than
major.minor.micro.

These compile time macros allow the user to enable parts of client code
depending on the version of libfwupd installed.</doc>
      <source-position filename="libfwupd/fwupd-version.h" line="50"/>
      <parameters>
        <parameter name="major">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-version.h"
               line="40">Major version number</doc>
        </parameter>
        <parameter name="minor">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-version.h"
               line="41">Minor version number</doc>
        </parameter>
        <parameter name="micro">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-version.h"
               line="42">Micro version number</doc>
        </parameter>
      </parameters>
    </function-macro>
    <class name="Client"
           c:symbol-prefix="client"
           c:type="FwupdClient"
           parent="GObject.Object"
           glib:type-name="FwupdClient"
           glib:get-type="fwupd_client_get_type"
           glib:type-struct="ClientClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-client.c"
           line="44">Allow client code to call the daemon methods.

See also: [class@FwupdDevice]</doc>
      <source-position filename="libfwupd/fwupd-client.h" line="37"/>
      <constructor name="new" c:identifier="fwupd_client_new" version="0.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5945">Creates a new client.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="68"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="5950">a new #FwupdClient</doc>
          <type name="Client" c:type="FwupdClient*"/>
        </return-value>
      </constructor>
      <virtual-method name="changed">
        <source-position filename="libfwupd/fwupd-client.h" line="24"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_added">
        <source-position filename="libfwupd/fwupd-client.h" line="26"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_changed">
        <source-position filename="libfwupd/fwupd-client.h" line="28"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_removed">
        <source-position filename="libfwupd/fwupd-client.h" line="27"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_request">
        <source-position filename="libfwupd/fwupd-client.h" line="29"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="request" transfer-ownership="none">
            <type name="Request" c:type="FwupdRequest*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="status_changed">
        <source-position filename="libfwupd/fwupd-client.h" line="25"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="status" transfer-ownership="none">
            <type name="Status" c:type="FwupdStatus"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="activate"
              c:identifier="fwupd_client_activate"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="742">Activates up a device, which normally means the device switches to a new
firmware version. This should only be called when data loss cannot occur.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="752">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="744">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="745">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="746">a device</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="activate_async"
              c:identifier="fwupd_client_activate_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2238">Activates up a device, which normally means the device switches to a new
firmware version. This should only be called when data loss cannot occur.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="193"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2240">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2241">a device</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2242">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2243">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2244">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="activate_finish"
              c:identifier="fwupd_client_activate_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2278">Gets the result of [method@FwupdClient.activate_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="199"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2286">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2280">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2281">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_hint"
              c:identifier="fwupd_client_add_hint"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5393">Sets optional hints from the client that may affect the list of devices.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="520"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5395">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5396">the key, e.g. `locale`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5397">the value @key should be set</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_results"
              c:identifier="fwupd_client_clear_results"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="792">Clears the results for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="801">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="794">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="795">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="796">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_results_async"
              c:identifier="fwupd_client_clear_results_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2551">Clears the results for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="203"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2553">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2554">a device</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2555">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2556">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2557">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="clear_results_finish"
              c:identifier="fwupd_client_clear_results_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2590">Gets the result of [method@FwupdClient.clear_results_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="209"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2598">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2592">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2593">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="connect"
              c:identifier="fwupd_client_connect"
              version="0.7.1"
              introspectable="0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="78">Sets up the client ready for use. Most other methods call this
for you, and do you only need to call this if you are just watching
the client.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="14"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="88">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="80">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="81">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="connect_async"
              c:identifier="fwupd_client_connect_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="846">Sets up the client ready for use. This is probably the first method you call
when wanting to use libfwupd in an asynchronous manner.

Other methods such as [method@FwupdClient.get_devices_async] should only be called
after [method@FwupdClient.connect_finish] has been called without an error.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="74"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="848">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="849">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="850">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="851">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="connect_finish"
              c:identifier="fwupd_client_connect_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="920">Gets the result of [method@Client.connect_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="928">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="922">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="923">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="disconnect"
              c:identifier="fwupd_client_disconnect"
              version="1.8.0"
              introspectable="0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="941">Tears down client after use. You only need to call this method if you are:

- connecting to the daemon in one thread and finalizing the client in another one
- to change the `FWUPD_DBUS_SOCKET` for a different peer-to-peer connection
- to add or change connection hints as specified by [method@FwupdClient.add_hint].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="83"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="952">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="943">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="download_bytes"
              c:identifier="fwupd_client_download_bytes"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2260">Downloads data from a remote server. The [method@Client.set_user_agent] function
should be called before this method is used.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="223"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2271">downloaded data, or %NULL for error</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2262">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2263">the remote URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2264">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_NONE</doc>
            <type name="ClientDownloadFlags"
                  c:type="FwupdClientDownloadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2265">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="download_bytes_async"
              c:identifier="fwupd_client_download_bytes_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5177">Downloads data from a remote server. The [method@Client.set_user_agent] function
should be called before this method is used.

You must have called [method@Client.connect_async] on @self before using
this method.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="494"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5179">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5180">the remote URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5181">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_NONE</doc>
            <type name="ClientDownloadFlags"
                  c:type="FwupdClientDownloadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5182">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5183">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5184">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="download_bytes_finish"
              c:identifier="fwupd_client_download_bytes_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5217">Gets the result of [method@FwupdClient.download_bytes_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="501"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="5225">downloaded data, or %NULL for error</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5219">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5220">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="download_file"
              c:identifier="fwupd_client_download_file"
              version="1.5.2"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2306">Downloads data from a remote server. The [method@Client.set_user_agent] function
should be called before this method is used.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="229"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2318">%TRUE if the file was written</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2308">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2309">the remote URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="file" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2310">a file</doc>
            <type name="Gio.File" c:type="GFile*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2311">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_NONE</doc>
            <type name="ClientDownloadFlags"
                  c:type="FwupdClientDownloadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2312">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="ensure_networking"
              c:identifier="fwupd_client_ensure_networking"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="576">Sets up the client networking support ready for use. Most other download and
upload methods call this automatically, and do you only need to call this if
the session is being used outside the [class@FwupdClient].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="518"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="585">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="578">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_approved_firmware"
              c:identifier="fwupd_client_get_approved_firmware"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1922">Gets the list of approved firmware.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="194"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1930">checksums, or %NULL for error</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1924">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1925">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_approved_firmware_async"
              c:identifier="fwupd_client_get_approved_firmware_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4135">Gets the list of approved firmware.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="427"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4137">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4138">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4139">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4140">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_approved_firmware_finish"
              c:identifier="fwupd_client_get_approved_firmware_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4174">Gets the result of [method@FwupdClient.get_approved_firmware_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="432"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4182">checksums, or %NULL for error</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4176">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4177">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_battery_level"
              c:identifier="fwupd_client_get_battery_level"
              glib:get-property="battery-level"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3569">Returns the system battery level.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="403"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3575">value in percent</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3571">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_battery_threshold"
              c:identifier="fwupd_client_get_battery_threshold"
              glib:get-property="battery-threshold"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3587">Returns the system battery threshold under which a firmware update cannot be
performed.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="405"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3594">value in percent</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3589">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bios_settings"
              c:identifier="fwupd_client_get_bios_settings"
              version="1.8.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="954">Gets all the BIOS settings from the daemon.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="96"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="962">attributes</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="BiosSetting"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="956">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="957">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bios_settings_async"
              c:identifier="fwupd_client_get_bios_settings_async"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1198">Gets all the host security attributes from the daemon.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="231"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1200">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1201">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1202">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1203">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_bios_settings_finish"
              c:identifier="fwupd_client_get_bios_settings_finish"
              version="1.8.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1237">Gets the result of [method@FwupdClient.get_bios_settings_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="236"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1245">attributes</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="BiosSetting"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1239">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1240">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_blocked_firmware"
              c:identifier="fwupd_client_get_blocked_firmware"
              version="1.4.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2035">Gets the list of blocked firmware.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="203"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2043">checksums, or %NULL for error</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2037">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2038">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_blocked_firmware_async"
              c:identifier="fwupd_client_get_blocked_firmware_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4302">Gets the list of blocked firmware.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="446"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4304">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4305">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4306">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4307">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_blocked_firmware_finish"
              c:identifier="fwupd_client_get_blocked_firmware_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4341">Gets the result of [method@FwupdClient.get_blocked_firmware_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="451"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4349">checksums, or %NULL for error</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4343">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4344">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_daemon_interactive"
              c:identifier="fwupd_client_get_daemon_interactive"
              version="1.3.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3660">Gets if the daemon is running in an interactive terminal.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="387"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3666">%TRUE if the daemon is running in an interactive terminal</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3662">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_daemon_version"
              c:identifier="fwupd_client_get_daemon_version"
              glib:get-property="daemon-version"
              version="0.9.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3461">Gets the daemon version number.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="391"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3467">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3463">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_details"
              c:identifier="fwupd_client_get_details"
              version="1.0.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="469">Gets details about a specific firmware file.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="45"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="478">an array of results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="471">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="472">the firmware filename, e.g. `firmware.cab`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="473">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_details_bytes"
              c:identifier="fwupd_client_get_details_bytes"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="413">Gets details about a specific firmware file.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="50"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="422">an array of results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="415">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="bytes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="416">the firmware archive</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="417">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_details_bytes_async"
              c:identifier="fwupd_client_get_details_bytes_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3375">Gets details about a specific firmware file.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="142"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3377">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="bytes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3378">firmware archive</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3379">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3380">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3381">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_details_bytes_finish"
              c:identifier="fwupd_client_get_details_bytes_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3422">Gets the result of [method@FwupdClient.get_details_bytes_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="148"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3430">an array of results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3424">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3425">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_device_by_id"
              c:identifier="fwupd_client_get_device_by_id"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1103">Gets a device by its device ID.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="109"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1112">a device or %NULL</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1105">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1106">the device ID, e.g. `usb:00:01:03:03`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1107">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_device_by_id_async"
              c:identifier="fwupd_client_get_device_by_id_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1730">Gets a device by it's device ID.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="259"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1732">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1733">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1734">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1735">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1736">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_device_by_id_finish"
              c:identifier="fwupd_client_get_device_by_id_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1769">Gets the result of [method@FwupdClient.get_device_by_id_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="265"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1777">a device, or %NULL for failure</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1771">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1772">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices"
              c:identifier="fwupd_client_get_devices"
              version="0.9.2"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="120">Gets all the devices registered with the daemon.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="18"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="128">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="122">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="123">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices_async"
              c:identifier="fwupd_client_get_devices_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1461">Gets all the devices registered with the daemon.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="85"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1463">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1464">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1465">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1466">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices_by_guid"
              c:identifier="fwupd_client_get_devices_by_guid"
              version="1.4.1"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1157">Gets any devices that provide a specific GUID. An error is returned if no
devices contains this GUID.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="114"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1167">devices or %NULL</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1159">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1160">the GUID, e.g. `e22c4520-43dc-5bb3-8245-5787fead9b63`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1161">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices_by_guid_async"
              c:identifier="fwupd_client_get_devices_by_guid_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1828">Gets any devices that provide a specific GUID. An error is returned if no
devices contains this GUID.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="269"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1830">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1831">the GUID, e.g. `e22c4520-43dc-5bb3-8245-5787fead9b63`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1832">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1833">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1834">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices_by_guid_finish"
              c:identifier="fwupd_client_get_devices_by_guid_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1868">Gets the result of [method@FwupdClient.get_devices_by_guid_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="275"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1876">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1870">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1871">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_devices_finish"
              c:identifier="fwupd_client_get_devices_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1500">Gets the result of [method@FwupdClient.get_devices_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="90"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1508">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1502">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1503">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_downgrades"
              c:identifier="fwupd_client_get_downgrades"
              version="0.9.8"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="306">Gets all the downgrades for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="35"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="315">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="308">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="309">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="310">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_downgrades_async"
              c:identifier="fwupd_client_get_downgrades_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1992">Gets all the downgrades for a specific device.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="122"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1994">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1995">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1996">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1997">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1998">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_downgrades_finish"
              c:identifier="fwupd_client_get_downgrades_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2034">Gets the result of [method@FwupdClient.get_downgrades_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="128"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2042">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2036">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2037">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_history"
              c:identifier="fwupd_client_get_history"
              version="1.0.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="208">Gets all the history.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="26"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="216">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="210">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="211">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_history_async"
              c:identifier="fwupd_client_get_history_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1621">Gets all the history.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="103"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1623">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1624">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1625">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1626">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_history_finish"
              c:identifier="fwupd_client_get_history_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1660">Gets the result of [method@FwupdClient.get_history_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="108"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1668">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1662">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1663">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_bkc"
              c:identifier="fwupd_client_get_host_bkc"
              glib:get-property="host-bkc"
              version="1.7.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3479">Gets the daemon version number.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="393"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3485">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3481">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_host_machine_id"
              c:identifier="fwupd_client_get_host_machine_id"
              glib:get-property="host-machine-id"
              version="1.3.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3533">Gets the string that represents the host machine ID</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="399"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3539">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3535">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_host_product"
              c:identifier="fwupd_client_get_host_product"
              glib:get-property="host-product"
              version="1.3.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3497">Gets the string that represents the host running fwupd</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="397"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3503">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3499">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_host_security_attrs"
              c:identifier="fwupd_client_get_host_security_attrs"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1002">Gets all the host security attributes from the daemon.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="100"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1010">attributes</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="SecurityAttr"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1004">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1005">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_security_attrs_async"
              c:identifier="fwupd_client_get_host_security_attrs_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1028">Gets all the host security attributes from the daemon.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="240"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1030">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1031">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1032">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1033">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_security_attrs_finish"
              c:identifier="fwupd_client_get_host_security_attrs_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1067">Gets the result of [method@FwupdClient.get_host_security_attrs_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="245"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1075">attributes</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="SecurityAttr"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1069">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1070">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_security_events"
              c:identifier="fwupd_client_get_host_security_events"
              version="1.7.1"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1050">Gets all the host security events from the daemon.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="104"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1059">attributes</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="SecurityAttr"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1052">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="limit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1053">maximum number of events, or 0 for no limit</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1054">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_security_events_async"
              c:identifier="fwupd_client_get_host_security_events_async"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1278">Gets all the host security events from the daemon.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="249"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1280">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="limit" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1281">maximum number of events, or 0 for no limit</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1282">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1283">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1284">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_security_events_finish"
              c:identifier="fwupd_client_get_host_security_events_finish"
              version="1.7.1"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1319">Gets the result of [method@FwupdClient.get_host_security_events_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="255"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1327">attributes</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="SecurityAttr"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1321">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1322">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_host_security_id"
              c:identifier="fwupd_client_get_host_security_id"
              glib:get-property="host-security-id"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3551">Gets the string that represents the host machine ID</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="401"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3557">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3553">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_host_vendor"
              c:identifier="fwupd_client_get_host_vendor"
              glib:get-property="host-vendor"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3515">Gets the string that represents the vendor of the host running fwupd</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="395"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3521">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3517">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_main_context"
              c:identifier="fwupd_client_get_main_context"
              version="1.5.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="534">Gets the internal #GMainContext to use for synchronous methods.
By default the value is set a new #GMainContext.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="541">the main context</doc>
          <type name="GLib.MainContext" c:type="GMainContext*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="536">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_only_trusted"
              c:identifier="fwupd_client_get_only_trusted"
              glib:get-property="only-trusted"
              version="1.8.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3642">Gets if the daemon is verifying signatures from a trusted authority.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="385"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3648">%TRUE if the daemon is checking signatures</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3644">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_percentage"
              c:identifier="fwupd_client_get_percentage"
              glib:get-property="percentage"
              version="0.7.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3443">Gets the last returned percentage value.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="389"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3449">a percentage, or 0 for unknown.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3445">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugins"
              c:identifier="fwupd_client_get_plugins"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="164">Gets all the plugins being used the daemon.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="22"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="172">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Plugin"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="166">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="167">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_plugins_async"
              c:identifier="fwupd_client_get_plugins_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1541">Gets all the plugins being used by the daemon.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="94"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1543">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1544">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1545">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1546">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_plugins_finish"
              c:identifier="fwupd_client_get_plugins_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1580">Gets the result of [method@FwupdClient.get_plugins_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="99"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1588">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1582">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1583">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_releases"
              c:identifier="fwupd_client_get_releases"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="252">Gets all the releases for a specific device</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="30"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="261">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="254">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="255">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="256">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_releases_async"
              c:identifier="fwupd_client_get_releases_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1909">Gets all the releases for a specific device

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="112"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1911">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1912">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1913">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1914">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1915">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_releases_finish"
              c:identifier="fwupd_client_get_releases_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1951">Gets the result of [method@FwupdClient.get_releases_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="118"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1959">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1953">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1954">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remote_by_id"
              c:identifier="fwupd_client_get_remote_by_id"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1868">Gets a specific remote that has been configured for the system.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="189"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1877">a #FwupdRemote, or %NULL if not found</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1870">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1871">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1872">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remote_by_id_async"
              c:identifier="fwupd_client_get_remote_by_id_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4831">Gets a specific remote that has been configured for the system.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="417"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4833">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4834">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4835">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4836">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4837">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remote_by_id_finish"
              c:identifier="fwupd_client_get_remote_by_id_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4867">Gets the result of [method@FwupdClient.get_remote_by_id_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="423"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4875">a #FwupdRemote, or %NULL if not found</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4869">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4870">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remotes"
              c:identifier="fwupd_client_get_remotes"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1821">Gets the list of remotes that have been configured for the system.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="185"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1829">list of remotes, or %NULL</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Remote"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1823">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1824">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remotes_async"
              c:identifier="fwupd_client_get_remotes_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4051">Gets the list of remotes that have been configured for the system.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="408"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4053">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4054">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4055">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4056">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_remotes_finish"
              c:identifier="fwupd_client_get_remotes_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4090">Gets the result of [method@FwupdClient.get_remotes_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="413"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4098">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Remote"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4092">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4093">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_report_metadata"
              c:identifier="fwupd_client_get_report_metadata"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1710">Gets all the report metadata from the daemon.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="181"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1718">attributes</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1712">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1713">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_report_metadata_async"
              c:identifier="fwupd_client_get_report_metadata_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1381">Gets all the report metadata from the daemon.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="371"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1383">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1384">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="2">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1385">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1386">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_report_metadata_finish"
              c:identifier="fwupd_client_get_report_metadata_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1420">Gets the result of [method@FwupdClient.get_report_metadata_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="376"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1428">attributes</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1422">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1423">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_results"
              c:identifier="fwupd_client_get_results"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="845">Gets the results of a previous firmware update for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="86"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="854">a device, or %NULL for failure</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="847">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="848">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="849">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_results_async"
              c:identifier="fwupd_client_get_results_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2631">Gets the results of a previous firmware update for a specific device.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="213"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2633">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2634">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2635">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2636">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2637">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_results_finish"
              c:identifier="fwupd_client_get_results_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2673">Gets the result of [method@FwupdClient.get_results_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="219"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2681">a device, or %NULL for failure</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2675">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2676">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_status"
              c:identifier="fwupd_client_get_status"
              glib:get-property="status"
              version="0.7.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3606">Gets the last returned status value.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="381"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3612">a #FwupdStatus, or %FWUPD_STATUS_UNKNOWN for unknown.</doc>
          <type name="Status" c:type="FwupdStatus"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3608">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tainted"
              c:identifier="fwupd_client_get_tainted"
              glib:get-property="tainted"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3624">Gets if the daemon has been tainted by 3rd party code.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="383"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3630">%TRUE if the daemon is unsupported</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3626">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_upgrades"
              c:identifier="fwupd_client_get_upgrades"
              version="0.9.8"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="359">Gets all the upgrades for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="40"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="368">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="361">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="362">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="363">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_upgrades_async"
              c:identifier="fwupd_client_get_upgrades_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2075">Gets all the upgrades for a specific device.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="132"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2077">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2078">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2079">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2080">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2081">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_upgrades_finish"
              c:identifier="fwupd_client_get_upgrades_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2117">Gets the result of [method@FwupdClient.get_upgrades_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="138"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2125">results</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2119">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2120">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_user_agent"
              c:identifier="fwupd_client_get_user_agent"
              version="1.5.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4914">Gets the string that represents the user agent that is used for
uploading and downloading. The user agent will contain the runtime
version of fwupd somewhere in the provided string.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="486"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4922">a string, or %NULL for unknown.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4916">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="install"
              c:identifier="fwupd_client_install"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1213">Install a file onto a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1224">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1215">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1216">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1217">the filename to install</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1218">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1219">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_async"
              c:identifier="fwupd_client_install_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2884">Install firmware onto a specific device.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="279"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2886">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2887">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2888">the filename to install</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2889">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2890">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2891">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2892">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_bytes"
              c:identifier="fwupd_client_install_bytes"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1288">Install firmware onto a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="126"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1299">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1290">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1291">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bytes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1292">cabinet archive</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1293">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1294">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_bytes_async"
              c:identifier="fwupd_client_install_bytes_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2801">Install firmware onto a specific device.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="291"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2803">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2804">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="bytes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2805">cabinet archive</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2806">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2807">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2808">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2809">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_bytes_finish"
              c:identifier="fwupd_client_install_bytes_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2863">Gets the result of [method@FwupdClient.install_bytes_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="299"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2871">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2865">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2866">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_finish"
              c:identifier="fwupd_client_install_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2948">Gets the result of [method@FwupdClient.install_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="287"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2956">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2950">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2951">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_release"
              c:identifier="fwupd_client_install_release"
              version="1.4.5"
              deprecated="1"
              deprecated-version="1.5.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1403">Installs a new release on a device, downloading the firmware if required.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="133"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1414">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1405">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1406">a device</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1407">a release</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1408">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1409">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_release2"
              c:identifier="fwupd_client_install_release2"
              version="1.5.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1348">Installs a new release on a device, downloading the firmware if required.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="140"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1360">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1350">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1351">a device</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1352">a release</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1353">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="download_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1354">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_NONE</doc>
            <type name="ClientDownloadFlags"
                  c:type="FwupdClientDownloadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1355">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_release2_async"
              c:identifier="fwupd_client_install_release2_async"
              version="1.5.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3183">Installs a new release on a device, downloading the firmware if required.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="312"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3185">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3186">a device</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3187">a release</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3188">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="download_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3189">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_DISABLE_IPFS</doc>
            <type name="ClientDownloadFlags"
                  c:type="FwupdClientDownloadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3190">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="6">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3191">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3192">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_release_async"
              c:identifier="fwupd_client_install_release_async"
              version="1.5.0"
              deprecated="1"
              deprecated-version="1.5.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3252">Installs a new release on a device, downloading the firmware if required.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="303"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3254">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3255">a device</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3256">a release</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </parameter>
          <parameter name="install_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3257">install flags, e.g. %FWUPD_INSTALL_FLAG_ALLOW_REINSTALL</doc>
            <type name="InstallFlags" c:type="FwupdInstallFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3258">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3259">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3260">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="install_release_finish"
              c:identifier="fwupd_client_install_release_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3290">Gets the result of [method@FwupdClient.install_release_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="321"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3298">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3292">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3293">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_bios_setting"
              c:identifier="fwupd_client_modify_bios_setting"
              version="1.8.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="899">Modifies a BIOS setting using kernel API.
The daemon will only respond to this request with proper permissions.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="909">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="901">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="settings" transfer-ownership="container">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="902">BIOS settings</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="903">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_bios_setting_async"
              c:identifier="fwupd_client_modify_bios_setting_async"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1106">Modifies a BIOS setting using kernel API.
The daemon will only respond to this request with proper permissions.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="223"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1108">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="settings" transfer-ownership="container">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1109">BIOS settings</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1110">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1111">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1112">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_bios_setting_finish"
              c:identifier="fwupd_client_modify_bios_setting_finish"
              version="1.8.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="1157">Gets the result of [method@FwupdClient.modify_bios_setting_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="229"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="1165">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1159">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="1160">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_config"
              c:identifier="fwupd_client_modify_config"
              version="1.2.8"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="684">Modifies a daemon config option.
The daemon will only respond to this request with proper permissions.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="70"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="695">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="686">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="687">config key, e.g. `DisabledPlugins`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="688">config value, e.g. `*`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="689">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_config_async"
              c:identifier="fwupd_client_modify_config_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2156">Modifies a daemon config option.
The daemon will only respond to this request with proper permissions.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="182"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2158">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2159">config key, e.g. `DisabledPlugins`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2160">config value, e.g. `*`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2161">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2162">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2163">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_config_finish"
              c:identifier="fwupd_client_modify_config_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2199">Gets the result of [method@FwupdClient.modify_config_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="189"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2207">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2201">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2202">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_device"
              c:identifier="fwupd_client_modify_device"
              version="1.0.4"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1757">Modifies a device in a specific way. Not all properties on the #FwupdDevice
are settable by the client, and some may have other restrictions on @value.

NOTE: User authentication may be required to complete this action.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="174"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1771">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1759">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1760">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1761">the key, e.g. `Flags`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1762">the key, e.g. `reported`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1763">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_device_async"
              c:identifier="fwupd_client_modify_device_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4724">Modifies a device in a specific way. Not all properties on the #FwupdDevice
are settable by the client, and some may have other restrictions on @value.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="359"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4726">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4727">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4728">the key, e.g. `Flags`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4729">the value, e.g. `reported`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4730">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4731">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4732">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_device_finish"
              c:identifier="fwupd_client_modify_device_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4770">Gets the result of [method@FwupdClient.modify_device_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="367"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4778">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4772">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4773">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_remote"
              c:identifier="fwupd_client_modify_remote"
              version="0.9.8"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1646">Modifies a system remote in a specific way.

NOTE: User authentication may be required to complete this action.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="167"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1659">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1648">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1649">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1650">the key, e.g. `Enabled`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1651">the key, e.g. `true`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1652">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_remote_async"
              c:identifier="fwupd_client_modify_remote_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4640">Modifies a system remote in a specific way.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="347"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4642">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4643">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4644">the key, e.g. `Enabled`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4645">the key, e.g. `true`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4646">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4647">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4648">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="modify_remote_finish"
              c:identifier="fwupd_client_modify_remote_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4685">Gets the result of [method@FwupdClient.modify_remote_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="355"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4693">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4687">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4688">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_remote"
              c:identifier="fwupd_client_refresh_remote"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1597">Refreshes a remote by downloading new metadata.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="162"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1606">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1599">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1600">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1601">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_remote_async"
              c:identifier="fwupd_client_refresh_remote_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3953">Refreshes a remote by downloading new metadata.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="337"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3955">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3956">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3957">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3958">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3959">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_remote_finish"
              c:identifier="fwupd_client_refresh_remote_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4010">Gets the result of [method@FwupdClient.refresh_remote_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="343"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4018">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4012">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4013">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="self_sign"
              c:identifier="fwupd_client_self_sign"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2203">Signs the data using the client self-signed certificate.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="212"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2213">a signature, or %NULL for failure</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2205">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2206">a string to sign, typically a JSON blob</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2207">signing flags, e.g. %FWUPD_SELF_SIGN_FLAG_ADD_TIMESTAMP</doc>
            <type name="SelfSignFlags" c:type="FwupdSelfSignFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2208">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="self_sign_async"
              c:identifier="fwupd_client_self_sign_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4544">Signs the data using the client self-signed certificate.

You must have called [method@Client.connect_async] on @self before using
this method.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="465"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4546">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4547">a string to sign, typically a JSON blob</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4548">signing flags, e.g. %FWUPD_SELF_SIGN_FLAG_ADD_TIMESTAMP</doc>
            <type name="SelfSignFlags" c:type="FwupdSelfSignFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4549">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="4">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4550">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4551">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="self_sign_finish"
              c:identifier="fwupd_client_self_sign_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4601">Gets the result of [method@FwupdClient.self_sign_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="472"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4609">a signature, or %NULL for failure</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4603">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4604">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_approved_firmware"
              c:identifier="fwupd_client_set_approved_firmware"
              version="1.2.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1976">Sets the list of approved firmware.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="198"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1985">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1978">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="checksums" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1979">Array of checksums</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1980">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_approved_firmware_async"
              c:identifier="fwupd_client_set_approved_firmware_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4213">Sets the list of approved firmware.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="436"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4215">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="checksums" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4216">firmware checksums</doc>
            <array name="GLib.PtrArray" c:type="GPtrArray*">
              <type name="utf8"/>
            </array>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4217">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4218">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4219">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_approved_firmware_finish"
              c:identifier="fwupd_client_set_approved_firmware_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4257">Gets the result of [method@FwupdClient.set_approved_firmware_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="442"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4265">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4259">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4260">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_blocked_firmware"
              c:identifier="fwupd_client_set_blocked_firmware"
              version="1.4.6"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2089">Sets the list of approved firmware.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="207"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2098">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2091">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="checksums" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2092">Array of checksums</doc>
            <type name="utf8" c:type="gchar**"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2093">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_blocked_firmware_async"
              c:identifier="fwupd_client_set_blocked_firmware_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4380">Sets the list of blocked firmware.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="455"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4382">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="checksums" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4383">firmware checksums</doc>
            <array name="GLib.PtrArray" c:type="GPtrArray*">
              <type name="utf8"/>
            </array>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4384">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4385">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4386">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_blocked_firmware_finish"
              c:identifier="fwupd_client_set_blocked_firmware_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4424">Gets the result of [method@FwupdClient.set_blocked_firmware_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="461"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4432">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4426">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4427">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_feature_flags"
              c:identifier="fwupd_client_set_feature_flags"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2147">Sets the features the client supports. This allows firmware to depend on
specific front-end features, for instance showing the user an image on
how to detach the hardware.

Clients can call this none or multiple times.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="218"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2160">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2149">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="feature_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2150">feature flags, e.g. %FWUPD_FEATURE_FLAG_UPDATE_TEXT</doc>
            <type name="FeatureFlags" c:type="FwupdFeatureFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2151">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_feature_flags_async"
              c:identifier="fwupd_client_set_feature_flags_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4463">Sets the features the client supports. This allows firmware to depend on
specific front-end features, for instance showing the user an image on
how to detach the hardware.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="476"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4465">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="feature_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4466">feature flags, e.g. %FWUPD_FEATURE_FLAG_UPDATE_TEXT</doc>
            <type name="FeatureFlags" c:type="FwupdFeatureFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4467">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4468">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4469">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_feature_flags_finish"
              c:identifier="fwupd_client_set_feature_flags_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4503">Gets the result of [method@FwupdClient.set_feature_flags_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="482"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="4511">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4505">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4506">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_main_context"
              c:identifier="fwupd_client_set_main_context"
              version="1.5.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="555">Sets the internal main context to use for returning progress signals.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="72"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="557">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="main_ctx"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="558">the global default main context to use</doc>
            <type name="GLib.MainContext" c:type="GMainContext*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_user_agent"
              c:identifier="fwupd_client_set_user_agent"
              version="1.4.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4888">Manually sets the user agent that is used for downloading. The user agent
should contain the runtime version of fwupd somewhere in the provided string.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="488"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4890">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="user_agent" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4891">the user agent ID, e.g. `gnome-software/3.34.1`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_user_agent_for_package"
              c:identifier="fwupd_client_set_user_agent_for_package"
              version="1.4.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="4934">Builds a user-agent to use for the download.

Supplying harmless details to the server means it knows more about each
client. This allows the web service to respond in a different way, for
instance sending a different metadata file for old versions of fwupd, or
returning an error for Solaris machines.

Before freaking out about theoretical privacy implications, much more data
than this is sent to each and every website you visit.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="490"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4936">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="package_name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4937">client program name, e.g. `gnome-software`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="package_version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="4938">client program version, e.g. `3.28.1`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlock"
              c:identifier="fwupd_client_unlock"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="636">Unlocks a specific device so firmware can be read or wrote.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="645">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="638">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="639">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="640">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlock_async"
              c:identifier="fwupd_client_unlock_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2473">Unlocks a specific device so firmware can be read or wrote.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="172"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2475">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2476">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2477">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2478">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2479">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="unlock_finish"
              c:identifier="fwupd_client_unlock_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2512">Gets the result of [method@FwupdClient.unlock_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="178"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2520">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2514">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2515">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_metadata"
              c:identifier="fwupd_client_update_metadata"
              version="1.0.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1447">Updates the metadata. This allows a session process to download the metadata
and metadata signing file to be passed into the daemon to be checked and
parsed.

The @remote_id allows the firmware to be tagged so that the remote can be
matched when the firmware is downloaded.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="148"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1463">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1449">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1450">the remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="metadata_fn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1451">the XML metadata filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="signature_fn" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1452">the GPG signature file</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1453">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_metadata_bytes"
              c:identifier="fwupd_client_update_metadata_bytes"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="1531">Updates the metadata. This allows a session process to download the metadata
and metadata signing file to be passed into the daemon to be checked and
parsed.

The @remote_id allows the firmware to be tagged so that the remote can be
matched when the firmware is downloaded.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="155"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="1547">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1533">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1534">remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="metadata" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1535">XML metadata data</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="signature" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1536">signature data</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="1537">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_metadata_bytes_async"
              c:identifier="fwupd_client_update_metadata_bytes_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3746">Updates the metadata. This allows a session process to download the metadata
and metadata signing file to be passed into the daemon to be checked and
parsed.

The @remote_id allows the firmware to be tagged so that the remote can be
matched when the firmware is downloaded.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="325"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3748">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3749">remote ID, e.g. `lvfs-testing`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="metadata" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3750">XML metadata data</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="signature" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3751">signature data</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3752">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="5">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3753">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3754">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="update_metadata_bytes_finish"
              c:identifier="fwupd_client_update_metadata_bytes_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="3822">Gets the result of [method@FwupdClient.update_metadata_bytes_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="333"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="3830">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3824">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="3825">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="upload_bytes"
              c:identifier="fwupd_client_upload_bytes"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="2365">Uploads data to a remote server. The [method@Client.set_user_agent] function
should be called before this method is used.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="236"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="2378">response data, or %NULL for error</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2367">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2368">the remote URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="payload" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2369">payload string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="signature"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2370">signature string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2371">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_NONE</doc>
            <type name="ClientUploadFlags" c:type="FwupdClientUploadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="2372">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="upload_bytes_async"
              c:identifier="fwupd_client_upload_bytes_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5284">Uploads data to a remote server. The [method@Client.set_user_agent] function
should be called before this method is used.

You must have called [method@Client.connect_async] on @self before using
this method.

NOTE: This method is thread-safe, but progress signals will be
emitted in the global default main context, if not explicitly set with
[method@Client.set_main_context].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="505"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5286">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5287">the remote URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="payload" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5288">payload string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="signature"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5289">signature string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5290">download flags, e.g. %FWUPD_CLIENT_DOWNLOAD_FLAG_NONE</doc>
            <type name="ClientUploadFlags" c:type="FwupdClientUploadFlags"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5291">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="6">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5292">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5293">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="upload_bytes_finish"
              c:identifier="fwupd_client_upload_bytes_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5372">Gets the result of [method@FwupdClient.upload_bytes_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="514"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="5380">response data, or %NULL for error</doc>
          <type name="GLib.Bytes" c:type="GBytes*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5374">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5375">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify"
              c:identifier="fwupd_client_verify"
              version="0.7.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="534">Verify a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="55"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="543">%TRUE for verification success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="536">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="537">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="538">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify_async"
              c:identifier="fwupd_client_verify_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2317">Verify a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="152"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2319">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2320">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2321">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2322">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2323">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify_finish"
              c:identifier="fwupd_client_verify_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2356">Gets the result of [method@FwupdClient.verify_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="158"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2364">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2358">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2359">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify_update"
              c:identifier="fwupd_client_verify_update"
              version="0.8.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client-sync.c"
             line="583">Update the verification record for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client-sync.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client-sync.c"
               line="592">%TRUE for verification success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="585">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="586">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client-sync.c"
                 line="587">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify_update_async"
              c:identifier="fwupd_client_verify_update_async"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2395">Update the verification record for a specific device.</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="162"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2397">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2398">the device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2399">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
          <parameter name="callback"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1"
                     scope="async"
                     closure="3">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2400">the function to run on completion</doc>
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
          </parameter>
          <parameter name="callback_data"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2401">the data to pass to @callback</doc>
            <type name="gpointer" c:type="gpointer"/>
          </parameter>
        </parameters>
      </method>
      <method name="verify_update_finish"
              c:identifier="fwupd_client_verify_update_finish"
              version="1.5.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="2434">Gets the result of [method@FwupdClient.verify_update_async].</doc>
        <source-position filename="libfwupd/fwupd-client.h" line="168"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-client.c"
               line="2442">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2436">a #FwupdClient</doc>
            <type name="Client" c:type="FwupdClient*"/>
          </instance-parameter>
          <parameter name="res" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="2437">the asynchronous result</doc>
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
          </parameter>
        </parameters>
      </method>
      <property name="battery-level"
                version="1.8.1"
                writable="1"
                transfer-ownership="none"
                getter="get_battery_level">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5865">The system battery level in percent.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="battery-threshold"
                version="1.8.1"
                writable="1"
                transfer-ownership="none"
                getter="get_battery_threshold">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5881">The system battery threshold in percent.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="daemon-version"
                version="0.9.6"
                transfer-ownership="none"
                getter="get_daemon_version">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5753">The daemon version number.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="host-bkc"
                version="1.7.3"
                writable="1"
                transfer-ownership="none"
                getter="get_host_bkc">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5767">The host best known configuration.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="host-machine-id"
                version="1.3.2"
                writable="1"
                transfer-ownership="none"
                getter="get_host_machine_id">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5823">The host machine-id string</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="host-product"
                version="1.3.1"
                writable="1"
                transfer-ownership="none"
                getter="get_host_product">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5809">The host product string</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="host-security-id"
                version="1.5.0"
                writable="1"
                transfer-ownership="none"
                getter="get_host_security_id">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5837">The host machine-id string</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="host-vendor"
                version="1.8.2"
                writable="1"
                transfer-ownership="none"
                getter="get_host_vendor">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5795">The host vendor string</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="interactive" version="1.3.4" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5723">If the daemon is running in an interactive terminal</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="only-trusted"
                version="1.8.0"
                transfer-ownership="none"
                getter="get_only_trusted">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5851">If the daemon is verifying signatures from a trusted authority.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="percentage"
                version="0.7.3"
                writable="1"
                transfer-ownership="none"
                getter="get_percentage">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5737">The last-reported percentage of the daemon.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="soup-session" version="1.4.5" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5781">The libsoup session, now unused.</doc>
        <type name="GObject.Object"/>
      </property>
      <property name="status"
                version="0.7.0"
                writable="1"
                transfer-ownership="none"
                getter="get_status">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5693">The last-reported status of the daemon.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="tainted"
                version="1.2.4"
                transfer-ownership="none"
                getter="get_tainted">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5709">If the daemon is tainted by 3rd party code.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <glib:signal name="changed" when="last" version="0.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5565">The ::changed signal is emitted when the daemon internal has
changed, for instance when a device has been added or removed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="device-added" when="last" version="0.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5606">The ::device-added signal is emitted when a device has been
added.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5609">the #FwupdDevice</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-changed" when="last" version="0.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5649">The ::device-changed signal is emitted when a device has been
changed in some way, e.g. the version number is updated.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5652">the #FwupdDevice</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-removed" when="last" version="0.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5627">The ::device-removed signal is emitted when a device has been
removed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5630">the #FwupdDevice</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-request" when="last" version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.c"
             line="5671">The ::device-request signal is emitted when a device has been
emitted some kind of event, e.g. a manual action is required.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="msg" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-client.c"
                 line="5674">the #FwupdRequest</doc>
            <type name="Request"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="status-changed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ClientClass"
            c:type="FwupdClientClass"
            glib:is-gtype-struct-for="Client">
      <source-position filename="libfwupd/fwupd-client.h" line="37"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="changed">
        <callback name="changed">
          <source-position filename="libfwupd/fwupd-client.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="status_changed">
        <callback name="status_changed">
          <source-position filename="libfwupd/fwupd-client.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="status" transfer-ownership="none">
              <type name="Status" c:type="FwupdStatus"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_added">
        <callback name="device_added">
          <source-position filename="libfwupd/fwupd-client.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <type name="Device" c:type="FwupdDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_removed">
        <callback name="device_removed">
          <source-position filename="libfwupd/fwupd-client.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <type name="Device" c:type="FwupdDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_changed">
        <callback name="device_changed">
          <source-position filename="libfwupd/fwupd-client.h" line="28"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="result" transfer-ownership="none">
              <type name="Device" c:type="FwupdDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_request">
        <callback name="device_request">
          <source-position filename="libfwupd/fwupd-client.h" line="29"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="FwupdClient*"/>
            </parameter>
            <parameter name="request" transfer-ownership="none">
              <type name="Request" c:type="FwupdRequest*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-client.h" line="31"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-client.h" line="32"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-client.h" line="33"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-client.h" line="34"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-client.h" line="35"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-client.h" line="36"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <bitfield name="ClientDownloadFlags" c:type="FwupdClientDownloadFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-client.h"
           line="39">The options to use for downloading.</doc>
      <source-position filename="libfwupd/fwupd-client.h" line="51"/>
      <member name="none"
              value="0"
              c:identifier="FWUPD_CLIENT_DOWNLOAD_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.h"
             line="41">No flags set</doc>
      </member>
      <member name="only_ipfs"
              value="1"
              c:identifier="FWUPD_CLIENT_DOWNLOAD_FLAG_ONLY_IPFS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.h"
             line="42">Only use IPFS when downloading URIs</doc>
      </member>
    </bitfield>
    <bitfield name="ClientUploadFlags" c:type="FwupdClientUploadFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-client.h"
           line="53">The options to use for uploading.</doc>
      <source-position filename="libfwupd/fwupd-client.h" line="65"/>
      <member name="none"
              value="0"
              c:identifier="FWUPD_CLIENT_UPLOAD_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.h"
             line="55">No flags set</doc>
      </member>
      <member name="always_multipart"
              value="1"
              c:identifier="FWUPD_CLIENT_UPLOAD_FLAG_ALWAYS_MULTIPART">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-client.h"
             line="56">Always use multipart/form-data</doc>
      </member>
    </bitfield>
    <constant name="DBUS_INTERFACE"
              value="org.freedesktop.fwupd"
              c:type="FWUPD_DBUS_INTERFACE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.h"
           line="25">The dbus interface</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="30"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DBUS_P2P_SOCKET_ADDRESS"
              value="tcp:host=localhost,port=1341"
              c:type="FWUPD_DBUS_P2P_SOCKET_ADDRESS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.h"
           line="31">The D-Bus socket address when using point-to-point connections.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="36"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DBUS_PATH" value="/" c:type="FWUPD_DBUS_PATH">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.h"
           line="13">The dbus path</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="18"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DBUS_SERVICE"
              value="org.freedesktop.fwupd"
              c:type="FWUPD_DBUS_SERVICE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.h"
           line="19">The dbus service</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="24"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DEVICE_FLAG_ADD_COUNTERPART_GUIDS"
              value="34359738368"
              c:type="FWUPD_DEVICE_FLAG_ADD_COUNTERPART_GUIDS"
              version="1.4.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="400">The device will add counterpart GUIDs from an alternate mode like bootloader.
This flag is typically specified in a quirk.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="408"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_AFFECTS_FDE"
              value="35184372088832"
              c:type="FWUPD_DEVICE_FLAG_AFFECTS_FDE"
              version="1.7.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="489">The device is warning that a volume with full-disk-encryption was found on this machine,
typically a Windows NTFS partition with BitLocker.
Updating the firmware on this device may invalidate secrets used to decrypt the volume, and
the recovery key may be required.

Supported clients will display this information as a warning to the user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="501"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_ANOTHER_WRITE_REQUIRED"
              value="262144"
              c:type="FWUPD_DEVICE_FLAG_ANOTHER_WRITE_REQUIRED"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="252">The device requires the update to be retried, possibly with a different plugin.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="259"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_BACKUP_BEFORE_INSTALL"
              value="1099511627776"
              c:type="FWUPD_DEVICE_FLAG_BACKUP_BEFORE_INSTALL"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="443">The device firmware should be saved before installing firmware.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="450"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_CAN_VERIFY"
              value="33554432"
              c:type="FWUPD_DEVICE_FLAG_CAN_VERIFY"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="314">The device checksums can be compared against metadata.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="321"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_CAN_VERIFY_IMAGE"
              value="67108864"
              c:type="FWUPD_DEVICE_FLAG_CAN_VERIFY_IMAGE"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="322">The device application firmware image can be dumped from device for verification.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="329"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_DUAL_IMAGE"
              value="134217728"
              c:type="FWUPD_DEVICE_FLAG_DUAL_IMAGE"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="330">The device firmware update architecture uses a redundancy mechanism such
as A/B partitions for updates.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="338"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_END_OF_LIFE"
              value="70368744177664"
              c:type="FWUPD_DEVICE_FLAG_END_OF_LIFE"
              version="1.7.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="502">The device is no longer supported by the original hardware vendor as it is considered
end-of-life. It it unlikely to receive firmware updates, even for security issues.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="510"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_ENSURE_SEMVER"
              value="2097152"
              c:type="FWUPD_DEVICE_FLAG_ENSURE_SEMVER"
              version="1.2.9">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="279">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecate: 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="287"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_HAS_MULTIPLE_BRANCHES"
              value="549755813888"
              c:type="FWUPD_DEVICE_FLAG_HAS_MULTIPLE_BRANCHES"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="435">The device supports switching to a different stream of firmware.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="442"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_HISTORICAL"
              value="4194304"
              c:type="FWUPD_DEVICE_FLAG_HISTORICAL"
              version="1.3.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="288">The device is used for historical data only.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="295"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_IGNORE_VALIDATION"
              value="32768"
              c:type="FWUPD_DEVICE_FLAG_IGNORE_VALIDATION"
              version="1.1.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="227">When processing an update for the device, plugins should ignore all validation safety checks.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="234"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_INSTALL_ALL_RELEASES"
              value="2147483648"
              c:type="FWUPD_DEVICE_FLAG_INSTALL_ALL_RELEASES"
              version="1.3.7">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="365">Install each intermediate releases for the device rather than jumping directly to the newest.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="372"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_INSTALL_PARENT_FIRST"
              value="4096"
              c:type="FWUPD_DEVICE_FLAG_INSTALL_PARENT_FIRST"
              version="1.0.8">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="202">The composite device requires installation of composite firmware on the parent before the child.
Normally the child is installed before the parent.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="210"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_INTERNAL"
              value="1"
              c:type="FWUPD_DEVICE_FLAG_INTERNAL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="105">Device is internal to the platform and cannot be removed easily.

Since 0.1.3</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="112"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_IS_BOOTLOADER"
              value="8192"
              c:type="FWUPD_DEVICE_FLAG_IS_BOOTLOADER"
              version="1.0.8">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="211">The device is currently in a read-only bootloader mode and not running application code.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="218"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_LOCKED"
              value="16"
              c:type="FWUPD_DEVICE_FLAG_LOCKED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="138">The device can not be updated without manual user interaction.

Since 0.6.3</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="145"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_MD_SET_ICON"
              value="2199023255552"
              c:type="FWUPD_DEVICE_FLAG_MD_SET_ICON"
              version="1.5.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="451">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="459"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_MD_SET_NAME"
              value="4294967296"
              c:type="FWUPD_DEVICE_FLAG_MD_SET_NAME"
              version="1.4.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="373">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="381"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_MD_SET_NAME_CATEGORY"
              value="8589934592"
              c:type="FWUPD_DEVICE_FLAG_MD_SET_NAME_CATEGORY"
              version="1.4.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="382">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="390"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_MD_SET_VERFMT"
              value="17179869184"
              c:type="FWUPD_DEVICE_FLAG_MD_SET_VERFMT"
              version="1.4.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="391">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="399"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_ACTIVATION"
              value="1048576"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_ACTIVATION"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="269">The device update needs to be separately activated.
This process may occur automatically on shutdown in some operating systems
or when the device is unplugged with some devices.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="278"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_BOOTLOADER"
              value="64"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_BOOTLOADER">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="154">The device requires entering a bootloader mode to be manually.

Since 0.7.3</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="161"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_REBOOT"
              value="256"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_REBOOT">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="170">The device requires a system reboot to apply firmware or to reload hardware.

Since 0.9.7</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="177"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NEEDS_SHUTDOWN"
              value="131072"
              c:type="FWUPD_DEVICE_FLAG_NEEDS_SHUTDOWN"
              version="1.2.4">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="244">The device requires the system to be shutdown to finish application of new firmware.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="251"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NONE"
              value="0"
              c:type="FWUPD_DEVICE_FLAG_NONE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="97">No flags set

Since 0.1.3</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="104"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NOTIFIED"
              value="1024"
              c:type="FWUPD_DEVICE_FLAG_NOTIFIED"
              version="1.0.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="186">The user has been notified about a change in the device state.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="193"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NO_AUTO_INSTANCE_IDS"
              value="524288"
              c:type="FWUPD_DEVICE_FLAG_NO_AUTO_INSTANCE_IDS"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="260">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="268"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_NO_GUID_MATCHING"
              value="68719476736"
              c:type="FWUPD_DEVICE_FLAG_NO_GUID_MATCHING"
              version="1.4.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="409">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.8</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="417"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_ONLY_OFFLINE"
              value="4"
              c:type="FWUPD_DEVICE_FLAG_ONLY_OFFLINE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="121">Update can only be done from a limited functionality OS (offline mode).

Since 0.9.7</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="128"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_ONLY_SUPPORTED"
              value="8388608"
              c:type="FWUPD_DEVICE_FLAG_ONLY_SUPPORTED"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="296">Deprecated, no not use</doc>
      <doc-version xml:space="preserve">
Deprecated 1.5.5</doc-version>
      <source-position filename="libfwupd/fwupd-enums.h" line="304"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_ONLY_VERSION_UPGRADE"
              value="8796093022208"
              c:type="FWUPD_DEVICE_FLAG_ONLY_VERSION_UPGRADE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="472">The device firmware can only be updated to a newer version and never downgraded or reinstalled.

Since 1.6.2</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="479"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_REGISTERED"
              value="128"
              c:type="FWUPD_DEVICE_FLAG_REGISTERED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="162">The device has been registered with other plugins.

Since 0.9.7</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="169"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_REPORTED"
              value="512"
              c:type="FWUPD_DEVICE_FLAG_REPORTED"
              version="1.0.4">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="178">The success or failure of a previous update has been reported to a metadata server.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="185"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_REQUIRE_AC"
              value="8"
              c:type="FWUPD_DEVICE_FLAG_REQUIRE_AC">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="129">Device requires an external power source to be connected or the battery
level at a minimum threshold to update.

Since 0.6.3</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="137"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_SELF_RECOVERY"
              value="268435456"
              c:type="FWUPD_DEVICE_FLAG_SELF_RECOVERY"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="339">In flashing mode, the device will only accept intended payloads and will
revert back to a valid firmware image if an invalid or incomplete payload was sent.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="347"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_SIGNED_PAYLOAD"
              value="140737488355328"
              c:type="FWUPD_DEVICE_FLAG_SIGNED_PAYLOAD"
              version="1.7.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="511">The firmware payload is verified on-device the payload using strong cryptography such
as RSA, AES or ECC.

It is usually not possible to modify or flash custom firmware not provided by the vendor.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="521"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_SKIPS_RESTART"
              value="274877906944"
              c:type="FWUPD_DEVICE_FLAG_SKIPS_RESTART"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="427">The device relies upon activation or power cycle to load firmware.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="434"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_SUPPORTED"
              value="32"
              c:type="FWUPD_DEVICE_FLAG_SUPPORTED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="146">The device is found in metadata loaded into the daemon.

Since 0.7.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="153"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_TRUSTED"
              value="65536"
              c:type="FWUPD_DEVICE_FLAG_TRUSTED"
              version="1.1.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="235">A trusted client is reading information about the device.
Extra metadata such as serial number can be exposed about this device.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="243"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_UNREACHABLE"
              value="17592186044416"
              c:type="FWUPD_DEVICE_FLAG_UNREACHABLE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="480">The device is currently unreachable, perhaps because it is in a lower power state or is out of
wireless range.

Since 1.7.0</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="488"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_UNSIGNED_PAYLOAD"
              value="281474976710656"
              c:type="FWUPD_DEVICE_FLAG_UNSIGNED_PAYLOAD"
              version="1.7.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="522">The firmware payload is unsigned and it is possible to modify and flash custom firmware.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="529"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_UPDATABLE"
              value="2"
              c:type="FWUPD_DEVICE_FLAG_UPDATABLE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="113">Device has the ability to be updated in this or any other mode.

Since 0.9.7</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="120"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_UPDATABLE_HIDDEN"
              value="137438953472"
              c:type="FWUPD_DEVICE_FLAG_UPDATABLE_HIDDEN"
              version="1.4.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="418">The device is updatable but is currently inhbitied from updates in the client.
Reasons include but are not limited to low power or requiring reboot from a previous update.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="426"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_USABLE_DURING_UPDATE"
              value="536870912"
              c:type="FWUPD_DEVICE_FLAG_USABLE_DURING_UPDATE"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="348">The device remains usable while the update flashes or schedules the update.
The update will implicitly be applied next time the device is power cycled or possibly activated.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="356"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_USE_RUNTIME_VERSION"
              value="2048"
              c:type="FWUPD_DEVICE_FLAG_USE_RUNTIME_VERSION"
              version="1.0.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="194">The device will always display use the runtime version rather than the bootloader version.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="201"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_VERSION_CHECK_REQUIRED"
              value="1073741824"
              c:type="FWUPD_DEVICE_FLAG_VERSION_CHECK_REQUIRED"
              version="1.3.7">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="357">All firmware updates for this device require a firmware version check.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="364"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_WAIT_FOR_REPLUG"
              value="16384"
              c:type="FWUPD_DEVICE_FLAG_WAIT_FOR_REPLUG"
              version="1.1.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="219">The device is in the middle of and update and the hardware is waiting to be probed/replugged.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="226"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_WILDCARD_INSTALL"
              value="4398046511104"
              c:type="FWUPD_DEVICE_FLAG_WILDCARD_INSTALL"
              version="1.6.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="460">All devices with matching GUIDs will be updated at the same time.

For some devices it is not possible to have different versions of firmware
for hardware of the same type. Updating one device will force update of
others with exactly the same instance IDs.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="471"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_FLAG_WILL_DISAPPEAR"
              value="16777216"
              c:type="FWUPD_DEVICE_FLAG_WILL_DISAPPEAR"
              version="1.3.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="305">The device will disappear after the update is complete and success
or failure can't be verified.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="313"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_ID_ANY" value="*" c:type="FWUPD_DEVICE_ID_ANY">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.h"
           line="38">Wildcard used for matching all device ids in fwupd</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="43"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="DEVICE_PROBLEM_IS_EMULATED"
              value="64"
              c:type="FWUPD_DEVICE_PROBLEM_IS_EMULATED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="602">The device is emulated from a different host.

Since 1.8.3</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="609"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_LID_IS_CLOSED"
              value="32"
              c:type="FWUPD_DEVICE_PROBLEM_LID_IS_CLOSED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="594">The device cannot be used while the laptop lid is closed.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="601"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_MISSING_LICENSE"
              value="128"
              c:type="FWUPD_DEVICE_PROBLEM_MISSING_LICENSE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="610">The device cannot be updated due to missing vendor's license.

Since 1.8.6</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="617"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_NONE"
              value="0"
              c:type="FWUPD_DEVICE_PROBLEM_NONE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="546">No device problems detected.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="553"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_POWER_TOO_LOW"
              value="4"
              c:type="FWUPD_DEVICE_PROBLEM_POWER_TOO_LOW">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="570">The device battery power is too low.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="577"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_REQUIRE_AC_POWER"
              value="16"
              c:type="FWUPD_DEVICE_PROBLEM_REQUIRE_AC_POWER">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="586">The device requires AC power to be connected.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="593"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_SYSTEM_POWER_TOO_LOW"
              value="1"
              c:type="FWUPD_DEVICE_PROBLEM_SYSTEM_POWER_TOO_LOW">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="554">The system power is too low to perform the update.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="561"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_UNREACHABLE"
              value="2"
              c:type="FWUPD_DEVICE_PROBLEM_UNREACHABLE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="562">The device is unreachable, or out of wireless range.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="569"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="DEVICE_PROBLEM_UPDATE_PENDING"
              value="8"
              c:type="FWUPD_DEVICE_PROBLEM_UPDATE_PENDING">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="578">The device is waiting for the update to be applied.

Since 1.8.1</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="585"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <class name="Device"
           c:symbol-prefix="device"
           c:type="FwupdDevice"
           parent="GObject.Object"
           glib:type-name="FwupdDevice"
           glib:get-type="fwupd_device_get_type"
           glib:type-struct="DeviceClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-device.c"
           line="18">A physical device on the host with optionally updatable firmware.

See also: [class@FwupdRelease]</doc>
      <source-position filename="libfwupd/fwupd-device.h" line="29"/>
      <constructor name="new" c:identifier="fwupd_device_new" version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="4038">Creates a new device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="32"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="4043">a new #FwupdDevice</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
      </constructor>
      <function name="array_ensure_parents"
                c:identifier="fwupd_device_array_ensure_parents"
                version="1.3.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3943">Sets the parent object on all devices in the array using the parent ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="253"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="devices" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3945">devices</doc>
            <array name="GLib.PtrArray" c:type="GPtrArray*">
              <type name="Device"/>
            </array>
          </parameter>
        </parameters>
      </function>
      <function name="array_from_variant"
                c:identifier="fwupd_device_array_from_variant"
                version="1.2.10">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3980">Creates an array of new devices using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="251"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="3986">devices, or %NULL if @value was invalid</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3982">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_from_string"
                c:identifier="fwupd_device_flag_from_string"
                version="0.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="217">Converts a string to an enumerated device flag.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1052"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="223">enumerated value</doc>
          <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
        </return-value>
        <parameters>
          <parameter name="device_flag"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="219">a string, e.g. `require-ac`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_device_flag_to_string"
                version="0.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="99">Converts a device flag to a string.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1050"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="105">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="device_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="101">a device flag, e.g. %FWUPD_DEVICE_FLAG_REQUIRE_AC</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_device_from_variant"
                version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3910">Creates a new device using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="249"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="3916">a new #FwupdDevice, or %NULL if @value was invalid</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3912">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="id_is_valid"
                c:identifier="fwupd_device_id_is_valid"
                version="1.4.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="891">Checks the string is a valid non-partial device ID. It is important to note
that the wildcard ID of `*` is not considered a valid ID in this function and
the client must check for this manually if this should be allowed.</doc>
        <source-position filename="libfwupd/fwupd-common.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="899">%TRUE if @guid was a fwupd device ID, %FALSE otherwise</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <parameter name="device_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-common.c"
                 line="893">string to check, e.g. `d3fae86d95e5d56626129d00e332c4b8dac95442`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="problem_from_string"
                c:identifier="fwupd_device_problem_from_string"
                version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="370">Converts a string to a enumerated device inhibit kind.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1056"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="376">enumerated value</doc>
          <type name="DeviceProblem" c:type="FwupdDeviceProblem"/>
        </return-value>
        <parameters>
          <parameter name="device_problem"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="372">a string, e.g. `require-ac`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="problem_to_string"
                c:identifier="fwupd_device_problem_to_string"
                version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="334">Converts a device inhibit kind to a string.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1054"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="340">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="device_problem" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="336">a device inhibit kind, e.g. %FWUPD_DEVICE_PROBLEM_SYSTEM_POWER_TOO_LOW</doc>
            <type name="DeviceProblem" c:type="FwupdDeviceProblem"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_checksum"
              c:identifier="fwupd_device_add_checksum"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="143">Adds a device checksum.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="159"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="145">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="146">the device checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_child"
              c:identifier="fwupd_device_add_child"
              version="1.5.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="552">Adds a child device. An child device is logically linked to the primary
device in some way.

NOTE: You should never call this function from user code, it is for daemon
use only. Only use fwupd_device_set_parent() to set up a logical tree.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="55"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="554">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="555">Another #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_flag"
              c:identifier="fwupd_device_add_flag"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1632">Adds a specific device flag to the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="133"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1634">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1635">the #FwupdDeviceFlags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_guid"
              c:identifier="fwupd_device_add_guid"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="656">Adds the GUID if it does not already exist.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="195"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="658">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="659">the GUID, e.g. `2082b5e0-7a64-478a-b1b2-e3404fab6dad`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_icon"
              c:identifier="fwupd_device_add_icon"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="805">Adds the icon name if it does not already exist.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="209"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="807">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="808">the icon name, e.g. `input-mouse` or `/usr/share/icons/foo.png`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_instance_id"
              c:identifier="fwupd_device_add_instance_id"
              version="1.2.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="741">Adds the instance ID if it does not already exist.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="203"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="743">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="instance_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="744">the instance ID, e.g. `PCI\VEN_10EC&amp;DEV_525A`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_issue"
              c:identifier="fwupd_device_add_issue"
              version="1.7.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="182">Adds an current issue to this device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="217"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="184">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="185">the update issue, e.g. `CVE-2019-12345`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_problem"
              c:identifier="fwupd_device_add_problem"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1733">Adds a specific device problem kind to the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="143"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1735">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="problem" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1736">the #FwupdDeviceProblem, e.g. #FWUPD_DEVICE_PROBLEM_SYSTEM_POWER_TOO_LOW</doc>
            <type name="DeviceProblem" c:type="FwupdDeviceProblem"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_protocol"
              c:identifier="fwupd_device_add_protocol"
              version="1.5.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1562">Adds a device protocol name.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="173"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1564">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1565">the protocol name, e.g. `com.hughski.colorhug`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_release"
              c:identifier="fwupd_device_add_release"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2815">Adds a release for this device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="240"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2817">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="release" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2818">a release</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_vendor_id"
              c:identifier="fwupd_device_add_vendor_id"
              version="1.5.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="997">Adds a device vendor ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="189"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="999">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="vendor_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1000">the ID, e.g. 'USB:0x1234'</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="compare"
              c:identifier="fwupd_device_compare"
              version="1.1.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="4017">Comparison function for comparing two device objects.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="246"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="4024">negative, 0 or positive</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self1" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="4019">a device</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="self2" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="4020">a different device</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="from_json"
              c:identifier="fwupd_device_from_json"
              version="1.8.3"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3069">Loads a fwupd security attribute from a JSON node.</doc>
        <source-position filename="libfwupd/fwupd-device-private.h" line="26"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="3077">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3071">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="json_node" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3072">a JSON node</doc>
            <type name="Json.Node" c:type="JsonNode*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_battery_level"
              c:identifier="fwupd_device_get_battery_level"
              glib:get-property="battery-level"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1298">Returns the battery level.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1304">value in percent</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1300">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_battery_threshold"
              c:identifier="fwupd_device_get_battery_threshold"
              glib:get-property="battery-threshold"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1342">Returns the battery threshold under which a firmware update cannot be
performed.

If fwupd_device_set_battery_threshold() has not been used, a default value is
used instead.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1352">value in percent</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1344">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_branch"
              c:identifier="fwupd_device_get_branch"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="264">Gets the current device branch.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="270">the device branch, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="266">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksums"
              c:identifier="fwupd_device_get_checksums"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="98">Gets the device checksums.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="157"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="104">the checksums, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="100">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_children"
              c:identifier="fwupd_device_get_children"
              version="1.3.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="205">Gets the device children. These can only be assigned using fwupd_device_set_parent().</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="211">the children, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="207">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_composite_id"
              c:identifier="fwupd_device_get_composite_id"
              version="1.6.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="428">Gets the composite ID, falling back to the device ID if unset.

The composite ID will be the same value for all parent, child and sibling
devices.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="45"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="437">the composite ID</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="430">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_created"
              c:identifier="fwupd_device_get_created"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1796">Gets when the device was created.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="149"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1802">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1798">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="fwupd_device_get_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1029">Gets the device description in AppStream markup format.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="77"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1035">the device description, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1031">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_device_get_flags"
              glib:get-property="flags"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1594">Gets device flags.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1600">device flags, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1596">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flashes_left"
              c:identifier="fwupd_device_get_flashes_left"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1263">Gets the number of flash cycles left on the device</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="113"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1269">the flash cycles left, or %NULL if unset</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1265">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_guid_default"
              c:identifier="fwupd_device_get_guid_default"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="676">Gets the default GUID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="201"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="682">the GUID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="678">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_guids"
              c:identifier="fwupd_device_get_guids"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="611">Gets the GUIDs.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="199"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="617">the GUIDs</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="613">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_icons"
              c:identifier="fwupd_device_get_icons"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="761">Gets the icon names to use for the device.

NOTE: Icons specified without a full path are stock icons and should
be loaded from the users icon theme.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="213"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="770">an array of icon names</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="763">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id" c:identifier="fwupd_device_get_id" version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="346">Gets the ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="37"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="352">the ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="348">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_install_duration"
              c:identifier="fwupd_device_get_install_duration"
              version="1.1.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1396">Gets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="125"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1402">the estimated time to flash this device (or 0 if unset)</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1398">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_instance_ids"
              c:identifier="fwupd_device_get_instance_ids"
              version="1.2.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="696">Gets the instance IDs.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="207"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="702">the instance IDs</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="698">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issues"
              c:identifier="fwupd_device_get_issues"
              version="1.7.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="164">Gets the list of issues currently affecting this device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="215"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="170">the issues, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="166">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_modified"
              c:identifier="fwupd_device_get_modified"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1831">Gets when the device was modified.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="153"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1837">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1833">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_device_get_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="825">Gets the device name.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="61"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="831">the device name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="827">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent"
              c:identifier="fwupd_device_get_parent"
              glib:get-property="parent"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="475">Gets the parent.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="51"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="481">the parent device, or %NULL if unset</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="477">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_parent_id"
              c:identifier="fwupd_device_get_parent_id"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="387">Gets the parent ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="41"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="393">the parent ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="389">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin"
              c:identifier="fwupd_device_get_plugin"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1431">Gets the plugin that created the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="163"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1437">the plugin name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1433">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_problems"
              c:identifier="fwupd_device_get_problems"
              glib:get-property="problems"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1695">Gets device problems.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="139"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1701">device problems, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1697">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_protocol"
              c:identifier="fwupd_device_get_protocol"
              glib:get-property="protocol"
              version="1.3.6"
              deprecated="1"
              deprecated-version="1.5.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1472">Gets the protocol name that the device uses for updating.</doc>
        <doc-deprecated xml:space="preserve">Use fwupd_device_get_protocols() instead.</doc-deprecated>
        <source-position filename="libfwupd/fwupd-device.h" line="168"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1478">the protocol name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1474">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_protocols"
              c:identifier="fwupd_device_get_protocols"
              version="1.5.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1517">Gets the device protocol names.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="177"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1523">the device protocol names</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1519">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_release_default"
              c:identifier="fwupd_device_get_release_default"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2777">Gets the default release for this device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="244"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2783">the #FwupdRelease, or %NULL if not set</doc>
          <type name="Release" c:type="FwupdRelease*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2779">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_releases"
              c:identifier="fwupd_device_get_releases"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2797">Gets all the releases for this device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="242"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2803">array of releases</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2799">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_root"
              c:identifier="fwupd_device_get_root"
              version="1.7.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="493">Gets the device root.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="49"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="499">the root device, or %NULL if unset</doc>
          <type name="Device" c:type="FwupdDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="495">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_serial"
              c:identifier="fwupd_device_get_serial"
              version="1.1.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="305">Gets the serial number for the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="311">a string value, or %NULL if never set.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="307">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_status"
              c:identifier="fwupd_device_get_status"
              glib:get-property="status"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2833">Returns what the device is currently doing.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="236"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2839">the status value, e.g. %FWUPD_STATUS_DEVICE_WRITE</doc>
          <type name="Status" c:type="FwupdStatus"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2835">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary"
              c:identifier="fwupd_device_get_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="223">Gets the device summary.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="69"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="229">the device summary, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="225">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_error"
              c:identifier="fwupd_device_get_update_error"
              glib:get-property="update-error"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2735">Gets the update error string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="224"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2741">the update error string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2737">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_image"
              c:identifier="fwupd_device_get_update_image"
              glib:get-property="update-image"
              version="1.4.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2693">Gets the update image URL.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="232"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2699">the update image URL, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2695">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_message"
              c:identifier="fwupd_device_get_update_message"
              glib:get-property="update-message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2651">Gets the update message string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="228"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2657">the update message string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2653">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_state"
              c:identifier="fwupd_device_get_update_state"
              glib:get-property="update-state"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2508">Gets the update state.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="220"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2514">the update state, or %FWUPD_UPDATE_STATE_UNKNOWN if unset</doc>
          <type name="UpdateState" c:type="FwupdUpdateState"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2510">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor"
              c:identifier="fwupd_device_get_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="866">Gets the device vendor.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="179"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="872">the device vendor, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="868">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor_id"
              c:identifier="fwupd_device_get_vendor_id"
              version="0.9.4"
              deprecated="1"
              deprecated-version="1.5.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="907">Gets the combined device vendor ID.</doc>
        <doc-deprecated xml:space="preserve">Use fwupd_device_get_vendor_ids() instead.</doc-deprecated>
        <source-position filename="libfwupd/fwupd-device.h" line="184"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="913">the device vendor, e.g. 'USB:0x1234|PCI:0x5678', or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="909">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor_ids"
              c:identifier="fwupd_device_get_vendor_ids"
              version="1.5.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="952">Gets the device vendor ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="193"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="958">the device vendor ID</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="954">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version"
              c:identifier="fwupd_device_get_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1070">Gets the device version.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="81"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1076">the device version, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1072">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_bootloader"
              c:identifier="fwupd_device_get_version_bootloader"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1187">Gets the version of the bootloader.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="93"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1193">the device version_bootloader, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1189">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_bootloader_raw"
              c:identifier="fwupd_device_get_version_bootloader_raw"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1228">Gets the bootloader version of firmware the device will accept in raw format.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="97"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1234">integer version number, or %0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1230">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_build_date"
              c:identifier="fwupd_device_get_version_build_date"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2616">Gets the date when the firmware was built.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="105"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2622">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2618">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_format"
              c:identifier="fwupd_device_get_version_format"
              glib:get-property="version-format"
              version="1.2.9">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2546">Gets the version format.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="109"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2552">the version format, or %FWUPD_VERSION_FORMAT_UNKNOWN if unset</doc>
          <type name="VersionFormat" c:type="FwupdVersionFormat"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2548">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_lowest"
              c:identifier="fwupd_device_get_version_lowest"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1111">Gets the lowest version of firmware the device will accept.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1117">the device version_lowest, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1113">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_lowest_raw"
              c:identifier="fwupd_device_get_version_lowest_raw"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1152">Gets the lowest version of firmware the device will accept in raw format.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="89"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1158">integer version number, or %0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1154">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version_raw"
              c:identifier="fwupd_device_get_version_raw"
              version="1.3.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2581">Gets the raw version number from the hardware before converted to a string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="101"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2587">the hardware version, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2583">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_checksum"
              c:identifier="fwupd_device_has_checksum"
              version="1.8.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="116">Finds out if the device has this specific checksum.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="161"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="123">%TRUE if the checksum name is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="118">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="119">the device checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_device_has_flag"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1676">Finds if the device has a specific device flag.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="137"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1683">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1678">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1679">the #FwupdDeviceFlags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_guid"
              c:identifier="fwupd_device_has_guid"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="629">Finds out if the device has this specific GUID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="197"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="636">%TRUE if the GUID is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="631">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="632">the GUID, e.g. `2082b5e0-7a64-478a-b1b2-e3404fab6dad`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_icon"
              c:identifier="fwupd_device_has_icon"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="782">Finds out if the device has this specific icon.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="211"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="789">%TRUE if the icon name is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="784">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="icon" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="785">the icon name, e.g. `input-mouse` or `/usr/share/icons/foo.png`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_instance_id"
              c:identifier="fwupd_device_has_instance_id"
              version="1.2.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="714">Finds out if the device has this specific instance ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="205"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="721">%TRUE if the instance ID is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="716">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="instance_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="717">the instance ID, e.g. `PCI\VEN_10EC&amp;DEV_525A`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_problem"
              c:identifier="fwupd_device_has_problem"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1777">Finds if the device has a specific device problem kind.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1784">%TRUE if the problem is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1779">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="problem" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1780">the #FwupdDeviceProblem</doc>
            <type name="DeviceProblem" c:type="FwupdDeviceProblem"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_protocol"
              c:identifier="fwupd_device_has_protocol"
              version="1.5.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1535">Finds out if the device has this specific protocol name.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="175"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1542">%TRUE if the protocol name is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1537">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1538">the protocol name, e.g. `com.hughski.colorhug`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_vendor_id"
              c:identifier="fwupd_device_has_vendor_id"
              version="1.5.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="970">Finds out if the device has this specific vendor ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="191"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="977">%TRUE if the vendor ID is found</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="972">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="vendor_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="973">the vendor ID, e.g. 'USB:0x1234'</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="incorporate"
              c:identifier="fwupd_device_incorporate"
              version="1.1.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1866">Copy all properties from the donor object if they have not already been set.</doc>
        <source-position filename="libfwupd/fwupd-device-private.h" line="20"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1868">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="donor" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1869">Another #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_child"
              c:identifier="fwupd_device_remove_child"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="583">Removes a child device.

NOTE: You should never call this function from user code, it is for daemon
use only.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="585">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="child" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="586">Another #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_device_remove_flag"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1654">Removes a specific device flag from the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="135"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1656">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1657">the #FwupdDeviceFlags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_problem"
              c:identifier="fwupd_device_remove_problem"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1755">Removes a specific device problem kind from the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="145"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1757">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="problem" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1758">the #FwupdDeviceProblem, e.g. #FWUPD_DEVICE_PROBLEM_SYSTEM_POWER_TOO_LOW</doc>
            <type name="DeviceProblem" c:type="FwupdDeviceProblem"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_battery_level"
              c:identifier="fwupd_device_set_battery_level"
              glib:set-property="battery-level"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1316">Sets the battery level, or %FWUPD_BATTERY_LEVEL_INVALID.

Setting this allows fwupd to show a warning if the device change is too low
to perform the update.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="119"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1318">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="battery_level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1319">the percentage value</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_battery_threshold"
              c:identifier="fwupd_device_set_battery_threshold"
              glib:set-property="battery-threshold"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1370">Sets the battery level, or %FWUPD_BATTERY_LEVEL_INVALID for the default.

Setting this allows fwupd to show a warning if the device change is too low
to perform the update.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="123"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1372">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="battery_threshold" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1373">the percentage value</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_branch"
              c:identifier="fwupd_device_set_branch"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="282">Sets the current device branch.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="75"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="284">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="285">the device one line branch</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_composite_id"
              c:identifier="fwupd_device_set_composite_id"
              version="1.6.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="451">Sets the composite ID, which is usually a SHA1 hash of a grandparent or
parent device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="47"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="453">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="composite_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="454">a device ID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_created"
              c:identifier="fwupd_device_set_created"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1814">Sets when the device was created.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="151"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1816">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="created" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1817">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="fwupd_device_set_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1047">Sets the device description.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="79"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1049">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="description"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1050">the description in AppStream markup format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_device_set_flags"
              glib:set-property="flags"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1612">Sets device flags.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="131"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1614">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1615">device flags, e.g. %FWUPD_DEVICE_FLAG_REQUIRE_AC</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flashes_left"
              c:identifier="fwupd_device_set_flashes_left"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1281">Sets the number of flash cycles left on the device</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="115"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1283">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flashes_left" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1284">the description</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id" c:identifier="fwupd_device_set_id" version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="364">Sets the ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="39"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="366">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="367">the device ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_install_duration"
              c:identifier="fwupd_device_set_install_duration"
              version="1.1.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1414">Sets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="127"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1416">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1417">the amount of time</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_modified"
              c:identifier="fwupd_device_set_modified"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1849">Sets when the device was modified.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="155"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1851">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="modified" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1852">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_device_set_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="843">Sets the device name.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="845">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="846">the device name, e.g. `ColorHug2`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent"
              c:identifier="fwupd_device_set_parent"
              glib:set-property="parent"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="516">Sets the parent. Only used internally.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="53"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="518">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="parent"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="519">another #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_parent_id"
              c:identifier="fwupd_device_set_parent_id"
              version="1.0.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="405">Sets the parent ID.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="43"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="407">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="parent_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="408">the device ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_plugin"
              c:identifier="fwupd_device_set_plugin"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1449">Sets the plugin that created the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="165"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1451">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="plugin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1452">the plugin name, e.g. `colorhug`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_problems"
              c:identifier="fwupd_device_set_problems"
              glib:set-property="problems"
              version="1.8.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1713">Sets device problems.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="141"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1715">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="problems" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1716">device problems, e.g. %FWUPD_DEVICE_PROBLEM_SYSTEM_POWER_TOO_LOW</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_protocol"
              c:identifier="fwupd_device_set_protocol"
              glib:set-property="protocol"
              version="1.3.6"
              deprecated="1"
              deprecated-version="1.5.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1492">Sets the protocol name that is used to update the device.</doc>
        <doc-deprecated xml:space="preserve">Use fwupd_device_add_protocol() instead.</doc-deprecated>
        <source-position filename="libfwupd/fwupd-device.h" line="171"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1494">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="protocol" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1495">the protocol name, e.g. `com.hughski.colorhug`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_serial"
              c:identifier="fwupd_device_set_serial"
              version="1.1.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="323">Sets the serial number for the device.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="67"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="325">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="serial"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="326">the device serial number</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_status"
              c:identifier="fwupd_device_set_status"
              glib:set-property="status"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2851">Sets what the device is currently doing.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="238"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2853">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="status" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2854">the status value, e.g. %FWUPD_STATUS_DEVICE_WRITE</doc>
            <type name="Status" c:type="FwupdStatus"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_summary"
              c:identifier="fwupd_device_set_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="241">Sets the device summary.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="71"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="243">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="summary"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="244">the device one line summary</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_error"
              c:identifier="fwupd_device_set_update_error"
              glib:set-property="update-error"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2753">Sets the update error string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="226"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2755">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_error"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2756">the update error string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_image"
              c:identifier="fwupd_device_set_update_image"
              glib:set-property="update-image"
              version="1.4.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2711">Sets the update image URL.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="234"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2713">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_image"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2714">the update image URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_message"
              c:identifier="fwupd_device_set_update_message"
              glib:set-property="update-message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2669">Sets the update message string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="230"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2671">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_message"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2672">the update message string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_state"
              c:identifier="fwupd_device_set_update_state"
              glib:set-property="update-state"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2526">Sets the update state.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="222"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2528">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="update_state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2529">the state, e.g. %FWUPD_UPDATE_STATE_PENDING</doc>
            <type name="UpdateState" c:type="FwupdUpdateState"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_vendor"
              c:identifier="fwupd_device_set_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="884">Sets the device vendor.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="181"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="886">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="vendor"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="887">the vendor</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_vendor_id"
              c:identifier="fwupd_device_set_vendor_id"
              version="0.9.4"
              deprecated="1"
              deprecated-version="1.5.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="927">Sets the device vendor ID.</doc>
        <doc-deprecated xml:space="preserve">Use fwupd_device_add_vendor_id() instead.</doc-deprecated>
        <source-position filename="libfwupd/fwupd-device.h" line="187"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="929">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="vendor_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="930">the vendor ID, e.g. 'USB:0x1234' or 'USB:0x1234|PCI:0x5678'</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version"
              c:identifier="fwupd_device_set_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1088">Sets the device version.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="83"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1090">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1091">the device version, e.g. `1.2.3`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_bootloader"
              c:identifier="fwupd_device_set_version_bootloader"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1205">Sets the bootloader version.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="95"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1207">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_bootloader"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1208">the version</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_bootloader_raw"
              c:identifier="fwupd_device_set_version_bootloader_raw"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1246">Sets the raw bootloader version number from the hardware before converted to a string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="99"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1248">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_bootloader_raw" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1249">the raw hardware version</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_build_date"
              c:identifier="fwupd_device_set_version_build_date"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2634">Sets the date when the firmware was built.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="107"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2636">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_build_date" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2637">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_format"
              c:identifier="fwupd_device_set_version_format"
              glib:set-property="version-format"
              version="1.2.9">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2564">Sets the version format.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="111"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2566">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_format" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2567">the version format, e.g. %FWUPD_VERSION_FORMAT_NUMBER</doc>
            <type name="VersionFormat" c:type="FwupdVersionFormat"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_lowest"
              c:identifier="fwupd_device_set_version_lowest"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1129">Sets the lowest version of firmware the device will accept.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="87"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1131">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_lowest"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1132">the version</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_lowest_raw"
              c:identifier="fwupd_device_set_version_lowest_raw"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1170">Sets the raw lowest version number from the hardware before converted to a string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="91"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1172">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_lowest_raw" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1173">the raw hardware version</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version_raw"
              c:identifier="fwupd_device_set_version_raw"
              version="1.3.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2599">Sets the raw version number from the hardware before converted to a string.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="103"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2601">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="version_raw" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2602">the raw hardware version</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_device_to_json"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3357">Adds a fwupd device to a JSON builder</doc>
        <source-position filename="libfwupd/fwupd-device-private.h" line="22"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3359">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3360">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json_full"
              c:identifier="fwupd_device_to_json_full"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2879">Adds a fwupd device to a JSON builder
Optionally provides additional data based upon flags</doc>
        <source-position filename="libfwupd/fwupd-device-private.h" line="24"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2881">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2882">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2883">device flags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_device_to_string"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3407">Builds a text representation of the object.</doc>
        <source-position filename="libfwupd/fwupd-device.h" line="34"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="3413">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="3409">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_device_to_variant"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="2270">Serialize the device data omitting sensitive fields</doc>
        <source-position filename="libfwupd/fwupd-device-private.h" line="16"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="2276">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="2272">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant_full"
              c:identifier="fwupd_device_to_variant_full"
              version="1.1.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="1972">Serialize the device data.
Optionally provides additional data based upon flags</doc>
        <source-position filename="libfwupd/fwupd-device-private.h" line="18"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-device.c"
               line="1980">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1974">a #FwupdDevice</doc>
            <type name="Device" c:type="FwupdDevice*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-device.c"
                 line="1975">device flags</doc>
            <type name="DeviceFlags" c:type="FwupdDeviceFlags"/>
          </parameter>
        </parameters>
      </method>
      <property name="battery-level"
                version="1.5.8"
                writable="1"
                transfer-ownership="none"
                setter="set_battery_level"
                getter="get_battery_level">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3805">The device battery level in percent.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="battery-threshold"
                version="1.5.8"
                writable="1"
                transfer-ownership="none"
                setter="set_battery_threshold"
                getter="get_battery_threshold">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3821">The device battery threshold in percent.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="flags"
                version="0.9.3"
                writable="1"
                transfer-ownership="none"
                setter="set_flags"
                getter="get_flags">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3670">The device flags.</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="parent"
                version="1.0.8"
                writable="1"
                construct="1"
                transfer-ownership="none"
                setter="set_parent"
                getter="get_parent">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3733">The device parent.</doc>
        <type name="Device"/>
      </property>
      <property name="problems"
                version="1.8.1"
                writable="1"
                transfer-ownership="none"
                setter="set_problems"
                getter="get_problems">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3686">The problems with the device that the user could fix, e.g. "lid open".</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="protocol"
                version="1.3.6"
                deprecated="1"
                deprecated-version="1.5.8"
                writable="1"
                transfer-ownership="none"
                setter="set_protocol"
                getter="get_protocol">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3702">The device protocol.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="status"
                version="1.4.0"
                writable="1"
                transfer-ownership="none"
                setter="set_status"
                getter="get_status">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3717">The current device status.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="update-error"
                version="0.9.8"
                writable="1"
                transfer-ownership="none"
                setter="set_update_error"
                getter="get_update_error">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3777">The device update error.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="update-image"
                version="1.4.5"
                writable="1"
                transfer-ownership="none"
                setter="set_update_image"
                getter="get_update_image">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3791">The update image for the device.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="update-message"
                version="1.2.4"
                writable="1"
                transfer-ownership="none"
                setter="set_update_message"
                getter="get_update_message">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3763">The device update message.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="update-state"
                version="0.9.8"
                writable="1"
                transfer-ownership="none"
                setter="set_update_state"
                getter="get_update_state">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3747">The device update state.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="version-format"
                version="1.2.9"
                writable="1"
                transfer-ownership="none"
                setter="set_version_format"
                getter="get_version_format">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-device.c"
             line="3654">The version format of the device.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="DeviceClass"
            c:type="FwupdDeviceClass"
            glib:is-gtype-struct-for="Device">
      <source-position filename="libfwupd/fwupd-device.h" line="29"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-device.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-device.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-device.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-device.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-device.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-device.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-device.h" line="28"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="Error"
                 c:type="FwupdError"
                 glib:error-domain="FwupdError">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-error.h"
           line="15">The error code.</doc>
      <source-position filename="libfwupd/fwupd-error.h" line="59"/>
      <member name="internal" value="0" c:identifier="FWUPD_ERROR_INTERNAL">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="17">Internal error</doc>
      </member>
      <member name="version_newer"
              value="1"
              c:identifier="FWUPD_ERROR_VERSION_NEWER">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="18">Installed newer firmware version</doc>
      </member>
      <member name="version_same"
              value="2"
              c:identifier="FWUPD_ERROR_VERSION_SAME">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="19">Installed same firmware version</doc>
      </member>
      <member name="already_pending"
              value="3"
              c:identifier="FWUPD_ERROR_ALREADY_PENDING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="20">Already set to be installed offline</doc>
      </member>
      <member name="auth_failed"
              value="4"
              c:identifier="FWUPD_ERROR_AUTH_FAILED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="21">Failed to get authentication</doc>
      </member>
      <member name="read" value="5" c:identifier="FWUPD_ERROR_READ">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="22">Failed to read from device</doc>
      </member>
      <member name="write" value="6" c:identifier="FWUPD_ERROR_WRITE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="23">Failed to write to the device</doc>
      </member>
      <member name="invalid_file"
              value="7"
              c:identifier="FWUPD_ERROR_INVALID_FILE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="24">Invalid file format</doc>
      </member>
      <member name="not_found" value="8" c:identifier="FWUPD_ERROR_NOT_FOUND">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="25">No matching device exists</doc>
      </member>
      <member name="nothing_to_do"
              value="9"
              c:identifier="FWUPD_ERROR_NOTHING_TO_DO">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="26">Nothing to do</doc>
      </member>
      <member name="not_supported"
              value="10"
              c:identifier="FWUPD_ERROR_NOT_SUPPORTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="27">Action was not possible</doc>
      </member>
      <member name="signature_invalid"
              value="11"
              c:identifier="FWUPD_ERROR_SIGNATURE_INVALID">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="28">Signature was invalid</doc>
      </member>
      <member name="ac_power_required"
              value="12"
              c:identifier="FWUPD_ERROR_AC_POWER_REQUIRED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="29">AC power was required</doc>
      </member>
      <member name="permission_denied"
              value="13"
              c:identifier="FWUPD_ERROR_PERMISSION_DENIED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="30">Permission was denied</doc>
      </member>
      <member name="broken_system"
              value="14"
              c:identifier="FWUPD_ERROR_BROKEN_SYSTEM">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="31">User has configured their system in a broken way</doc>
      </member>
      <member name="battery_level_too_low"
              value="15"
              c:identifier="FWUPD_ERROR_BATTERY_LEVEL_TOO_LOW">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="32">The system battery level is too low</doc>
      </member>
      <member name="needs_user_action"
              value="16"
              c:identifier="FWUPD_ERROR_NEEDS_USER_ACTION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="33">User needs to do an action to complete the update</doc>
      </member>
      <member name="auth_expired"
              value="17"
              c:identifier="FWUPD_ERROR_AUTH_EXPIRED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.h"
             line="34">Failed to get auth as credentials have expired</doc>
      </member>
    </enumeration>
    <bitfield name="FeatureFlags" c:type="FwupdFeatureFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="67">The flags to the feature capabilities of the front-end client.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="95"/>
      <member name="none" value="0" c:identifier="FWUPD_FEATURE_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="69">No trust</doc>
      </member>
      <member name="can_report"
              value="1"
              c:identifier="FWUPD_FEATURE_FLAG_CAN_REPORT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="70">Can upload a report of the update back to the server</doc>
      </member>
      <member name="detach_action"
              value="2"
              c:identifier="FWUPD_FEATURE_FLAG_DETACH_ACTION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="71">Can perform detach action, typically showing text</doc>
      </member>
      <member name="update_action"
              value="4"
              c:identifier="FWUPD_FEATURE_FLAG_UPDATE_ACTION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="72">Can perform update action, typically showing text</doc>
      </member>
      <member name="switch_branch"
              value="8"
              c:identifier="FWUPD_FEATURE_FLAG_SWITCH_BRANCH">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="73">Can switch the firmware branch</doc>
      </member>
      <member name="requests"
              value="16"
              c:identifier="FWUPD_FEATURE_FLAG_REQUESTS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="74">Can show interactive requests</doc>
      </member>
      <member name="fde_warning"
              value="32"
              c:identifier="FWUPD_FEATURE_FLAG_FDE_WARNING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="75">Can warn about full disk encryption</doc>
      </member>
      <member name="community_text"
              value="64"
              c:identifier="FWUPD_FEATURE_FLAG_COMMUNITY_TEXT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="76">Can show information about community supported</doc>
      </member>
      <member name="show_problems"
              value="128"
              c:identifier="FWUPD_FEATURE_FLAG_SHOW_PROBLEMS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="77">Can show problems when getting the update list</doc>
      </member>
      <member name="allow_authentication"
              value="256"
              c:identifier="FWUPD_FEATURE_FLAG_ALLOW_AUTHENTICATION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="78">Can authenticate with PolicyKit for requests</doc>
      </member>
    </bitfield>
    <bitfield name="GuidFlags" c:type="FwupdGuidFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.h"
           line="45">The flags to show how the data should be converted.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="59"/>
      <member name="none" value="0" c:identifier="FWUPD_GUID_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.h"
             line="47">No trust</doc>
      </member>
      <member name="namespace_microsoft"
              value="1"
              c:identifier="FWUPD_GUID_FLAG_NAMESPACE_MICROSOFT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.h"
             line="48">Use the Microsoft-compatible namespace</doc>
      </member>
      <member name="mixed_endian"
              value="2"
              c:identifier="FWUPD_GUID_FLAG_MIXED_ENDIAN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.h"
             line="49">Use EFI mixed endian representation</doc>
      </member>
    </bitfield>
    <bitfield name="InstallFlags" c:type="FwupdInstallFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="906">Flags to set when performing the firmware update or install.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="937"/>
      <member name="none" value="0" c:identifier="FWUPD_INSTALL_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="908">No flags set</doc>
      </member>
      <member name="offline"
              value="1"
              c:identifier="FWUPD_INSTALL_FLAG_OFFLINE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="909">Schedule this for next boot</doc>
      </member>
      <member name="allow_reinstall"
              value="2"
              c:identifier="FWUPD_INSTALL_FLAG_ALLOW_REINSTALL">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="910">Allow reinstalling the same version</doc>
      </member>
      <member name="allow_older"
              value="4"
              c:identifier="FWUPD_INSTALL_FLAG_ALLOW_OLDER">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="911">Allow downgrading firmware</doc>
      </member>
      <member name="force" value="8" c:identifier="FWUPD_INSTALL_FLAG_FORCE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="912">Force the update even if not a good idea</doc>
      </member>
      <member name="no_history"
              value="16"
              c:identifier="FWUPD_INSTALL_FLAG_NO_HISTORY">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="913">Do not write to the history database</doc>
      </member>
      <member name="allow_branch_switch"
              value="32"
              c:identifier="FWUPD_INSTALL_FLAG_ALLOW_BRANCH_SWITCH">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="914">Allow firmware branch switching</doc>
      </member>
      <member name="ignore_checksum"
              value="64"
              c:identifier="FWUPD_INSTALL_FLAG_IGNORE_CHECKSUM">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="915">Ignore firmware CRCs and checksums</doc>
      </member>
      <member name="ignore_vid_pid"
              value="128"
              c:identifier="FWUPD_INSTALL_FLAG_IGNORE_VID_PID">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="916">Ignore firmware vendor and project checks</doc>
      </member>
      <member name="ignore_power"
              value="256"
              c:identifier="FWUPD_INSTALL_FLAG_IGNORE_POWER">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="917">Ignore requirement of external power source
(Deprecated since 1.7.0)</doc>
      </member>
      <member name="no_search"
              value="512"
              c:identifier="FWUPD_INSTALL_FLAG_NO_SEARCH">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="919">Do not use heuristics when parsing the image</doc>
      </member>
    </bitfield>
    <enumeration name="KeyringKind" c:type="FwupdKeyringKind">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="978">Type of keyring used on a remote.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="996"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_KEYRING_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="980">Unknown</doc>
      </member>
      <member name="none" value="1" c:identifier="FWUPD_KEYRING_KIND_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="981">No verification</doc>
      </member>
      <member name="gpg" value="2" c:identifier="FWUPD_KEYRING_KIND_GPG">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="982">Verification using GPG</doc>
      </member>
      <member name="pkcs7" value="3" c:identifier="FWUPD_KEYRING_KIND_PKCS7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="983">Verification using PKCS7</doc>
      </member>
      <member name="jcat" value="4" c:identifier="FWUPD_KEYRING_KIND_JCAT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="984">Verification using Jcat</doc>
      </member>
    </enumeration>
    <constant name="MAJOR_VERSION" value="1" c:type="FWUPD_MAJOR_VERSION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-version.h"
           line="16">The compile-time major version</doc>
      <source-position filename="libfwupd/fwupd-version.h" line="21"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MICRO_VERSION" value="7" c:type="FWUPD_MICRO_VERSION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-version.h"
           line="30">The compile-time micro version</doc>
      <source-position filename="libfwupd/fwupd-version.h" line="35"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MINOR_VERSION" value="8" c:type="FWUPD_MINOR_VERSION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-version.h"
           line="23">The compile-time minor version</doc>
      <source-position filename="libfwupd/fwupd-version.h" line="28"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_AUTH_REQUIRED"
              value="4096"
              c:type="FWUPD_PLUGIN_FLAG_AUTH_REQUIRED"
              version="1.6.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="856">The plugin requires the user to provide authentication details.
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="864"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_CAPSULES_UNSUPPORTED"
              value="16"
              c:type="FWUPD_PLUGIN_FLAG_CAPSULES_UNSUPPORTED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="786">The plugin discovered that UEFI UpdateCapsule are unsupported.
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="794"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_CLEAR_UPDATABLE"
              value="4"
              c:type="FWUPD_PLUGIN_FLAG_CLEAR_UPDATABLE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="767">When the plugin loads it should clear the UPDATABLE flag from any devices.
This typically happens when the device requires a system restart.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="775"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_DISABLED"
              value="1"
              c:type="FWUPD_PLUGIN_FLAG_DISABLED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="751">The plugin has been disabled, either by daemon configuration or a problem.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="758"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_EFIVAR_NOT_MOUNTED"
              value="64"
              c:type="FWUPD_PLUGIN_FLAG_EFIVAR_NOT_MOUNTED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="804">The plugin discovered the efivar filesystem is not found and is required for this plugin.
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="812"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_ESP_NOT_FOUND"
              value="128"
              c:type="FWUPD_PLUGIN_FLAG_ESP_NOT_FOUND"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="813">The plugins discovered that the EFI system partition was not found.
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="821"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_FAILED_OPEN"
              value="512"
              c:type="FWUPD_PLUGIN_FLAG_FAILED_OPEN"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="831">Failed to open plugin (missing dependency).
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="839"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_KERNEL_TOO_OLD"
              value="2048"
              c:type="FWUPD_PLUGIN_FLAG_KERNEL_TOO_OLD"
              version="1.6.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="848">The feature is not supported as the kernel is too old.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="855"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_LEGACY_BIOS"
              value="256"
              c:type="FWUPD_PLUGIN_FLAG_LEGACY_BIOS"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="822">The plugin discovered the system is running in legacy CSM mode.
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="830"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_MEASURE_SYSTEM_INTEGRITY"
              value="32768"
              c:type="FWUPD_PLUGIN_FLAG_MEASURE_SYSTEM_INTEGRITY"
              version="1.8.7">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="882">The plugin will be checked that it preserves system state such as `KEK`, `PK`, `BOOT####` etc.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="889"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_MODULAR"
              value="16384"
              c:type="FWUPD_PLUGIN_FLAG_MODULAR"
              version="1.8.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="874">The plugin is loaded from an external module.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="881"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_NONE"
              value="0"
              c:type="FWUPD_PLUGIN_FLAG_NONE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="743">No plugin flags are set.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="750"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_NO_HARDWARE"
              value="8"
              c:type="FWUPD_PLUGIN_FLAG_NO_HARDWARE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="776">The plugin won't load because no supported hardware was found.
This typically happens with plugins designed for a specific platform design
(such as the dell plugin only works on Dell systems).</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="785"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_REQUIRE_HWID"
              value="1024"
              c:type="FWUPD_PLUGIN_FLAG_REQUIRE_HWID"
              version="1.5.8">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="840">A specific HWID is required to use this plugin.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="847"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_SECURE_CONFIG"
              value="8192"
              c:type="FWUPD_PLUGIN_FLAG_SECURE_CONFIG"
              version="1.8.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="865">The plugin requires the config file to be saved with permissions that only allow the root user
to read.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="873"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_UNLOCK_REQUIRED"
              value="32"
              c:type="FWUPD_PLUGIN_FLAG_UNLOCK_REQUIRED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="795">The plugin discovered that hardware unlock is required.
Supported clients will display this information to a user.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="803"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="PLUGIN_FLAG_USER_WARNING"
              value="2"
              c:type="FWUPD_PLUGIN_FLAG_USER_WARNING"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="759">The plugin has a problem and would like to show a user warning to a supported client.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="766"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <class name="Plugin"
           c:symbol-prefix="plugin"
           c:type="FwupdPlugin"
           parent="GObject.Object"
           glib:type-name="FwupdPlugin"
           glib:get-type="fwupd_plugin_get_type"
           glib:type-struct="PluginClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-plugin.c"
           line="15">A plugin which is used by fwupd to enumerate and update devices.

See also: [class@FwupdRelease]</doc>
      <source-position filename="libfwupd/fwupd-plugin.h" line="28"/>
      <constructor name="new" c:identifier="fwupd_plugin_new" version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="466">Creates a new plugin.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="31"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="471">a new #FwupdPlugin</doc>
          <type name="Plugin" c:type="FwupdPlugin*"/>
        </return-value>
      </constructor>
      <function name="array_from_variant"
                c:identifier="fwupd_plugin_array_from_variant"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="432">Creates an array of new plugins using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="53"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="438">plugins, or %NULL if @value was invalid</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Plugin"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="434">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_from_string"
                c:identifier="fwupd_plugin_flag_from_string"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="456">Converts a string to an enumerated plugin flag.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1060"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="462">enumerated value</doc>
          <type name="PluginFlags" c:type="FwupdPluginFlags"/>
        </return-value>
        <parameters>
          <parameter name="plugin_flag"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="458">a string, e.g. `require-ac`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_plugin_flag_to_string"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="404">Converts an enumerated plugin flag to a string.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1058"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="410">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="plugin_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="406">plugin flags, e.g. %FWUPD_PLUGIN_FLAG_CLEAR_UPDATABLE</doc>
            <type name="PluginFlags" c:type="FwupdPluginFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_plugin_from_variant"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="399">Creates a new plugin using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="51"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="405">a new #FwupdPlugin, or %NULL if @value was invalid</doc>
          <type name="Plugin" c:type="FwupdPlugin*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="401">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_flag"
              c:identifier="fwupd_plugin_add_flag"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="117">Adds a specific plugin flag to the plugin.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="44"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="119">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="120">the #FwupdPluginFlags</doc>
            <type name="PluginFlags" c:type="FwupdPluginFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_plugin_get_flags"
              glib:get-property="flags"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="79">Gets the plugin flags.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="40"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="85">plugin flags, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="81">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_plugin_get_name"
              glib:get-property="name"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="36">Gets the plugin name.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="36"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="42">the plugin name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="38">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_plugin_has_flag"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="161">Finds if the plugin has a specific plugin flag.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="48"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="168">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="163">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="164">a plugin flag</doc>
            <type name="PluginFlags" c:type="FwupdPluginFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_plugin_remove_flag"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="139">Removes a specific plugin flag from the plugin.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="46"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="141">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="142">a plugin flag</doc>
            <type name="PluginFlags" c:type="FwupdPluginFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_plugin_set_flags"
              glib:set-property="flags"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="97">Sets the plugin flags.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="42"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="99">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="100">plugin flags, e.g. %FWUPD_PLUGIN_FLAG_CAPSULES_UNSUPPORTED</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_plugin_set_name"
              glib:set-property="name"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="54">Sets the plugin name.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="38"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="56">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
          <parameter name="name" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="57">the plugin name, e.g. `bios`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_plugin_to_json"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="245">Adds a fwupd plugin to a JSON builder</doc>
        <source-position filename="libfwupd/fwupd-plugin-private.h" line="18"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="247">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="248">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_plugin_to_string"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="277">Builds a text representation of the object.</doc>
        <source-position filename="libfwupd/fwupd-plugin.h" line="33"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="283">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="279">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_plugin_to_variant"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="180">Serialize the plugin data omitting sensitive fields</doc>
        <source-position filename="libfwupd/fwupd-plugin-private.h" line="16"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-plugin.c"
               line="186">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-plugin.c"
                 line="182">a #FwupdPlugin</doc>
            <type name="Plugin" c:type="FwupdPlugin*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="flags"
                version="1.5.0"
                writable="1"
                transfer-ownership="none"
                setter="set_flags"
                getter="get_flags">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="357">The plugin flags.</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="name"
                version="1.5.0"
                writable="1"
                transfer-ownership="none"
                setter="set_name"
                getter="get_name">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-plugin.c"
             line="346">The plugin name.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="PluginClass"
            c:type="FwupdPluginClass"
            glib:is-gtype-struct-for="Plugin">
      <source-position filename="libfwupd/fwupd-plugin.h" line="28"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-plugin.h" line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-plugin.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-plugin.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-plugin.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-plugin.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-plugin.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-plugin.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <constant name="RELEASE_FLAG_BLOCKED_APPROVAL"
              value="32"
              c:type="FWUPD_RELEASE_FLAG_BLOCKED_APPROVAL"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="684">The installation of the release is blocked as release not approved by an administrator.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="691"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_BLOCKED_VERSION"
              value="16"
              c:type="FWUPD_RELEASE_FLAG_BLOCKED_VERSION"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="676">The installation of the release is blocked as below device version-lowest.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="683"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_IS_ALTERNATE_BRANCH"
              value="64"
              c:type="FWUPD_RELEASE_FLAG_IS_ALTERNATE_BRANCH"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="692">The release is an alternate branch of firmware.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="699"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_IS_COMMUNITY"
              value="128"
              c:type="FWUPD_RELEASE_FLAG_IS_COMMUNITY"
              version="1.7.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="700">The release is supported by the community and not the hardware vendor.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="707"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_IS_DOWNGRADE"
              value="8"
              c:type="FWUPD_RELEASE_FLAG_IS_DOWNGRADE"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="668">The release is older than the device version.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="675"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_IS_UPGRADE"
              value="4"
              c:type="FWUPD_RELEASE_FLAG_IS_UPGRADE"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="660">The release is newer than the device version.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="667"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_NONE"
              value="0"
              c:type="FWUPD_RELEASE_FLAG_NONE"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="636">No flags are set.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="643"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_TRUSTED_METADATA"
              value="2"
              c:type="FWUPD_RELEASE_FLAG_TRUSTED_METADATA"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="652">The payload metadata is trusted.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="659"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="RELEASE_FLAG_TRUSTED_PAYLOAD"
              value="1"
              c:type="FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD"
              version="1.2.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="644">The payload binary is trusted.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="651"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="REQUEST_FLAG_ALLOW_GENERIC_IMAGE"
              value="2"
              c:type="FWUPD_REQUEST_FLAG_ALLOW_GENERIC_IMAGE"
              version="1.8.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="103">Use a generic (translated) request image.</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="110"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="REQUEST_FLAG_ALLOW_GENERIC_MESSAGE"
              value="1"
              c:type="FWUPD_REQUEST_FLAG_ALLOW_GENERIC_MESSAGE"
              version="1.8.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="94">Use a generic (translated) request message.</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="101"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="REQUEST_FLAG_NONE"
              value="0"
              c:type="FWUPD_REQUEST_FLAG_NONE"
              version="1.8.6">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="85">No flags are set.</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="92"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="REQUEST_ID_DO_NOT_POWER_OFF"
              value="org.freedesktop.fwupd.request.do-not-power-off"
              c:type="FWUPD_REQUEST_ID_DO_NOT_POWER_OFF">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="74">Show the user a message not to unplug the machine from the AC power, e.g.
"Do not turn off your computer or remove the AC adaptor until you are sure the update has
completed."

Since 1.8.6</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="83"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="REQUEST_ID_PRESS_UNLOCK"
              value="org.freedesktop.fwupd.request.press-unlock"
              c:type="FWUPD_REQUEST_ID_PRESS_UNLOCK">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="54">The user needs to press unlock on the device to continue, e.g.
"Press unlock on the device to continue the update process."

Since 1.6.2</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="62"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="REQUEST_ID_REMOVE_REPLUG"
              value="org.freedesktop.fwupd.request.remove-replug"
              c:type="FWUPD_REQUEST_ID_REMOVE_REPLUG">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="44">The user needs to remove and reinsert the device to complete the update, e.g.
"The update will continue when the device USB cable has been unplugged and then re-inserted."

Since 1.6.2</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="52"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="REQUEST_ID_REMOVE_USB_CABLE"
              value="org.freedesktop.fwupd.request.remove-usb-cable"
              c:type="FWUPD_REQUEST_ID_REMOVE_USB_CABLE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="64">The user needs to remove the device to complete the update, e.g.
"The update will continue when the device USB cable has been unplugged."

Since 1.8.6</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="72"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_APPSTREAM_ID"
              value="AppstreamId"
              c:type="FWUPD_RESULT_KEY_APPSTREAM_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="13">Result key to represent AppstreamId

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="20"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BATTERY_LEVEL"
              value="BatteryLevel"
              c:type="FWUPD_RESULT_KEY_BATTERY_LEVEL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="493">Result key to represent the current battery level in percent.
Expressed from 0-100%, or 101 for invalid or unset.

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="501"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BATTERY_THRESHOLD"
              value="BatteryThreshold"
              c:type="FWUPD_RESULT_KEY_BATTERY_THRESHOLD">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="502">Result key to represent the minimum battery level required to perform an update.
Expressed from 0-100%, or 101 for invalid or unset.

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="510"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_CURRENT_VALUE"
              value="BiosSettingCurrentValue"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_CURRENT_VALUE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="527">Result key to represent the current value of BIOS setting.

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="534"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_ID"
              value="BiosSettingId"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="511">Result key to represent the unique identifier of the BIOS setting.

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="518"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_LOWER_BOUND"
              value="BiosSettingLowerBound"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_LOWER_BOUND">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="552">Result key to represent the upper bound for an integer BIOS setting.
or minimum length for string BIOS setting.
The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="559"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_POSSIBLE_VALUES"
              value="BiosSettingPossibleValues"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_POSSIBLE_VALUES">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="544">Result key to represent possible values

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="551"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_READ_ONLY"
              value="BiosSettingReadOnly"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_READ_ONLY">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="577">Result key to represent whether BIOS setting is read only

The D-Bus type signature string is 'b' i.e. a boolean.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="584"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_SCALAR_INCREMENT"
              value="BiosSettingScalarIncrement"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_SCALAR_INCREMENT">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="569">Result key to represent the scalar increment for an integer BIOS setting.

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="576"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_TARGET_VALUE"
              value="BiosSettingTargetValue"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_TARGET_VALUE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="519">Result key to represent the value that would enable this attribute.

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="526"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_TYPE"
              value="BiosSettingType"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_TYPE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="535">Result key to represent the type of BIOS setting.
0 is invalid, 1+ represent an attribute type

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="543"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BIOS_SETTING_UPPER_BOUND"
              value="BiosSettingUpperBound"
              c:type="FWUPD_RESULT_KEY_BIOS_SETTING_UPPER_BOUND">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="560">Result key to represent the lower bound for an integer BIOS setting
or maximum length for string BIOS setting.

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="568"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_BRANCH"
              value="Branch"
              c:type="FWUPD_RESULT_KEY_BRANCH">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="349">Result key to represent Branch

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="356"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_CATEGORIES"
              value="Categories"
              c:type="FWUPD_RESULT_KEY_CATEGORIES">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="117">Result key to represent Categories

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="124"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_CHECKSUM"
              value="Checksum"
              c:type="FWUPD_RESULT_KEY_CHECKSUM">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="29">Result key to represent Checksum

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="36"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_COMPOSITE_ID"
              value="CompositeId"
              c:type="FWUPD_RESULT_KEY_COMPOSITE_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="93">Result key to represent CompositeId

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="100"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_CREATED"
              value="Created"
              c:type="FWUPD_RESULT_KEY_CREATED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="45">Result key to represent Created

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="52"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DESCRIPTION"
              value="Description"
              c:type="FWUPD_RESULT_KEY_DESCRIPTION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="53">Result key to represent Description

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="60"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DETACH_CAPTION"
              value="DetachCaption"
              c:type="FWUPD_RESULT_KEY_DETACH_CAPTION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="61">Result key to represent DetachCaption

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="68"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DETACH_IMAGE"
              value="DetachImage"
              c:type="FWUPD_RESULT_KEY_DETACH_IMAGE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="69">Result key to represent DetachImage

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="76"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DETAILS_URL"
              value="DetailsUrl"
              c:type="FWUPD_RESULT_KEY_DETAILS_URL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="221">Result key to represent DetailsUrl

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="228"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_DEVICE_ID"
              value="DeviceId"
              c:type="FWUPD_RESULT_KEY_DEVICE_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="77">Result key to represent DeviceId

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="84"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_FILENAME"
              value="Filename"
              c:type="FWUPD_RESULT_KEY_FILENAME">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="101">Result key to represent Filename

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="108"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_FLAGS"
              value="Flags"
              c:type="FWUPD_RESULT_KEY_FLAGS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="133">Result key to represent Flags

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="140"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_FLASHES_LEFT"
              value="FlashesLeft"
              c:type="FWUPD_RESULT_KEY_FLASHES_LEFT">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="141">Result key to represent FlashesLeft

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="148"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_GUID"
              value="Guid"
              c:type="FWUPD_RESULT_KEY_GUID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="197">Result key to represent Guid

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="204"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_HOMEPAGE"
              value="Homepage"
              c:type="FWUPD_RESULT_KEY_HOMEPAGE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="213">Result key to represent Homepage

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="220"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_HSI_LEVEL"
              value="HsiLevel"
              c:type="FWUPD_RESULT_KEY_HSI_LEVEL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="165">Result key to represent HsiLevel

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="172"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_HSI_RESULT"
              value="HsiResult"
              c:type="FWUPD_RESULT_KEY_HSI_RESULT">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="173">Result key to represent HsiResult

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="180"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_HSI_RESULT_FALLBACK"
              value="HsiResultFallback"
              c:type="FWUPD_RESULT_KEY_HSI_RESULT_FALLBACK">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="181">Result key to represent the fallback HsiResult

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="188"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_ICON"
              value="Icon"
              c:type="FWUPD_RESULT_KEY_ICON">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="237">Result key to represent Icon

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="244"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_INSTALL_DURATION"
              value="InstallDuration"
              c:type="FWUPD_RESULT_KEY_INSTALL_DURATION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="189">Result key to represent InstallDuration

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="196"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_INSTANCE_IDS"
              value="InstanceIds"
              c:type="FWUPD_RESULT_KEY_INSTANCE_IDS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="205">Result key to represent InstanceIds

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="212"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_ISSUES"
              value="Issues"
              c:type="FWUPD_RESULT_KEY_ISSUES">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="125">Result key to represent Issues

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="132"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_LICENSE"
              value="License"
              c:type="FWUPD_RESULT_KEY_LICENSE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="245">Result key to represent License

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="252"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_LOCATIONS"
              value="Locations"
              c:type="FWUPD_RESULT_KEY_LOCATIONS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="413">Result key to represent Locations

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="420"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_METADATA"
              value="Metadata"
              c:type="FWUPD_RESULT_KEY_METADATA">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="269">Result key to represent Metadata

The D-Bus type signature string is 'a{ss}' i.e. a string dictionary.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="276"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_MODIFIED"
              value="Modified"
              c:type="FWUPD_RESULT_KEY_MODIFIED">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="253">Result key to represent Modified

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="260"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_NAME"
              value="Name"
              c:type="FWUPD_RESULT_KEY_NAME">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="277">Result key to represent Name

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="284"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_NAME_VARIANT_SUFFIX"
              value="NameVariantSuffix"
              c:type="FWUPD_RESULT_KEY_NAME_VARIANT_SUFFIX">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="285">Result key to represent NameVariantSuffix

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="292"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PARENT_DEVICE_ID"
              value="ParentDeviceId"
              c:type="FWUPD_RESULT_KEY_PARENT_DEVICE_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="85">Result key to represent ParentDeviceId

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="92"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PLUGIN"
              value="Plugin"
              c:type="FWUPD_RESULT_KEY_PLUGIN">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="293">Result key to represent Plugin

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="300"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PROBLEMS"
              value="Problems"
              c:type="FWUPD_RESULT_KEY_PROBLEMS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="365">Result key to represent problems

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="372"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_PROTOCOL"
              value="Protocol"
              c:type="FWUPD_RESULT_KEY_PROTOCOL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="109">Result key to represent Protocol

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="116"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_RELEASE"
              value="Release"
              c:type="FWUPD_RESULT_KEY_RELEASE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="301">Result key to represent Release

The D-Bus type signature string is 'a{sv}' i.e. a variant dictionary.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="308"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_RELEASE_ID"
              value="ReleaseId"
              c:type="FWUPD_RESULT_KEY_RELEASE_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="21">Result key to represent the release ID.

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="28"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_REMOTE_ID"
              value="RemoteId"
              c:type="FWUPD_RESULT_KEY_REMOTE_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="309">Result key to represent RemoteId

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="316"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_REQUEST_KIND"
              value="RequestKind"
              c:type="FWUPD_RESULT_KEY_REQUEST_KIND">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="157">Result key to represent RequestKind

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="164"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SERIAL"
              value="Serial"
              c:type="FWUPD_RESULT_KEY_SERIAL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="317">Result key to represent Serial

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="324"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SIZE"
              value="Size"
              c:type="FWUPD_RESULT_KEY_SIZE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="325">Result key to represent Size

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="332"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SOURCE_URL"
              value="SourceUrl"
              c:type="FWUPD_RESULT_KEY_SOURCE_URL">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="229">Result key to represent SourceUrl

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="236"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_STATUS"
              value="Status"
              c:type="FWUPD_RESULT_KEY_STATUS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="333">Result key to represent Status

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="340"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_SUMMARY"
              value="Summary"
              c:type="FWUPD_RESULT_KEY_SUMMARY">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="341">Result key to represent Summary

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="348"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_TAGS"
              value="Tags"
              c:type="FWUPD_RESULT_KEY_TAGS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="37">Result key to represent release tags

The D-Bus type signature string is 'as' i.e. an array of strings.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="44"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_TRUST_FLAGS"
              value="TrustFlags"
              c:type="FWUPD_RESULT_KEY_TRUST_FLAGS">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="357">Result key to represent TrustFlags

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="364"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_ERROR"
              value="UpdateError"
              c:type="FWUPD_RESULT_KEY_UPDATE_ERROR">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="389">Result key to represent UpdateError

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="396"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_IMAGE"
              value="UpdateImage"
              c:type="FWUPD_RESULT_KEY_UPDATE_IMAGE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="381">Result key to represent UpdateImage

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="388"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_MESSAGE"
              value="UpdateMessage"
              c:type="FWUPD_RESULT_KEY_UPDATE_MESSAGE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="373">Result key to represent UpdateMessage

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="380"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_UPDATE_STATE"
              value="UpdateState"
              c:type="FWUPD_RESULT_KEY_UPDATE_STATE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="397">Result key to represent UpdateState

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="404"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_URGENCY"
              value="Urgency"
              c:type="FWUPD_RESULT_KEY_URGENCY">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="149">Result key to represent Urgency

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="156"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_URI" value="Uri" c:type="FWUPD_RESULT_KEY_URI">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="405">Result key to represent Uri

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="412"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VENDOR"
              value="Vendor"
              c:type="FWUPD_RESULT_KEY_VENDOR">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="429">Result key to represent Vendor

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="436"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VENDOR_ID"
              value="VendorId"
              c:type="FWUPD_RESULT_KEY_VENDOR_ID">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="421">Result key to represent VendorId

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="428"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION"
              value="Version"
              c:type="FWUPD_RESULT_KEY_VERSION">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="485">Result key to represent Version

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="492"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_BOOTLOADER"
              value="VersionBootloader"
              c:type="FWUPD_RESULT_KEY_VERSION_BOOTLOADER">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="437">Result key to represent VersionBootloader

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="444"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_BOOTLOADER_RAW"
              value="VersionBootloaderRaw"
              c:type="FWUPD_RESULT_KEY_VERSION_BOOTLOADER_RAW">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="445">Result key to represent VersionBootloaderRaw

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="452"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_BUILD_DATE"
              value="VersionBuildDate"
              c:type="FWUPD_RESULT_KEY_VERSION_BUILD_DATE">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="261">Result key to represent VersionBuildDate

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="268"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_FORMAT"
              value="VersionFormat"
              c:type="FWUPD_RESULT_KEY_VERSION_FORMAT">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="453">Result key to represent VersionFormat

The D-Bus type signature string is 'u' i.e. a unsigned 32 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="460"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_LOWEST"
              value="VersionLowest"
              c:type="FWUPD_RESULT_KEY_VERSION_LOWEST">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="469">Result key to represent VersionLowest

The D-Bus type signature string is 's' i.e. a string.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="476"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_LOWEST_RAW"
              value="VersionLowestRaw"
              c:type="FWUPD_RESULT_KEY_VERSION_LOWEST_RAW">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="477">Result key to represent VersionLowestRaw

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="484"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="RESULT_KEY_VERSION_RAW"
              value="VersionRaw"
              c:type="FWUPD_RESULT_KEY_VERSION_RAW">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums-private.h"
           line="461">Result key to represent VersionRaw

The D-Bus type signature string is 't' i.e. a unsigned 64 bit integer.</doc>
      <source-position filename="libfwupd/fwupd-enums-private.h" line="468"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="Release"
           c:symbol-prefix="release"
           c:type="FwupdRelease"
           parent="GObject.Object"
           glib:type-name="FwupdRelease"
           glib:get-type="fwupd_release_get_type"
           glib:type-struct="ReleaseClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-release.c"
           line="17">A firmware release with a specific version.

Devices can have more than one release, and the releases are typically
ordered by their version.

See also: [class@FwupdDevice]</doc>
      <source-position filename="libfwupd/fwupd-release.h" line="28"/>
      <constructor name="new" c:identifier="fwupd_release_new" version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="2361">Creates a new release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="31"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="2366">a new #FwupdRelease</doc>
          <type name="Release" c:type="FwupdRelease*"/>
        </return-value>
      </constructor>
      <function name="array_from_variant"
                c:identifier="fwupd_release_array_from_variant"
                version="1.2.10">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="2326">Creates an array of new releases using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="192"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="2332">releases, or %NULL if @value was
invalid</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Release"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="2328">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_from_string"
                c:identifier="fwupd_release_flag_from_string"
                version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="760">Converts a string to an enumerated release flag.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1064"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="766">enumerated value</doc>
          <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
        </return-value>
        <parameters>
          <parameter name="release_flag"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="762">a string, e.g. `trusted-payload`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_release_flag_to_string"
                version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="726">Converts an enumerated release flag to a string.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1062"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="732">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="release_flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="728">a release flag, e.g. %FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_release_from_variant"
                version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="2293">Creates a new release using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="190"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="2299">a new #FwupdRelease, or %NULL if @value was invalid</doc>
          <type name="Release" c:type="FwupdRelease*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="2295">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="urgency_from_string"
                c:identifier="fwupd_release_urgency_from_string"
                version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="816">Converts a string to an enumerated release urgency value.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1068"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="822">enumerated value</doc>
          <type name="ReleaseUrgency" c:type="FwupdReleaseUrgency"/>
        </return-value>
        <parameters>
          <parameter name="release_urgency"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="818">a string, e.g. `low`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="urgency_to_string"
                c:identifier="fwupd_release_urgency_to_string"
                version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="792">Converts an enumerated release urgency to a string.</doc>
        <source-position filename="libfwupd/fwupd-enums.h" line="1066"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="798">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="release_urgency" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-enums.c"
                 line="794">a release urgency, e.g. %FWUPD_RELEASE_URGENCY_HIGH</doc>
            <type name="ReleaseUrgency" c:type="FwupdReleaseUrgency"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_category"
              c:identifier="fwupd_release_add_category"
              version="1.2.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="380">Adds the update category.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="56"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="382">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="383">the update category, e.g. `X-EmbeddedController`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_checksum"
              c:identifier="fwupd_release_add_checksum"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="446">Sets the update checksum.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="448">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="449">the update container checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_flag"
              c:identifier="fwupd_release_add_flag"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1446">Adds a specific release flag to the release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="167"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1448">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1449">the #FwupdReleaseFlags</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_issue"
              c:identifier="fwupd_release_add_issue"
              version="1.3.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="339">Adds an resolved issue to this release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="52"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="341">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="issue" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="342">the update issue, e.g. `CVE-2019-12345`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_location"
              c:identifier="fwupd_release_add_location"
              version="1.5.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="706">Adds an update URI, i.e. where you can download the firmware from.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="48"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="708">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="location" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="709">the update URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_metadata"
              c:identifier="fwupd_release_add_metadata"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="598">Sets multiple release metadata items.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="75"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="600">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="hash" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="601">the key-values</doc>
            <type name="GLib.HashTable" c:type="GHashTable*">
              <type name="gpointer" c:type="gpointer"/>
              <type name="gpointer" c:type="gpointer"/>
            </type>
          </parameter>
        </parameters>
      </method>
      <method name="add_metadata_item"
              c:identifier="fwupd_release_add_metadata_item"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="578">Sets a release metadata item.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="77"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="580">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="581">the key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="582">the value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_tag"
              c:identifier="fwupd_release_add_tag"
              version="1.7.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="512">Adds a specific release tag.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="68"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="514">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="515">the update tag, e.g. `vendor-factory-2021q1`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_appstream_id"
              c:identifier="fwupd_release_get_appstream_id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="893">Gets the AppStream ID.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="899">the AppStream ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="895">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_branch"
              c:identifier="fwupd_release_get_branch"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1168">Gets the update branch.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="126"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1174">the alternate branch, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1170">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_categories"
              c:identifier="fwupd_release_get_categories"
              version="1.2.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="362">Gets the release categories.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="54"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="368">the categories, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="364">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksums"
              c:identifier="fwupd_release_get_checksums"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="428">Gets the release container checksums.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="434">the checksums, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="430">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_created"
              c:identifier="fwupd_release_get_created"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1092">Gets when the update was created.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="150"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1098">UTC timestamp in UNIX format, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1094">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="fwupd_release_get_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="852">Gets the update description in AppStream markup format.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="858">the update description, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="854">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_detach_caption"
              c:identifier="fwupd_release_get_detach_caption"
              version="1.3.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="975">Gets the optional text caption used to manually detach the device.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="981">the string caption, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="977">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_detach_image"
              c:identifier="fwupd_release_get_detach_image"
              version="1.3.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1016">Gets the optional image used to manually detach the device.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="102"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1022">the URI, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1018">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_details_url"
              c:identifier="fwupd_release_get_details_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="770">Gets the URL for the online update notes.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="138"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="776">the update URL, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="772">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename"
              c:identifier="fwupd_release_get_filename"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="157">Gets the update filename.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="163">the update filename, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="159">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_release_get_flags"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1411">Gets the release flags.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="163"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1417">release flags, or 0 if unset</doc>
          <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1413">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_homepage"
              c:identifier="fwupd_release_get_homepage"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="729">Gets the update homepage.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="134"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="735">the update homepage, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="731">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="fwupd_release_get_id"
              version="1.7.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="934">Gets the release ID, which allows identifying the specific uploaded component.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="90"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="940">the ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="936">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_install_duration"
              c:identifier="fwupd_release_get_install_duration"
              version="1.2.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1534">Gets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="177"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1540">the estimated time to flash this release (or 0 if unset)</doc>
          <type name="guint32" c:type="guint32"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1536">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_issues"
              c:identifier="fwupd_release_get_issues"
              version="1.3.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="321">Gets the list of issues fixed in this release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="50"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="327">the issues, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="323">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_license"
              c:identifier="fwupd_release_get_license"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1250">Gets the update license.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="154"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1256">the update license, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1252">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_locations"
              c:identifier="fwupd_release_get_locations"
              version="1.5.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="685">Gets the update URI, i.e. where you can download the firmware from.

Typically the first URI will be the main HTTP mirror, but all URIs may not
be valid HTTP URIs. For example, "ipns://QmSrPmba" is valid here.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="46"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="694">the URIs</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="687">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="fwupd_release_get_metadata"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="560">Gets the release metadata.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="566">the metadata, which may be empty</doc>
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="562">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_item"
              c:identifier="fwupd_release_get_metadata_item"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="625">Gets a release metadata item.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="79"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="632">the value, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="627">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="628">the key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_release_get_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1291">Gets the update name.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="114"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1297">the update name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1293">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_name_variant_suffix"
              c:identifier="fwupd_release_get_name_variant_suffix"
              version="1.3.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1332">Gets the update variant suffix.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1338">the update variant, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1334">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_protocol"
              c:identifier="fwupd_release_get_protocol"
              version="1.2.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="280">Gets the update protocol.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="286">the update protocol, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="282">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_remote_id"
              c:identifier="fwupd_release_get_remote_id"
              glib:get-property="remote-id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="74">Gets the remote ID that can be used for downloading.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="106"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="80">the ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="76">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_size"
              c:identifier="fwupd_release_get_size"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1057">Gets the update size.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="146"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1063">the update size in bytes, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1059">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_source_url"
              c:identifier="fwupd_release_get_source_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="811">Gets the URL of the source code used to build this release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="142"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="817">the update source_url, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="813">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_summary"
              c:identifier="fwupd_release_get_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1127">Gets the update summary.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="122"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1133">the update summary, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1129">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_tags"
              c:identifier="fwupd_release_get_tags"
              version="1.7.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="494">Gets the release tags.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="500">the tags, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="496">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_trust_flags"
              c:identifier="fwupd_release_get_trust_flags"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1373">Gets the trust level of the release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="158"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1379">the trust bitfield, e.g. #FWUPD_TRUST_FLAG_PAYLOAD</doc>
          <type name="TrustFlags" c:type="FwupdTrustFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1375">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_image"
              c:identifier="fwupd_release_get_update_image"
              version="1.4.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="239">Gets the update image.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="185"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="245">the update image URL, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="241">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_update_message"
              c:identifier="fwupd_release_get_update_message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="198">Gets the update message.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="181"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="204">the update message, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="200">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_urgency"
              c:identifier="fwupd_release_get_urgency"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1499">Gets the release urgency.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="173"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1505">the release urgency, or 0 if unset</doc>
          <type name="ReleaseUrgency" c:type="FwupdReleaseUrgency"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1501">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_uri"
              c:identifier="fwupd_release_get_uri"
              version="0.9.3"
              deprecated="1"
              deprecated-version="1.5.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="645">Gets the default update URI.</doc>
        <doc-deprecated xml:space="preserve">Use fwupd_release_get_locations() instead.</doc-deprecated>
        <source-position filename="libfwupd/fwupd-release.h" line="41"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="651">the update URI, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="647">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_vendor"
              c:identifier="fwupd_release_get_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1209">Gets the update vendor.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="110"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1215">the update vendor, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1211">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_version"
              c:identifier="fwupd_release_get_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="116">Gets the update version.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="36"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="122">the update version, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="118">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_category"
              c:identifier="fwupd_release_has_category"
              version="1.2.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="403">Finds out if the release has the update category.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="58"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="410">%TRUE if the release matches</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="405">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="category" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="406">the update category, e.g. `X-EmbeddedController`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_checksum"
              c:identifier="fwupd_release_has_checksum"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="469">Finds out if the release has the update container checksum.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="476">%TRUE if the release matches</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="471">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="checksum" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="472">the update checksum</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_release_has_flag"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1480">Finds if the release has a specific release flag.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="171"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1487">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1482">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1483">the #FwupdReleaseFlags</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_tag"
              c:identifier="fwupd_release_has_tag"
              version="1.7.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="535">Finds out if the release has a specific tag.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="70"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="542">%TRUE if the release matches</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="537">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="tag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="538">the update tag, e.g. `vendor-factory-2021q1`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_release_remove_flag"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1463">Removes a specific release flag from the release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="169"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1465">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1466">the #FwupdReleaseFlags</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_appstream_id"
              c:identifier="fwupd_release_set_appstream_id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="911">Sets the AppStream ID.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="96"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="913">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="appstream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="914">the AppStream component ID, e.g. `org.hughski.ColorHug2.firmware`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_branch"
              c:identifier="fwupd_release_set_branch"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1186">Sets the alternate branch.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="128"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1188">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="branch"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1189">the update one line branch</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_created"
              c:identifier="fwupd_release_set_created"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1110">Sets when the update was created.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="152"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1112">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="created" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1113">UTC timestamp in UNIX format</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="fwupd_release_set_description"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="870">Sets the update description.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="132"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="872">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="description"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="873">the update description in AppStream markup format</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_detach_caption"
              c:identifier="fwupd_release_set_detach_caption"
              version="1.3.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="993">Sets the optional text caption used to manually detach the device.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="100"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="995">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="detach_caption"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="996">string caption</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_detach_image"
              c:identifier="fwupd_release_set_detach_image"
              version="1.3.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1034">Sets the optional image used to manually detach the device.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="104"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1036">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="detach_image"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1037">a fully qualified URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_details_url"
              c:identifier="fwupd_release_set_details_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="788">Sets the URL for the online update notes.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="140"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="790">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="details_url"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="791">the URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_filename"
              c:identifier="fwupd_release_set_filename"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="175">Sets the update filename.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="84"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="177">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="178">the update filename on disk</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_release_set_flags"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1429">Sets the release flags.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="165"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1431">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1432">release flags, e.g. %FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD</doc>
            <type name="ReleaseFlags" c:type="FwupdReleaseFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_homepage"
              c:identifier="fwupd_release_set_homepage"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="747">Sets the update homepage URL.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="136"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="749">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="homepage"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="750">the URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id"
              c:identifier="fwupd_release_set_id"
              version="1.7.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="952">Sets the ID, which allows identifying the specific uploaded component.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="92"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="954">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="955">the AppStream component ID, e.g. `component:1234`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_install_duration"
              c:identifier="fwupd_release_set_install_duration"
              version="1.2.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1552">Sets the time estimate for firmware installation (in seconds)</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="179"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1554">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="duration" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1555">amount of time in seconds</doc>
            <type name="guint32" c:type="guint32"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_license"
              c:identifier="fwupd_release_set_license"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1268">Sets the update license.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="156"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1270">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="license"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1271">the update license.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_release_set_name"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1309">Sets the update name.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="116"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1311">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1312">the update name.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name_variant_suffix"
              c:identifier="fwupd_release_set_name_variant_suffix"
              version="1.3.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1350">Sets the update variant suffix.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="120"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1352">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="name_variant_suffix"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1353">the description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_protocol"
              c:identifier="fwupd_release_set_protocol"
              version="1.2.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="298">Sets the update protocol.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="88"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="300">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="protocol"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="301">the update protocol, e.g. `org.usb.dfu`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_remote_id"
              c:identifier="fwupd_release_set_remote_id"
              glib:set-property="remote-id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="92">Sets the remote ID that can be used for downloading.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="108"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="94">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="remote_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="95">the release ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_size"
              c:identifier="fwupd_release_set_size"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1075">Sets the update size.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="148"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1077">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="size" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1078">the update size in bytes</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_source_url"
              c:identifier="fwupd_release_set_source_url"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="829">Sets the URL of the source code used to build this release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="144"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="831">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="source_url"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="832">the URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_summary"
              c:identifier="fwupd_release_set_summary"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1145">Sets the update summary.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="124"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1147">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="summary"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1148">the update one line summary</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_trust_flags"
              c:identifier="fwupd_release_set_trust_flags"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1391">Sets the trust level of the release.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="160"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1393">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="trust_flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1394">the bitfield, e.g. #FWUPD_TRUST_FLAG_PAYLOAD</doc>
            <type name="TrustFlags" c:type="FwupdTrustFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_image"
              c:identifier="fwupd_release_set_update_image"
              version="1.4.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="257">Sets the update image.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="187"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="259">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="update_image"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="260">the update image URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_update_message"
              c:identifier="fwupd_release_set_update_message"
              version="1.2.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="216">Sets the update message.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="183"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="218">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="update_message"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="219">the update message string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_urgency"
              c:identifier="fwupd_release_set_urgency"
              version="1.4.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1517">Sets the release urgency.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="175"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1519">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="urgency" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1520">the release urgency, e.g. %FWUPD_RELEASE_FLAG_TRUSTED_PAYLOAD</doc>
            <type name="ReleaseUrgency" c:type="FwupdReleaseUrgency"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_uri"
              c:identifier="fwupd_release_set_uri"
              version="0.9.3"
              deprecated="1"
              deprecated-version="1.5.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="666">Sets the update URI, i.e. where you can download the firmware from.</doc>
        <doc-deprecated xml:space="preserve">Use fwupd_release_add_location() instead.</doc-deprecated>
        <source-position filename="libfwupd/fwupd-release.h" line="44"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="668">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="uri" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="669">the update URI</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_vendor"
              c:identifier="fwupd_release_set_vendor"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1227">Sets the update vendor.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="112"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1229">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="vendor"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1230">the vendor name, e.g. `Hughski Limited`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_version"
              c:identifier="fwupd_release_set_version"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="134">Sets the update version.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="38"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="136">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="version" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="137">the update version, e.g. `1.2.4`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_release_to_json"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1974">Adds a fwupd release to a JSON builder</doc>
        <source-position filename="libfwupd/fwupd-release-private.h"
                         line="18"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1976">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1977">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_release_to_string"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="2098">Builds a text representation of the object.</doc>
        <source-position filename="libfwupd/fwupd-release.h" line="33"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="2104">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="2100">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_release_to_variant"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="1569">Serialize the release data.</doc>
        <source-position filename="libfwupd/fwupd-release-private.h"
                         line="16"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-release.c"
               line="1575">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-release.c"
                 line="1571">a #FwupdRelease</doc>
            <type name="Release" c:type="FwupdRelease*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="remote-id"
                version="1.8.0"
                writable="1"
                transfer-ownership="none"
                setter="set_remote_id"
                getter="get_remote_id">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-release.c"
             line="2219">The remote ID.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="ReleaseClass"
            c:type="FwupdReleaseClass"
            glib:is-gtype-struct-for="Release">
      <source-position filename="libfwupd/fwupd-release.h" line="28"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-release.h" line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-release.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-release.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-release.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-release.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-release.h" line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-release.h" line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="ReleaseUrgency" c:type="FwupdReleaseUrgency">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="723">The release urgency.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="741"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_RELEASE_URGENCY_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="725">Unknown</doc>
      </member>
      <member name="low" value="1" c:identifier="FWUPD_RELEASE_URGENCY_LOW">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="726">Low</doc>
      </member>
      <member name="medium"
              value="2"
              c:identifier="FWUPD_RELEASE_URGENCY_MEDIUM">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="727">Medium</doc>
      </member>
      <member name="high" value="3" c:identifier="FWUPD_RELEASE_URGENCY_HIGH">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="728">High</doc>
      </member>
      <member name="critical"
              value="4"
              c:identifier="FWUPD_RELEASE_URGENCY_CRITICAL">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="729">Critical, e.g. a security fix</doc>
      </member>
    </enumeration>
    <class name="Remote"
           c:symbol-prefix="remote"
           c:type="FwupdRemote"
           parent="GObject.Object"
           glib:type-name="FwupdRemote"
           glib:get-type="fwupd_remote_get_type"
           glib:type-struct="RemoteClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-remote.c"
           line="20">A source of metadata that provides firmware.

Remotes can be local (e.g. folders on a disk) or remote (e.g. downloaded
over HTTP or IPFS).

See also: [class@FwupdClient]</doc>
      <source-position filename="libfwupd/fwupd-remote.h" line="26"/>
      <constructor name="new" c:identifier="fwupd_remote_new" version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1806">Creates a new fwupd remote.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="52"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1811">a new #FwupdRemote</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
      </constructor>
      <function name="array_from_variant"
                c:identifier="fwupd_remote_array_from_variant"
                version="1.2.10">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1775">Creates an array of new devices using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="115"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1781">remotes, or %NULL if @value was invalid</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Remote"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1777">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_remote_from_variant"
                version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1742">Creates a new remote using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="113"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1748">a new #FwupdRemote, or %NULL if @value was invalid</doc>
          <type name="Remote" c:type="FwupdRemote*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1744">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_from_string"
                c:identifier="fwupd_remote_kind_from_string"
                version="0.9.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="430">Converts an printable string to an enumerated type.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="47"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="436">a #FwupdRemoteKind, e.g. %FWUPD_REMOTE_KIND_DOWNLOAD</doc>
          <type name="RemoteKind" c:type="FwupdRemoteKind"/>
        </return-value>
        <parameters>
          <parameter name="kind"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="432">a string, e.g. `download`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="fwupd_remote_kind_to_string"
                version="0.9.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="452">Converts an enumerated type to a printable string.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="49"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="458">a string, e.g. `download`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="454">a #FwupdRemoteKind, e.g. %FWUPD_REMOTE_KIND_DOWNLOAD</doc>
            <type name="RemoteKind" c:type="FwupdRemoteKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="build_firmware_uri"
              c:identifier="fwupd_remote_build_firmware_uri"
              version="0.9.7"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1067">Builds a URI for the URL using the username and password set for the remote,
including any basename URI substitution.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="100"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1076">a URI, or %NULL for error</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1069">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="url" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1070">the URL to use</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_age"
              c:identifier="fwupd_remote_get_age"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="880">Gets the age of the remote in seconds.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="94"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="886">a age, or %G_MAXUINT64 for unavailable</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="882">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_agreement"
              c:identifier="fwupd_remote_get_agreement"
              version="1.0.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1013">Gets the remote agreement in AppStream markup format</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="58"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1019">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1015">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_approval_required"
              c:identifier="fwupd_remote_get_approval_required"
              glib:get-property="approval-required"
              version="1.2.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1345">Gets if firmware from the remote should be checked against the list
of a approved checksums.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1352">a #TRUE if the remote is restricted</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1347">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_automatic_reports"
              c:identifier="fwupd_remote_get_automatic_reports"
              glib:get-property="automatic-reports"
              version="1.3.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1309">Gets if reports should be automatically uploaded to this remote</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="88"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1315">a #TRUE if the remote should have reports uploaded automatically</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1311">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_automatic_security_reports"
              c:identifier="fwupd_remote_get_automatic_security_reports"
              glib:get-property="automatic-security-reports"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1327">Gets if security reports should be automatically uploaded to this remote</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="90"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1333">a #TRUE if the remote should have reports uploaded automatically</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1329">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_checksum"
              c:identifier="fwupd_remote_get_checksum"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1049">Gets the remote checksum.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="62"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1055">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1051">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_enabled"
              c:identifier="fwupd_remote_get_enabled"
              glib:get-property="enabled"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1291">Gets if the remote is enabled and should be used.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1297">a #TRUE if the remote is enabled</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1293">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename_cache"
              c:identifier="fwupd_remote_get_filename_cache"
              version="0.9.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="772">Gets the path and filename that the remote is using for a cache.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="778">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="774">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename_cache_sig"
              c:identifier="fwupd_remote_get_filename_cache_sig"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="790">Gets the path and filename that the remote is using for a signature cache.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="70"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="796">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="792">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_filename_source"
              c:identifier="fwupd_remote_get_filename_source"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="808">Gets the path and filename of the remote itself, typically a `.conf` file.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="814">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="810">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_firmware_base_uri"
              c:identifier="fwupd_remote_get_firmware_base_uri"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1273">Gets the base URI for firmware.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="74"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1279">a URI, or %NULL for unset.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1275">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="fwupd_remote_get_id"
              glib:get-property="id"
              version="0.9.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1364">Gets the remote ID, e.g. `lvfs-testing`.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="54"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1370">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1366">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_keyring_kind"
              c:identifier="fwupd_remote_get_keyring_kind"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="862">Gets the keyring kind of the remote.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="98"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="868">a #FwupdKeyringKind, e.g. #FWUPD_KEYRING_KIND_GPG</doc>
          <type name="KeyringKind" c:type="FwupdKeyringKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="864">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="fwupd_remote_get_kind"
              version="0.9.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="844">Gets the kind of the remote.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="96"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="850">a #FwupdRemoteKind, e.g. #FWUPD_REMOTE_KIND_LOCAL</doc>
          <type name="RemoteKind" c:type="FwupdRemoteKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="846">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_uri"
              c:identifier="fwupd_remote_get_metadata_uri"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1125">Gets the URI for the remote metadata.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="80"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1131">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1127">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata_uri_sig"
              c:identifier="fwupd_remote_get_metadata_uri_sig"
              version="0.9.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1255">Gets the URI for the remote metadata signature.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="82"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1261">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1257">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_order_after"
              c:identifier="fwupd_remote_get_order_after"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="736">Gets the list of remotes this plugin should be ordered after.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="33"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="742">an array</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="738">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_order_before"
              c:identifier="fwupd_remote_get_order_before"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="754">Gets the list of remotes this plugin should be ordered before.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="35"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="760">an array</doc>
          <array c:type="gchar**">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="756">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_password"
              c:identifier="fwupd_remote_get_password"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="977">Gets the password configured for the remote.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="66"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="983">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="979">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_priority"
              c:identifier="fwupd_remote_get_priority"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="826">Gets the priority of the remote, where bigger numbers are better.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="92"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="832">a priority, or 0 for the default value</doc>
          <type name="gint" c:type="gint"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="828">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_remotes_dir"
              c:identifier="fwupd_remote_get_remotes_dir"
              version="1.3.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1031">Gets the base directory for storing remote metadata</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="60"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1037">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1033">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_report_uri"
              c:identifier="fwupd_remote_get_report_uri"
              version="1.0.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1089">Gets the URI for the remote reporting.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="76"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1095">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1091">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_security_report_uri"
              c:identifier="fwupd_remote_get_security_report_uri"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1107">Gets the URI for the security report.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1113">a URI, or %NULL for invalid.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1109">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_title"
              c:identifier="fwupd_remote_get_title"
              version="0.9.8">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="995">Gets the remote title, e.g. `Linux Vendor Firmware Service`.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1001">a string, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="997">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_username"
              c:identifier="fwupd_remote_get_username"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="959">Gets the username configured for the remote.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="64"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="965">a string, or %NULL for unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="961">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="load_from_filename"
              c:identifier="fwupd_remote_load_from_filename"
              version="0.9.3"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="614">Loads metadata about the remote from a keyfile.
This can be called zero or multiple times for each remote.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="18"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="624">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="616">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="617">a filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="618">optional #GCancellable</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_signature"
              c:identifier="fwupd_remote_load_signature"
              version="1.4.0"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1226">Parses the signature, updating the metadata URI as appropriate.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="104"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1234">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1228">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="filename" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1229">a filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="load_signature_bytes"
              c:identifier="fwupd_remote_load_signature_bytes"
              version="1.4.5"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1185">Parses the signature, updating the metadata URI as appropriate.

This can only be called for remotes with `Keyring=jcat` which is
the default for most remotes.</doc>
        <source-position filename="libfwupd/fwupd-remote.h" line="108"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1196">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1187">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="bytes" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1188">data blob</doc>
            <type name="GLib.Bytes" c:type="GBytes*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_agreement"
              c:identifier="fwupd_remote_set_agreement"
              version="1.0.7">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="169">Sets the remote agreement in AppStream markup format</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="25"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="171">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="agreement"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="172">agreement markup text</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_checksum"
              c:identifier="fwupd_remote_set_checksum"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="191">Sets the remote checksum, typically only useful in the self tests.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="27"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="193">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="checksum"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="194">checksum string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_filename_cache"
              c:identifier="fwupd_remote_set_filename_cache"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="474">Sets the remote filename cache filename, typically only useful in the self tests.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="29"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="476">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="filename"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="477">filename string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_filename_source"
              c:identifier="fwupd_remote_set_filename_source"
              version="1.6.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="264">Sets the source filename. This is typically a file in `/etc/fwupd/remotes/`.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="40"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="266">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="filename_source"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="267">filename</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_keyring_kind"
              c:identifier="fwupd_remote_set_keyring_kind"
              version="1.5.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="233">Sets the keyring kind</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="42"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="235">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="keyring_kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="236">keyring kind e.g. #FWUPD_KEYRING_KIND_PKCS7</doc>
            <type name="KeyringKind" c:type="FwupdKeyringKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_mtime"
              c:identifier="fwupd_remote_set_mtime"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="942">Sets the plugin modification time.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="31"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="944">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="mtime" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="945">a UNIX timestamp</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_priority"
              c:identifier="fwupd_remote_set_priority"
              version="0.9.5">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="925">Sets the plugin priority.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="23"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="927">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="priority" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="928">an integer, where 1 is better</doc>
            <type name="gint" c:type="gint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_remotes_dir"
              c:identifier="fwupd_remote_set_remotes_dir"
              version="1.3.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="902">Sets the directory to store remote data</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="38"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="904">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="directory"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="905">Remotes directory</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="setup"
              c:identifier="fwupd_remote_setup"
              version="1.6.1"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="524">Sets up the remote ready for use, checking that required parameters have
been set. Calling this method multiple times has no effect.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="44"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="532">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="526">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_remote_to_json"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="81">Adds a fwupd remote to a JSON builder</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="46"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="83">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="84">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_remote_to_variant"
              version="1.0.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1442">Serialize the remote data.</doc>
        <source-position filename="libfwupd/fwupd-remote-private.h" line="16"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-remote.c"
               line="1448">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-remote.c"
                 line="1444">a #FwupdRemote</doc>
            <type name="Remote" c:type="FwupdRemote*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="approval-required"
                version="1.2.6"
                writable="1"
                transfer-ownership="none"
                getter="get_approval_required">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1664">If firmware from the remote should be checked against the system
list of approved firmware.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="automatic-reports"
                version="1.3.3"
                writable="1"
                transfer-ownership="none"
                getter="get_automatic_reports">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1679">The behavior for auto-uploading reports.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="automatic-security-reports"
                version="1.5.0"
                writable="1"
                transfer-ownership="none"
                getter="get_automatic_security_reports">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1693">The behavior for auto-uploading security reports.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="enabled"
                version="0.9.3"
                writable="1"
                transfer-ownership="none"
                getter="get_enabled">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1650">If the remote is enabled and should be used.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="id"
                version="0.9.3"
                writable="1"
                transfer-ownership="none"
                getter="get_id">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.c"
             line="1639">The remote ID.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RemoteClass"
            c:type="FwupdRemoteClass"
            glib:is-gtype-struct-for="Remote">
      <source-position filename="libfwupd/fwupd-remote.h" line="26"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-remote.h" line="19"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-remote.h" line="20"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-remote.h" line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-remote.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-remote.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-remote.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-remote.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="RemoteKind" c:type="FwupdRemoteKind">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-remote.h"
           line="28">The kind of remote.</doc>
      <source-position filename="libfwupd/fwupd-remote.h" line="44"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_REMOTE_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.h"
             line="30">Unknown kind</doc>
      </member>
      <member name="download"
              value="1"
              c:identifier="FWUPD_REMOTE_KIND_DOWNLOAD">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.h"
             line="31">Requires files to be downloaded</doc>
      </member>
      <member name="local" value="2" c:identifier="FWUPD_REMOTE_KIND_LOCAL">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.h"
             line="32">Reads files from the local machine</doc>
      </member>
      <member name="directory"
              value="3"
              c:identifier="FWUPD_REMOTE_KIND_DIRECTORY">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-remote.h"
             line="33">Reads directory from the local machine</doc>
      </member>
    </enumeration>
    <class name="Request"
           c:symbol-prefix="request"
           c:type="FwupdRequest"
           parent="GObject.Object"
           glib:type-name="FwupdRequest"
           glib:get-type="fwupd_request_get_type"
           glib:type-struct="RequestClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.c"
           line="13">A user request from the device.

See also: [class@FwupdDevice]</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="26"/>
      <constructor name="new" c:identifier="fwupd_request_new" version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="813">Creates a new request.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="139"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="818">a new #FwupdRequest</doc>
          <type name="Request" c:type="FwupdRequest*"/>
        </return-value>
      </constructor>
      <function name="flag_from_string"
                c:identifier="fwupd_request_flag_from_string"
                version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="111">Converts a string to an enumerated request flag.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="136"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="117">enumerated value</doc>
          <type name="RequestFlags" c:type="FwupdRequestFlags"/>
        </return-value>
        <parameters>
          <parameter name="flag"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="113">a string, e.g. `none`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_request_flag_to_string"
                version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="89">Converts an enumerated request flag to a string.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="134"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="95">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="91">a request flag, e.g. %FWUPD_REQUEST_FLAG_NONE</doc>
            <type name="RequestFlags" c:type="FwupdRequestFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_request_from_variant"
                version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="778">Creates a new request using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="180"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="784">a new #FwupdRequest, or %NULL if @value was invalid</doc>
          <type name="Request" c:type="FwupdRequest*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="780">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_from_string"
                c:identifier="fwupd_request_kind_from_string"
                version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="67">Converts a string to an enumerated update message kind.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="131"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="73">enumerated value</doc>
          <type name="RequestKind" c:type="FwupdRequestKind"/>
        </return-value>
        <parameters>
          <parameter name="kind"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="69">a string, e.g. `immediate`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="fwupd_request_kind_to_string"
                version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="45">Converts an enumerated update message kind to a string.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="129"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="51">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="47">a update message kind, e.g. %FWUPD_REQUEST_KIND_IMMEDIATE</doc>
            <type name="RequestKind" c:type="FwupdRequestKind"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_flag"
              c:identifier="fwupd_request_add_flag"
              version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="509">Adds a specific flag to the request.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="173"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="511">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="512">the #FwupdRequestFlags</doc>
            <type name="RequestFlags" c:type="FwupdRequestFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_created"
              c:identifier="fwupd_request_get_created"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="213">Gets when the request was created.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="148"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="219">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="215">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_device_id"
              c:identifier="fwupd_request_get_device_id"
              glib:get-property="device-id"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="172">Gets the device_id that created the request.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="152"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="178">the device_id, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="174">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_request_get_flags"
              glib:get-property="flags"
              version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="468">Gets the request flags.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="169"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="474">request flags, or 0 if unset</doc>
          <type name="RequestFlags" c:type="FwupdRequestFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="470">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="fwupd_request_get_id"
              glib:get-property="id"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="131">Gets the ID.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="144"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="137">the ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="133">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_image"
              c:identifier="fwupd_request_get_image"
              glib:get-property="image"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="388">Gets the update image.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="160"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="394">the update image URL, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="390">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_kind"
              c:identifier="fwupd_request_get_kind"
              glib:get-property="kind"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="430">Returns what the request is currently doing.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="164"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="436">the kind value, e.g. %FWUPD_STATUS_REQUEST_WRITE</doc>
          <type name="RequestKind" c:type="FwupdRequestKind"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="432">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_message"
              c:identifier="fwupd_request_get_message"
              glib:get-property="message"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="346">Gets the update message.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="156"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="352">the update message, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="348">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_request_has_flag"
              version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="543">Finds if the request has a specific flag.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="177"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="550">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="545">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="546">the #FwupdRequestFlags</doc>
            <type name="RequestFlags" c:type="FwupdRequestFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_request_remove_flag"
              version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="526">Removes a specific flag from the request.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="175"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="528">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="529">the #FwupdRequestFlags</doc>
            <type name="RequestFlags" c:type="FwupdRequestFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_created"
              c:identifier="fwupd_request_set_created"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="231">Sets when the request was created.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="150"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="233">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="created" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="234">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_device_id"
              c:identifier="fwupd_request_set_device_id"
              glib:set-property="device-id"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="190">Sets the device_id that created the request.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="154"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="192">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="device_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="193">the device_id, e.g. `colorhug`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_request_set_flags"
              glib:set-property="flags"
              version="1.8.6">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="486">Sets the request flags.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="171"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="488">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="489">request flags, e.g. %FWUPD_REQUEST_FLAG_NONE</doc>
            <type name="RequestFlags" c:type="FwupdRequestFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id"
              c:identifier="fwupd_request_set_id"
              glib:set-property="id"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="149">Sets the ID.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="146"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="151">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="152">the request ID, e.g. `USB:foo`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_image"
              c:identifier="fwupd_request_set_image"
              glib:set-property="image"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="406">Sets the update image.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="162"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="408">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="image"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="409">the update image URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_kind"
              c:identifier="fwupd_request_set_kind"
              glib:set-property="kind"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="448">Sets what the request is currently doing.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="166"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="450">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="kind" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="451">the kind value, e.g. %FWUPD_STATUS_REQUEST_WRITE</doc>
            <type name="RequestKind" c:type="FwupdRequestKind"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_message"
              c:identifier="fwupd_request_set_message"
              glib:set-property="message"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="364">Sets the update message.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="158"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="366">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
          <parameter name="message"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="367">the update message string</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_request_to_string"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="562">Builds a text representation of the object.</doc>
        <source-position filename="libfwupd/fwupd-request.h" line="141"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="568">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="564">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_request_to_variant"
              version="1.6.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="248">Serialize the request data.</doc>
        <source-position filename="libfwupd/fwupd-request-private.h"
                         line="14"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-request.c"
               line="254">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-request.c"
                 line="250">a #FwupdRequest</doc>
            <type name="Request" c:type="FwupdRequest*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="device-id"
                version="1.8.2"
                writable="1"
                transfer-ownership="none"
                setter="set_device_id"
                getter="get_device_id">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="752">The device ID for the request.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="flags"
                version="1.8.6"
                writable="1"
                transfer-ownership="none"
                setter="set_flags"
                getter="get_flags">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="711">The flags for the request.</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="id"
                version="1.6.2"
                writable="1"
                transfer-ownership="none"
                setter="set_id"
                getter="get_id">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="684">The request identifier.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="image"
                version="1.6.2"
                writable="1"
                transfer-ownership="none"
                setter="set_image"
                getter="get_image">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="741">The image link for the request.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="kind"
                version="1.6.2"
                writable="1"
                transfer-ownership="none"
                setter="set_kind"
                getter="get_kind">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="695">The kind of the request.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="message"
                version="1.6.2"
                writable="1"
                transfer-ownership="none"
                setter="set_message"
                getter="get_message">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.c"
             line="727">The message text in the request.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="RequestClass"
            c:type="FwupdRequestClass"
            glib:is-gtype-struct-for="Request">
      <source-position filename="libfwupd/fwupd-request.h" line="26"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-request.h" line="19"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-request.h" line="20"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-request.h" line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-request.h" line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-request.h" line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-request.h" line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-request.h" line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="RequestKind" c:type="FwupdRequestKind">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-request.h"
           line="28">The kind of request we are asking of the user.</doc>
      <source-position filename="libfwupd/fwupd-request.h" line="42"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_REQUEST_KIND_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.h"
             line="30">Unknown kind</doc>
      </member>
      <member name="post" value="1" c:identifier="FWUPD_REQUEST_KIND_POST">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.h"
             line="31">After the update</doc>
      </member>
      <member name="immediate"
              value="2"
              c:identifier="FWUPD_REQUEST_KIND_IMMEDIATE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-request.h"
             line="32">Immediately</doc>
      </member>
    </enumeration>
    <constant name="SECURITY_ATTR_ID_AMD_ROLLBACK_PROTECTION"
              value="org.fwupd.hsi.Amd.RollbackProtection"
              c:type="FWUPD_SECURITY_ATTR_ID_AMD_ROLLBACK_PROTECTION"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="311">Host Security ID attribute for Rollback protection of AMD platform
firmware</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="319"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_AMD_SPI_REPLAY_PROTECTION"
              value="org.fwupd.hsi.Amd.SpiReplayProtection"
              c:type="FWUPD_SECURITY_ATTR_ID_AMD_SPI_REPLAY_PROTECTION"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="328">Host Security ID attribute for SPI replay protection</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="335"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_AMD_SPI_WRITE_PROTECTION"
              value="org.fwupd.hsi.Amd.SpiWriteProtection"
              c:type="FWUPD_SECURITY_ATTR_ID_AMD_SPI_WRITE_PROTECTION"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="320">Host Security ID attribute for SPI Write protection</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="327"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_ENCRYPTED_RAM"
              value="org.fwupd.hsi.EncryptedRam"
              c:type="FWUPD_SECURITY_ATTR_ID_ENCRYPTED_RAM"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="25">Host Security ID attribute indicating encrypted RAM available</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="32"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_FWUPD_ATTESTATION"
              value="org.fwupd.hsi.Fwupd.Attestation"
              c:type="FWUPD_SECURITY_ATTR_ID_FWUPD_ATTESTATION"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="33">Host Security ID attribute for attesation</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="40"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_FWUPD_PLUGINS"
              value="org.fwupd.hsi.Fwupd.Plugins"
              c:type="FWUPD_SECURITY_ATTR_ID_FWUPD_PLUGINS"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="41">Host Security ID attribute for plugins</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="48"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_FWUPD_UPDATES"
              value="org.fwupd.hsi.Fwupd.Updates"
              c:type="FWUPD_SECURITY_ATTR_ID_FWUPD_UPDATES"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="49">Host Security ID attribute for updates</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="56"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_HOST_EMULATION"
              value="org.fwupd.hsi.HostEmulation"
              c:type="FWUPD_SECURITY_ATTR_ID_HOST_EMULATION"
              version="1.8.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="336">Host Security ID attribute for host emulation</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="343"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_BOOTGUARD_ACM"
              value="org.fwupd.hsi.IntelBootguard.Acm"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_BOOTGUARD_ACM"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="73">Host Security ID attribute for Intel Bootguard ACM</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="80"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_BOOTGUARD_ENABLED"
              value="org.fwupd.hsi.IntelBootguard.Enabled"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_BOOTGUARD_ENABLED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="57">Host Security ID attribute for Intel Bootguard enabled</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="64"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_BOOTGUARD_OTP"
              value="org.fwupd.hsi.IntelBootguard.Otp"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_BOOTGUARD_OTP"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="89">Host Security ID attribute for Intel Bootguard OTP fuse</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="96"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_BOOTGUARD_POLICY"
              value="org.fwupd.hsi.IntelBootguard.Policy"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_BOOTGUARD_POLICY"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="81">Host Security ID attribute for Intel Bootguard policy</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="88"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_BOOTGUARD_VERIFIED"
              value="org.fwupd.hsi.IntelBootguard.Verified"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_BOOTGUARD_VERIFIED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="65">Host Security ID attribute for Intel Bootguard verified</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="72"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_CET_ACTIVE"
              value="org.fwupd.hsi.IntelCet.Active"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_CET_ACTIVE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="105">Host Security ID attribute for Intel CET active</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="112"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_CET_ENABLED"
              value="org.fwupd.hsi.IntelCet.Enabled"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_CET_ENABLED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="97">Host Security ID attribute for Intel CET enabled</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="104"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_INTEL_SMAP"
              value="org.fwupd.hsi.IntelSmap"
              c:type="FWUPD_SECURITY_ATTR_ID_INTEL_SMAP"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="113">Host Security ID attribute for Intel SMAP</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="120"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_IOMMU"
              value="org.fwupd.hsi.Iommu"
              c:type="FWUPD_SECURITY_ATTR_ID_IOMMU"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="121">Host Security ID attribute for IOMMU</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="128"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_KERNEL_LOCKDOWN"
              value="org.fwupd.hsi.Kernel.Lockdown"
              c:type="FWUPD_SECURITY_ATTR_ID_KERNEL_LOCKDOWN"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="129">Host Security ID attribute for kernel lockdown</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="136"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_KERNEL_SWAP"
              value="org.fwupd.hsi.Kernel.Swap"
              c:type="FWUPD_SECURITY_ATTR_ID_KERNEL_SWAP"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="137">Host Security ID attribute for kernel swap</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="144"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_KERNEL_TAINTED"
              value="org.fwupd.hsi.Kernel.Tainted"
              c:type="FWUPD_SECURITY_ATTR_ID_KERNEL_TAINTED"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="145">Host Security ID attribute for kernel taint</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="152"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_MEI_KEY_MANIFEST"
              value="org.fwupd.hsi.Mei.KeyManifest"
              c:type="FWUPD_SECURITY_ATTR_ID_MEI_KEY_MANIFEST"
              version="1.8.7">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="169">Host Security ID attribute for Intel ME Key Manifest</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="176"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_MEI_MANUFACTURING_MODE"
              value="org.fwupd.hsi.Mei.ManufacturingMode"
              c:type="FWUPD_SECURITY_ATTR_ID_MEI_MANUFACTURING_MODE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="153">Host Security ID attribute for Intel ME manufacturing mode</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="160"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_MEI_OVERRIDE_STRAP"
              value="org.fwupd.hsi.Mei.OverrideStrap"
              c:type="FWUPD_SECURITY_ATTR_ID_MEI_OVERRIDE_STRAP"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="161">Host Security ID attribute for Intel ME override strap</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="168"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_MEI_VERSION"
              value="org.fwupd.hsi.Mei.Version"
              c:type="FWUPD_SECURITY_ATTR_ID_MEI_VERSION"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="177">Host Security ID attribute for Intel ME version</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="184"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_PLATFORM_DEBUG_ENABLED"
              value="org.fwupd.hsi.PlatformDebugEnabled"
              c:type="FWUPD_SECURITY_ATTR_ID_PLATFORM_DEBUG_ENABLED"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="265">Host Security ID attribute for parts with debugging capabilities enabled

This was previously known as org.fwupd.hsi.PlatformDebugEnabled for Intel 1.5.0+
It was renamed for all vendor support in 1.8.0. *</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="275"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_PLATFORM_DEBUG_LOCKED"
              value="org.fwupd.hsi.PlatformDebugLocked"
              c:type="FWUPD_SECURITY_ATTR_ID_PLATFORM_DEBUG_LOCKED"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="284">Host Security ID attribute for parts locked from debugging

This was previously known as org.fwupd.hsi.IntelDci.Locked for Intel 1.5.0+
It was renamed for all vendor support in 1.8.0.</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="294"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_PLATFORM_FUSED"
              value="org.fwupd.hsi.PlatformFused"
              c:type="FWUPD_SECURITY_ATTR_ID_PLATFORM_FUSED"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="276">Host Security ID attribute for fused parts</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="283"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_PREBOOT_DMA_PROTECTION"
              value="org.fwupd.hsi.PrebootDma"
              c:type="FWUPD_SECURITY_ATTR_ID_PREBOOT_DMA_PROTECTION"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="15">Host Security ID attribute for Pre-boot DMA protection

This was previously known as org.fwupd.hsi.AcpiDmar for Intel from 1.5.0+.</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="24"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SPI_BIOSWE"
              value="org.fwupd.hsi.Spi.Bioswe"
              c:type="FWUPD_SECURITY_ATTR_ID_SPI_BIOSWE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="185">Host Security ID attribute for Intel SPI BIOSWE configuration</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="192"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SPI_BLE"
              value="org.fwupd.hsi.Spi.Ble"
              c:type="FWUPD_SECURITY_ATTR_ID_SPI_BLE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="193">Host Security ID attribute for Intel SPI BLE configuration</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="200"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SPI_DESCRIPTOR"
              value="org.fwupd.hsi.Spi.Descriptor"
              c:type="FWUPD_SECURITY_ATTR_ID_SPI_DESCRIPTOR"
              version="1.6.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="209">Host Security ID attribute for Intel SPI descriptor</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="216"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SPI_SMM_BWP"
              value="org.fwupd.hsi.Spi.SmmBwp"
              c:type="FWUPD_SECURITY_ATTR_ID_SPI_SMM_BWP"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="201">Host Security ID attribute for Intel SPI SMM BWP</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="208"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SUPPORTED_CPU"
              value="org.fwupd.hsi.SupportedCpu"
              c:type="FWUPD_SECURITY_ATTR_ID_SUPPORTED_CPU"
              version="1.8.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="303">Host Security ID attribute for Supported CPU</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="310"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SUSPEND_TO_IDLE"
              value="org.fwupd.hsi.SuspendToIdle"
              c:type="FWUPD_SECURITY_ATTR_ID_SUSPEND_TO_IDLE"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="217">Host Security ID attribute for Suspend to Idle</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="224"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_SUSPEND_TO_RAM"
              value="org.fwupd.hsi.SuspendToRam"
              c:type="FWUPD_SECURITY_ATTR_ID_SUSPEND_TO_RAM"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="225">Host Security ID attribute for Suspend to RAM</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="232"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_TPM_EMPTY_PCR"
              value="org.fwupd.hsi.Tpm.EmptyPcr"
              c:type="FWUPD_SECURITY_ATTR_ID_TPM_EMPTY_PCR"
              version="1.7.2">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="233">Host Security ID attribute for empty PCR</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="240"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_TPM_RECONSTRUCTION_PCR0"
              value="org.fwupd.hsi.Tpm.ReconstructionPcr0"
              c:type="FWUPD_SECURITY_ATTR_ID_TPM_RECONSTRUCTION_PCR0"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="241">Host Security ID attribute for TPM PCR0 reconstruction</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="248"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_TPM_VERSION_20"
              value="org.fwupd.hsi.Tpm.Version20"
              c:type="FWUPD_SECURITY_ATTR_ID_TPM_VERSION_20"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="249">Host Security ID attribute for TPM 2.0</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="256"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_UEFI_PK"
              value="org.fwupd.hsi.Uefi.Pk"
              c:type="FWUPD_SECURITY_ATTR_ID_UEFI_PK"
              version="1.5.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="295">Host Security ID attribute for UEFI PK</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="302"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <constant name="SECURITY_ATTR_ID_UEFI_SECUREBOOT"
              value="org.fwupd.hsi.Uefi.SecureBoot"
              c:type="FWUPD_SECURITY_ATTR_ID_UEFI_SECUREBOOT"
              version="1.5.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr-private.h"
           line="257">Host Security ID attribute for UEFI secure boot</doc>
      <source-position filename="libfwupd/fwupd-security-attr-private.h"
                       line="264"/>
      <type name="utf8" c:type="gchar*"/>
    </constant>
    <class name="SecurityAttr"
           c:symbol-prefix="security_attr"
           c:type="FwupdSecurityAttr"
           parent="GObject.Object"
           glib:type-name="FwupdSecurityAttr"
           glib:get-type="fwupd_security_attr_get_type"
           glib:type-struct="SecurityAttrClass">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr.c"
           line="17">A Host Security ID attribute that represents something that was measured.</doc>
      <source-position filename="libfwupd/fwupd-security-attr.h" line="28"/>
      <constructor name="new"
                   c:identifier="fwupd_security_attr_new"
                   version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1700">Creates a new security attribute.

Plugins should not use this method, and should instead use `fu_plugin_security_attr_new()` or
`fu_security_attr_new()`.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="125"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1709">a new #FwupdSecurityAttr</doc>
          <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
        </return-value>
        <parameters>
          <parameter name="appstream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1702">the AppStream component ID, e.g. `com.intel.BiosGuard`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </constructor>
      <function name="array_from_variant"
                c:identifier="fwupd_security_attr_array_from_variant"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1616">Creates an array of new security attributes using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="224"/>
        <return-value transfer-ownership="container">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1622">attributes, or %NULL if @value
was invalid</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="SecurityAttr"/>
          </array>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1618">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_from_string"
                c:identifier="fwupd_security_attr_flag_from_string"
                version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="85">Converts a string to an enumerated flag.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="213"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="91">enumerated value</doc>
          <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
        </return-value>
        <parameters>
          <parameter name="flag"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="87">a string, e.g. `success`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_string"
                c:identifier="fwupd_security_attr_flag_to_string"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="49">Returns the printable string for the flag.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="211"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="55">string, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="51">security attribute flags, e.g. %FWUPD_SECURITY_ATTR_FLAG_SUCCESS</doc>
            <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="flag_to_suffix"
                c:identifier="fwupd_security_attr_flag_to_suffix"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="207">Returns the string suffix for the flag.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="215"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="213">string, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="209">security attribute flags, e.g. %FWUPD_SECURITY_ATTR_FLAG_RUNTIME_UPDATES</doc>
            <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
          </parameter>
        </parameters>
      </function>
      <function name="from_variant"
                c:identifier="fwupd_security_attr_from_variant"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1582">Creates a new security attribute using serialized data.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="222"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1588">a new #FwupdSecurityAttr, or %NULL if @value was invalid</doc>
          <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
        </return-value>
        <parameters>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1584">the serialized data</doc>
            <type name="GLib.Variant" c:type="GVariant*"/>
          </parameter>
        </parameters>
      </function>
      <function name="result_from_string"
                c:identifier="fwupd_security_attr_result_from_string"
                version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="163">Converts a string to an enumerated result.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="219"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="169">enumerated value</doc>
          <type name="SecurityAttrResult" c:type="FwupdSecurityAttrResult"/>
        </return-value>
        <parameters>
          <parameter name="result"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="165">a string, e.g. `not-encrypted`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="result_to_string"
                c:identifier="fwupd_security_attr_result_to_string"
                version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="119">Returns the printable string for the result enum.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="217"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="125">string, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="121">security attribute result, e.g. %FWUPD_SECURITY_ATTR_RESULT_ENABLED</doc>
            <type name="SecurityAttrResult" c:type="FwupdSecurityAttrResult"/>
          </parameter>
        </parameters>
      </function>
      <method name="add_flag"
              c:identifier="fwupd_security_attr_add_flag"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="829">Adds a specific attribute flag to the attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="205"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="831">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="832">the #FwupdSecurityAttrFlags, e.g. %FWUPD_SECURITY_ATTR_FLAG_OBSOLETED</doc>
            <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_guid"
              c:identifier="fwupd_security_attr_add_guid"
              version="1.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="352">Adds a device GUID to the attribute. This indicates the GUID in some way contributed to the
result decided.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="191"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="354">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="355">the GUID</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_guids"
              c:identifier="fwupd_security_attr_add_guids"
              version="1.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="373">Adds device GUIDs to the attribute. This indicates the GUIDs in some way contributed to the
result decided.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="193"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="375">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="guids" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="376">the GUIDs</doc>
            <array name="GLib.PtrArray" c:type="GPtrArray*">
              <type name="utf8"/>
            </array>
          </parameter>
        </parameters>
      </method>
      <method name="add_metadata"
              c:identifier="fwupd_security_attr_add_metadata"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1151">Adds metadata to the attribute which may be used in the name.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="199"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1153">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1154">metadata key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="value"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1155">metadata value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="add_obsolete"
              c:identifier="fwupd_security_attr_add_obsolete"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="288">Adds an attribute appstream_id to obsolete. The obsoleted attribute will not
contribute to the calculated HSI value or be visible in command line tools.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="185"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="290">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="appstream_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="291">the appstream_id or plugin name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="copy"
              c:identifier="fwupd_security_attr_copy"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1649">Makes a full (deep) copy of a security attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr-private.h"
                         line="352"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1655">a new #FwupdSecurityAttr</doc>
          <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self"
                              transfer-ownership="none"
                              nullable="1"
                              allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1651">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="from_json"
              c:identifier="fwupd_security_attr_from_json"
              version="1.7.1"
              throws="1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1273">Loads a fwupd security attribute from a JSON node.</doc>
        <source-position filename="libfwupd/fwupd-security-attr-private.h"
                         line="350"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1281">%TRUE for success</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1275">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="json_node" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1276">a JSON node</doc>
            <type name="Json.Node" c:type="JsonNode*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_appstream_id"
              c:identifier="fwupd_security_attr_get_appstream_id"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="419">Gets the AppStream ID.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="143"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="425">the AppStream ID, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="421">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bios_setting_current_value"
              c:identifier="fwupd_security_attr_get_bios_setting_current_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="546">Gets the current value of the BIOS setting that can be changed.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="138"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="552">the current value of the attribute.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="548">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bios_setting_id"
              c:identifier="fwupd_security_attr_get_bios_setting_id"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="229">Gets the #FwupdBiosSetting that can be used to improve this
#FwupdSecurityAttr.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="130"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="236">The unique ID used for #FwupdBiosSetting or NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="231">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_bios_setting_target_value"
              c:identifier="fwupd_security_attr_get_bios_setting_target_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="505">Gets the value that when written to an attribute would activate it or satisfy
a security requirement.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="134"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="512">the target value of the attribute.</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="507">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_created"
              c:identifier="fwupd_security_attr_get_created"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="677">Gets when the attribute was created.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="179"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="683">the UNIX time, or 0 if unset</doc>
          <type name="guint64" c:type="guint64"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="679">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_description"
              c:identifier="fwupd_security_attr_get_description"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="751">Gets the attribute description which is a few lines of prose that normal users will understand.

The fwupd client program may be able to get translations for this value using a method call
like `dgettext("fwupd",str)`.

NOTE: The returned string may contain placeholders such as `$HostVendor$` or `$HostProduct$`
and these should be replaced with the values from [method@FwupdClient.get_host_vendor] and
[method@FwupdClient.get_host_product].</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="167"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="764">the attribute description, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="753">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_flags"
              c:identifier="fwupd_security_attr_get_flags"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="794">Gets the self flags.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="201"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="800">security attribute flags, or 0 if unset</doc>
          <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="796">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_guids"
              c:identifier="fwupd_security_attr_get_guids"
              version="1.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="334">Gets the list of attribute GUIDs. The GUID values will not modify the calculated HSI value.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="189"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="340">the GUIDs, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="336">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_level"
              c:identifier="fwupd_security_attr_get_level"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="882">Gets the HSI level.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="147"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="888">the security attribute level, or %FWUPD_SECURITY_ATTR_LEVEL_NONE if unset</doc>
          <type name="SecurityAttrLevel" c:type="FwupdSecurityAttrLevel"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="884">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_metadata"
              c:identifier="fwupd_security_attr_get_metadata"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1127">Gets private metadata from the attribute which may be used in the name.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="197"/>
        <return-value transfer-ownership="none" nullable="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1134">the metadata value, or %NULL if unfound</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1129">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="key" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1130">metadata key</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_name"
              c:identifier="fwupd_security_attr_get_name"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="712">Gets the attribute name.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="159"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="718">the attribute name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="714">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_obsoletes"
              c:identifier="fwupd_security_attr_get_obsoletes"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="269">Gets the list of attribute obsoletes. The obsoleted attributes will not
contribute to the calculated HSI value or be visible in command line tools.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="183"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="276">the obsoletes, which may be empty</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="271">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_plugin"
              c:identifier="fwupd_security_attr_get_plugin"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="776">Gets the plugin that created the attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="171"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="782">the plugin name, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="778">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_result"
              c:identifier="fwupd_security_attr_get_result"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="943">Gets the optional HSI result.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="151"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="949">the #FwupdSecurityAttrResult, e.g %FWUPD_SECURITY_ATTR_LEVEL_LOCKED</doc>
          <type name="SecurityAttrResult" c:type="FwupdSecurityAttrResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="945">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_result_fallback"
              c:identifier="fwupd_security_attr_get_result_fallback"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="979">Gets the optional fallback HSI result.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="155"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="985">the #FwupdSecurityAttrResult, e.g %FWUPD_SECURITY_ATTR_LEVEL_LOCKED</doc>
          <type name="SecurityAttrResult" c:type="FwupdSecurityAttrResult"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="981">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_title"
              c:identifier="fwupd_security_attr_get_title"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="730">Gets the attribute title, which is typically a two word title.

The fwupd client program may be able to get translations for this value using a method call
like `dgettext("fwupd",str)`.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="163"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="739">the attribute title, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="732">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_url"
              c:identifier="fwupd_security_attr_get_url"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="464">Gets the attribute URL.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="175"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="470">the attribute result, or %NULL if unset</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="466">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="has_flag"
              c:identifier="fwupd_security_attr_has_flag"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="863">Finds if the attribute has a specific attribute flag.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="209"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="870">%TRUE if the flag is set</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="865">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="866">the attribute flag, e.g. %FWUPD_SECURITY_ATTR_FLAG_OBSOLETED</doc>
            <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_guid"
              c:identifier="fwupd_security_attr_has_guid"
              version="1.7.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="394">Finds out if a specific GUID was added to the attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="195"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="401">%TRUE if the self matches</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="396">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="guid" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="397">the attribute guid</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="has_obsolete"
              c:identifier="fwupd_security_attr_has_obsolete"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="309">Finds out if the attribute obsoletes a specific appstream_id.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="187"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="316">%TRUE if the self matches</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="311">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="appstream_id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="312">the attribute appstream_id</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="remove_flag"
              c:identifier="fwupd_security_attr_remove_flag"
              version="1.8.3">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="846">Removes a specific attribute flag from the attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="207"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="848">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="flag" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="849">the #FwupdSecurityAttrFlags, e.g. %FWUPD_SECURITY_ATTR_FLAG_OBSOLETED</doc>
            <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_appstream_id"
              c:identifier="fwupd_security_attr_set_appstream_id"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="437">Sets the AppStream ID.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="145"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="439">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="appstream_id"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="440">the AppStream component ID, e.g. `com.intel.BiosGuard`</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bios_setting_current_value"
              c:identifier="fwupd_security_attr_set_bios_setting_current_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="564">Sets the current value of the BIOS setting that can be changed.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="140"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="566">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="567">The string to set current value to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bios_setting_id"
              c:identifier="fwupd_security_attr_set_bios_setting_id"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="248">Sets the #FwupdBiosSetting that can be used to improve this
#FwupdSecurityAttr.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="132"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="250">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="251">Unique identifier used for #FwupdBiosSetting</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_bios_setting_target_value"
              c:identifier="fwupd_security_attr_set_bios_setting_target_value"
              version="1.8.4">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="524">Sets the string used for the target value of an attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="136"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="526">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="527">The string to set target value to</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_created"
              c:identifier="fwupd_security_attr_set_created"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="695">Sets when the attribute was created.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="181"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="697">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="created" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="698">the UNIX time</doc>
            <type name="guint64" c:type="guint64"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_description"
              c:identifier="fwupd_security_attr_set_description"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="609">Sets the attribute description.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="169"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="611">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="description"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="612">the attribute description</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_flags"
              c:identifier="fwupd_security_attr_set_flags"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="812">Sets the attribute flags.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="203"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="814">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="flags" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="815">security attribute flags, e.g. %FWUPD_SECURITY_ATTR_FLAG_OBSOLETED</doc>
            <type name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_level"
              c:identifier="fwupd_security_attr_set_level"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="900">Sets the HSI level. A @level of %FWUPD_SECURITY_ATTR_LEVEL_NONE is not used
for the HSI calculation.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="149"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="902">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="level" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="903">a security attribute level, e.g. %FWUPD_SECURITY_ATTR_LEVEL_IMPORTANT</doc>
            <type name="SecurityAttrLevel" c:type="FwupdSecurityAttrLevel"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_name"
              c:identifier="fwupd_security_attr_set_name"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="482">Sets the attribute name.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="161"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="484">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="name"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="485">the attribute name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_plugin"
              c:identifier="fwupd_security_attr_set_plugin"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="632">Sets the plugin that created the attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="173"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="634">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="plugin"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="635">the plugin name</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_result"
              c:identifier="fwupd_security_attr_set_result"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="918">Sets the optional HSI result. This is required because some attributes may
be a "success" when something is `locked` or may be "failed" if `found`.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="153"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="920">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="921">a security attribute result, e.g. %FWUPD_SECURITY_ATTR_LEVEL_LOCKED</doc>
            <type name="SecurityAttrResult" c:type="FwupdSecurityAttrResult"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_result_fallback"
              c:identifier="fwupd_security_attr_set_result_fallback"
              version="1.7.1">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="961">Sets the optional fallback HSI result. The fallback may represent the old state, or a state
that may be considered equivalent.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="157"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="963">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="result" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="964">a security attribute, e.g. %FWUPD_SECURITY_ATTR_LEVEL_LOCKED</doc>
            <type name="SecurityAttrResult" c:type="FwupdSecurityAttrResult"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_title"
              c:identifier="fwupd_security_attr_set_title"
              version="1.8.2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="586">Sets the attribute title.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="165"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="588">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="title"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="589">the attribute title</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_url"
              c:identifier="fwupd_security_attr_set_url"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="655">Sets the attribute result.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="177"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="657">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="url"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="658">the attribute URL</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_json"
              c:identifier="fwupd_security_attr_to_json"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1394">Adds a fwupd security attribute to a JSON builder</doc>
        <source-position filename="libfwupd/fwupd-security-attr-private.h"
                         line="348"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1396">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
          <parameter name="builder" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1397">a JSON builder</doc>
            <type name="Json.Builder" c:type="JsonBuilder*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="fwupd_security_attr_to_string"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="1467">Builds a text representation of the object.</doc>
        <source-position filename="libfwupd/fwupd-security-attr.h" line="127"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1473">text, or %NULL for invalid</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="1469">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="to_variant"
              c:identifier="fwupd_security_attr_to_variant"
              version="1.5.0">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.c"
             line="997">Serialize the security attribute.</doc>
        <source-position filename="libfwupd/fwupd-security-attr-private.h"
                         line="346"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-security-attr.c"
               line="1003">the serialized data, or %NULL for error</doc>
          <type name="GLib.Variant" c:type="GVariant*"/>
        </return-value>
        <parameters>
          <instance-parameter name="self" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="libfwupd/fwupd-security-attr.c"
                 line="999">a #FwupdSecurityAttr</doc>
            <type name="SecurityAttr" c:type="FwupdSecurityAttr*"/>
          </instance-parameter>
        </parameters>
      </method>
      <field name="parent_instance">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
    </class>
    <record name="SecurityAttrClass"
            c:type="FwupdSecurityAttrClass"
            glib:is-gtype-struct-for="SecurityAttr">
      <source-position filename="libfwupd/fwupd-security-attr.h" line="28"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_fwupd_reserved1" introspectable="0">
        <callback name="_fwupd_reserved1">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="21"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved2" introspectable="0">
        <callback name="_fwupd_reserved2">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="22"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved3" introspectable="0">
        <callback name="_fwupd_reserved3">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="23"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved4" introspectable="0">
        <callback name="_fwupd_reserved4">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="24"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved5" introspectable="0">
        <callback name="_fwupd_reserved5">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="25"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved6" introspectable="0">
        <callback name="_fwupd_reserved6">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="26"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_fwupd_reserved7" introspectable="0">
        <callback name="_fwupd_reserved7">
          <source-position filename="libfwupd/fwupd-security-attr.h"
                           line="27"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <bitfield name="SecurityAttrFlags" c:type="FwupdSecurityAttrFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr.h"
           line="30">The flags available for HSI attributes.</doc>
      <source-position filename="libfwupd/fwupd-security-attr.h" line="56"/>
      <member name="none"
              value="0"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="32">No flags set</doc>
      </member>
      <member name="success"
              value="1"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_SUCCESS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="33">Success</doc>
      </member>
      <member name="obsoleted"
              value="2"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_OBSOLETED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="34">Obsoleted by another attribute</doc>
      </member>
      <member name="missing_data"
              value="4"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_MISSING_DATA">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="35">Missing data</doc>
      </member>
      <member name="runtime_updates"
              value="256"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_RUNTIME_UPDATES">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="36">Suffix `U`</doc>
      </member>
      <member name="runtime_attestation"
              value="512"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_RUNTIME_ATTESTATION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="37">Suffix `A`</doc>
      </member>
      <member name="runtime_issue"
              value="1024"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_RUNTIME_ISSUE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="38">Suffix `!`</doc>
      </member>
      <member name="action_contact_oem"
              value="2048"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_ACTION_CONTACT_OEM">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="39">Contact the firmware vendor for a update</doc>
      </member>
      <member name="action_config_fw"
              value="4096"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_ACTION_CONFIG_FW">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="40">Failure may be fixed by changing FW config</doc>
      </member>
      <member name="action_config_os"
              value="8192"
              c:identifier="FWUPD_SECURITY_ATTR_FLAG_ACTION_CONFIG_OS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="41">Failure may be fixed by changing OS config</doc>
      </member>
    </bitfield>
    <enumeration name="SecurityAttrLevel" c:type="FwupdSecurityAttrLevel">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr.h"
           line="58">The HSI level.</doc>
      <source-position filename="libfwupd/fwupd-security-attr.h" line="82"/>
      <member name="none"
              value="0"
              c:identifier="FWUPD_SECURITY_ATTR_LEVEL_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="60">Very few detected firmware protections</doc>
      </member>
      <member name="critical"
              value="1"
              c:identifier="FWUPD_SECURITY_ATTR_LEVEL_CRITICAL">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="61">The most basic of security protections</doc>
      </member>
      <member name="important"
              value="2"
              c:identifier="FWUPD_SECURITY_ATTR_LEVEL_IMPORTANT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="62">Firmware security issues considered
important</doc>
      </member>
      <member name="theoretical"
              value="3"
              c:identifier="FWUPD_SECURITY_ATTR_LEVEL_THEORETICAL">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="64">Firmware security issues that pose a
theoretical concern</doc>
      </member>
      <member name="system_protection"
              value="4"
              c:identifier="FWUPD_SECURITY_ATTR_LEVEL_SYSTEM_PROTECTION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="66">Out-of-band protection of the system
firmware</doc>
      </member>
      <member name="system_attestation"
              value="5"
              c:identifier="FWUPD_SECURITY_ATTR_LEVEL_SYSTEM_ATTESTATION">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="68">Out-of-band attestation of the system
firmware</doc>
      </member>
    </enumeration>
    <enumeration name="SecurityAttrResult" c:type="FwupdSecurityAttrResult">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-security-attr.h"
           line="84">The HSI result.</doc>
      <source-position filename="libfwupd/fwupd-security-attr.h" line="122"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="86">Not known</doc>
      </member>
      <member name="enabled"
              value="1"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_ENABLED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="87">Enabled</doc>
      </member>
      <member name="not_enabled"
              value="2"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_ENABLED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="88">Not enabled</doc>
      </member>
      <member name="valid"
              value="3"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_VALID">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="89">Valid</doc>
      </member>
      <member name="not_valid"
              value="4"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_VALID">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="90">Not valid</doc>
      </member>
      <member name="locked"
              value="5"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_LOCKED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="91">Locked</doc>
      </member>
      <member name="not_locked"
              value="6"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_LOCKED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="92">Not locked</doc>
      </member>
      <member name="encrypted"
              value="7"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_ENCRYPTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="93">Encrypted</doc>
      </member>
      <member name="not_encrypted"
              value="8"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_ENCRYPTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="94">Not encrypted</doc>
      </member>
      <member name="tainted"
              value="9"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_TAINTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="95">Tainted</doc>
      </member>
      <member name="not_tainted"
              value="10"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_TAINTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="96">Not tainted</doc>
      </member>
      <member name="found"
              value="11"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_FOUND">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="97">Found</doc>
      </member>
      <member name="not_found"
              value="12"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_FOUND">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="98">NOt found</doc>
      </member>
      <member name="supported"
              value="13"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_SUPPORTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="99">Supported</doc>
      </member>
      <member name="not_supported"
              value="14"
              c:identifier="FWUPD_SECURITY_ATTR_RESULT_NOT_SUPPORTED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-security-attr.h"
             line="100">Not supported</doc>
      </member>
    </enumeration>
    <bitfield name="SelfSignFlags" c:type="FwupdSelfSignFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="939">Flags to set when performing the firmware update or install.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="953"/>
      <member name="none" value="0" c:identifier="FWUPD_SELF_SIGN_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="941">No flags set</doc>
      </member>
      <member name="add_timestamp"
              value="1"
              c:identifier="FWUPD_SELF_SIGN_FLAG_ADD_TIMESTAMP">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="942">Add the timestamp to the detached signature</doc>
      </member>
      <member name="add_cert"
              value="2"
              c:identifier="FWUPD_SELF_SIGN_FLAG_ADD_CERT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="943">Add the certificate to the detached signature</doc>
      </member>
    </bitfield>
    <enumeration name="Status" c:type="FwupdStatus">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="13">The flags to show daemon status.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="49"/>
      <member name="unknown" value="0" c:identifier="FWUPD_STATUS_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="15">Unknown state</doc>
      </member>
      <member name="idle" value="1" c:identifier="FWUPD_STATUS_IDLE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="16">Idle</doc>
      </member>
      <member name="loading" value="2" c:identifier="FWUPD_STATUS_LOADING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="17">Loading a resource</doc>
      </member>
      <member name="decompressing"
              value="3"
              c:identifier="FWUPD_STATUS_DECOMPRESSING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="18">Decompressing firmware</doc>
      </member>
      <member name="device_restart"
              value="4"
              c:identifier="FWUPD_STATUS_DEVICE_RESTART">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="19">Restarting the device</doc>
      </member>
      <member name="device_write"
              value="5"
              c:identifier="FWUPD_STATUS_DEVICE_WRITE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="20">Writing to a device</doc>
      </member>
      <member name="device_verify"
              value="6"
              c:identifier="FWUPD_STATUS_DEVICE_VERIFY">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="21">Verifying (reading) a device</doc>
      </member>
      <member name="scheduling"
              value="7"
              c:identifier="FWUPD_STATUS_SCHEDULING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="22">Scheduling an offline update</doc>
      </member>
      <member name="downloading"
              value="8"
              c:identifier="FWUPD_STATUS_DOWNLOADING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="23">A file is downloading</doc>
      </member>
      <member name="device_read"
              value="9"
              c:identifier="FWUPD_STATUS_DEVICE_READ">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="24">Reading from a device</doc>
      </member>
      <member name="device_erase"
              value="10"
              c:identifier="FWUPD_STATUS_DEVICE_ERASE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="25">Erasing a device</doc>
      </member>
      <member name="waiting_for_auth"
              value="11"
              c:identifier="FWUPD_STATUS_WAITING_FOR_AUTH">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="26">Waiting for authentication</doc>
      </member>
      <member name="device_busy"
              value="12"
              c:identifier="FWUPD_STATUS_DEVICE_BUSY">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="27">The device is busy</doc>
      </member>
      <member name="shutdown" value="13" c:identifier="FWUPD_STATUS_SHUTDOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="28">The daemon is shutting down</doc>
      </member>
    </enumeration>
    <bitfield name="TrustFlags" c:type="FwupdTrustFlags">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="51">The flags to show the level of trust.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="65"/>
      <member name="none" value="0" c:identifier="FWUPD_TRUST_FLAG_NONE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="53">No trust</doc>
      </member>
      <member name="payload" value="1" c:identifier="FWUPD_TRUST_FLAG_PAYLOAD">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="54">The firmware is trusted</doc>
      </member>
      <member name="metadata"
              value="2"
              c:identifier="FWUPD_TRUST_FLAG_METADATA">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="55">The metadata is trusted</doc>
      </member>
    </bitfield>
    <enumeration name="UpdateState" c:type="FwupdUpdateState">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="955">The update state.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="976"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_UPDATE_STATE_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="957">Unknown</doc>
      </member>
      <member name="pending"
              value="1"
              c:identifier="FWUPD_UPDATE_STATE_PENDING">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="958">Update is pending</doc>
      </member>
      <member name="success"
              value="2"
              c:identifier="FWUPD_UPDATE_STATE_SUCCESS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="959">Update was successful</doc>
      </member>
      <member name="failed" value="3" c:identifier="FWUPD_UPDATE_STATE_FAILED">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="960">Update failed</doc>
      </member>
      <member name="needs_reboot"
              value="4"
              c:identifier="FWUPD_UPDATE_STATE_NEEDS_REBOOT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="961">Waiting for a reboot to apply</doc>
      </member>
      <member name="failed_transient"
              value="5"
              c:identifier="FWUPD_UPDATE_STATE_FAILED_TRANSIENT">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="962">Update failed due to transient issue, e.g. AC power
required</doc>
      </member>
    </enumeration>
    <enumeration name="VersionFormat" c:type="FwupdVersionFormat">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.h"
           line="998">The flags used when parsing version numbers.

If no verification is required then %FWUPD_VERSION_FORMAT_PLAIN should
be used to signify an unparsable text string.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1035"/>
      <member name="unknown"
              value="0"
              c:identifier="FWUPD_VERSION_FORMAT_UNKNOWN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1000">Unknown version format</doc>
      </member>
      <member name="plain" value="1" c:identifier="FWUPD_VERSION_FORMAT_PLAIN">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1001">An unidentified format text string</doc>
      </member>
      <member name="number"
              value="2"
              c:identifier="FWUPD_VERSION_FORMAT_NUMBER">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1002">A single integer version number</doc>
      </member>
      <member name="pair" value="3" c:identifier="FWUPD_VERSION_FORMAT_PAIR">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1003">Two AABB.CCDD version numbers</doc>
      </member>
      <member name="triplet"
              value="4"
              c:identifier="FWUPD_VERSION_FORMAT_TRIPLET">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1004">Microsoft-style AA.BB.CCDD version numbers</doc>
      </member>
      <member name="quad" value="5" c:identifier="FWUPD_VERSION_FORMAT_QUAD">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1005">UEFI-style AA.BB.CC.DD version numbers</doc>
      </member>
      <member name="bcd" value="6" c:identifier="FWUPD_VERSION_FORMAT_BCD">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1006">Binary coded decimal notation</doc>
      </member>
      <member name="intel_me"
              value="7"
              c:identifier="FWUPD_VERSION_FORMAT_INTEL_ME">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1007">Intel ME-style bitshifted notation</doc>
      </member>
      <member name="intel_me2"
              value="8"
              c:identifier="FWUPD_VERSION_FORMAT_INTEL_ME2">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1008">Intel ME-style A.B.CC.DDDD notation notation</doc>
      </member>
      <member name="surface_legacy"
              value="9"
              c:identifier="FWUPD_VERSION_FORMAT_SURFACE_LEGACY">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1009">Legacy Microsoft Surface 10b.12b.10b</doc>
      </member>
      <member name="surface"
              value="10"
              c:identifier="FWUPD_VERSION_FORMAT_SURFACE">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1010">Microsoft Surface 8b.16b.8b</doc>
      </member>
      <member name="dell_bios"
              value="11"
              c:identifier="FWUPD_VERSION_FORMAT_DELL_BIOS">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1011">Dell BIOS BB.CC.DD style</doc>
      </member>
      <member name="hex" value="12" c:identifier="FWUPD_VERSION_FORMAT_HEX">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.h"
             line="1012">Hexadecimal 0xAABCCDD style</doc>
      </member>
    </enumeration>
    <function name="build_history_report_json"
              c:identifier="fwupd_build_history_report_json"
              version="1.0.4"
              throws="1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="545">Builds a JSON report for the list of devices. No filtering is done on the
@devices array, and it is expected that the caller will filter to something
sane, e.g. %FWUPD_DEVICE_FLAG_REPORTED at the bare minimum.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="82"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="554">a string, or %NULL if the ID is not present</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="devices" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="547">devices</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="build_machine_id"
              c:identifier="fwupd_build_machine_id"
              version="1.0.4"
              throws="1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="352">Gets a salted hash of the /etc/machine-id contents. This can be used to
identify a specific machine. It is not possible to recover the original
machine-id from the machine-hash.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="78"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="361">the SHA256 machine hash, or %NULL if the ID is not present</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="salt"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="354">optional salt</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="build_user_agent"
              c:identifier="fwupd_build_user_agent"
              version="1.0.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="304">Builds a user-agent to use for the download.

Supplying harmless details to the server means it knows more about each
client. This allows the web service to respond in a different way, for
instance sending a different metadata file for old versions of fwupd, or
returning an error for Solaris machines.

Before freaking out about theoretical privacy implications, much more data
than this is sent to each and every website you visit.

Rather that using this function you should use [method@Client.set_user_agent_for_package]
which uses the *runtime* version of the daemon rather than the *build-time*
version.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="75"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="323">a string, e.g. `foo/0.1 (Linux i386 4.14.5; en; Fedora 27) fwupd/1.0.3`</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="package_name" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="306">client program name, e.g. `gnome-software`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="package_version" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="307">client program version, e.g. `3.28.1`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="build_user_agent_system"
              c:identifier="fwupd_build_user_agent_system"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="26"/>
      <return-value transfer-ownership="full">
        <type name="utf8" c:type="gchar*"/>
      </return-value>
    </function>
    <function name="checksum_format_for_display"
              c:identifier="fwupd_checksum_format_for_display"
              version="0.9.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="78">Formats a checksum for display.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="73"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="84">text, or %NULL for invalid</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="checksum"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="80">a checksum</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_get_best"
              c:identifier="fwupd_checksum_get_best"
              version="0.9.4">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="118">Gets a the best possible checksum kind.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="67"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="124">a checksum from the array, or %NULL if nothing was suitable</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="checksums" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="120">checksums</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_get_by_kind"
              c:identifier="fwupd_checksum_get_by_kind"
              version="0.9.4">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="95">Gets a specific checksum kind.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="69"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="102">a checksum from the array, or %NULL if not found</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="checksums" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="97">checksums</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="utf8"/>
          </array>
        </parameter>
        <parameter name="kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="98">a checksum type, e.g. %G_CHECKSUM_SHA512</doc>
          <type name="GLib.ChecksumType" c:type="GChecksumType"/>
        </parameter>
      </parameters>
    </function>
    <function name="checksum_guess_kind"
              c:identifier="fwupd_checksum_guess_kind"
              version="0.9.3">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="36">Guesses the checksum kind based on the length of the hash.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="71"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="42">a checksum type, e.g. %G_CHECKSUM_SHA1</doc>
        <type name="GLib.ChecksumType" c:type="GChecksumType"/>
      </return-value>
      <parameters>
        <parameter name="checksum"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="38">a checksum</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="common_json_add_boolean"
              c:identifier="fwupd_common_json_add_boolean"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="45"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="builder" transfer-ownership="none">
          <type name="Json.Builder" c:type="JsonBuilder*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </parameter>
      </parameters>
    </function>
    <function name="common_json_add_int"
              c:identifier="fwupd_common_json_add_int"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="43"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="builder" transfer-ownership="none">
          <type name="Json.Builder" c:type="JsonBuilder*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="common_json_add_string"
              c:identifier="fwupd_common_json_add_string"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="39"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="builder" transfer-ownership="none">
          <type name="Json.Builder" c:type="JsonBuilder*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="common_json_add_stringv"
              c:identifier="fwupd_common_json_add_stringv"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="41"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="builder" transfer-ownership="none">
          <type name="Json.Builder" c:type="JsonBuilder*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="utf8" c:type="gchar**"/>
        </parameter>
      </parameters>
    </function>
    <function name="error_from_string"
              c:identifier="fwupd_error_from_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-error.c"
           line="67">Converts a string to an enumerated error.</doc>
      <source-position filename="libfwupd/fwupd-error.h" line="66"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.c"
             line="73">enumerated value</doc>
        <type name="Error" c:type="FwupdError"/>
      </return-value>
      <parameters>
        <parameter name="error"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-error.c"
               line="69">a string, e.g. `org.freedesktop.fwupd.VersionNewer`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="error_quark"
              c:identifier="fwupd_error_quark"
              version="0.1.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-error.c"
           line="119">The error quark for [enum@FwupdError].</doc>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.c"
             line="124">an error quark</doc>
        <type name="GLib.Quark" c:type="GQuark"/>
      </return-value>
    </function>
    <function name="error_to_string"
              c:identifier="fwupd_error_to_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-error.c"
           line="15">Converts an enumerated error to a string.</doc>
      <source-position filename="libfwupd/fwupd-error.h" line="64"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-error.c"
             line="21">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="error" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-error.c"
               line="17">an enumerated error, e.g. %FWUPD_ERROR_VERSION_NEWER</doc>
          <type name="Error" c:type="FwupdError"/>
        </parameter>
      </parameters>
    </function>
    <function name="feature_flag_from_string"
              c:identifier="fwupd_feature_flag_from_string"
              version="1.4.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="642">Converts a string to an enumerated feature flag.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1080"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="648">enumerated value</doc>
        <type name="FeatureFlags" c:type="FwupdFeatureFlags"/>
      </return-value>
      <parameters>
        <parameter name="feature_flag"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="644">a string, e.g. `detach-action`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="feature_flag_to_string"
              c:identifier="fwupd_feature_flag_to_string"
              version="1.4.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="606">Converts a feature flag to a string.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1078"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="612">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="feature_flag" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="608">a single feature flag, e.g. %FWUPD_FEATURE_FLAG_DETACH_ACTION</doc>
          <type name="FeatureFlags" c:type="FwupdFeatureFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="get_os_release"
              c:identifier="fwupd_get_os_release"
              version="1.0.7"
              throws="1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="170">Loads information from the system os-release file.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="80"/>
      <return-value transfer-ownership="container">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="176">keys from os-release</doc>
        <type name="GLib.HashTable" c:type="GHashTable*">
          <type name="utf8"/>
          <type name="utf8"/>
        </type>
      </return-value>
    </function>
    <function name="guid_from_string"
              c:identifier="fwupd_guid_from_string"
              version="1.2.5"
              throws="1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="747">Converts a string GUID into its binary encoding. All string GUIDs are
formatted as big endian but on-disk can be encoded in different ways.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="97"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="757">%TRUE for success</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="guidstr" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="749">a GUID, e.g. `00112233-4455-6677-8899-aabbccddeeff`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="guid"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="750">a #fwupd_guid_t, or NULL to just check the GUID</doc>
          <type name="guint8" c:type="guint8*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="751">GUID flags, e.g. %FWUPD_GUID_FLAG_MIXED_ENDIAN</doc>
          <type name="GuidFlags" c:type="FwupdGuidFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_hash_data"
              c:identifier="fwupd_guid_hash_data"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="827">Returns a GUID for some data. This uses a hash and so even small
differences in the @data will produce radically different return values.

The implementation is taken from RFC4122, Section 4.1.3; specifically
using a type-5 SHA-1 hash.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="104"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="839">a new GUID, or %NULL for internal error</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="data" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="829">data to hash</doc>
          <type name="guint8" c:type="const guint8*"/>
        </parameter>
        <parameter name="datasz" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="830">length of @data</doc>
          <type name="gsize" c:type="gsize"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="831">GUID flags, e.g. %FWUPD_GUID_FLAG_NAMESPACE_MICROSOFT</doc>
          <type name="GuidFlags" c:type="FwupdGuidFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_hash_string"
              c:identifier="fwupd_guid_hash_string"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="959">Returns a GUID for a given string. This uses a hash and so even small
differences in the @str will produce radically different return values.

The default implementation is taken from RFC4122, Section 4.1.3; specifically
using a type-5 SHA-1 hash with a DNS namespace.
The same result can be obtained with this simple python program:

   #!/usr/bin/python
   import uuid
   print uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="102"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="974">a new GUID, or %NULL if the string was invalid</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="961">a source string to use as a key</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_is_valid"
              c:identifier="fwupd_guid_is_valid"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="919">Checks the string is a valid GUID.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="100"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="925">%TRUE if @guid was a valid GUID, %FALSE otherwise</doc>
        <type name="gboolean" c:type="gboolean"/>
      </return-value>
      <parameters>
        <parameter name="guid" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="921">string to check, e.g. `00112233-4455-6677-8899-aabbccddeeff`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="guid_to_string"
              c:identifier="fwupd_guid_to_string"
              version="1.2.5">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-common.c"
           line="629">Returns a text GUID of mixed or BE endian for a packed buffer.</doc>
      <source-position filename="libfwupd/fwupd-common.h" line="95"/>
      <return-value transfer-ownership="full">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-common.c"
             line="636">a new GUID string</doc>
        <type name="utf8" c:type="gchar*"/>
      </return-value>
      <parameters>
        <parameter name="guid" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="631">a #fwupd_guid_t to read</doc>
          <type name="guint8" c:type="const guint8*"/>
        </parameter>
        <parameter name="flags" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-common.c"
               line="632">GUID flags, e.g. %FWUPD_GUID_FLAG_MIXED_ENDIAN</doc>
          <type name="GuidFlags" c:type="FwupdGuidFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="hash_kv_to_variant"
              c:identifier="fwupd_hash_kv_to_variant"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="22"/>
      <return-value transfer-ownership="full">
        <type name="GLib.Variant" c:type="GVariant*"/>
      </return-value>
      <parameters>
        <parameter name="hash" transfer-ownership="none">
          <type name="GLib.HashTable" c:type="GHashTable*">
            <type name="gpointer" c:type="gpointer"/>
            <type name="gpointer" c:type="gpointer"/>
          </type>
        </parameter>
      </parameters>
    </function>
    <function name="input_stream_read_bytes_async"
              c:identifier="fwupd_input_stream_read_bytes_async"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="29"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="stream" transfer-ownership="none">
          <type name="Gio.InputStream" c:type="GInputStream*"/>
        </parameter>
        <parameter name="cancellable"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <type name="Gio.Cancellable" c:type="GCancellable*"/>
        </parameter>
        <parameter name="callback"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1"
                   scope="async"
                   closure="3">
          <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
        </parameter>
        <parameter name="callback_data"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <type name="gpointer" c:type="gpointer"/>
        </parameter>
      </parameters>
    </function>
    <function name="input_stream_read_bytes_finish"
              c:identifier="fwupd_input_stream_read_bytes_finish"
              introspectable="0"
              throws="1">
      <source-position filename="libfwupd/fwupd-common-private.h" line="34"/>
      <return-value transfer-ownership="full">
        <type name="GLib.Bytes" c:type="GBytes*"/>
      </return-value>
      <parameters>
        <parameter name="stream" transfer-ownership="none">
          <type name="Gio.InputStream" c:type="GInputStream*"/>
        </parameter>
        <parameter name="res" transfer-ownership="none">
          <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyring_kind_from_string"
              c:identifier="fwupd_keyring_kind_from_string"
              version="0.9.7">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="678">Converts an printable string to an enumerated keyring kind.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1082"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="684">keyring kind, e.g. %FWUPD_KEYRING_KIND_GPG</doc>
        <type name="KeyringKind" c:type="FwupdKeyringKind"/>
      </return-value>
      <parameters>
        <parameter name="keyring_kind"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="680">a string, e.g. `gpg`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="keyring_kind_to_string"
              c:identifier="fwupd_keyring_kind_to_string"
              version="0.9.7">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="702">Converts an enumerated keyring kind to a printable string.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1084"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="708">a string, e.g. `gpg`</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="keyring_kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="704">a #FwupdKeyringKind, e.g. %FWUPD_KEYRING_KIND_GPG</doc>
          <type name="KeyringKind" c:type="FwupdKeyringKind"/>
        </parameter>
      </parameters>
    </function>
    <function name="pad_kv_int"
              c:identifier="fwupd_pad_kv_int"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="59"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <type name="GLib.String" c:type="GString*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="guint32" c:type="guint32"/>
        </parameter>
      </parameters>
    </function>
    <function name="pad_kv_str"
              c:identifier="fwupd_pad_kv_str"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="57"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <type name="GLib.String" c:type="GString*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="pad_kv_unx"
              c:identifier="fwupd_pad_kv_unx"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="55"/>
      <return-value transfer-ownership="none">
        <type name="none" c:type="void"/>
      </return-value>
      <parameters>
        <parameter name="str" transfer-ownership="none">
          <type name="GLib.String" c:type="GString*"/>
        </parameter>
        <parameter name="key" transfer-ownership="none">
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
        <parameter name="value" transfer-ownership="none">
          <type name="guint64" c:type="guint64"/>
        </parameter>
      </parameters>
    </function>
    <function name="status_from_string"
              c:identifier="fwupd_status_from_string"
              version="0.1.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="55">Converts a string to an enumerated status.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1048"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="61">enumerated value</doc>
        <type name="Status" c:type="FwupdStatus"/>
      </return-value>
      <parameters>
        <parameter name="status"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="57">a string, e.g. `decompressing`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="status_to_string"
              c:identifier="fwupd_status_to_string"
              version="0.1.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="11">Converts an enumerated status to a string.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1046"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="17">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="status" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="13">a status, e.g. %FWUPD_STATUS_DECOMPRESSING</doc>
          <type name="Status" c:type="FwupdStatus"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_flag_from_string"
              c:identifier="fwupd_trust_flag_from_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="584">Converts a string to an enumerated trust flag.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1076"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="590">enumerated value</doc>
        <type name="TrustFlags" c:type="FwupdTrustFlags"/>
      </return-value>
      <parameters>
        <parameter name="trust_flag"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="586">a string, e.g. `payload`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="trust_flag_to_string"
              c:identifier="fwupd_trust_flag_to_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="562">Converts an enumerated trust flag to a string.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1074"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="568">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="trust_flag" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="564">the trust flags, e.g. %FWUPD_TRUST_FLAG_PAYLOAD</doc>
          <type name="TrustFlags" c:type="FwupdTrustFlags"/>
        </parameter>
      </parameters>
    </function>
    <function name="update_state_from_string"
              c:identifier="fwupd_update_state_from_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="534">Converts a string to an enumerated update state.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1072"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="540">enumerated value</doc>
        <type name="UpdateState" c:type="FwupdUpdateState"/>
      </return-value>
      <parameters>
        <parameter name="update_state"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="536">a string, e.g. `pending`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="update_state_to_string"
              c:identifier="fwupd_update_state_to_string"
              version="0.7.0">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="506">Converts an enumerated update state to a string.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1070"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="512">identifier string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="update_state" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="508">the update state, e.g. %FWUPD_UPDATE_STATE_PENDING</doc>
          <type name="UpdateState" c:type="FwupdUpdateState"/>
        </parameter>
      </parameters>
    </function>
    <function name="variant_to_hash_kv"
              c:identifier="fwupd_variant_to_hash_kv"
              introspectable="0">
      <source-position filename="libfwupd/fwupd-common-private.h" line="24"/>
      <return-value>
        <type name="GLib.HashTable" c:type="GHashTable*">
          <type name="gpointer" c:type="gpointer"/>
          <type name="gpointer" c:type="gpointer"/>
        </type>
      </return-value>
      <parameters>
        <parameter name="dict" transfer-ownership="none">
          <type name="GLib.Variant" c:type="GVariant*"/>
        </parameter>
      </parameters>
    </function>
    <function name="version_format_from_string"
              c:identifier="fwupd_version_format_from_string"
              version="1.2.9">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="840">Converts text to a display version type.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1086"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="846">an enumerated version format, e.g. %FWUPD_VERSION_FORMAT_TRIPLET</doc>
        <type name="VersionFormat" c:type="FwupdVersionFormat"/>
      </return-value>
      <parameters>
        <parameter name="str"
                   transfer-ownership="none"
                   nullable="1"
                   allow-none="1">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="842">a string, e.g. `quad`</doc>
          <type name="utf8" c:type="const gchar*"/>
        </parameter>
      </parameters>
    </function>
    <function name="version_format_to_string"
              c:identifier="fwupd_version_format_to_string"
              version="1.2.9">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-enums.c"
           line="880">Converts an enumerated version format to text.</doc>
      <source-position filename="libfwupd/fwupd-enums.h" line="1088"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-enums.c"
             line="886">a string, e.g. `quad`, or %NULL if not known</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
      <parameters>
        <parameter name="kind" transfer-ownership="none">
          <doc xml:space="preserve"
               filename="libfwupd/fwupd-enums.c"
               line="882">a version format, e.g. %FWUPD_VERSION_FORMAT_TRIPLET</doc>
          <type name="VersionFormat" c:type="FwupdVersionFormat"/>
        </parameter>
      </parameters>
    </function>
    <function name="version_string"
              c:identifier="fwupd_version_string"
              version="1.6.1">
      <doc xml:space="preserve"
           filename="libfwupd/fwupd-version.c"
           line="11">Gets the libfwupd installed runtime version.

This may be different to the *build-time* version if the daemon and library
objects somehow get out of sync.</doc>
      <source-position filename="libfwupd/fwupd-version.h" line="57"/>
      <return-value transfer-ownership="none">
        <doc xml:space="preserve"
             filename="libfwupd/fwupd-version.c"
             line="19">version string</doc>
        <type name="utf8" c:type="const gchar*"/>
      </return-value>
    </function>
  </namespace>
</repository>
