target.apidocs.com.google.api.services.plus.model.Person.Image.html Maven / Gradle / Ivy
The newest version!
Person.Image (Google+ API v1-rev20190328-1.30.10)
com.google.api.services.plus.model
Class Person.Image
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.plus.model.Person.Image
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
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
Image()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Person.Image
clone()
Boolean
getIsDefault()
Whether the person's profile photo is the default one
String
getUrl()
The URL of the person's profile photo.
Person.Image
set(String fieldName,
Object value)
Person.Image
setIsDefault(Boolean isDefault)
Whether the person's profile photo is the default one
Person.Image
setUrl(String url)
The URL of the person's profile photo.
-
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, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, 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
-
getIsDefault
public Boolean getIsDefault()
Whether the person's profile photo is the default one
- Returns:
- value or
null
for none
-
setIsDefault
public Person.Image setIsDefault(Boolean isDefault)
Whether the person's profile photo is the default one
- Parameters:
isDefault
- isDefault or null
for none
-
getUrl
public String getUrl()
The URL of the person's profile photo. To resize the image and crop it to a square, append the
query string ?sz=x, where x is the dimension in pixels of each side.
- Returns:
- value or
null
for none
-
setUrl
public Person.Image setUrl(String url)
The URL of the person's profile photo. To resize the image and crop it to a square, append the
query string ?sz=x, where x is the dimension in pixels of each side.
- Parameters:
url
- url or null
for none
-
set
public Person.Image set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Person.Image clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy