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

LINT.IfChange Contexts regarding the preferences from OPA_RECIPES. For example, users can click a recipes and say they don't like one cuisine. OpaRecipesContext will contain the doc_id/url of that recipes.

Attributes

  • docId (type: String.t, default: nil) - The recipe doc id where the setting comes from.
  • url (type: String.t, default: nil) - The recipe url where the setting comes from.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.PersonalizationSettingsApiProtoLocalDiscoveryOpaRecipesContext{
    docId: String.t() | nil,
    url: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.