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