Calendar API v3 (revision 41)



com.google.api.services.calendar.model
Class Acl

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.json.GenericJson
              extended by com.google.api.services.calendar.model.Acl
All Implemented Interfaces:
Cloneable, Map<String,Object>

public final class Acl
extends GenericJson

Model definition for Acl.

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 Calendar API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/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>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
Acl()
           
 
Method Summary
 Acl clone()
           
 String getEtag()
          ETag of the collection.
 List<AclRule> getItems()
          List of rules on the access control list.
 String getKind()
          Type of the collection ("calendar#acl").
 String getNextPageToken()
          Token used to access the next page of this result.
 Acl set(String fieldName, Object value)
           
 Acl setEtag(String etag)
          ETag of the collection.
 Acl setItems(List<AclRule> items)
          List of rules on the access control list.
 Acl setKind(String kind)
          Type of the collection ("calendar#acl").
 Acl setNextPageToken(String nextPageToken)
          Token used to access the next page of this result.
 
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, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Acl

public Acl()
Method Detail

getEtag

public String getEtag()
ETag of the collection.

Returns:
value or null for none

setEtag

public Acl setEtag(String etag)
ETag of the collection.

Parameters:
etag - etag or null for none

getItems

public List<AclRule> getItems()
List of rules on the access control list.

Returns:
value or null for none

setItems

public Acl setItems(List<AclRule> items)
List of rules on the access control list.

Parameters:
items - items or null for none

getKind

public String getKind()
Type of the collection ("calendar#acl").

Returns:
value or null for none

setKind

public Acl setKind(String kind)
Type of the collection ("calendar#acl").

Parameters:
kind - kind or null for none

getNextPageToken

public String getNextPageToken()
Token used to access the next page of this result. Omitted if no further results are available.

Returns:
value or null for none

setNextPageToken

public Acl setNextPageToken(String nextPageToken)
Token used to access the next page of this result. Omitted if no further results are available.

Parameters:
nextPageToken - nextPageToken or null for none

set

public Acl set(String fieldName,
               Object value)
Overrides:
set in class GenericJson

clone

public Acl clone()
Overrides:
clone in class GenericJson