View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacetFacetValue (google_api_retail v0.3.0)

A facet value which contains value names and their count.

Attributes

  • count (type: String.t, default: nil) - Number of items that have this facet value.
  • interval (type: GoogleApi.Retail.V2.Model.GoogleCloudRetailV2Interval.t, default: nil) - Interval value for a facet, such as [10, 20) for facet "price".
  • value (type: String.t, default: nil) - Text value of a facet, such as "Black" for facet "colorFamilies".

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacetFacetValue{
    count: String.t() | nil,
    interval: GoogleApi.Retail.V2.Model.GoogleCloudRetailV2Interval.t() | nil,
    value: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.