class Google::Apis::FactchecktoolsV1alpha1::GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor
Information about the claim author.
Attributes
image_url[RW]
Corresponds to `ClaimReview.itemReviewed.author.image`. Corresponds to the JSON property `imageUrl` @return [String]
job_title[RW]
Corresponds to `ClaimReview.itemReviewed.author.jobTitle`. Corresponds to the JSON property `jobTitle` @return [String]
name[RW]
A person or organization stating the claim. For instance, “John Doe”. Corresponds to `ClaimReview.itemReviewed.author.name`. Corresponds to the JSON property `name` @return [String]
same_as[RW]
Corresponds to `ClaimReview.itemReviewed.author.sameAs`. Corresponds to the JSON property `sameAs` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/factchecktools_v1alpha1/classes.rb, line 87 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 92 def update!(**args) @image_url = args[:image_url] if args.key?(:image_url) @job_title = args[:job_title] if args.key?(:job_title) @name = args[:name] if args.key?(:name) @same_as = args[:same_as] if args.key?(:same_as) end