Class: ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Components::Card

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/context_dev/models/web_extract_styleguide_response.rb

Overview

See Also:

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from ContextDev::Internal::Type::BaseModel

Instance Attribute Details

#background_colorString

Returns:

  • (String)


637
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 637

required :background_color, String, api_name: :backgroundColor

#border_colorString

Border color as CSS hex (#RRGGBB or #RRGGBBAA when computed border-color has alpha)

Returns:

  • (String)


644
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 644

required :border_color, String, api_name: :borderColor

#border_radiusString

Returns:

  • (String)


649
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 649

required :border_radius, String, api_name: :borderRadius

#border_styleString

Returns:

  • (String)


654
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 654

required :border_style, String, api_name: :borderStyle

#border_widthString

Returns:

  • (String)


659
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 659

required :border_width, String, api_name: :borderWidth

#box_shadowString

Returns:

  • (String)


664
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 664

required :box_shadow, String, api_name: :boxShadow

#cssString

Ready-to-use CSS declaration block for this component style

Returns:

  • (String)


670
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 670

required :css, String

#paddingString

Returns:

  • (String)


675
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 675

required :padding, String

#text_colorString

Returns:

  • (String)


680
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 680

required :text_color, String, api_name: :textColor