Class: Couchbase::Cluster::SearchFacetResult::DateRangeFacetResult::DateRangeFacet
- Inherits:
-
Object
- Object
- Couchbase::Cluster::SearchFacetResult::DateRangeFacetResult::DateRangeFacet
- Defined in:
- lib/couchbase/search_options.rb,
/Users/sergey.auseyau/code/couchbase-ruby-client/lib/couchbase/search_options.rb more...
Instance Attribute Summary collapse
- #count ⇒ Integer readonly
- #end_time ⇒ String readonly
- #name ⇒ String readonly
- #start_time ⇒ String readonly
Instance Method Summary collapse
-
#initialize(name, count, start_time, end_time) ⇒ DateRangeFacet
constructor
A new instance of DateRangeFacet.
Constructor Details
#initialize(name, count, start_time, end_time) ⇒ DateRangeFacet
Returns a new instance of DateRangeFacet.
1358 1359 1360 1361 1362 1363 |
# File 'lib/couchbase/search_options.rb', line 1358 def initialize(name, count, start_time, end_time) @name = name @count = count @start_time = start_time @end_time = end_time end |
Instance Attribute Details
#count ⇒ Integer (readonly)
1350 1351 1352 |
# File 'lib/couchbase/search_options.rb', line 1350 def count @count end |
#end_time ⇒ String (readonly)
1356 1357 1358 |
# File 'lib/couchbase/search_options.rb', line 1356 def end_time @end_time end |
#name ⇒ String (readonly)
1347 1348 1349 |
# File 'lib/couchbase/search_options.rb', line 1347 def name @name end |
#start_time ⇒ String (readonly)
1353 1354 1355 |
# File 'lib/couchbase/search_options.rb', line 1353 def start_time @start_time end |