ShoppingWebentityShoppingAnnotationProductRating

GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationProductRating


Table of Contents ▼

Jump to a specific part of the page:

Description

Information about a rating provided for a product. This can represent an aggregated rating if count is set. Next Id: 7

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. count (type: String.t, default: nil)
    - Number of ratings/reviews aggregated to create this product rating. If there are no ratings yet, this field will be explicitly set to zero, so whether this field is set should be checked using has_count.
  2. maxValueMillis (type: String.t, default: nil)
    -
  3. minValueMillis (type: String.t, default: nil)
    - The lower and upper bounds of the rating values that could be submitted for the product. (Note that it is not the min/max ratings submitted for the product, it is the min/max that can hypothetically be submitted.)
  4. source (type: String.t, default: nil)
    -
  5. value (type: float(), default: nil)
    - The value of this rating normalized between 0 and 5. This will not be set if count is set to 0.
  6. valueMillis (type: String.t, default: nil)
    - The non-normalized aggregated value of the ratings for this product.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationProductRating{
count: String.t() | nil,
maxValueMillis: String.t() | nil,
minValueMillis: String.t() | nil,
source: String.t() | nil,
value: float() | nil,
valueMillis: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.ShoppingWebentityShoppingAnnotationProductRating