class Relevanced::GetTextSimilarity_args
Constants
- CENTROIDID
- FIELDS
- LANG
- TEXT
Public Instance Methods
struct_fields()
click to toggle source
# File lib/gen-rb/relevanced.rb, line 1024 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/gen-rb/relevanced.rb, line 1026 def validate unless @lang.nil? || ::Language::VALID_VALUES.include?(@lang) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field lang!') end end