AppStream.Review
Description: Reference for AppStream.Review

### Class

# AppStreamReview

#### Description

    class AppStream.Review : GObject.Object
    {
      /* No available fields */
    }

No description available.

#### Ancestors

- GObject

#### Constructors

###### as_review_new

Creates a new `AsReview`.

since: 0.14.0

#### Instance methods

###### as_review_add_flags

Adds flags to an existing review without replacing the other flags.

since: 0.14.0

###### as_review_add_metadata

Adds metadata to the review object. It is left for the the plugin to use this method as required, but a typical use would be to store some secure authentication token.

since: 0.14.0

###### as_review_equal

Checks if two reviews are the same.

since: 0.14.0

###### as_review_get_date

Gets the date the review was originally submitted.

since: 0.14.0

###### as_review_get_description

Gets the multi-line review text that forms the body of the review.

since: 0.14.0

###### as_review_get_flags

Gets any flags set on the review, for example if the user has already voted on the review or if the user wrote the review themselves.

since: 0.14.0

###### as_review_get_id

Gets the review id.

since: 0.14.0

###### as_review_get_locale

Gets the locale for the review.

since: 0.14.0

###### as_review_get_metadata_item

Gets some metadata from a review object. It is left for the the plugin to use this method as required, but a typical use would be to retrieve some secure authentication token.

since: 0.14.0

###### as_review_get_priority

This allows the UI to sort reviews into the correct order. Higher numbers indicate a more important or relevant review.

since: 0.14.0

###### as_review_get_rating

Gets the star rating of the review, where 100 is 5 stars.

since: 0.14.0

###### as_review_get_reviewer_id

Gets the name of the reviewer.

since: 0.14.0

###### as_review_get_reviewer_name

Gets the name of the reviewer.

since: 0.14.0

###### as_review_get_summary

Gets the review summary.

since: 0.14.0

###### as_review_get_version

Gets the version string for the application being reviewed..

since: 0.14.0

###### as_review_set_date

Sets the date the review was originally submitted.

since: 0.14.0

###### as_review_set_description

Sets the multi-line review text that forms the body of the review.

since: 0.14.0

###### as_review_set_flags

Gets any flags set on the review, for example if the user has already voted on the review or if the user wrote the review themselves.

since: 0.14.0

###### as_review_set_id

Sets the review identifier that is unique to each review.

since: 0.14.0

###### as_review_set_locale

Sets the locale for the review.

since: 0.14.0

###### as_review_set_priority

Sets the priority for the review, where positive numbers indicate a better review for the specific user.

since: 0.14.0

###### as_review_set_rating

Sets the star rating of the review, where 100 is 5 stars..

since: 0.14.0

###### as_review_set_reviewer_id

Sets the name of the reviewer, which can be left unset.

since: 0.14.0

###### as_review_set_reviewer_name

Sets the name of the reviewer, which can be left unset.

since: 0.14.0

###### as_review_set_summary

Sets the one-line summary that may be displayed in bold.

since: 0.14.0

###### as_review_set_version

Sets the version string for the application being reviewed.

since: 0.14.0

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### AppStream.Review:date

No description available.

since: 0.14.0

###### AppStream.Review:description

No description available.

since: 0.14.0

###### AppStream.Review:flags

No description available.

since: 0.14.0

###### AppStream.Review:id

No description available.

since: 0.14.0

###### AppStream.Review:locale

No description available.

since: 0.14.0

###### AppStream.Review:priority

The priority for the review, where positive numbers indicate a better review for the specific user.

since: 0.15.6

###### AppStream.Review:rating

No description available.

since: 0.14.0

###### AppStream.Review:reviewer-id

No description available.

since: 0.14.0

###### AppStream.Review:reviewer-name

No description available.

since: 0.14.0

###### AppStream.Review:summary

No description available.

since: 0.14.0

###### AppStream.Review:version

No description available.

since: 0.14.0

#### Signals

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct AppStreamReviewClass {
      GObjectClass parent_class;
      void (* _as_reserved1) (
    void
      );
      void (* _as_reserved2) (
    void
      );
      void (* _as_reserved3) (
    void
      );
      void (* _as_reserved4) (
    void
      );
      void (* _as_reserved5) (
    void
      );
      void (* _as_reserved6) (
    void
      );
      void (* _as_reserved7) (
    void
      );
      void (* _as_reserved8) (
    void
      );

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.

`_as_reserved1: void (* _as_reserved1) ( void )`

  No description available.

`_as_reserved2: void (* _as_reserved2) ( void )`

  No description available.

`_as_reserved3: void (* _as_reserved3) ( void )`

  No description available.

`_as_reserved4: void (* _as_reserved4) ( void )`

  No description available.

`_as_reserved5: void (* _as_reserved5) ( void )`

  No description available.

`_as_reserved6: void (* _as_reserved6) ( void )`

  No description available.

`_as_reserved7: void (* _as_reserved7) ( void )`

  No description available.

`_as_reserved8: void (* _as_reserved8) ( void )`

  No description available.