target.apidocs.com.google.api.services.directory.model.CalendarResources.html Maven / Gradle / Ivy
CalendarResources (Admin SDK API directory_v1-rev20220802-2.0.0)
com.google.api.services.directory.model
Class CalendarResources
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.directory.model.CalendarResources
-
public final class CalendarResources
extends GenericJson
Public API: Resources.calendars
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 Admin SDK 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
CalendarResources()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CalendarResources
clone()
String
getEtag()
ETag of the resource.
List<CalendarResource>
getItems()
The CalendarResources in this page of results.
String
getKind()
Identifies this as a collection of CalendarResources.
String
getNextPageToken()
The continuation token, used to page through large result sets.
CalendarResources
set(String fieldName,
Object value)
CalendarResources
setEtag(String etag)
ETag of the resource.
CalendarResources
setItems(List<CalendarResource> items)
The CalendarResources in this page of results.
CalendarResources
setKind(String kind)
Identifies this as a collection of CalendarResources.
CalendarResources
setNextPageToken(String nextPageToken)
The continuation token, used to page through large result sets.
-
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 the resource.
- Returns:
- value or
null
for none
-
setEtag
public CalendarResources setEtag(String etag)
ETag of the resource.
- Parameters:
etag
- etag or null
for none
-
getItems
public List<CalendarResource> getItems()
The CalendarResources in this page of results.
- Returns:
- value or
null
for none
-
setItems
public CalendarResources setItems(List<CalendarResource> items)
The CalendarResources in this page of results.
- Parameters:
items
- items or null
for none
-
getKind
public String getKind()
Identifies this as a collection of CalendarResources. This is always
`admin#directory#resources#calendars#calendarResourcesList`.
- Returns:
- value or
null
for none
-
setKind
public CalendarResources setKind(String kind)
Identifies this as a collection of CalendarResources. This is always
`admin#directory#resources#calendars#calendarResourcesList`.
- Parameters:
kind
- kind or null
for none
-
getNextPageToken
public String getNextPageToken()
The continuation token, 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 CalendarResources setNextPageToken(String nextPageToken)
The continuation token, 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
-
set
public CalendarResources set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public CalendarResources clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.