target.apidocs.com.google.api.services.youtube.model.LiveChatMessageListResponse.html Maven / Gradle / Ivy
LiveChatMessageListResponse (YouTube Data API v3 v3-rev20230319-2.0.0)
com.google.api.services.youtube.model
Class LiveChatMessageListResponse
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.youtube.model.LiveChatMessageListResponse
-
public final class LiveChatMessageListResponse
extends com.google.api.client.json.GenericJson
Model definition for LiveChatMessageListResponse.
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 YouTube Data API v3. 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
com.google.api.client.util.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
LiveChatMessageListResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
LiveChatMessageListResponse
clone()
String
getEtag()
Etag of this resource.
String
getEventId()
Serialized EventId of the request which produced this response.
List<LiveChatMessage>
getItems()
String
getKind()
Identifies what kind of resource this is.
String
getNextPageToken()
com.google.api.client.util.DateTime
getOfflineAt()
The date and time when the underlying stream went offline.
PageInfo
getPageInfo()
General pagination information.
Long
getPollingIntervalMillis()
The amount of time the client should wait before polling again.
TokenPagination
getTokenPagination()
String
getVisitorId()
The visitorId identifies the visitor.
LiveChatMessageListResponse
set(String fieldName,
Object value)
LiveChatMessageListResponse
setEtag(String etag)
Etag of this resource.
LiveChatMessageListResponse
setEventId(String eventId)
Serialized EventId of the request which produced this response.
LiveChatMessageListResponse
setItems(List<LiveChatMessage> items)
LiveChatMessageListResponse
setKind(String kind)
Identifies what kind of resource this is.
LiveChatMessageListResponse
setNextPageToken(String nextPageToken)
LiveChatMessageListResponse
setOfflineAt(com.google.api.client.util.DateTime offlineAt)
The date and time when the underlying stream went offline.
LiveChatMessageListResponse
setPageInfo(PageInfo pageInfo)
General pagination information.
LiveChatMessageListResponse
setPollingIntervalMillis(Long pollingIntervalMillis)
The amount of time the client should wait before polling again.
LiveChatMessageListResponse
setTokenPagination(TokenPagination tokenPagination)
LiveChatMessageListResponse
setVisitorId(String visitorId)
The visitorId identifies the visitor.
-
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 resource.
- Returns:
- value or
null
for none
-
setEtag
public LiveChatMessageListResponse setEtag(String etag)
Etag of this resource.
- Parameters:
etag
- etag or null
for none
-
getEventId
public String getEventId()
Serialized EventId of the request which produced this response.
- Returns:
- value or
null
for none
-
setEventId
public LiveChatMessageListResponse setEventId(String eventId)
Serialized EventId of the request which produced this response.
- Parameters:
eventId
- eventId or null
for none
-
getItems
public List<LiveChatMessage> getItems()
- Returns:
- value or
null
for none
-
setItems
public LiveChatMessageListResponse setItems(List<LiveChatMessage> items)
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
Identifies what kind of resource this is. Value: the fixed string
"youtube#liveChatMessageListResponse".
- Returns:
- value or
null
for none
-
setKind
public LiveChatMessageListResponse setKind(String kind)
Identifies what kind of resource this is. Value: the fixed string
"youtube#liveChatMessageListResponse".
- Parameters:
kind
- kind or null
for none
-
getNextPageToken
public String getNextPageToken()
- Returns:
- value or
null
for none
-
setNextPageToken
public LiveChatMessageListResponse setNextPageToken(String nextPageToken)
- Parameters:
nextPageToken
- nextPageToken or null
for none
-
getOfflineAt
public com.google.api.client.util.DateTime getOfflineAt()
The date and time when the underlying stream went offline.
- Returns:
- value or
null
for none
-
setOfflineAt
public LiveChatMessageListResponse setOfflineAt(com.google.api.client.util.DateTime offlineAt)
The date and time when the underlying stream went offline.
- Parameters:
offlineAt
- offlineAt or null
for none
-
getPageInfo
public PageInfo getPageInfo()
General pagination information.
- Returns:
- value or
null
for none
-
setPageInfo
public LiveChatMessageListResponse setPageInfo(PageInfo pageInfo)
General pagination information.
- Parameters:
pageInfo
- pageInfo or null
for none
-
getPollingIntervalMillis
public Long getPollingIntervalMillis()
The amount of time the client should wait before polling again.
- Returns:
- value or
null
for none
-
setPollingIntervalMillis
public LiveChatMessageListResponse setPollingIntervalMillis(Long pollingIntervalMillis)
The amount of time the client should wait before polling again.
- Parameters:
pollingIntervalMillis
- pollingIntervalMillis or null
for none
-
getTokenPagination
public TokenPagination getTokenPagination()
- Returns:
- value or
null
for none
-
setTokenPagination
public LiveChatMessageListResponse setTokenPagination(TokenPagination tokenPagination)
- Parameters:
tokenPagination
- tokenPagination or null
for none
-
getVisitorId
public String getVisitorId()
The visitorId identifies the visitor.
- Returns:
- value or
null
for none
-
setVisitorId
public LiveChatMessageListResponse setVisitorId(String visitorId)
The visitorId identifies the visitor.
- Parameters:
visitorId
- visitorId or null
for none
-
set
public LiveChatMessageListResponse set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public LiveChatMessageListResponse clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.