class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview

Information about a claim review.

Attributes

language_code[RW]

The language this review was written in. For instance, “en” or “de”. Corresponds to the JSON property `languageCode` @return [String]

publisher[RW]

Information about the publisher. Corresponds to the JSON property `publisher` @return [Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher]

review_date[RW]

The date the claim was reviewed. Corresponds to the JSON property `reviewDate` @return [String]

textual_rating[RW]

Textual rating. For instance, “Mostly false”. Corresponds to the JSON property `textualRating` @return [String]

title[RW]

The title of this claim review, if it can be determined. Corresponds to the JSON property `title` @return [String]

url[RW]

The URL of this claim review. Corresponds to the JSON property `url` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 187
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 192
def update!(**args)
  @language_code = args[:language_code] if args.key?(:language_code)
  @publisher = args[:publisher] if args.key?(:publisher)
  @review_date = args[:review_date] if args.key?(:review_date)
  @textual_rating = args[:textual_rating] if args.key?(:textual_rating)
  @title = args[:title] if args.key?(:title)
  @url = args[:url] if args.key?(:url)
end