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