Class MicrosoftGraphWorkbookSortField
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookSortField
workbookSortField.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphWorkbookSortField class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: workbookSortField.Get the ascending property: Represents whether the sorting is done in an ascending fashion.color()Get the color property: Represents the color that is the target of the condition if the sorting is on font or cell color.Get the dataOption property: Represents additional sorting options for this field.icon()Get the icon property: workbookIcon.key()Get the key property: Represents the column (or row, depending on the sort orientation) that the condition is on.sortOn()Get the sortOn property: Represents the type of sorting of this condition.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookSortField.withAscending(Boolean ascending) Set the ascending property: Represents whether the sorting is done in an ascending fashion.Set the color property: Represents the color that is the target of the condition if the sorting is on font or cell color.withDataOption(String dataOption) Set the dataOption property: Represents additional sorting options for this field.Set the icon property: workbookIcon.Set the key property: Represents the column (or row, depending on the sort orientation) that the condition is on.withSortOn(String sortOn) Set the sortOn property: Represents the type of sorting of this condition.
-
Constructor Details
-
MicrosoftGraphWorkbookSortField
public MicrosoftGraphWorkbookSortField()Creates an instance of MicrosoftGraphWorkbookSortField class.
-
-
Method Details
-
ascending
Get the ascending property: Represents whether the sorting is done in an ascending fashion.- Returns:
- the ascending value.
-
withAscending
Set the ascending property: Represents whether the sorting is done in an ascending fashion.- Parameters:
ascending- the ascending value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
color
Get the color property: Represents the color that is the target of the condition if the sorting is on font or cell color.- Returns:
- the color value.
-
withColor
Set the color property: Represents the color that is the target of the condition if the sorting is on font or cell color.- Parameters:
color- the color value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
dataOption
Get the dataOption property: Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.- Returns:
- the dataOption value.
-
withDataOption
Set the dataOption property: Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.- Parameters:
dataOption- the dataOption value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
icon
Get the icon property: workbookIcon.- Returns:
- the icon value.
-
withIcon
Set the icon property: workbookIcon.- Parameters:
icon- the icon value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
key
Get the key property: Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row).- Returns:
- the key value.
-
withKey
Set the key property: Represents the column (or row, depending on the sort orientation) that the condition is on. Represented as an offset from the first column (or row).- Parameters:
key- the key value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
sortOn
Get the sortOn property: Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon.- Returns:
- the sortOn value.
-
withSortOn
Set the sortOn property: Represents the type of sorting of this condition. The possible values are: Value, CellColor, FontColor, Icon.- Parameters:
sortOn- the sortOn value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
additionalProperties
Get the additionalProperties property: workbookSortField.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookSortField withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: workbookSortField.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-