Class: Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/sink/models/object_multiple_array_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 = {}) ⇒ ObjectMultipleArrayPropertiesSameRefResponse

Create a new instance of ObjectMultipleArrayPropertiesSameRefResponse from a

Hash of raw data.

Parameters:

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

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



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

def initialize(data = {}) = super

Instance Attribute Details

#barArray<Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse::Bar>



17
# File 'lib/sink/models/object_multiple_array_properties_same_ref_response.rb', line 17

optional :bar, Sink::ArrayOf.new(-> { Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse::Bar })

#fooArray<Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse::Foo>



21
# File 'lib/sink/models/object_multiple_array_properties_same_ref_response.rb', line 21

optional :foo, Sink::ArrayOf.new(-> { Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse::Foo })

#required_propArray<Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse::RequiredProp>



8
9
10
11
12
13
# File 'lib/sink/models/object_multiple_array_properties_same_ref_response.rb', line 8

required :required_prop,
Sink::ArrayOf.new(
  -> {
    Sink::Models::ObjectMultipleArrayPropertiesSameRefResponse::RequiredProp
  }
)