Class: Couchbase::Cluster::SearchFacetResult::DateRangeFacetResult::DateRangeFacet

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/search_options.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, count, start_time, end_time) ⇒ DateRangeFacet

Returns a new instance of DateRangeFacet.



1352
1353
1354
1355
1356
1357
# File 'lib/couchbase/search_options.rb', line 1352

def initialize(name, count, start_time, end_time)
  @name = name
  @count = count
  @start_time = start_time
  @end_time = end_time
end

Instance Attribute Details

#countInteger (readonly)

Returns:

  • (Integer)


1344
1345
1346
# File 'lib/couchbase/search_options.rb', line 1344

def count
  @count
end

#end_timeString (readonly)

Returns:

  • (String)


1350
1351
1352
# File 'lib/couchbase/search_options.rb', line 1350

def end_time
  @end_time
end

#nameString (readonly)

Returns:

  • (String)


1341
1342
1343
# File 'lib/couchbase/search_options.rb', line 1341

def name
  @name
end

#start_timeString (readonly)

Returns:

  • (String)


1347
1348
1349
# File 'lib/couchbase/search_options.rb', line 1347

def start_time
  @start_time
end