com.google.api.services.plus.model.CommentFeed 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: 2016-05-27 16:00:31 UTC)
* on 2016-07-11 at 21:53:31 UTC
* Modify at your own risk.
*/
package com.google.api.services.plus.model;
/**
* Model definition for CommentFeed.
*
* 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 Google+ 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 CommentFeed extends com.google.api.client.json.GenericJson {
/**
* ETag of this response for caching purposes.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String etag;
/**
* The ID of this collection of comments.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String id;
/**
* The comments in this page of results.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List items;
static {
// hack to force ProGuard to consider Comment used, since otherwise it would be stripped out
// see https://github.com/google/google-api-java-client/issues/543
com.google.api.client.util.Data.nullOf(Comment.class);
}
/**
* Identifies this resource as a collection of comments. Value: "plus#commentFeed".
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String kind;
/**
* Link to the next page of activities.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextLink;
/**
* The continuation token, which is used to page through large result sets. Provide this value in
* a subsequent request to return the next page of results.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String nextPageToken;
/**
* The title of this collection of comments.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String title;
/**
* The time at which this collection of comments was last updated. Formatted as an RFC 3339
* timestamp.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private com.google.api.client.util.DateTime updated;
/**
* ETag of this response for caching purposes.
* @return value or {@code null} for none
*/
public java.lang.String getEtag() {
return etag;
}
/**
* ETag of this response for caching purposes.
* @param etag etag or {@code null} for none
*/
public CommentFeed setEtag(java.lang.String etag) {
this.etag = etag;
return this;
}
/**
* The ID of this collection of comments.
* @return value or {@code null} for none
*/
public java.lang.String getId() {
return id;
}
/**
* The ID of this collection of comments.
* @param id id or {@code null} for none
*/
public CommentFeed setId(java.lang.String id) {
this.id = id;
return this;
}
/**
* The comments in this page of results.
* @return value or {@code null} for none
*/
public java.util.List getItems() {
return items;
}
/**
* The comments in this page of results.
* @param items items or {@code null} for none
*/
public CommentFeed setItems(java.util.List items) {
this.items = items;
return this;
}
/**
* Identifies this resource as a collection of comments. Value: "plus#commentFeed".
* @return value or {@code null} for none
*/
public java.lang.String getKind() {
return kind;
}
/**
* Identifies this resource as a collection of comments. Value: "plus#commentFeed".
* @param kind kind or {@code null} for none
*/
public CommentFeed setKind(java.lang.String kind) {
this.kind = kind;
return this;
}
/**
* Link to the next page of activities.
* @return value or {@code null} for none
*/
public java.lang.String getNextLink() {
return nextLink;
}
/**
* Link to the next page of activities.
* @param nextLink nextLink or {@code null} for none
*/
public CommentFeed setNextLink(java.lang.String nextLink) {
this.nextLink = nextLink;
return this;
}
/**
* The continuation token, which is used to page through large result sets. Provide this value in
* a subsequent request to return the next page of results.
* @return value or {@code null} for none
*/
public java.lang.String getNextPageToken() {
return nextPageToken;
}
/**
* The continuation token, which is used to page through large result sets. Provide this value in
* a subsequent request to return the next page of results.
* @param nextPageToken nextPageToken or {@code null} for none
*/
public CommentFeed setNextPageToken(java.lang.String nextPageToken) {
this.nextPageToken = nextPageToken;
return this;
}
/**
* The title of this collection of comments.
* @return value or {@code null} for none
*/
public java.lang.String getTitle() {
return title;
}
/**
* The title of this collection of comments.
* @param title title or {@code null} for none
*/
public CommentFeed setTitle(java.lang.String title) {
this.title = title;
return this;
}
/**
* The time at which this collection of comments was last updated. Formatted as an RFC 3339
* timestamp.
* @return value or {@code null} for none
*/
public com.google.api.client.util.DateTime getUpdated() {
return updated;
}
/**
* The time at which this collection of comments was last updated. Formatted as an RFC 3339
* timestamp.
* @param updated updated or {@code null} for none
*/
public CommentFeed setUpdated(com.google.api.client.util.DateTime updated) {
this.updated = updated;
return this;
}
@Override
public CommentFeed set(String fieldName, Object value) {
return (CommentFeed) super.set(fieldName, value);
}
@Override
public CommentFeed clone() {
return (CommentFeed) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy