com.google.api.services.factchecktools.v1alpha1.model.GoogleFactcheckingFactchecktoolsV1alpha1Claim Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2018-10-08 17:45:39 UTC)
* on 2019-06-19 at 22:27:04 UTC
* Modify at your own risk.
*/
package com.google.api.services.factchecktools.v1alpha1.model;
/**
* Information about the claim.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Fact Check Tools API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleFactcheckingFactchecktoolsV1alpha1Claim extends com.google.api.client.json.GenericJson {
/**
* The date that the claim was made.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String claimDate;
/**
* One or more reviews of this claim (namely, a fact-checking article).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List claimReview;
/**
* A person or organization stating the claim. For instance, "John Doe".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String claimant;
/**
* The claim text. For instance, "Crime has doubled in the last 2 years."
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String text;
/**
* The date that the claim was made.
* @return value or {@code null} for none
*/
public String getClaimDate() {
return claimDate;
}
/**
* The date that the claim was made.
* @param claimDate claimDate or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1Claim setClaimDate(String claimDate) {
this.claimDate = claimDate;
return this;
}
/**
* One or more reviews of this claim (namely, a fact-checking article).
* @return value or {@code null} for none
*/
public java.util.List getClaimReview() {
return claimReview;
}
/**
* One or more reviews of this claim (namely, a fact-checking article).
* @param claimReview claimReview or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1Claim setClaimReview(java.util.List claimReview) {
this.claimReview = claimReview;
return this;
}
/**
* A person or organization stating the claim. For instance, "John Doe".
* @return value or {@code null} for none
*/
public java.lang.String getClaimant() {
return claimant;
}
/**
* A person or organization stating the claim. For instance, "John Doe".
* @param claimant claimant or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1Claim setClaimant(java.lang.String claimant) {
this.claimant = claimant;
return this;
}
/**
* The claim text. For instance, "Crime has doubled in the last 2 years."
* @return value or {@code null} for none
*/
public java.lang.String getText() {
return text;
}
/**
* The claim text. For instance, "Crime has doubled in the last 2 years."
* @param text text or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1Claim setText(java.lang.String text) {
this.text = text;
return this;
}
@Override
public GoogleFactcheckingFactchecktoolsV1alpha1Claim set(String fieldName, Object value) {
return (GoogleFactcheckingFactchecktoolsV1alpha1Claim) super.set(fieldName, value);
}
@Override
public GoogleFactcheckingFactchecktoolsV1alpha1Claim clone() {
return (GoogleFactcheckingFactchecktoolsV1alpha1Claim) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy