你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphWorkbookSortField Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphWorkbookSortField
- com.
Implements
public final class MicrosoftGraphWorkbookSortField
implements JsonSerializable<MicrosoftGraphWorkbookSortField>
workbookSortField.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphWorkbookSortField() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
ascending()
Get the ascending property: Represents whether the sorting is done in an ascending fashion. |
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. |
String |
dataOption()
Get the data |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Microsoft |
icon()
Get the icon property: workbook |
Integer |
key()
Get the key property: Represents the column (or row, depending on the sort orientation) that the condition is on. |
String |
sortOn()
Get the sort |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAscending(Boolean ascending)
Set the ascending property: Represents whether the sorting is done in an ascending fashion. |
Microsoft |
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. |
Microsoft |
withDataOption(String dataOption)
Set the data |
Microsoft |
withIcon(MicrosoftGraphWorkbookIcon icon)
Set the icon property: workbook |
Microsoft |
withKey(Integer key)
Set the key property: Represents the column (or row, depending on the sort orientation) that the condition is on. |
Microsoft |
withSortOn(String sortOn)
Set the sort |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphWorkbookSortField
public MicrosoftGraphWorkbookSortField()
Creates an instance of MicrosoftGraphWorkbookSortField class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: workbookSortField.
Returns:
ascending
public Boolean ascending()
Get the ascending property: Represents whether the sorting is done in an ascending fashion.
Returns:
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:
dataOption
public String dataOption()
Get the dataOption property: Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.
Returns:
fromJson
public static MicrosoftGraphWorkbookSortField fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphWorkbookSortField from the JsonReader.
Parameters:
Returns:
Throws:
icon
public MicrosoftGraphWorkbookIcon icon()
Get the icon property: workbookIcon.
Returns:
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:
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:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphWorkbookSortField withAdditionalProperties(Map
Set the additionalProperties property: workbookSortField.
Parameters:
Returns:
withAscending
public MicrosoftGraphWorkbookSortField withAscending(Boolean ascending)
Set the ascending property: Represents whether the sorting is done in an ascending fashion.
Parameters:
Returns:
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:
Returns:
withDataOption
public MicrosoftGraphWorkbookSortField withDataOption(String dataOption)
Set the dataOption property: Represents additional sorting options for this field. The possible values are: Normal, TextAsNumber.
Parameters:
Returns:
withIcon
public MicrosoftGraphWorkbookSortField withIcon(MicrosoftGraphWorkbookIcon icon)
Set the icon property: workbookIcon.
Parameters:
Returns:
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:
Returns:
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:
Returns: