View Source GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint (google_api_content_warehouse v0.4.0)

Quality constraints about the establishment. In the future we can add to this message Zagat ratings, user reviews, etc. Next ID: 6.

Attributes

  • best (type: boolean(), default: nil) -
  • highlyRated (type: boolean(), default: nil) -
  • starType (type: String.t, default: nil) -
  • stars (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings.t, default: nil) -
  • unspecified (type: boolean(), default: nil) - The user mentioned something about quality, but didn't mention a specific constraint. This is used to indicate an intent to remove all quality constraints, in queries like [forget the rating].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalQualityConstraint{
    best: boolean() | nil,
    highlyRated: boolean() | nil,
    starType: String.t() | nil,
    stars:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalStarRatings.t()
      | nil,
    unspecified: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.