View Source GoogleApi.Sheets.V4.Model.ExtendedValue (google_api_sheets v0.34.0)

The kinds of value that a cell in a spreadsheet can have.

Attributes

  • boolValue (type: boolean(), default: nil) - Represents a boolean value.
  • errorValue (type: GoogleApi.Sheets.V4.Model.ErrorValue.t, default: nil) - Represents an error. This field is read-only.
  • formulaValue (type: String.t, default: nil) - Represents a formula.
  • numberValue (type: float(), default: nil) - Represents a double value. Note: Dates, Times and DateTimes are represented as doubles in SERIAL_NUMBER format.
  • stringValue (type: String.t, default: nil) - Represents a string value. Leading single quotes are not included. For example, if the user typed '123 into the UI, this would be represented as a stringValue of "123".

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Sheets.V4.Model.ExtendedValue{
  boolValue: boolean() | nil,
  errorValue: GoogleApi.Sheets.V4.Model.ErrorValue.t() | nil,
  formulaValue: String.t() | nil,
  numberValue: float() | nil,
  stringValue: String.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.