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)


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

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)


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

required :border_color, String, api_name: :borderColor

#border_radiusString

Returns:

  • (String)


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

required :border_radius, String, api_name: :borderRadius

#border_styleString

Returns:

  • (String)


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

required :border_style, String, api_name: :borderStyle

#border_widthString

Returns:

  • (String)


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

required :border_width, String, api_name: :borderWidth

#box_shadowString

Returns:

  • (String)


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

required :box_shadow, String, api_name: :boxShadow

#cssString

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

Returns:

  • (String)


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

required :css, String

#paddingString

Returns:

  • (String)


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

required :padding, String

#text_colorString

Returns:

  • (String)


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

required :text_color, String, api_name: :textColor