Class: Sink::Models::ResponseAllofSimpleResponse

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

Create a new instance of ResponseAllofSimpleResponse from a Hash of raw data.

Parameters:

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

    . @option data [String, nil] :bar @option data [String, nil] :foo



6
# File 'lib/sink/models/response_allof_simple_response.rb', line 6

def initialize(data = {}) = super

Instance Attribute Details

#barString

Returns:

  • (String)


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

optional :bar, String

#fooString

Returns:

  • (String)


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

optional :foo, String