class Hexspace::TOperationHandle

Constants

FIELDS
HASRESULTSET
MODIFIEDROWCOUNT
OPERATIONID
OPERATIONTYPE

Public Instance Methods

struct_fields() click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 1104
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/hexspace/tcli_service_types.rb, line 1106
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationId is unset!') unless @operationId
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field operationType is unset!') unless @operationType
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field hasResultSet is unset!') if @hasResultSet.nil?
  unless @operationType.nil? || ::Hexspace::TOperationType::VALID_VALUES.include?(@operationType)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field operationType!')
  end
end