GoogleApi.Script.V1.Model.Struct (google_api_script v0.19.0)

View Source

Struct represents a structured data value, consisting of fields which map to dynamically typed values.

Attributes

  • fields (type: %{optional(String.t) => GoogleApi.Script.V1.Model.Value.t}, default: nil) - Unordered map of dynamically typed values.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Script.V1.Model.Struct{
  fields: %{optional(String.t()) => GoogleApi.Script.V1.Model.Value.t()} | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.