google_api_sheets v0.24.1 GoogleApi.Sheets.V4.Model.SortSpec View Source

A sort order associated with a specific column or row.

Attributes

  • backgroundColor (type: GoogleApi.Sheets.V4.Model.Color.t, default: nil) - The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color.
  • backgroundColorStyle (type: GoogleApi.Sheets.V4.Model.ColorStyle.t, default: nil) - The background fill color to sort by; cells with this fill color are sorted to the top. Mutually exclusive with foreground_color, and must be an RGB-type color. If background_color is also set, this field takes precedence.
  • dimensionIndex (type: integer(), default: nil) - The dimension the sort should be applied to.
  • foregroundColor (type: GoogleApi.Sheets.V4.Model.Color.t, default: nil) - The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color.
  • foregroundColorStyle (type: GoogleApi.Sheets.V4.Model.ColorStyle.t, default: nil) - The foreground color to sort by; cells with this foreground color are sorted to the top. Mutually exclusive with background_color, and must be an RGB-type color. If foreground_color is also set, this field takes precedence.
  • sortOrder (type: String.t, default: nil) - The order data should be sorted.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Sheets.V4.Model.SortSpec{
  backgroundColor: GoogleApi.Sheets.V4.Model.Color.t(),
  backgroundColorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t(),
  dimensionIndex: integer(),
  foregroundColor: GoogleApi.Sheets.V4.Model.Color.t(),
  foregroundColorStyle: GoogleApi.Sheets.V4.Model.ColorStyle.t(),
  sortOrder: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.