class Hexspace::TGetInfoReq

Constants

FIELDS
INFOTYPE
SESSIONHANDLE

Public Instance Methods

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