你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphThumbnail Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphThumbnail
- com.
Implements
public final class MicrosoftGraphThumbnail
implements JsonSerializable<MicrosoftGraphThumbnail>
thumbnail.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphThumbnail() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
byte[] |
content()
Get the content property: The content stream for the thumbnail. |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Integer |
height()
Get the height property: The height of the thumbnail, in pixels. |
String |
sourceItemId()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
String |
url()
Get the url property: The URL used to fetch the thumbnail content. |
void |
validate()
Validates the instance. |
Integer |
width()
Get the width property: The width of the thumbnail, in pixels. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withContent(byte[] content)
Set the content property: The content stream for the thumbnail. |
Microsoft |
withHeight(Integer height)
Set the height property: The height of the thumbnail, in pixels. |
Microsoft |
withSourceItemId(String sourceItemId)
Set the source |
Microsoft |
withUrl(String url)
Set the url property: The URL used to fetch the thumbnail content. |
Microsoft |
withWidth(Integer width)
Set the width property: The width of the thumbnail, in pixels. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphThumbnail
public MicrosoftGraphThumbnail()
Creates an instance of MicrosoftGraphThumbnail class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: thumbnail.
Returns:
content
public byte[] content()
Get the content property: The content stream for the thumbnail.
Returns:
fromJson
public static MicrosoftGraphThumbnail fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphThumbnail from the JsonReader.
Parameters:
Returns:
Throws:
height
public Integer height()
Get the height property: The height of the thumbnail, in pixels.
Returns:
sourceItemId
public String sourceItemId()
Get the sourceItemId property: The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested.
Returns:
toJson
url
public String url()
Get the url property: The URL used to fetch the thumbnail content.
Returns:
validate
public void validate()
Validates the instance.
width
public Integer width()
Get the width property: The width of the thumbnail, in pixels.
Returns:
withAdditionalProperties
public MicrosoftGraphThumbnail withAdditionalProperties(Map
Set the additionalProperties property: thumbnail.
Parameters:
Returns:
withContent
public MicrosoftGraphThumbnail withContent(byte[] content)
Set the content property: The content stream for the thumbnail.
Parameters:
Returns:
withHeight
public MicrosoftGraphThumbnail withHeight(Integer height)
Set the height property: The height of the thumbnail, in pixels.
Parameters:
Returns:
withSourceItemId
public MicrosoftGraphThumbnail withSourceItemId(String sourceItemId)
Set the sourceItemId property: The unique identifier of the item that provided the thumbnail. This is only available when a folder thumbnail is requested.
Parameters:
Returns:
withUrl
public MicrosoftGraphThumbnail withUrl(String url)
Set the url property: The URL used to fetch the thumbnail content.
Parameters:
Returns:
withWidth
public MicrosoftGraphThumbnail withWidth(Integer width)
Set the width property: The width of the thumbnail, in pixels.
Parameters:
Returns: