Class: Sink::Models::ObjectTwoDimensionalArrayPrimitivePropertyResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

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

Constructor Details

#initialize(data = {}) ⇒ ObjectTwoDimensionalArrayPrimitivePropertyResponse

Create a new instance of ObjectTwoDimensionalArrayPrimitivePropertyResponse from

a Hash of raw data.

Parameters:

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

    . @option data [Array<Array<Hash>>] :boolean_prop @option data [Array<Array<Integer>>] :integer_prop @option data [Array<Array<Float>>] :number_prop @option data [Array<Array<String>>] :string_prop



9
# File 'lib/sink/models/object_two_dimensional_array_primitive_property_response.rb', line 9

def initialize(data = {}) = super

Instance Attribute Details

#boolean_propArray<Array<Boolean>>

Returns:

  • (Array<Array<Boolean>>)


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

required :boolean_prop, Sink::ArrayOf.new(Sink::ArrayOf.new(Sink::BooleanModel))

#integer_propArray<Array<Integer>>

Returns:

  • (Array<Array<Integer>>)


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

required :integer_prop, Sink::ArrayOf.new(Sink::ArrayOf.new(Integer))

#number_propArray<Array<Float>>

Returns:

  • (Array<Array<Float>>)


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

required :number_prop, Sink::ArrayOf.new(Sink::ArrayOf.new(Float))

#string_propArray<Array<String>>

Returns:

  • (Array<Array<String>>)


20
# File 'lib/sink/models/object_two_dimensional_array_primitive_property_response.rb', line 20

required :string_prop, Sink::ArrayOf.new(Sink::ArrayOf.new(String))