Class: GetCentroidMetadataResponse

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/gen-rb/relevanced_protocol_types.rb

Constant Summary collapse

METADATA =
1
FIELDS =
{
  METADATA => {:type => ::Thrift::Types::STRUCT, :name => 'metadata', :class => ::CentroidMetadataDTO}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



221
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 221

def struct_fields; FIELDS; end

#validateObject

Raises:

  • (::Thrift::ProtocolException)


223
224
225
# File 'lib/gen-rb/relevanced_protocol_types.rb', line 223

def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field metadata is unset!') unless @metadata
end