class AddDocumentsToCentroidRequest

Constants

CENTROIDID
DOCUMENTIDS
FIELDS
IGNOREALREADYINCENTROID
IGNOREMISSINGCENTROID
IGNOREMISSINGDOCUMENT

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen-rb/relevanced_protocol_types.rb, line 547
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen-rb/relevanced_protocol_types.rb, line 549
def validate
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field centroidId is unset!') unless @centroidId
  raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field documentIds is unset!') unless @documentIds
end