Class: Hexspace::TGetCatalogsResp
- Inherits:
-
Object
- Object
- Hexspace::TGetCatalogsResp
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/hexspace/tcli_service_types.rb,
lib/hexspace/tcli_service_types.rb
Constant Summary collapse
- STATUS =
1
- OPERATIONHANDLE =
2
- FIELDS =
{ STATUS => {:type => ::Thrift::Types::STRUCT, :name => 'status', :class => ::Hexspace::TStatus}, OPERATIONHANDLE => {:type => ::Thrift::Types::STRUCT, :name => 'operationHandle', :class => ::Hexspace::TOperationHandle, :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
1409 |
# File 'lib/hexspace/tcli_service_types.rb', line 1409 def struct_fields; FIELDS; end |
#validate ⇒ Object
1411 1412 1413 |
# File 'lib/hexspace/tcli_service_types.rb', line 1411 def validate raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status end |