All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.factchecktools.v1alpha1.model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview Maven / Gradle / Ivy

The newest version!
/*
 * 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/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.factchecktools.v1alpha1.model;

/**
 * Information about a claim review.
 *
 * 

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 GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview extends com.google.api.client.json.GenericJson { /** * The language this review was written in. For instance, "en" or "de". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String languageCode; /** * The publisher of this claim review. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleFactcheckingFactchecktoolsV1alpha1Publisher publisher; /** * The date the claim was reviewed. * The value may be {@code null}. */ @com.google.api.client.util.Key private String reviewDate; /** * Textual rating. For instance, "Mostly false". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String textualRating; /** * The title of this claim review, if it can be determined. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String title; /** * The URL of this claim review. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String url; /** * The language this review was written in. For instance, "en" or "de". * @return value or {@code null} for none */ public java.lang.String getLanguageCode() { return languageCode; } /** * The language this review was written in. For instance, "en" or "de". * @param languageCode languageCode or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview setLanguageCode(java.lang.String languageCode) { this.languageCode = languageCode; return this; } /** * The publisher of this claim review. * @return value or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1Publisher getPublisher() { return publisher; } /** * The publisher of this claim review. * @param publisher publisher or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview setPublisher(GoogleFactcheckingFactchecktoolsV1alpha1Publisher publisher) { this.publisher = publisher; return this; } /** * The date the claim was reviewed. * @return value or {@code null} for none */ public String getReviewDate() { return reviewDate; } /** * The date the claim was reviewed. * @param reviewDate reviewDate or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview setReviewDate(String reviewDate) { this.reviewDate = reviewDate; return this; } /** * Textual rating. For instance, "Mostly false". * @return value or {@code null} for none */ public java.lang.String getTextualRating() { return textualRating; } /** * Textual rating. For instance, "Mostly false". * @param textualRating textualRating or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview setTextualRating(java.lang.String textualRating) { this.textualRating = textualRating; return this; } /** * The title of this claim review, if it can be determined. * @return value or {@code null} for none */ public java.lang.String getTitle() { return title; } /** * The title of this claim review, if it can be determined. * @param title title or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview setTitle(java.lang.String title) { this.title = title; return this; } /** * The URL of this claim review. * @return value or {@code null} for none */ public java.lang.String getUrl() { return url; } /** * The URL of this claim review. * @param url url or {@code null} for none */ public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview setUrl(java.lang.String url) { this.url = url; return this; } @Override public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview set(String fieldName, Object value) { return (GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview) super.set(fieldName, value); } @Override public GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview clone() { return (GoogleFactcheckingFactchecktoolsV1alpha1ClaimReview) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy