Class: Sink::Models::ObjectWithUnionProperties
- Defined in:
- lib/sink/models/object_with_union_properties.rb
Instance Attribute Summary collapse
- #bar ⇒ Sink::Models::ObjectWithUnionProperties::Bar::UnnamedTypeWithunionParent0, Sink::Models::SimpleObject
- #foo ⇒ Boolean, ...
Instance Method Summary collapse
-
#initialize(data = {}) ⇒ ObjectWithUnionProperties
constructor
Create a new instance of ObjectWithUnionProperties from a Hash of raw data.
Methods inherited from BaseModel
#[], #deconstruct_keys, #inspect, #to_h, #to_s
Constructor Details
#initialize(data = {}) ⇒ ObjectWithUnionProperties
Create a new instance of ObjectWithUnionProperties from a Hash of raw data.
6 |
# File 'lib/sink/models/object_with_union_properties.rb', line 6 def initialize(data = {}) = super |
Instance Attribute Details
#bar ⇒ Sink::Models::ObjectWithUnionProperties::Bar::UnnamedTypeWithunionParent0, Sink::Models::SimpleObject
8 |
# File 'lib/sink/models/object_with_union_properties.rb', line 8 required :bar, Sink::Unknown |
#foo ⇒ Boolean, ...
12 |
# File 'lib/sink/models/object_with_union_properties.rb', line 12 required :foo, Sink::Unknown |