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