class Relevanced::CreateDocument_args

Constants

FIELDS
LANGUAGE
TEXT

Public Instance Methods

struct_fields() click to toggle source
# File lib/gen-rb/relevanced.rb, line 1140
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/gen-rb/relevanced.rb, line 1142
def validate
  unless @language.nil? || ::Language::VALID_VALUES.include?(@language)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field language!')
  end
end