Class: Couchbase::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.



1503
1504
1505
1506
1507
1508
# File 'lib/couchbase/search_options.rb', line 1503

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)


1495
1496
1497
# File 'lib/couchbase/search_options.rb', line 1495

def count
  @count
end

#end_timeString (readonly)

Returns:

  • (String)


1501
1502
1503
# File 'lib/couchbase/search_options.rb', line 1501

def end_time
  @end_time
end

#nameString (readonly)

Returns:

  • (String)


1492
1493
1494
# File 'lib/couchbase/search_options.rb', line 1492

def name
  @name
end

#start_timeString (readonly)

Returns:

  • (String)


1498
1499
1500
# File 'lib/couchbase/search_options.rb', line 1498

def start_time
  @start_time
end