public final class CalendarResource
extends com.google.api.client.json.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 Directory API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
CalendarResource() |
Modifier and Type | Method and Description |
---|---|
CalendarResource |
clone() |
java.lang.String |
getBuildingId()
Unique ID for the building a resource is located in.
|
java.lang.Integer |
getCapacity()
Capacity of a resource, number of seats in a room.
|
java.lang.String |
getEtags()
ETag of the resource.
|
java.lang.Object |
getFeatureInstances() |
java.lang.String |
getFloorName()
Name of the floor a resource is located on.
|
java.lang.String |
getFloorSection()
Name of the section within a floor a resource is located in.
|
java.lang.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.
|
java.lang.String |
getKind()
The type of the resource.
|
java.lang.String |
getResourceCategory()
The category of the calendar resource.
|
java.lang.String |
getResourceDescription()
Description of the resource, visible only to admins.
|
java.lang.String |
getResourceEmail()
The read-only email for the calendar resource.
|
java.lang.String |
getResourceId()
The unique ID for the calendar resource.
|
java.lang.String |
getResourceName()
The name of the calendar resource.
|
java.lang.String |
getResourceType()
The type of the calendar resource, intended for non-room resources.
|
java.lang.String |
getUserVisibleDescription()
Description of the resource, visible to users and admins.
|
CalendarResource |
set(java.lang.String fieldName,
java.lang.Object value) |
CalendarResource |
setBuildingId(java.lang.String buildingId)
Unique ID for the building a resource is located in.
|
CalendarResource |
setCapacity(java.lang.Integer capacity)
Capacity of a resource, number of seats in a room.
|
CalendarResource |
setEtags(java.lang.String etags)
ETag of the resource.
|
CalendarResource |
setFeatureInstances(java.lang.Object featureInstances) |
CalendarResource |
setFloorName(java.lang.String floorName)
Name of the floor a resource is located on.
|
CalendarResource |
setFloorSection(java.lang.String floorSection)
Name of the section within a floor a resource is located in.
|
CalendarResource |
setGeneratedResourceName(java.lang.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(java.lang.String kind)
The type of the resource.
|
CalendarResource |
setResourceCategory(java.lang.String resourceCategory)
The category of the calendar resource.
|
CalendarResource |
setResourceDescription(java.lang.String resourceDescription)
Description of the resource, visible only to admins.
|
CalendarResource |
setResourceEmail(java.lang.String resourceEmail)
The read-only email for the calendar resource.
|
CalendarResource |
setResourceId(java.lang.String resourceId)
The unique ID for the calendar resource.
|
CalendarResource |
setResourceName(java.lang.String resourceName)
The name of the calendar resource.
|
CalendarResource |
setResourceType(java.lang.String resourceType)
The type of the calendar resource, intended for non-room resources.
|
CalendarResource |
setUserVisibleDescription(java.lang.String userVisibleDescription)
Description of the resource, visible to users and admins.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getBuildingId()
null
for nonepublic CalendarResource setBuildingId(java.lang.String buildingId)
buildingId
- buildingId or null
for nonepublic java.lang.Integer getCapacity()
null
for nonepublic CalendarResource setCapacity(java.lang.Integer capacity)
capacity
- capacity or null
for nonepublic java.lang.String getEtags()
null
for nonepublic CalendarResource setEtags(java.lang.String etags)
etags
- etags or null
for nonepublic java.lang.Object getFeatureInstances()
null
for nonepublic CalendarResource setFeatureInstances(java.lang.Object featureInstances)
featureInstances
- featureInstances or null
for nonepublic java.lang.String getFloorName()
null
for nonepublic CalendarResource setFloorName(java.lang.String floorName)
floorName
- floorName or null
for nonepublic java.lang.String getFloorSection()
null
for nonepublic CalendarResource setFloorSection(java.lang.String floorSection)
floorSection
- floorSection or null
for nonepublic java.lang.String getGeneratedResourceName()
null
for nonepublic CalendarResource setGeneratedResourceName(java.lang.String generatedResourceName)
generatedResourceName
- generatedResourceName or null
for nonepublic java.lang.String getKind()
null
for nonepublic CalendarResource setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getResourceCategory()
null
for nonepublic CalendarResource setResourceCategory(java.lang.String resourceCategory)
resourceCategory
- resourceCategory or null
for nonepublic java.lang.String getResourceDescription()
null
for nonepublic CalendarResource setResourceDescription(java.lang.String resourceDescription)
resourceDescription
- resourceDescription or null
for nonepublic java.lang.String getResourceEmail()
null
for nonepublic CalendarResource setResourceEmail(java.lang.String resourceEmail)
resourceEmail
- resourceEmail or null
for nonepublic java.lang.String getResourceId()
null
for nonepublic CalendarResource setResourceId(java.lang.String resourceId)
resourceId
- resourceId or null
for nonepublic java.lang.String getResourceName()
null
for nonepublic CalendarResource setResourceName(java.lang.String resourceName)
resourceName
- resourceName or null
for nonepublic java.lang.String getResourceType()
null
for nonepublic CalendarResource setResourceType(java.lang.String resourceType)
resourceType
- resourceType or null
for nonepublic java.lang.String getUserVisibleDescription()
null
for nonepublic CalendarResource setUserVisibleDescription(java.lang.String userVisibleDescription)
userVisibleDescription
- userVisibleDescription or null
for nonepublic CalendarResource set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public CalendarResource clone()
clone
in class com.google.api.client.json.GenericJson