View Source GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor (google_api_fact_check_tools v0.7.0)

Information about the claim author.

Attributes

  • imageUrl (type: String.t, default: nil) - Corresponds to ClaimReview.itemReviewed.author.image.
  • jobTitle (type: String.t, default: nil) - Corresponds to ClaimReview.itemReviewed.author.jobTitle.
  • name (type: String.t, default: nil) - A person or organization stating the claim. For instance, "John Doe". Corresponds to ClaimReview.itemReviewed.author.name.
  • sameAs (type: String.t, default: nil) - Corresponds to ClaimReview.itemReviewed.author.sameAs.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor{
    imageUrl: String.t() | nil,
    jobTitle: String.t() | nil,
    name: String.t() | nil,
    sameAs: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.