google_api_sheets v0.2.0 GoogleApi.Sheets.V4.Model.NumberFormat View Source

The number format of a cell.

Attributes

  • pattern (String.t): Pattern string used for formatting. If not set, a default pattern based on the user's locale will be used if necessary for the given type. See the Date and Number Formats guide for more information about the supported patterns. Defaults to: null.
  • type (String.t): The type of the number format. When writing, this field must be set. Defaults to: null.

    • Enum - one of [NUMBER_FORMAT_TYPE_UNSPECIFIED, TEXT, NUMBER, PERCENT, CURRENCY, DATE, TIME, DATE_TIME, SCIENTIFIC]

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.Sheets.V4.Model.NumberFormat{pattern: any(), type: any()}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.