google_api_content v0.16.0 GoogleApi.Content.V2.Model.CustomAttribute View Source

Attributes

  • name (type: String.t, default: nil) - The name of the attribute. Underscores will be replaced by spaces upon insertion.
  • type (type: String.t, default: nil) - The type of the attribute.
  • unit (type: String.t, default: nil) - Free-form unit of the attribute. Unit can only be used for values of type int, float, or price.
  • value (type: String.t, default: nil) - The value of the attribute.

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.Content.V2.Model.CustomAttribute{
  name: String.t(),
  type: String.t(),
  unit: String.t(),
  value: String.t()
}

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.