target.apidocs.com.google.api.services.plus.model.PeopleFeed.html Maven / Gradle / Ivy
The newest version!
PeopleFeed (Google+ API v1-rev20190328-1.30.10)
com.google.api.services.plus.model
Class PeopleFeed
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.plus.model.PeopleFeed
-
public final class PeopleFeed
extends GenericJson
Model definition for PeopleFeed.
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PeopleFeed()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PeopleFeed
clone()
String
getEtag()
ETag of this response for caching purposes.
List<Person>
getItems()
The people in this page of results.
String
getKind()
Identifies this resource as a collection of people.
String
getNextPageToken()
The continuation token, which is used to page through large result sets.
String
getSelfLink()
Link to this resource.
String
getTitle()
The title of this collection of people.
Integer
getTotalItems()
The total number of people available in this list.
PeopleFeed
set(String fieldName,
Object value)
PeopleFeed
setEtag(String etag)
ETag of this response for caching purposes.
PeopleFeed
setItems(List<Person> items)
The people in this page of results.
PeopleFeed
setKind(String kind)
Identifies this resource as a collection of people.
PeopleFeed
setNextPageToken(String nextPageToken)
The continuation token, which is used to page through large result sets.
PeopleFeed
setSelfLink(String selfLink)
Link to this resource.
PeopleFeed
setTitle(String title)
The title of this collection of people.
PeopleFeed
setTotalItems(Integer totalItems)
The total number of people available in this list.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEtag
public String getEtag()
ETag of this response for caching purposes.
- Returns:
- value or
null
for none
-
setEtag
public PeopleFeed setEtag(String etag)
ETag of this response for caching purposes.
- Parameters:
etag
- etag or null
for none
-
getItems
public List<Person> getItems()
The people in this page of results. Each item includes the id, displayName, image, and url for
the person. To retrieve additional profile data, see the people.get method.
- Returns:
- value or
null
for none
-
setItems
public PeopleFeed setItems(List<Person> items)
The people in this page of results. Each item includes the id, displayName, image, and url for
the person. To retrieve additional profile data, see the people.get method.
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
Identifies this resource as a collection of people. Value: "plus#peopleFeed".
- Returns:
- value or
null
for none
-
setKind
public PeopleFeed setKind(String kind)
Identifies this resource as a collection of people. Value: "plus#peopleFeed".
- Parameters:
kind
- kind or null
for none
-
getNextPageToken
public String getNextPageToken()
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.
- Returns:
- value or
null
for none
-
setNextPageToken
public PeopleFeed setNextPageToken(String 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.
- Parameters:
nextPageToken
- nextPageToken or null
for none
-
getSelfLink
public String getSelfLink()
Link to this resource.
- Returns:
- value or
null
for none
-
setSelfLink
public PeopleFeed setSelfLink(String selfLink)
Link to this resource.
- Parameters:
selfLink
- selfLink or null
for none
-
getTitle
public String getTitle()
The title of this collection of people.
- Returns:
- value or
null
for none
-
setTitle
public PeopleFeed setTitle(String title)
The title of this collection of people.
- Parameters:
title
- title or null
for none
-
getTotalItems
public Integer getTotalItems()
The total number of people available in this list. The number of people in a response might be
smaller due to paging. This might not be set for all collections.
- Returns:
- value or
null
for none
-
setTotalItems
public PeopleFeed setTotalItems(Integer totalItems)
The total number of people available in this list. The number of people in a response might be
smaller due to paging. This might not be set for all collections.
- Parameters:
totalItems
- totalItems or null
for none
-
set
public PeopleFeed set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public PeopleFeed clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy