Class MicrosoftGraphWorkbookSortField
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookSortField
-
public final class MicrosoftGraphWorkbookSortField extends Object
workbookSortField.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkbookSortField()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: workbookSortField.Booleanascending()Get the ascending property: Represents whether the sorting is done in an ascending fashion.Stringcolor()Get the color property: Represents the color that is the target of the condition if the sorting is on font or cell color.StringdataOption()Get the dataOption property: Represents additional sorting options for this field.MicrosoftGraphWorkbookIconicon()Get the icon property: workbookIcon.Integerkey()Get the key property: Represents the column (or row, depending on the sort orientation) that the condition is on.StringsortOn()Get the sortOn property: Represents the type of sorting of this condition.voidvalidate()Validates the instance.MicrosoftGraphWorkbookSortFieldwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: workbookSortField.MicrosoftGraphWorkbookSortFieldwithAscending(Boolean ascending)Set the ascending property: Represents whether the sorting is done in an ascending fashion.MicrosoftGraphWorkbookSortFieldwithColor(String color)Set the color property: Represents the color that is the target of the condition if the sorting is on font or cell color.MicrosoftGraphWorkbookSortFieldwithDataOption(String dataOption)Set the dataOption property: Represents additional sorting options for this field.MicrosoftGraphWorkbookSortFieldwithIcon(MicrosoftGraphWorkbookIcon icon)Set the icon property: workbookIcon.MicrosoftGraphWorkbookSortFieldwithKey(Integer key)Set the key property: Represents the column (or row, depending on the sort orientation) that the condition is on.MicrosoftGraphWorkbookSortFieldwithSortOn(String sortOn)Set the sortOn property: Represents the type of sorting of this condition.
-
-
-
Method Detail
-
ascending
public Boolean ascending()
Get the ascending property: Represents whether the sorting is done in an ascending fashion.- Returns:
- the ascending value.
-
withAscending
public MicrosoftGraphWorkbookSortField withAscending(Boolean ascending)
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
public String 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
public MicrosoftGraphWorkbookSortField withColor(String color)
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
public String dataOption()
Get the dataOption property: Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.- Returns:
- the dataOption value.
-
withDataOption
public MicrosoftGraphWorkbookSortField withDataOption(String dataOption)
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
public MicrosoftGraphWorkbookIcon icon()
Get the icon property: workbookIcon.- Returns:
- the icon value.
-
withIcon
public MicrosoftGraphWorkbookSortField withIcon(MicrosoftGraphWorkbookIcon icon)
Set the icon property: workbookIcon.- Parameters:
icon- the icon value to set.- Returns:
- the MicrosoftGraphWorkbookSortField object itself.
-
key
public Integer 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
public MicrosoftGraphWorkbookSortField withKey(Integer key)
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
public String 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
public MicrosoftGraphWorkbookSortField withSortOn(String sortOn)
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
public Map<String,Object> 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.
-
-