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

Example: "season 2" of serial

Attributes

  • absoluteIndex (type: integer(), default: nil) - The absolute index of the season. 1 is the first element and -1 is the last element in the sequence, -2 is the second-to-last element, and so on. Examples: "first season" => 1 "3rd season" => 3 "last season" => -1
  • evalData (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t, default: nil) - Required, but should only be used inside Aqua and must not be used by outside clients!!
  • rawText (type: String.t, default: nil) -
  • relativeIndex (type: integer(), default: nil) - The relative index of the season. Examples: "previous season" => -1 "current season" => 0 "next season" => 1

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaSeasonConstraint{
    absoluteIndex: integer() | nil,
    evalData:
      GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingAnnotationEvalData.t()
      | nil,
    rawText: String.t() | nil,
    relativeIndex: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.