Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.9 KB

File metadata and controls

34 lines (28 loc) · 1.9 KB

UltracartClient::SfvbThemeAttribute

Properties

Name Type Description Notes
default_value String What the declaring template falls back to when this slot has no value. [optional]
deprecated Boolean True when the theme marks this slot as on its way out. Prefer not to build on it. [optional]
description String What this slot is for, where the theme author documented it. [optional]
font SfvbThemeFont [optional]
name String Slot name, for example Theme Color 01. Returned in the casing the theme's templates declare, which may differ from the casing you wrote. Compare case insensitively. [optional]
type String What kind of slot this is, taken from the template that declares it rather than guessed from the value. orphan means nothing declares it. [optional]
undeclared Boolean True when no template in this theme references this name. Writing such a name is allowed and is how the builder stores its own settings, but if you did not mean to create one this is a misspelling and the write changed nothing visible. [optional]
unused Boolean True when the slot is declared but nothing in the theme actually reads it, so setting it has no visible effect. [optional]
value String The applied value. For a colour this is a hex or rgb string, for a boolean the text true or false, for a font the raw JSON document also given in the font field. When the stored value is empty the current preset's default is filled in here. [optional]

Example

require 'ultracart_api'

instance = UltracartClient::SfvbThemeAttribute.new(
  default_value: null,
  deprecated: null,
  description: null,
  font: null,
  name: null,
  type: null,
  undeclared: null,
  unused: null,
  value: null
)