Class: Sink::Models::NameResponseShadowsPydanticResponse

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

Create a new instance of NameResponseShadowsPydanticResponse from a Hash of raw

data.

Parameters:

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

    . @option data [String] :parse_raw @option data [String, nil] :model_id



7
# File 'lib/sink/models/name_response_shadows_pydantic_response.rb', line 7

def initialize(data = {}) = super

Instance Attribute Details

#model_idString

Returns:

  • (String)


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

optional :model_id, String

#parse_rawString

Returns:

  • (String)


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

required :parse_raw, String