Class: Trino::Client::ModelVersions::V351::Assignments=Base.new(:assignments)
- Inherits:
-
Object
- Object
- Trino::Client::ModelVersions::V351::Assignments=Base.new(:assignments)
- Defined in:
- lib/trino/client/model_versions/351.rb
Class Method Summary collapse
Class Method Details
.decode(hash) ⇒ Object
386 387 388 389 390 391 392 393 394 395 |
# File 'lib/trino/client/model_versions/351.rb', line 386 def decode(hash) unless hash.is_a?(Hash) raise TypeError, "Can't convert #{hash.class} to Hash" end obj = allocate obj.send(:initialize_struct, hash["assignments"], ) obj end |