com.google.api.services.factchecktools.v1alpha1.model.GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor 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 author.
*
* 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 GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor extends com.google.api.client.json.GenericJson {
/**
* Corresponds to `ClaimReview.itemReviewed.author.image`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String imageUrl;
/**
* Corresponds to `ClaimReview.itemReviewed.author.jobTitle`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String jobTitle;
/**
* A person or organization stating the claim. For instance, "John Doe". Corresponds to
* `ClaimReview.itemReviewed.author.name`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String name;
/**
* Corresponds to `ClaimReview.itemReviewed.author.sameAs`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String sameAs;
/**
* Corresponds to `ClaimReview.itemReviewed.author.image`.
* @return value or {@code null} for none
*/
public java.lang.String getImageUrl() {
return imageUrl;
}
/**
* Corresponds to `ClaimReview.itemReviewed.author.image`.
* @param imageUrl imageUrl or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor setImageUrl(java.lang.String imageUrl) {
this.imageUrl = imageUrl;
return this;
}
/**
* Corresponds to `ClaimReview.itemReviewed.author.jobTitle`.
* @return value or {@code null} for none
*/
public java.lang.String getJobTitle() {
return jobTitle;
}
/**
* Corresponds to `ClaimReview.itemReviewed.author.jobTitle`.
* @param jobTitle jobTitle or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor setJobTitle(java.lang.String jobTitle) {
this.jobTitle = jobTitle;
return this;
}
/**
* A person or organization stating the claim. For instance, "John Doe". Corresponds to
* `ClaimReview.itemReviewed.author.name`.
* @return value or {@code null} for none
*/
public java.lang.String getName() {
return name;
}
/**
* A person or organization stating the claim. For instance, "John Doe". Corresponds to
* `ClaimReview.itemReviewed.author.name`.
* @param name name or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor setName(java.lang.String name) {
this.name = name;
return this;
}
/**
* Corresponds to `ClaimReview.itemReviewed.author.sameAs`.
* @return value or {@code null} for none
*/
public java.lang.String getSameAs() {
return sameAs;
}
/**
* Corresponds to `ClaimReview.itemReviewed.author.sameAs`.
* @param sameAs sameAs or {@code null} for none
*/
public GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor setSameAs(java.lang.String sameAs) {
this.sameAs = sameAs;
return this;
}
@Override
public GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor set(String fieldName, Object value) {
return (GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor) super.set(fieldName, value);
}
@Override
public GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor clone() {
return (GoogleFactcheckingFactchecktoolsV1alpha1ClaimAuthor) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy