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

Attributes

  • cheap (type: boolean(), default: nil) -
  • currencyCode (type: String.t, default: nil) - The currency codes are expected to be string from the list in i18n/identifiers/currencycode.*
  • expensive (type: boolean(), default: nil) -
  • maxPrice (type: float(), default: nil) -
  • minPrice (type: float(), default: nil) -
  • moderatelyPriced (type: boolean(), default: nil) -
  • unspecified (type: boolean(), default: nil) - The user mentioned something about price, but didn't mention a specific constraint. This is used to indicate an intent to remove all price constraints, in queries like [forget the price].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingLocalPriceConstraint{
    cheap: boolean() | nil,
    currencyCode: String.t() | nil,
    expensive: boolean() | nil,
    maxPrice: float() | nil,
    minPrice: float() | nil,
    moderatelyPriced: boolean() | nil,
    unspecified: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.