NlpSemanticParsingLocalStarRatings

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings


Table of Contents ▼

Jump to a specific part of the page:

Description

Star ratings constraints, mostly relevant for hotels. There is an implicit OR relation between these. E.g., for "three star or four star hotel" both three and four would be set to true. Next Available ID: 13.

Attributes List

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

View Attributes

Attributes

  1. five (type: boolean(), default: nil)
    -
  2. four (type: boolean(), default: nil)
    -
  3. fourAndAHalf (type: boolean(), default: nil)
    -
  4. one (type: boolean(), default: nil)
    -
  5. oneAndAHalf (type: boolean(), default: nil)
    -
  6. orFewer (type: boolean(), default: nil)
    -
  7. orMore (type: boolean(), default: nil)
    - If this field is set, exactly one of the star classes above should be set, and the interpretation should be that at least that many stars should be present.
  8. three (type: boolean(), default: nil)
    -
  9. threeAndAHalf (type: boolean(), default: nil)
    -
  10. two (type: boolean(), default: nil)
    -
  11. twoAndAHalf (type: boolean(), default: nil)
    -
  12. unspecified (type: boolean(), default: nil)
    -

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings{
five: boolean() | nil,
four: boolean() | nil,
fourAndAHalf: boolean() | nil,
one: boolean() | nil,
oneAndAHalf: boolean() | nil,
orFewer: boolean() | nil,
orMore: boolean() | nil,
three: boolean() | nil,
threeAndAHalf: boolean() | nil,
two: boolean() | nil,
twoAndAHalf: boolean() | nil,
unspecified: boolean() | nil
}

Function

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

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