Class: Sink::Models::BodyParamTopLevelAllOfResponse

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

Defined Under Namespace

Classes: Kind

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseModel

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

Constructor Details

#initialize(data = {}) ⇒ BodyParamTopLevelAllOfResponse

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

Parameters:

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

    . @option data [Hash] :is_foo @option data [String] :kind



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

def initialize(data = {}) = super

Instance Attribute Details

#is_fooBoolean

Returns:

  • (Boolean)


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

required :is_foo, Sink::BooleanModel

#kindSymbol, Sink::Models::BodyParamTopLevelAllOfResponse::Kind



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

required :kind, enum: -> { Sink::Models::BodyParamTopLevelAllOfResponse::Kind }