PkUpdateDetail

## PkUpdateDetail PkUpdateDetail — UpdateDetail object |

## Synopsis

    struct              PkUpdateDetail;
    struct              PkUpdateDetailClass;
    PkUpdateDetail *    pk_update_detail_new                (void);
    const gchar *       pk_update_detail_get_package_id     (PkUpdateDetail *update_detail);
    gchar **            pk_update_detail_get_updates        (PkUpdateDetail *update_detail);
    gchar **            pk_update_detail_get_obsoletes      (PkUpdateDetail *update_detail);
    gchar **            pk_update_detail_get_vendor_urls    (PkUpdateDetail *update_detail);
    gchar **            pk_update_detail_get_bugzilla_urls  (PkUpdateDetail *update_detail);
    gchar **            pk_update_detail_get_cve_urls       (PkUpdateDetail *update_detail);
    PkRestartEnum       pk_update_detail_get_restart        (PkUpdateDetail *update_detail);
    const gchar *       pk_update_detail_get_update_text    (PkUpdateDetail *update_detail);
    const gchar *       pk_update_detail_get_changelog      (PkUpdateDetail *update_detail);
    PkUpdateStateEnum   pk_update_detail_get_state          (PkUpdateDetail *update_detail);
    const gchar *       pk_update_detail_get_issued         (PkUpdateDetail *update_detail);
    const gchar *       pk_update_detail_get_updated        (PkUpdateDetail *update_detail);

## Object Hierarchy

      GObject
       +----PkSource
             +----PkUpdateDetail

## Properties

      "bugzilla-urls"            GStrv                 : Read / Write
      "changelog"                gchar*                : Read / Write
      "cve-urls"                 GStrv                 : Read / Write
      "issued"                   gchar*                : Read / Write
      "obsoletes"                GStrv                 : Read / Write
      "package-id"               gchar*                : Read / Write
      "restart"                  guint                 : Read / Write
      "state"                    guint                 : Read / Write
      "update-text"              gchar*                : Read / Write
      "updated"                  gchar*                : Read / Write
      "updates"                  GStrv                 : Read / Write
      "vendor-urls"              GStrv                 : Read / Write

## Description

This GObject represents a update_detail from a transaction. These objects represent single items of data from the transaction, and are often present in lists (PkResults) or just refcounted in client programs.

## Details

### struct PkUpdateDetail

    struct PkUpdateDetail;

### struct PkUpdateDetailClass

    struct PkUpdateDetailClass {
    	PkSourceClass parent_class;
    	/* padding for future expansion */
    	void (*_pk_reserved1) (void);
    	void (*_pk_reserved2) (void);
    	void (*_pk_reserved3) (void);
    	void (*_pk_reserved4) (void);
    	void (*_pk_reserved5) (void);
    };

### pk_update_detail_new ()

    PkUpdateDetail *    pk_update_detail_new                (void);

Returns : | a new PkUpdateDetail object.

Since 0.5.4

### pk_update_detail_get_package_id ()

    const gchar *       pk_update_detail_get_package_id     (PkUpdateDetail *update_detail);

Gets the update detail package ID.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values

Since 0.8.8

### pk_update_detail_get_updates ()

    gchar **            pk_update_detail_get_updates        (PkUpdateDetail *update_detail);

Gets the update detail updates IDs.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values. [transfer none]

Since 0.8.8

### pk_update_detail_get_obsoletes ()

    gchar **            pk_update_detail_get_obsoletes      (PkUpdateDetail *update_detail);

Gets the update detail obsoletes IDs.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values. [transfer none]

Since 0.8.8

### pk_update_detail_get_vendor_urls ()

    gchar **            pk_update_detail_get_vendor_urls    (PkUpdateDetail *update_detail);

Gets the update detail vendor URLs.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values. [transfer none]

Since 0.8.8

### pk_update_detail_get_bugzilla_urls ()

    gchar **            pk_update_detail_get_bugzilla_urls  (PkUpdateDetail *update_detail);

Gets the update detail bugzilla URLs.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values. [transfer none]

Since 0.8.8

### pk_update_detail_get_cve_urls ()

    gchar **            pk_update_detail_get_cve_urls       (PkUpdateDetail *update_detail);

Gets the update detail CVE URLs.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values. [transfer none]

Since 0.8.8

### pk_update_detail_get_restart ()

    PkRestartEnum       pk_update_detail_get_restart        (PkUpdateDetail *update_detail);

Gets the update detail restart kind.

`update_detail` : | a PkUpdateDetail instance
Returns : | enum values

Since 0.8.8

### pk_update_detail_get_update_text ()

    const gchar *       pk_update_detail_get_update_text    (PkUpdateDetail *update_detail);

Gets the update detail update text.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values

Since 0.8.8

### pk_update_detail_get_changelog ()

    const gchar *       pk_update_detail_get_changelog      (PkUpdateDetail *update_detail);

Gets the update detail changelog.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values

Since 0.8.8

### pk_update_detail_get_state ()

    PkUpdateStateEnum   pk_update_detail_get_state          (PkUpdateDetail *update_detail);

Gets the update detail state.

`update_detail` : | a PkUpdateDetail instance
Returns : | enum value

Since 0.8.8

### pk_update_detail_get_issued ()

    const gchar *       pk_update_detail_get_issued         (PkUpdateDetail *update_detail);

Gets the update detail issued string.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values

Since 0.8.8

### pk_update_detail_get_updated ()

    const gchar *       pk_update_detail_get_updated        (PkUpdateDetail *update_detail);

Gets the update detail updated string.

`update_detail` : | a PkUpdateDetail instance
Returns : | string values

Since 0.8.8

## Property Details

### The `"bugzilla-urls"` property

      "bugzilla-urls"            GStrv                 : Read / Write

Since 0.8.1

### The `"changelog"` property

      "changelog"                gchar*                : Read / Write

Default value: NULL

Since 0.5.4

### The `"cve-urls"` property

      "cve-urls"                 GStrv                 : Read / Write

Since 0.8.1

### The `"issued"` property

      "issued"                   gchar*                : Read / Write

Default value: NULL

Since 0.5.4

### The `"obsoletes"` property

      "obsoletes"                GStrv                 : Read / Write

Since 0.8.1

### The `"package-id"` property

      "package-id"               gchar*                : Read / Write

Default value: NULL

Since 0.5.4

### The `"restart"` property

      "restart"                  guint                 : Read / Write

Default value: 0

Since 0.5.4

### The `"state"` property

      "state"                    guint                 : Read / Write

Default value: 0

Since 0.5.4

### The `"update-text"` property

      "update-text"              gchar*                : Read / Write

Default value: NULL

Since 0.5.4

### The `"updated"` property

      "updated"                  gchar*                : Read / Write

Default value: NULL

Since 0.5.4

### The `"updates"` property

      "updates"                  GStrv                 : Read / Write

Since 0.8.1

### The `"vendor-urls"` property

      "vendor-urls"              GStrv                 : Read / Write

Since 0.8.1