Class: Hexspace::TUnionTypeEntry
- Inherits:
-
Object
- Object
- Hexspace::TUnionTypeEntry
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- NAMETOTYPEPTR =
1
- FIELDS =
{ NAMETOTYPEPTR => {:type => ::Thrift::Types::MAP, :name => 'nameToTypePtr', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::I32}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
448 |
# File 'lib/hexspace/tcli_service_types.rb', line 448 def struct_fields; FIELDS; end |
#validate ⇒ Object
450 451 452 |
# File 'lib/hexspace/tcli_service_types.rb', line 450 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field nameToTypePtr is unset!') unless @nameToTypePtr end |