MicrosoftGraphWorkbookIcon Class

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

Implements

public final class MicrosoftGraphWorkbookIcon
implements JsonSerializable<MicrosoftGraphWorkbookIcon>

workbookIcon.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookIcon()

Creates an instance of MicrosoftGraphWorkbookIcon class.

Method Summary

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

Get the additionalProperties property: workbookIcon.

static MicrosoftGraphWorkbookIcon fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookIcon from the JsonReader.

Integer index()

Get the index property: Represents the index of the icon in the given set.

String set()

Get the set property: Represents the set that the icon is part of.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbookIcon withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookIcon.

MicrosoftGraphWorkbookIcon withIndex(Integer index)

Set the index property: Represents the index of the icon in the given set.

MicrosoftGraphWorkbookIcon withSet(String set)

Set the set property: Represents the set that the icon is part of.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookIcon

public MicrosoftGraphWorkbookIcon()

Creates an instance of MicrosoftGraphWorkbookIcon class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookIcon.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphWorkbookIcon fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookIcon from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

index

public Integer index()

Get the index property: Represents the index of the icon in the given set.

Returns:

the index value.

set

public String set()

Get the set property: Represents the set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes.

Returns:

the set value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphWorkbookIcon withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookIcon.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookIcon object itself.

withIndex

public MicrosoftGraphWorkbookIcon withIndex(Integer index)

Set the index property: Represents the index of the icon in the given set.

Parameters:

index - the index value to set.

Returns:

the MicrosoftGraphWorkbookIcon object itself.

withSet

public MicrosoftGraphWorkbookIcon withSet(String set)

Set the set property: Represents the set that the icon is part of. The possible values are: Invalid, ThreeArrows, ThreeArrowsGray, ThreeFlags, ThreeTrafficLights1, ThreeTrafficLights2, ThreeSigns, ThreeSymbols, ThreeSymbols2, FourArrows, FourArrowsGray, FourRedToBlack, FourRating, FourTrafficLights, FiveArrows, FiveArrowsGray, FiveRating, FiveQuarters, ThreeStars, ThreeTriangles, FiveBoxes.

Parameters:

set - the set value to set.

Returns:

the MicrosoftGraphWorkbookIcon object itself.

Applies to