public final class AclRule
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 Calendar API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
Modifier and Type | Class and Description |
---|---|
static class |
AclRule.Scope
The scope of the rule.
|
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
AclRule() |
Modifier and Type | Method and Description |
---|---|
AclRule |
clone() |
java.lang.String |
getEtag()
ETag of the resource.
|
java.lang.String |
getId()
Identifier of the ACL rule.
|
java.lang.String |
getKind()
Type of the resource ("calendar#aclRule").
|
java.lang.String |
getRole()
The role assigned to the scope.
|
AclRule.Scope |
getScope()
The scope of the rule.
|
AclRule |
set(java.lang.String fieldName,
java.lang.Object value) |
AclRule |
setEtag(java.lang.String etag)
ETag of the resource.
|
AclRule |
setId(java.lang.String id)
Identifier of the ACL rule.
|
AclRule |
setKind(java.lang.String kind)
Type of the resource ("calendar#aclRule").
|
AclRule |
setRole(java.lang.String role)
The role assigned to the scope.
|
AclRule |
setScope(AclRule.Scope scope)
The scope of the rule.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getEtag()
null
for nonepublic AclRule setEtag(java.lang.String etag)
etag
- etag or null
for nonepublic java.lang.String getId()
null
for nonepublic AclRule setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getKind()
null
for nonepublic AclRule setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getRole()
null
for nonepublic AclRule setRole(java.lang.String role)
role
- role or null
for nonepublic AclRule.Scope getScope()
null
for nonepublic AclRule setScope(AclRule.Scope scope)
scope
- scope or null
for nonepublic AclRule set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public AclRule clone()
clone
in class com.google.api.client.json.GenericJson