Class: Fizzy::Types::UpdateColumnRequestContent
- Inherits:
-
Data
- Object
- Data
- Fizzy::Types::UpdateColumnRequestContent
- Defined in:
- lib/fizzy/generated/types.rb
Instance Attribute Summary collapse
-
#color ⇒ Object
readonly
Returns the value of attribute color.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Class Method Summary collapse
Instance Attribute Details
#color ⇒ Object (readonly)
Returns the value of attribute color
1006 1007 1008 |
# File 'lib/fizzy/generated/types.rb', line 1006 def color @color end |
#name ⇒ Object (readonly)
Returns the value of attribute name
1006 1007 1008 |
# File 'lib/fizzy/generated/types.rb', line 1006 def name @name end |
Class Method Details
.from_json(data) ⇒ Object
1008 1009 1010 1011 1012 1013 |
# File 'lib/fizzy/generated/types.rb', line 1008 def self.from_json(data) new( name: data["name"], color: data["color"] ) end |