target.apidocs.com.google.api.services.drive.model.User.Picture.html Maven / Gradle / Ivy
User.Picture (Drive API v2-rev20180830-1.26.0)
com.google.api.services.drive.model
Class User.Picture
- 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.User.Picture
-
-
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
Picture()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
User.Picture
clone()
String
getUrl()
A URL that points to a profile picture of this user.
User.Picture
set(String fieldName,
Object value)
User.Picture
setUrl(String url)
A URL that points to a profile picture of this user.
-
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
-
getUrl
public String getUrl()
A URL that points to a profile picture of this user.
- Returns:
- value or
null
for none
-
setUrl
public User.Picture setUrl(String url)
A URL that points to a profile picture of this user.
- Parameters:
url
- url or null
for none
-
set
public User.Picture set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public User.Picture clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2018 Google. All rights reserved.