## up-qos-item up-qos-item — Helper object representing one item of QOS data. |

## Synopsis

    const gchar *       up_qos_item_get_cmdline             (UpQosItem *qos_item);
    guint               up_qos_item_get_cookie              (UpQosItem *qos_item);
    UpQosKind           up_qos_item_get_kind                (UpQosItem *qos_item);
    gboolean            up_qos_item_get_persistent          (UpQosItem *qos_item);
    guint               up_qos_item_get_pid                 (UpQosItem *qos_item);
    const gchar *       up_qos_item_get_sender              (UpQosItem *qos_item);
    guint64             up_qos_item_get_timespec            (UpQosItem *qos_item);
    guint               up_qos_item_get_uid                 (UpQosItem *qos_item);
    gint                up_qos_item_get_value               (UpQosItem *qos_item);
    UpQosItem *         up_qos_item_new                     (void);
    void                up_qos_item_set_cmdline             (UpQosItem *qos_item,
                                                             const gchar *cmdline);
    void                up_qos_item_set_cookie              (UpQosItem *qos_item,
                                                             guint cookie);
    void                up_qos_item_set_kind                (UpQosItem *qos_item,
                                                             UpQosKind type);
    void                up_qos_item_set_persistent          (UpQosItem *qos_item,
                                                             gboolean persistent);
    void                up_qos_item_set_pid                 (UpQosItem *qos_item,
                                                             guint pid);
    void                up_qos_item_set_sender              (UpQosItem *qos_item,
                                                             const gchar *sender);
    void                up_qos_item_set_timespec            (UpQosItem *qos_item,
                                                             guint64 timespec);
    void                up_qos_item_set_uid                 (UpQosItem *qos_item,
                                                             guint uid);
    void                up_qos_item_set_value               (UpQosItem *qos_item,
                                                             gint value);

## Description

This object represents one item of data which may be returned from the daemon in response to a query.

See also: UpDevice, UpClient

## Details

### up_qos_item_get_cmdline ()

    const gchar *       up_qos_item_get_cmdline             (UpQosItem *qos_item);

Gets the item cmdline.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_cookie ()

    guint               up_qos_item_get_cookie              (UpQosItem *qos_item);

Gets the item cookie.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_kind ()

    UpQosKind           up_qos_item_get_kind                (UpQosItem *qos_item);

Gets the item type.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_persistent ()

    gboolean            up_qos_item_get_persistent          (UpQosItem *qos_item);

Gets the item persistent.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_pid ()

    guint               up_qos_item_get_pid                 (UpQosItem *qos_item);

Gets the item pid.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_sender ()

    const gchar *       up_qos_item_get_sender              (UpQosItem *qos_item);

Gets the item sender.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_timespec ()

    guint64             up_qos_item_get_timespec            (UpQosItem *qos_item);

Gets the item timespec.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_uid ()

    guint               up_qos_item_get_uid                 (UpQosItem *qos_item);

Gets the item uid.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_get_value ()

    gint                up_qos_item_get_value               (UpQosItem *qos_item);

Gets the item value.

`qos_item` : | UpQosItem
Returns : | the value

Since 0.9.0

### up_qos_item_new ()

    UpQosItem *         up_qos_item_new                     (void);

Returns : | a new UpQosItem object.

Since 0.9.0

### up_qos_item_set_cmdline ()

    void                up_qos_item_set_cmdline             (UpQosItem *qos_item,
                                                             const gchar *cmdline);

Sets the item cmdline.

`qos_item` : | UpQosItem
`cmdline` : | the new value

Since 0.9.0

### up_qos_item_set_cookie ()

    void                up_qos_item_set_cookie              (UpQosItem *qos_item,
                                                             guint cookie);

Sets the item cookie.

`qos_item` : | UpQosItem
`cookie` : | the new value

Since 0.9.0

### up_qos_item_set_kind ()

    void                up_qos_item_set_kind                (UpQosItem *qos_item,
                                                             UpQosKind type);

Sets the item type.

`qos_item` : | UpQosItem
`type` : | the new value

Since 0.9.0

### up_qos_item_set_persistent ()

    void                up_qos_item_set_persistent          (UpQosItem *qos_item,
                                                             gboolean persistent);

Sets the item persistent.

`qos_item` : | UpQosItem
`persistent` : | the new value

Since 0.9.0

### up_qos_item_set_pid ()

    void                up_qos_item_set_pid                 (UpQosItem *qos_item,
                                                             guint pid);

Sets the item pid.

`qos_item` : | UpQosItem
`pid` : | the new value

Since 0.9.0

### up_qos_item_set_sender ()

    void                up_qos_item_set_sender              (UpQosItem *qos_item,
                                                             const gchar *sender);

Sets the item sender.

`qos_item` : | UpQosItem
`sender` : | the new value

Since 0.9.0

### up_qos_item_set_timespec ()

    void                up_qos_item_set_timespec            (UpQosItem *qos_item,
                                                             guint64 timespec);

Sets the item timespec.

`qos_item` : | UpQosItem
`timespec` : | the new value

Since 0.9.0

### up_qos_item_set_uid ()

    void                up_qos_item_set_uid                 (UpQosItem *qos_item,
                                                             guint uid);

Sets the item uid.

`qos_item` : | UpQosItem
`uid` : | the new value

Since 0.9.0

### up_qos_item_set_value ()

    void                up_qos_item_set_value               (UpQosItem *qos_item,
                                                             gint value);

Sets the item value.

`qos_item` : | UpQosItem
`value` : | the new value

Since 0.9.0