Class: Sink::Models::ObjectMultiplePropertiesSameRefResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/sink/models/object_multiple_properties_same_ref_response.rb

Defined Under Namespace

Classes: Bar, Foo, RequiredProp

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

#[], #deconstruct_keys, #inspect, #to_h, #to_s

Constructor Details

#initialize(data = {}) ⇒ ObjectMultiplePropertiesSameRefResponse

Create a new instance of ObjectMultiplePropertiesSameRefResponse from a Hash of

raw data.

Parameters:

  • data (Hash{Symbol => Object}) (defaults to: {})

    . @option data [Object] :required_prop @option data [Object, nil] :bar @option data [Object, nil] :foo


5
# File 'lib/sink/models/object_multiple_properties_same_ref_response.rb', line 5

def initialize(data = {}) = super

Instance Attribute Details

#barSink::Models::ObjectMultiplePropertiesSameRefResponse::Bar


12
# File 'lib/sink/models/object_multiple_properties_same_ref_response.rb', line 12

optional :bar, -> { Sink::Models::ObjectMultiplePropertiesSameRefResponse::Bar }

#fooSink::Models::ObjectMultiplePropertiesSameRefResponse::Foo


16
# File 'lib/sink/models/object_multiple_properties_same_ref_response.rb', line 16

optional :foo, -> { Sink::Models::ObjectMultiplePropertiesSameRefResponse::Foo }

#required_propSink::Models::ObjectMultiplePropertiesSameRefResponse::RequiredProp


8
# File 'lib/sink/models/object_multiple_properties_same_ref_response.rb', line 8

required :required_prop, -> { Sink::Models::ObjectMultiplePropertiesSameRefResponse::RequiredProp }