View Source GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature (google_api_content_warehouse v0.4.0)

CandidateFeature contains a pair of feature name and score for a snippet candidate.

Attributes

  • name (type: String.t, default: nil) - Name corresponds to the names in WebChooserScorer::FeatureNames.
  • score (type: number(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.MustangReposWwwSnippetsCandidateFeature{
    name: String.t() | nil,
    score: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.