View Source GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurementUnit (google_api_content_warehouse v0.4.0)

Attributes

  • power (type: integer(), default: nil) -
  • unit (type: GoogleApi.ContentWarehouse.V1.Model.FreebaseId.t, default: nil) -
  • unitMid (type: String.t, default: nil) - Deprecated fields.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.FreebaseMeasurementUnit{
  power: integer() | nil,
  unit: GoogleApi.ContentWarehouse.V1.Model.FreebaseId.t() | nil,
  unitMid: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.