class Thrift::Types::Value::MapEntry

Constants

FIELDS
NAME
NAMESPACE
THRIFT_FIELD_INDEX_KEY
THRIFT_FIELD_INDEX_VALUE

Public Instance Methods

struct_fields() click to toggle source
   # File lib/thrift/types/value_types.rb
80 def struct_fields; FIELDS; end
validate() click to toggle source
   # File lib/thrift/types/value_types.rb
82 def validate
83   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field key is unset!') unless @key
84   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field value is unset!') unless @value
85 end