class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1Claim
Information about the claim.
Attributes
claim_date[RW]
The date that the claim was made. Corresponds to the JSON property `claimDate` @return [String]
claim_review[RW]
One or more reviews of this claim (namely, a fact-checking article). Corresponds to the JSON property `claimReview` @return [Array<Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview>]
claimant[RW]
A person or organization stating the claim. For instance, “John Doe”. Corresponds to the JSON property `claimant` @return [String]
text[RW]
The claim text. For instance, “Crime has doubled in the last 2 years.” Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 49 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 54 def update!(**args) @claim_date = args[:claim_date] if args.key?(:claim_date) @claim_review = args[:claim_review] if args.key?(:claim_review) @claimant = args[:claimant] if args.key?(:claimant) @text = args[:text] if args.key?(:text) end