public static final class Activity.PlusObject.Attachments.Image extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Activity.PlusObject.Attachments.Image() |
Modifier and Type | Method and Description |
---|---|
Activity.PlusObject.Attachments.Image |
clone() |
Long |
getHeight()
The height, in pixels, of the linked resource.
|
String |
getType()
Media type of the link.
|
String |
getUrl()
Image URL.
|
Long |
getWidth()
The width, in pixels, of the linked resource.
|
Activity.PlusObject.Attachments.Image |
set(String fieldName,
Object value) |
Activity.PlusObject.Attachments.Image |
setHeight(Long height)
The height, in pixels, of the linked resource.
|
Activity.PlusObject.Attachments.Image |
setType(String type)
Media type of the link.
|
Activity.PlusObject.Attachments.Image |
setUrl(String url)
Image URL.
|
Activity.PlusObject.Attachments.Image |
setWidth(Long width)
The width, in pixels, of the linked resource.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public Activity.PlusObject.Attachments.Image()
public Long getHeight()
null
for nonepublic Activity.PlusObject.Attachments.Image setHeight(Long height)
height
- height or null
for nonepublic String getType()
null
for nonepublic Activity.PlusObject.Attachments.Image setType(String type)
type
- type or null
for nonepublic String getUrl()
null
for nonepublic Activity.PlusObject.Attachments.Image setUrl(String url)
url
- url or null
for nonepublic Long getWidth()
null
for nonepublic Activity.PlusObject.Attachments.Image setWidth(Long width)
width
- width or null
for nonepublic Activity.PlusObject.Attachments.Image set(String fieldName, Object value)
set
in class GenericJson
public Activity.PlusObject.Attachments.Image clone()
clone
in class GenericJson