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

Information about the claim.

Attributes

  • claimDate (type: DateTime.t, default: nil) - The date that the claim was made.
  • claimReview (type: list(GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.t), default: nil) - One or more reviews of this claim (namely, a fact-checking article).
  • claimant (type: String.t, default: nil) - A person or organization stating the claim. For instance, "John Doe".
  • text (type: String.t, default: nil) - The claim text. For instance, "Crime has doubled in the last 2 years."

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1Claim{
    claimDate: DateTime.t() | nil,
    claimReview:
      [
        GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview.t()
      ]
      | nil,
    claimant: String.t() | nil,
    text: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.