class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimRating
Information about the claim rating.
Attributes
For numeric ratings, the best value possible in the scale from worst to best. Corresponds to `ClaimReview.reviewRating.bestRating`. Corresponds to the JSON property `bestRating` @return [Fixnum]
Corresponds to `ClaimReview.reviewRating.image`. Corresponds to the JSON property `imageUrl` @return [String]
Corresponds to `ClaimReview.reviewRating.ratingExplanation`. Corresponds to the JSON property `ratingExplanation` @return [String]
A numeric rating of this claim, in the range worstRating — bestRating inclusive. Corresponds to `ClaimReview.reviewRating.ratingValue`. Corresponds to the JSON property `ratingValue` @return [Fixnum]
The truthfulness rating as a human-readible short word or phrase. Corresponds to `ClaimReview.reviewRating.alternateName`. Corresponds to the JSON property `textualRating` @return [String]
For numeric ratings, the worst value possible in the scale from worst to best. Corresponds to `ClaimReview.reviewRating.worstRating`. Corresponds to the JSON property `worstRating` @return [Fixnum]
Public Class Methods
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 138 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 143 def update!(**args) @best_rating = args[:best_rating] if args.key?(:best_rating) @image_url = args[:image_url] if args.key?(:image_url) @rating_explanation = args[:rating_explanation] if args.key?(:rating_explanation) @rating_value = args[:rating_value] if args.key?(:rating_value) @textual_rating = args[:textual_rating] if args.key?(:textual_rating) @worst_rating = args[:worst_rating] if args.key?(:worst_rating) end