Class: Sink::Models::ResponseObjectWithHeavilyNestedUnionResponse

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

Create a new instance of ResponseObjectWithHeavilyNestedUnionResponse from a

Hash of raw data.

Parameters:

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

    . @option data [Object] :union_prop



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

def initialize(data = {}) = super

Instance Attribute Details

#union_propSink::Models::ResponseObjectWithHeavilyNestedUnionResponse::UnionProp::UnnamedTypeWithunionParent1, Sink::Models::ResponseObjectWithHeavilyNestedUnionResponse::UnionProp::UnnamedTypeWithunionParent2

Returns:

  • (Sink::Models::ResponseObjectWithHeavilyNestedUnionResponse::UnionProp::UnnamedTypeWithunionParent1, Sink::Models::ResponseObjectWithHeavilyNestedUnionResponse::UnionProp::UnnamedTypeWithunionParent2)


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

required :union_prop, Sink::Unknown