Class: ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Colors
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ContextDev::Models::WebExtractStyleguideResponse::Styleguide::Colors
- Defined in:
- lib/context_dev/models/web_extract_styleguide_response.rb,
sig/context_dev/models/web_extract_styleguide_response.rbs
Overview
Instance Attribute Summary collapse
-
#accent ⇒ String
Accent color (hex format).
-
#background ⇒ String
Background color (hex format).
-
#text ⇒ String
Text color (hex format).
Instance Method Summary collapse
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 ⇒ Object
127 |
# File 'sig/context_dev/models/web_extract_styleguide_response.rbs', line 127
def initialize: (
|
Instance Attribute Details
#accent ⇒ String
Accent color (hex format)
151 |
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 151 required :accent, String |
#background ⇒ String
Background color (hex format)
157 |
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 157 required :background, String |
#text ⇒ String
Text color (hex format)
163 |
# File 'lib/context_dev/models/web_extract_styleguide_response.rb', line 163 required :text, String |
Instance Method Details
#to_hash ⇒ { accent: String, background: String, text: String }
133 |
# File 'sig/context_dev/models/web_extract_styleguide_response.rbs', line 133
def to_hash: -> { accent: String, background: String, text: String }
|