View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings (google_api_content_warehouse v0.3.0)

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

  • five (type: boolean(), default: nil) -
  • four (type: boolean(), default: nil) -
  • fourAndAHalf (type: boolean(), default: nil) -
  • one (type: boolean(), default: nil) -
  • oneAndAHalf (type: boolean(), default: nil) -
  • orFewer (type: boolean(), default: nil) -
  • 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.
  • three (type: boolean(), default: nil) -
  • threeAndAHalf (type: boolean(), default: nil) -
  • two (type: boolean(), default: nil) -
  • twoAndAHalf (type: boolean(), default: nil) -
  • unspecified (type: boolean(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@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
}

Functions

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

Unwrap a decoded JSON object into its complex fields.