class Hexspace::TStatus

Constants

ERRORCODE
ERRORMESSAGE
FIELDS
INFOMESSAGES
SQLSTATE
STATUSCODE

Public Instance Methods

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