Class MicrosoftGraphThumbnail
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphThumbnail
-
public final class MicrosoftGraphThumbnail extends Object
thumbnail.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphThumbnail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: thumbnail.byte[]
content()
Get the content property: The content stream for the thumbnail.Integer
height()
Get the height property: The height of the thumbnail, in pixels.String
sourceItemId()
Get the sourceItemId property: The unique identifier of the item that provided the thumbnail.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.MicrosoftGraphThumbnail
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: thumbnail.MicrosoftGraphThumbnail
withContent(byte[] content)
Set the content property: The content stream for the thumbnail.MicrosoftGraphThumbnail
withHeight(Integer height)
Set the height property: The height of the thumbnail, in pixels.MicrosoftGraphThumbnail
withSourceItemId(String sourceItemId)
Set the sourceItemId property: The unique identifier of the item that provided the thumbnail.MicrosoftGraphThumbnail
withUrl(String url)
Set the url property: The URL used to fetch the thumbnail content.MicrosoftGraphThumbnail
withWidth(Integer width)
Set the width property: The width of the thumbnail, in pixels.
-
-
-
Method Detail
-
content
public byte[] content()
Get the content property: The content stream for the thumbnail.- Returns:
- the content value.
-
withContent
public MicrosoftGraphThumbnail withContent(byte[] content)
Set the content property: The content stream for the thumbnail.- Parameters:
content
- the content value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
height
public Integer height()
Get the height property: The height of the thumbnail, in pixels.- Returns:
- the height value.
-
withHeight
public MicrosoftGraphThumbnail withHeight(Integer height)
Set the height property: The height of the thumbnail, in pixels.- Parameters:
height
- the height value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
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:
- the sourceItemId value.
-
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:
sourceItemId
- the sourceItemId value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
url
public String url()
Get the url property: The URL used to fetch the thumbnail content.- Returns:
- the url value.
-
withUrl
public MicrosoftGraphThumbnail withUrl(String url)
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
public Integer width()
Get the width property: The width of the thumbnail, in pixels.- Returns:
- the width value.
-
withWidth
public MicrosoftGraphThumbnail withWidth(Integer width)
Set the width property: The width of the thumbnail, in pixels.- Parameters:
width
- the width value to set.- Returns:
- the MicrosoftGraphThumbnail object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: thumbnail.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphThumbnail withAdditionalProperties(Map<String,Object> additionalProperties)
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.
-
-