public class Thumbnail extends Object
https://docs.microsoft.com/en-us/graph/api/resources/thumbnail?view=graph-rest-1.0 The thumbnail resource type represents a thumbnail for an image, video, document, or any item that has a bitmap representation.
Constructor and Description |
---|
Thumbnail() |
Modifier and Type | Method and Description |
---|---|
String |
getContent()
The content stream for the thumbnail.
|
int |
getHeight()
The height of the thumbnail, in pixels.
|
String |
getSourceItemId()
The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.
|
String |
getUrl()
The URL used to fetch the thumbnail content.
|
int |
getWidth()
The width of the thumbnail, in pixels.
|
boolean |
isHeightSpecified()
Indicates whether Height property is specified.
|
boolean |
isWidthSpecified()
Indicates whether Width property is specified.
|
void |
setContent(String value)
The content stream for the thumbnail.
|
void |
setHeight(int value)
The height of the thumbnail, in pixels.
|
void |
setHeightSpecified(boolean value)
Indicates whether Height property is specified.
|
void |
setSourceItemId(String value)
The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.
|
void |
setUrl(String value)
The URL used to fetch the thumbnail content.
|
void |
setWidth(int value)
The width of the thumbnail, in pixels.
|
void |
setWidthSpecified(boolean value)
Indicates whether Width property is specified.
|
public final int getHeight()
The height of the thumbnail, in pixels.
public final void setHeight(int value)
The height of the thumbnail, in pixels.
public final boolean isHeightSpecified()
Indicates whether Height property is specified.
public final void setHeightSpecified(boolean value)
Indicates whether Height property is specified.
public final int getWidth()
The width of the thumbnail, in pixels.
public final void setWidth(int value)
The width of the thumbnail, in pixels.
public final boolean isWidthSpecified()
Indicates whether Width property is specified.
public final void setWidthSpecified(boolean value)
Indicates whether Width property is specified.
public final String getSourceItemId()
The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.
public final void setSourceItemId(String value)
The unique identifier of the item that provided the thumbnail.This is only available when a folder thumbnail is requested.
public final String getUrl()
The URL used to fetch the thumbnail content.
public final void setUrl(String value)
The URL used to fetch the thumbnail content.
public final String getContent()
The content stream for the thumbnail.
public final void setContent(String value)
The content stream for the thumbnail.