target.apidocs.com.google.api.services.plus.model.Person.Cover.CoverPhoto.html Maven / Gradle / Ivy
The newest version!
Person.Cover.CoverPhoto (Google+ API v1-rev20190328-1.30.10)
com.google.api.services.plus.model
Class Person.Cover.CoverPhoto
- 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.Cover.CoverPhoto
-
- Enclosing class:
- Person.Cover
public static final class Person.Cover.CoverPhoto
extends GenericJson
The person's primary cover 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
CoverPhoto()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Person.Cover.CoverPhoto
clone()
Integer
getHeight()
The height of the image.
String
getUrl()
The URL of the image.
Integer
getWidth()
The width of the image.
Person.Cover.CoverPhoto
set(String fieldName,
Object value)
Person.Cover.CoverPhoto
setHeight(Integer height)
The height of the image.
Person.Cover.CoverPhoto
setUrl(String url)
The URL of the image.
Person.Cover.CoverPhoto
setWidth(Integer width)
The width of the image.
-
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
-
getHeight
public Integer getHeight()
The height of the image.
- Returns:
- value or
null
for none
-
setHeight
public Person.Cover.CoverPhoto setHeight(Integer height)
The height of the image.
- Parameters:
height
- height or null
for none
-
getUrl
public String getUrl()
The URL of the image.
- Returns:
- value or
null
for none
-
setUrl
public Person.Cover.CoverPhoto setUrl(String url)
The URL of the image.
- Parameters:
url
- url or null
for none
-
getWidth
public Integer getWidth()
The width of the image.
- Returns:
- value or
null
for none
-
setWidth
public Person.Cover.CoverPhoto setWidth(Integer width)
The width of the image.
- Parameters:
width
- width or null
for none
-
set
public Person.Cover.CoverPhoto set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public Person.Cover.CoverPhoto clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy