lib/dry/elastic_model/type_options/boolean.rb
# frozen_string_literal: true
module Dry
module ElasticModel
module TypeOptions
class Boolean < Base
attribute :boost, Types::Float.meta(omittable: true)
attribute :doc_values, Types::Bool.meta(omittable: true)
attribute :index, Types::Bool.meta(omittable: true)
attribute :null_value, Types::Bool.meta(omittable: true)
attribute :store, Types::Bool.meta(omittable: true)
# rubocop:enable Metrics/LineLength
end
end
end
end