View Source GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacet (google_api_retail v0.19.1)

A facet result.

Attributes

  • dynamicFacet (type: boolean(), default: nil) - Whether the facet is dynamically generated.
  • key (type: String.t, default: nil) - The key for this facet. E.g., "colorFamilies" or "price" or "attributes.attr1".
  • values (type: list(GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacetFacetValue.t), default: nil) - The facet values for this field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacet{
  dynamicFacet: boolean() | nil,
  key: String.t() | nil,
  values:
    [
      GoogleApi.Retail.V2.Model.GoogleCloudRetailV2SearchResponseFacetFacetValue.t()
    ]
    | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.