public final class CalendarResource extends GenericJson
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
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CalendarResource() |
Modifier and Type | Method and Description |
---|---|
CalendarResource |
clone() |
String |
getBuildingId()
Unique ID for the building a resource is located in.
|
Integer |
getCapacity()
Capacity of a resource, number of seats in a room.
|
String |
getEtags()
ETag of the resource.
|
Object |
getFeatureInstances()
Instances of features for the calendar resource.
|
String |
getFloorName()
Name of the floor a resource is located on.
|
String |
getFloorSection()
Name of the section within a floor a resource is located in.
|
String |
getGeneratedResourceName()
The read-only auto-generated name of the calendar resource which includes metadata about the
resource such as building name, floor, capacity, etc.
|
String |
getKind()
The type of the resource.
|
String |
getResourceCategory()
The category of the calendar resource.
|
String |
getResourceDescription()
Description of the resource, visible only to admins.
|
String |
getResourceEmail()
The read-only email for the calendar resource.
|
String |
getResourceId()
The unique ID for the calendar resource.
|
String |
getResourceName()
The name of the calendar resource.
|
String |
getResourceType()
The type of the calendar resource, intended for non-room resources.
|
String |
getUserVisibleDescription()
Description of the resource, visible to users and admins.
|
CalendarResource |
set(String fieldName,
Object value) |
CalendarResource |
setBuildingId(String buildingId)
Unique ID for the building a resource is located in.
|
CalendarResource |
setCapacity(Integer capacity)
Capacity of a resource, number of seats in a room.
|
CalendarResource |
setEtags(String etags)
ETag of the resource.
|
CalendarResource |
setFeatureInstances(Object featureInstances)
Instances of features for the calendar resource.
|
CalendarResource |
setFloorName(String floorName)
Name of the floor a resource is located on.
|
CalendarResource |
setFloorSection(String floorSection)
Name of the section within a floor a resource is located in.
|
CalendarResource |
setGeneratedResourceName(String generatedResourceName)
The read-only auto-generated name of the calendar resource which includes metadata about the
resource such as building name, floor, capacity, etc.
|
CalendarResource |
setKind(String kind)
The type of the resource.
|
CalendarResource |
setResourceCategory(String resourceCategory)
The category of the calendar resource.
|
CalendarResource |
setResourceDescription(String resourceDescription)
Description of the resource, visible only to admins.
|
CalendarResource |
setResourceEmail(String resourceEmail)
The read-only email for the calendar resource.
|
CalendarResource |
setResourceId(String resourceId)
The unique ID for the calendar resource.
|
CalendarResource |
setResourceName(String resourceName)
The name of the calendar resource.
|
CalendarResource |
setResourceType(String resourceType)
The type of the calendar resource, intended for non-room resources.
|
CalendarResource |
setUserVisibleDescription(String userVisibleDescription)
Description of the resource, visible to users and admins.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getBuildingId()
null
for nonepublic CalendarResource setBuildingId(String buildingId)
buildingId
- buildingId or null
for nonepublic Integer getCapacity()
null
for nonepublic CalendarResource setCapacity(Integer capacity)
capacity
- capacity or null
for nonepublic String getEtags()
null
for nonepublic CalendarResource setEtags(String etags)
etags
- etags or null
for nonepublic Object getFeatureInstances()
null
for nonepublic CalendarResource setFeatureInstances(Object featureInstances)
featureInstances
- featureInstances or null
for nonepublic String getFloorName()
null
for nonepublic CalendarResource setFloorName(String floorName)
floorName
- floorName or null
for nonepublic String getFloorSection()
null
for nonepublic CalendarResource setFloorSection(String floorSection)
floorSection
- floorSection or null
for nonepublic String getGeneratedResourceName()
null
for nonepublic CalendarResource setGeneratedResourceName(String generatedResourceName)
generatedResourceName
- generatedResourceName or null
for nonepublic String getKind()
null
for nonepublic CalendarResource setKind(String kind)
kind
- kind or null
for nonepublic String getResourceCategory()
null
for nonepublic CalendarResource setResourceCategory(String resourceCategory)
resourceCategory
- resourceCategory or null
for nonepublic String getResourceDescription()
null
for nonepublic CalendarResource setResourceDescription(String resourceDescription)
resourceDescription
- resourceDescription or null
for nonepublic String getResourceEmail()
null
for nonepublic CalendarResource setResourceEmail(String resourceEmail)
resourceEmail
- resourceEmail or null
for nonepublic String getResourceId()
null
for nonepublic CalendarResource setResourceId(String resourceId)
resourceId
- resourceId or null
for nonepublic String getResourceName()
null
for nonepublic CalendarResource setResourceName(String resourceName)
resourceName
- resourceName or null
for nonepublic String getResourceType()
null
for nonepublic CalendarResource setResourceType(String resourceType)
resourceType
- resourceType or null
for nonepublic String getUserVisibleDescription()
null
for nonepublic CalendarResource setUserVisibleDescription(String userVisibleDescription)
userVisibleDescription
- userVisibleDescription or null
for nonepublic CalendarResource set(String fieldName, Object value)
set
in class GenericJson
public CalendarResource clone()
clone
in class GenericJson
Copyright © 2011–2021 Google. All rights reserved.