View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreWeightProto (google_api_content_warehouse v0.3.0)

A weight with a numerical value and unit.

Attributes

  • unit (type: String.t, default: nil) -
  • weight (type: number(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreWeightProto{
  unit: String.t() | nil,
  weight: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.