你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphResourceVisualization Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphResourceVisualization

Implements

public final class MicrosoftGraphResourceVisualization
implements JsonSerializable<MicrosoftGraphResourceVisualization>

resourceVisualization.

Constructor Summary

Constructor Description
MicrosoftGraphResourceVisualization()

Creates an instance of MicrosoftGraphResourceVisualization class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: resourceVisualization.

String containerDisplayName()

Get the containerDisplayName property: A string describing where the item is stored.

String containerType()

Get the containerType property: Can be used for filtering by the type of container in which the file is stored.

String containerWebUrl()

Get the containerWebUrl property: A path leading to the folder in which the item is stored.

static MicrosoftGraphResourceVisualization fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphResourceVisualization from the JsonReader.

String mediaType()

Get the mediaType property: The item's media type.

String previewImageUrl()

Get the previewImageUrl property: A URL leading to the preview image for the item.

String previewText()

Get the previewText property: A preview text for the item.

String title()

Get the title property: The item's title text.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The item's media type.

void validate()

Validates the instance.

MicrosoftGraphResourceVisualization withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: resourceVisualization.

MicrosoftGraphResourceVisualization withContainerDisplayName(String containerDisplayName)

Set the containerDisplayName property: A string describing where the item is stored.

MicrosoftGraphResourceVisualization withContainerType(String containerType)

Set the containerType property: Can be used for filtering by the type of container in which the file is stored.

MicrosoftGraphResourceVisualization withContainerWebUrl(String containerWebUrl)

Set the containerWebUrl property: A path leading to the folder in which the item is stored.

MicrosoftGraphResourceVisualization withMediaType(String mediaType)

Set the mediaType property: The item's media type.

MicrosoftGraphResourceVisualization withPreviewImageUrl(String previewImageUrl)

Set the previewImageUrl property: A URL leading to the preview image for the item.

MicrosoftGraphResourceVisualization withPreviewText(String previewText)

Set the previewText property: A preview text for the item.

MicrosoftGraphResourceVisualization withTitle(String title)

Set the title property: The item's title text.

MicrosoftGraphResourceVisualization withType(String type)

Set the type property: The item's media type.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphResourceVisualization

public MicrosoftGraphResourceVisualization()

Creates an instance of MicrosoftGraphResourceVisualization class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: resourceVisualization.

Returns:

the additionalProperties value.

containerDisplayName

public String containerDisplayName()

Get the containerDisplayName property: A string describing where the item is stored. For example, the name of a SharePoint site or the user name identifying the owner of the OneDrive storing the item.

Returns:

the containerDisplayName value.

containerType

public String containerType()

Get the containerType property: Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness.

Returns:

the containerType value.

containerWebUrl

public String containerWebUrl()

Get the containerWebUrl property: A path leading to the folder in which the item is stored.

Returns:

the containerWebUrl value.

fromJson

public static MicrosoftGraphResourceVisualization fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphResourceVisualization from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphResourceVisualization if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphResourceVisualization.

mediaType

public String mediaType()

Get the mediaType property: The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported.

Returns:

the mediaType value.

previewImageUrl

public String previewImageUrl()

Get the previewImageUrl property: A URL leading to the preview image for the item.

Returns:

the previewImageUrl value.

previewText

public String previewText()

Get the previewText property: A preview text for the item.

Returns:

the previewText value.

title

public String title()

Get the title property: The item's title text.

Returns:

the title value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphResourceVisualization withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: resourceVisualization.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withContainerDisplayName

public MicrosoftGraphResourceVisualization withContainerDisplayName(String containerDisplayName)

Set the containerDisplayName property: A string describing where the item is stored. For example, the name of a SharePoint site or the user name identifying the owner of the OneDrive storing the item.

Parameters:

containerDisplayName - the containerDisplayName value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withContainerType

public MicrosoftGraphResourceVisualization withContainerType(String containerType)

Set the containerType property: Can be used for filtering by the type of container in which the file is stored. Such as Site or OneDriveBusiness.

Parameters:

containerType - the containerType value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withContainerWebUrl

public MicrosoftGraphResourceVisualization withContainerWebUrl(String containerWebUrl)

Set the containerWebUrl property: A path leading to the folder in which the item is stored.

Parameters:

containerWebUrl - the containerWebUrl value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withMediaType

public MicrosoftGraphResourceVisualization withMediaType(String mediaType)

Set the mediaType property: The item's media type. Can be used for filtering for a specific type of file based on supported IANA Media Mime Types. Note that not all Media Mime Types are supported.

Parameters:

mediaType - the mediaType value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withPreviewImageUrl

public MicrosoftGraphResourceVisualization withPreviewImageUrl(String previewImageUrl)

Set the previewImageUrl property: A URL leading to the preview image for the item.

Parameters:

previewImageUrl - the previewImageUrl value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withPreviewText

public MicrosoftGraphResourceVisualization withPreviewText(String previewText)

Set the previewText property: A preview text for the item.

Parameters:

previewText - the previewText value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withTitle

public MicrosoftGraphResourceVisualization withTitle(String title)

Set the title property: The item's title text.

Parameters:

title - the title value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

withType

public MicrosoftGraphResourceVisualization withType(String type)

Set the type property: The item's media type. Can be used for filtering for a specific file based on a specific type. See below for supported types.

Parameters:

type - the type value to set.

Returns:

the MicrosoftGraphResourceVisualization object itself.

Applies to