public final class Editors
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 Google Sheets 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 |
---|
Editors() |
Modifier and Type | Method and Description |
---|---|
Editors |
clone() |
java.lang.Boolean |
getDomainUsersCanEdit()
True if anyone in the document's domain has edit access to the protected range.
|
java.util.List<java.lang.String> |
getGroups()
The email addresses of groups with edit access to the protected range.
|
java.util.List<java.lang.String> |
getUsers()
The email addresses of users with edit access to the protected range.
|
Editors |
set(java.lang.String fieldName,
java.lang.Object value) |
Editors |
setDomainUsersCanEdit(java.lang.Boolean domainUsersCanEdit)
True if anyone in the document's domain has edit access to the protected range.
|
Editors |
setGroups(java.util.List<java.lang.String> groups)
The email addresses of groups with edit access to the protected range.
|
Editors |
setUsers(java.util.List<java.lang.String> users)
The email addresses of users with edit access to the protected range.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.Boolean getDomainUsersCanEdit()
null
for nonepublic Editors setDomainUsersCanEdit(java.lang.Boolean domainUsersCanEdit)
domainUsersCanEdit
- domainUsersCanEdit or null
for nonepublic java.util.List<java.lang.String> getGroups()
null
for nonepublic Editors setGroups(java.util.List<java.lang.String> groups)
groups
- groups or null
for nonepublic java.util.List<java.lang.String> getUsers()
null
for nonepublic Editors setUsers(java.util.List<java.lang.String> users)
users
- users or null
for nonepublic Editors set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Editors clone()
clone
in class com.google.api.client.json.GenericJson