up-wakeup-item

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

## Synopsis

    const gchar *       up_wakeup_item_get_cmdline          (UpWakeupItem *wakeup_item);
    const gchar *       up_wakeup_item_get_details          (UpWakeupItem *wakeup_item);
    guint               up_wakeup_item_get_id               (UpWakeupItem *wakeup_item);
    gboolean            up_wakeup_item_get_is_userspace     (UpWakeupItem *wakeup_item);
    guint               up_wakeup_item_get_old              (UpWakeupItem *wakeup_item);
    gdouble             up_wakeup_item_get_value            (UpWakeupItem *wakeup_item);
    UpWakeupItem *      up_wakeup_item_new                  (void);
    void                up_wakeup_item_set_cmdline          (UpWakeupItem *wakeup_item,
                                                             const gchar *cmdline);
    void                up_wakeup_item_set_details          (UpWakeupItem *wakeup_item,
                                                             const gchar *details);
    void                up_wakeup_item_set_id               (UpWakeupItem *wakeup_item,
                                                             guint id);
    void                up_wakeup_item_set_is_userspace     (UpWakeupItem *wakeup_item,
                                                             gboolean is_userspace);
    void                up_wakeup_item_set_old              (UpWakeupItem *wakeup_item,
                                                             guint old);
    void                up_wakeup_item_set_value            (UpWakeupItem *wakeup_item,
                                                             gdouble 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_wakeup_item_get_cmdline ()

    const gchar *       up_wakeup_item_get_cmdline          (UpWakeupItem *wakeup_item);

Gets the item cmdline.

`wakeup_item` : | UpWakeupItem
Returns : | the value

Since 0.9.0

### up_wakeup_item_get_details ()

    const gchar *       up_wakeup_item_get_details          (UpWakeupItem *wakeup_item);

Gets the item details.

`wakeup_item` : | UpWakeupItem
Returns : | the value

Since 0.9.0

### up_wakeup_item_get_id ()

    guint               up_wakeup_item_get_id               (UpWakeupItem *wakeup_item);

Gets the item id.

`wakeup_item` : | UpWakeupItem
Returns : | the value

Since 0.9.0

### up_wakeup_item_get_is_userspace ()

    gboolean            up_wakeup_item_get_is_userspace     (UpWakeupItem *wakeup_item);

Gets if the item is userspace.

`wakeup_item` : | UpWakeupItem
Returns : | the value

Since 0.9.0

### up_wakeup_item_get_old ()

    guint               up_wakeup_item_get_old              (UpWakeupItem *wakeup_item);

Gets the item old.

`wakeup_item` : | UpWakeupItem
Returns : | the value

Since 0.9.0

### up_wakeup_item_get_value ()

    gdouble             up_wakeup_item_get_value            (UpWakeupItem *wakeup_item);

Gets the item value.

`wakeup_item` : | UpWakeupItem
Returns : | the value

Since 0.9.0

### up_wakeup_item_new ()

    UpWakeupItem *      up_wakeup_item_new                  (void);

Returns : | a new UpWakeupItem object.

Since 0.9.0

### up_wakeup_item_set_cmdline ()

    void                up_wakeup_item_set_cmdline          (UpWakeupItem *wakeup_item,
                                                             const gchar *cmdline);

Sets the item cmdline.

`wakeup_item` : | UpWakeupItem
`cmdline` : | the new value

Since 0.9.0

### up_wakeup_item_set_details ()

    void                up_wakeup_item_set_details          (UpWakeupItem *wakeup_item,
                                                             const gchar *details);

Sets the item details.

`wakeup_item` : | UpWakeupItem
`details` : | the new value

Since 0.9.0

### up_wakeup_item_set_id ()

    void                up_wakeup_item_set_id               (UpWakeupItem *wakeup_item,
                                                             guint id);

Sets the item id.

`wakeup_item` : | UpWakeupItem
`id` : | the new value

Since 0.9.0

### up_wakeup_item_set_is_userspace ()

    void                up_wakeup_item_set_is_userspace     (UpWakeupItem *wakeup_item,
                                                             gboolean is_userspace);

Sets if the item is userspace.

`wakeup_item` : | UpWakeupItem
`is_userspace` : | the new value

Since 0.9.0

### up_wakeup_item_set_old ()

    void                up_wakeup_item_set_old              (UpWakeupItem *wakeup_item,
                                                             guint old);

Sets the item old.

`wakeup_item` : | UpWakeupItem
`old` : | the new value

Since 0.9.0

### up_wakeup_item_set_value ()

    void                up_wakeup_item_set_value            (UpWakeupItem *wakeup_item,
                                                             gdouble value);

Sets the item value.

`wakeup_item` : | UpWakeupItem
`value` : | the new value

Since 0.9.0