View Source GoogleApi.Docs.V1.Model.Size (google_api_docs v0.17.1)

A width and height.

Attributes

  • height (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The height of the object.
  • width (type: GoogleApi.Docs.V1.Model.Dimension.t, default: nil) - The width of the object.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Docs.V1.Model.Size{
  height: GoogleApi.Docs.V1.Model.Dimension.t() | nil,
  width: GoogleApi.Docs.V1.Model.Dimension.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.