target.apidocs.com.google.api.services.drive.model.PermissionId.html Maven / Gradle / Ivy
PermissionId (Drive API v2-rev20180830-1.26.0)
com.google.api.services.drive.model
Class PermissionId
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.drive.model.PermissionId
-
public final class PermissionId
extends com.google.api.client.json.GenericJson
An ID for a user or group as seen in Permission items.
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 Drive API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
PermissionId()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PermissionId
clone()
String
getId()
The permission ID.
String
getKind()
This is always drive#permissionId.
PermissionId
set(String fieldName,
Object value)
PermissionId
setId(String id)
The permission ID.
PermissionId
setKind(String kind)
This is always drive#permissionId.
-
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
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getId
public String getId()
The permission ID.
- Returns:
- value or
null
for none
-
setId
public PermissionId setId(String id)
The permission ID.
- Parameters:
id
- id or null
for none
-
getKind
public String getKind()
This is always drive#permissionId.
- Returns:
- value or
null
for none
-
setKind
public PermissionId setKind(String kind)
This is always drive#permissionId.
- Parameters:
kind
- kind or null
for none
-
set
public PermissionId set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public PermissionId clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2018 Google. All rights reserved.