View Source GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating (google_api_fact_check_tools v0.8.0)

Information about the claim rating.

Attributes

  • bestRating (type: integer(), default: nil) - For numeric ratings, the best value possible in the scale from worst to best. Corresponds to ClaimReview.reviewRating.bestRating.
  • imageUrl (type: String.t, default: nil) - Corresponds to ClaimReview.reviewRating.image.
  • ratingExplanation (type: String.t, default: nil) - Corresponds to ClaimReview.reviewRating.ratingExplanation.
  • ratingValue (type: integer(), default: nil) - A numeric rating of this claim, in the range worstRating — bestRating inclusive. Corresponds to ClaimReview.reviewRating.ratingValue.
  • textualRating (type: String.t, default: nil) - The truthfulness rating as a human-readible short word or phrase. Corresponds to ClaimReview.reviewRating.alternateName.
  • worstRating (type: integer(), default: nil) - For numeric ratings, the worst value possible in the scale from worst to best. Corresponds to ClaimReview.reviewRating.worstRating.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating{
    bestRating: integer() | nil,
    imageUrl: String.t() | nil,
    ratingExplanation: String.t() | nil,
    ratingValue: integer() | nil,
    textualRating: String.t() | nil,
    worstRating: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.