PackageKit Reference Manual: PkFiles

## PkFiles PkFiles — Files object |

## Functions

PkFiles * | pk_files_new ()

## Properties

GStrv | files | Read / Write
gchar * | package-id | Read / Write

## Types and Values

struct | PkFiles
struct | PkFilesClass

## Object Hierarchy

        GObject
        ╰── PkSource
            ╰── PkFiles

## Description

This GObject represents a files 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.

## Functions

### pk_files_new ()

    PkFiles *
    pk_files_new (void);

#### Returns

a new PkFiles object.

Since 0.5.4

## Types and Values

### struct PkFiles

    struct PkFiles;

### struct PkFilesClass

    struct PkFilesClass {
    	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);
    };

## Property Details

### The `“files”` property

      “files”                    GStrv

Flags: Read / Write

Since 0.5.4

### The `“package-id”` property

      “package-id”               gchar *

Flags: Read / Write

Default value: NULL

Since 0.5.4