MicrosoftGraphImageInfo Class

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

Implements

public final class MicrosoftGraphImageInfo
implements JsonSerializable<MicrosoftGraphImageInfo>

imageInfo.

Constructor Summary

Constructor Description
MicrosoftGraphImageInfo()

Creates an instance of MicrosoftGraphImageInfo class.

Method Summary

Modifier and Type Method and Description
Boolean addImageQuery()

Get the addImageQuery property: Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization.

Map<String,Object> additionalProperties()

Get the additionalProperties property: imageInfo.

String alternateText()

Get the alternateText property: Optional; alt-text accessible content for the image.

String alternativeText()

Get the alternativeText property: The alternativeText property.

static MicrosoftGraphImageInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphImageInfo from the JsonReader.

String iconUrl()

Get the iconUrl property: Optional; URI that points to an icon which represents the application used to generate the activity.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphImageInfo withAddImageQuery(Boolean addImageQuery)

Set the addImageQuery property: Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization.

MicrosoftGraphImageInfo withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: imageInfo.

MicrosoftGraphImageInfo withAlternateText(String alternateText)

Set the alternateText property: Optional; alt-text accessible content for the image.

MicrosoftGraphImageInfo withAlternativeText(String alternativeText)

Set the alternativeText property: The alternativeText property.

MicrosoftGraphImageInfo withIconUrl(String iconUrl)

Set the iconUrl property: Optional; URI that points to an icon which represents the application used to generate the activity.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphImageInfo

public MicrosoftGraphImageInfo()

Creates an instance of MicrosoftGraphImageInfo class.

Method Details

addImageQuery

public Boolean addImageQuery()

Get the addImageQuery property: Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example \u2013 a high contrast image.

Returns:

the addImageQuery value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: imageInfo.

Returns:

the additionalProperties value.

alternateText

public String alternateText()

Get the alternateText property: Optional; alt-text accessible content for the image.

Returns:

the alternateText value.

alternativeText

public String alternativeText()

Get the alternativeText property: The alternativeText property.

Returns:

the alternativeText value.

fromJson

public static MicrosoftGraphImageInfo fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphImageInfo from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphImageInfo 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 MicrosoftGraphImageInfo.

iconUrl

public String iconUrl()

Get the iconUrl property: Optional; URI that points to an icon which represents the application used to generate the activity.

Returns:

the iconUrl value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAddImageQuery

public MicrosoftGraphImageInfo withAddImageQuery(Boolean addImageQuery)

Set the addImageQuery property: Optional; parameter used to indicate the server is able to render image dynamically in response to parameterization. For example \u2013 a high contrast image.

Parameters:

addImageQuery - the addImageQuery value to set.

Returns:

the MicrosoftGraphImageInfo object itself.

withAdditionalProperties

public MicrosoftGraphImageInfo withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: imageInfo.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphImageInfo object itself.

withAlternateText

public MicrosoftGraphImageInfo withAlternateText(String alternateText)

Set the alternateText property: Optional; alt-text accessible content for the image.

Parameters:

alternateText - the alternateText value to set.

Returns:

the MicrosoftGraphImageInfo object itself.

withAlternativeText

public MicrosoftGraphImageInfo withAlternativeText(String alternativeText)

Set the alternativeText property: The alternativeText property.

Parameters:

alternativeText - the alternativeText value to set.

Returns:

the MicrosoftGraphImageInfo object itself.

withIconUrl

public MicrosoftGraphImageInfo withIconUrl(String iconUrl)

Set the iconUrl property: Optional; URI that points to an icon which represents the application used to generate the activity.

Parameters:

iconUrl - the iconUrl value to set.

Returns:

the MicrosoftGraphImageInfo object itself.

Applies to