class Hexspace::TGetOperationStatusResp

Constants

ERRORCODE
ERRORMESSAGE
FIELDS
HASRESULTSET
OPERATIONCOMPLETED
OPERATIONSTARTED
OPERATIONSTATE
PROGRESSUPDATERESPONSE
SQLSTATE
STATUS
TASKSTATUS

Public Instance Methods

struct_fields() click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 1760
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 1762
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field status is unset!') unless @status
  unless @operationState.nil? || ::Hexspace::TOperationState::VALID_VALUES.include?(@operationState)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field operationState!')
  end
end