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

Basic emotions. NEXT ID: 7

Attributes

  • anger (type: integer(), default: nil) -
  • disgust (type: integer(), default: nil) -
  • fear (type: integer(), default: nil) -
  • happiness (type: integer(), default: nil) -
  • sadness (type: integer(), default: nil) -
  • surprise (type: integer(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SentimentSentimentEmotions{
  anger: integer() | nil,
  disgust: integer() | nil,
  fear: integer() | nil,
  happiness: integer() | nil,
  sadness: integer() | nil,
  surprise: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.