google_api_fact_check_tools v0.4.1 GoogleApi.FactCheckTools.V1alpha1.Model.GoogleFactcheckingFactchecktoolsV1alpha1Claim View Source

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."

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.