View Source GoogleApi.Content.V2.Model.CustomAttribute (google_api_content v0.67.1)

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. Acceptable values are: - "boolean" - "datetimerange" - "float" - "group" - "int" - "price" - "text" - "time" - "url"
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Content.V2.Model.CustomAttribute{
  name: String.t() | nil,
  type: String.t() | nil,
  unit: String.t() | nil,
  value: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.