google_api_fact_check_tools v0.4.1 GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating View Source

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.<br> 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.<br> Corresponds to ClaimReview.reviewRating.ratingValue.
  • textualRating (type: String.t, default: nil) - The truthfulness rating as a human-readible short word or phrase.<br> Corresponds to ClaimReview.reviewRating.alternateName.
  • worstRating (type: integer(), default: nil) - For numeric ratings, the worst value possible in the scale from worst to best.<br> Corresponds to ClaimReview.reviewRating.worstRating.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.