GoogleApi.Content.V2.Model.CustomAttribute (google_api_content v0.58.1) 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. 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.