Class: Hexspace::TSessionHandle
- Inherits:
-
Object
- Object
- Hexspace::TSessionHandle
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- SESSIONID =
1
- FIELDS =
{ SESSIONID => {:type => ::Thrift::Types::STRUCT, :name => 'sessionId', :class => ::Hexspace::THandleIdentifier} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1081 |
# File 'lib/hexspace/tcli_service_types.rb', line 1081 def struct_fields; FIELDS; end |
#validate ⇒ Object
1083 1084 1085 |
# File 'lib/hexspace/tcli_service_types.rb', line 1083 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field sessionId is unset!') unless @sessionId end |