Class: ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components
- Defined in:
- lib/context_dev/models/web_extract_styleguide_response.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#button ⇒ ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Button
Button component styles.
-
#card ⇒ ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Card?
Card component style.
Instance Method Summary collapse
-
#initialize(background_color:, border_color:, border_radius:, border_style:, border_width:, box_shadow:, color:, css:, font_size:, font_weight:, min_height:, min_width:, padding:, text_decoration:, font_fallbacks: nil, font_family: nil, text_decoration_color: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Button::Secondary for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(background_color:, border_color:, border_radius:, border_style:, border_width:, box_shadow:, color:, css:, font_size:, font_weight:, min_height:, min_width:, padding:, text_decoration:, font_fallbacks: nil, font_family: nil, text_decoration_color: nil) ⇒ Object
Some parameter documentations has been truncated, see ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Button::Secondary for more details.
|
|
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 154
|
Instance Attribute Details
#button ⇒ ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Button
Button component styles
146 |
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 146 required :button, -> { ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Button } |
#card ⇒ ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Card?
Card component style
152 |
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 152 optional :card, -> { ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Card } |