Class: Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
- Inherits:
-
Object
- Object
- Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/factchecktools_v1alpha1/classes.rb,
generated/google/apis/factchecktools_v1alpha1/representations.rb,
generated/google/apis/factchecktools_v1alpha1/representations.rb
Overview
Information about a claim review.
Instance Attribute Summary collapse
-
#language_code ⇒ String
The language this review was written in.
-
#publisher ⇒ Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher
Information about the publisher.
-
#review_date ⇒ String
The date the claim was reviewed.
-
#textual_rating ⇒ String
Textual rating.
-
#title ⇒ String
The title of this claim review, if it can be determined.
-
#url ⇒ String
The URL of this claim review.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
constructor
A new instance of GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview
Returns a new instance of GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.
187 188 189 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 187 def initialize(**args) update!(**args) end |
Instance Attribute Details
#language_code ⇒ String
The language this review was written in. For instance, "en" or "de".
Corresponds to the JSON property languageCode
160 161 162 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 160 def language_code @language_code end |
#publisher ⇒ Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Publisher
Information about the publisher.
Corresponds to the JSON property publisher
165 166 167 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 165 def publisher @publisher end |
#review_date ⇒ String
The date the claim was reviewed.
Corresponds to the JSON property reviewDate
170 171 172 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 170 def review_date @review_date end |
#textual_rating ⇒ String
Textual rating. For instance, "Mostly false".
Corresponds to the JSON property textualRating
175 176 177 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 175 def @textual_rating end |
#title ⇒ String
The title of this claim review, if it can be determined.
Corresponds to the JSON property title
180 181 182 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 180 def title @title end |
#url ⇒ String
The URL of this claim review.
Corresponds to the JSON property url
185 186 187 |
# File 'generated/google/apis/factchecktools_v1alpha1/classes.rb', line 185 def url @url end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
192 193 194 195 196 197 198 199 |
# File 'generated/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 |