Class MicrosoftGraphThumbnail
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphThumbnail
thumbnail.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphThumbnail class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: thumbnail.byte[]content()Get the content property: The content stream for the thumbnail.height()Get the height property: The height of the thumbnail, in pixels.Get the sourceItemId property: The unique identifier of the item that provided the thumbnail.url()Get the url property: The URL used to fetch the thumbnail content.voidvalidate()Validates the instance.width()Get the width property: The width of the thumbnail, in pixels.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: thumbnail.withContent(byte[] content) Set the content property: The content stream for the thumbnail.withHeight(Integer height) Set the height property: The height of the thumbnail, in pixels.withSourceItemId(String sourceItemId) Set the sourceItemId property: The unique identifier of the item that provided the thumbnail.Set the url property: The URL used to fetch the thumbnail content.Set the width property: The width of the thumbnail, in pixels.
-
Constructor Details
-
MicrosoftGraphThumbnail
public MicrosoftGraphThumbnail()Creates an instance of MicrosoftGraphThumbnail class.
-
-
Method Details
-
content
public byte[] content()Get the content property: The content stream for the thumbnail.- Returns:
- the content value.
-
withContent
Set the content property: The content stream for the thumbnail.- Parameters:
content- the content value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
height
Get the height property: The height of the thumbnail, in pixels.- Returns:
- the height value.
-
withHeight
Set the height property: The height of the thumbnail, in pixels.- Parameters:
height- the height value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
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:
- the sourceItemId value.
-
withSourceItemId
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:
sourceItemId- the sourceItemId value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
url
Get the url property: The URL used to fetch the thumbnail content.- Returns:
- the url value.
-
withUrl
Set the url property: The URL used to fetch the thumbnail content.- Parameters:
url- the url value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
width
Get the width property: The width of the thumbnail, in pixels.- Returns:
- the width value.
-
withWidth
Set the width property: The width of the thumbnail, in pixels.- Parameters:
width- the width value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
additionalProperties
Get the additionalProperties property: thumbnail.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
Set the additionalProperties property: thumbnail.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-