Class MicrosoftGraphWorkbookSortField


  • public final class MicrosoftGraphWorkbookSortField
    extends Object
    workbookSortField.
    • Constructor Detail

      • MicrosoftGraphWorkbookSortField

        public MicrosoftGraphWorkbookSortField()
    • 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.
      • 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.