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: https://developers.google.com/api-client-library/java/google-http-java-client/json
Modifier and Type | Class and Description |
---|---|
static class |
AclRule.Scope
The extent to which calendar access is granted by this ACL rule.
|
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AclRule() |
Modifier and Type | Method and Description |
---|---|
AclRule |
clone() |
String |
getEtag()
ETag of the resource.
|
String |
getId()
Identifier of the Access Control List (ACL) rule.
|
String |
getKind()
Type of the resource ("calendar#aclRule").
|
String |
getRole()
The role assigned to the scope.
|
AclRule.Scope |
getScope()
The extent to which calendar access is granted by this ACL rule.
|
AclRule |
set(String fieldName,
Object value) |
AclRule |
setEtag(String etag)
ETag of the resource.
|
AclRule |
setId(String id)
Identifier of the Access Control List (ACL) rule.
|
AclRule |
setKind(String kind)
Type of the resource ("calendar#aclRule").
|
AclRule |
setRole(String role)
The role assigned to the scope.
|
AclRule |
setScope(AclRule.Scope scope)
The extent to which calendar access is granted by this ACL rule.
|
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 getEtag()
null
for nonepublic AclRule setEtag(String etag)
etag
- etag or null
for nonepublic String getId()
null
for nonepublic AclRule setId(String id)
id
- id or null
for nonepublic String getKind()
null
for nonepublic AclRule setKind(String kind)
kind
- kind or null
for nonepublic String getRole()
null
for nonepublic AclRule setRole(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(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AclRule clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.