Class: GetStream::Generated::Models::GroupedChannelsGroupRequest
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::GroupedChannelsGroupRequest
- Defined in:
- lib/getstream_ruby/generated/models/grouped_channels_group_request.rb
Instance Attribute Summary collapse
-
#filter_conditions ⇒ Object
Optional query_timestamp $gte bound for a stored group, requiring query_timestamp sort; do not repeat its group name.
-
#limit ⇒ Integer
Max channels for this group; values above 15 are capped at 15.
-
#next ⇒ String
Cursor for the next page; only allowed when requesting one group.
-
#prev ⇒ String
Cursor for the previous page; only allowed when requesting one group.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ GroupedChannelsGroupRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ GroupedChannelsGroupRequest
Initialize with attributes
26 27 28 29 30 31 32 |
# File 'lib/getstream_ruby/generated/models/grouped_channels_group_request.rb', line 26 def initialize(attributes = {}) super(attributes) @limit = attributes.fetch(:limit) { attributes.fetch('limit', nil) } @next = attributes.fetch(:next) { attributes.fetch('next', nil) } @prev = attributes.fetch(:prev) { attributes.fetch('prev', nil) } @filter_conditions = attributes.fetch(:filter_conditions) { attributes.fetch('filter_conditions', nil) } end |
Instance Attribute Details
#filter_conditions ⇒ Object
Returns Optional query_timestamp $gte bound for a stored group, requiring query_timestamp sort; do not repeat its group name. For all, combine group equality/$in and date bounds with $or, or use one standalone group $ne exclusion. An empty object matches a stored group; omitted or null preserves legacy grouping.
23 24 25 |
# File 'lib/getstream_ruby/generated/models/grouped_channels_group_request.rb', line 23 def filter_conditions @filter_conditions end |
#limit ⇒ Integer
Returns Max channels for this group; values above 15 are capped at 15. Omitted or zero uses the request limit.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/grouped_channels_group_request.rb', line 14 def limit @limit end |
#next ⇒ String
Returns Cursor for the next page; only allowed when requesting one group.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/grouped_channels_group_request.rb', line 17 def next @next end |
#prev ⇒ String
Returns Cursor for the previous page; only allowed when requesting one group.
20 21 22 |
# File 'lib/getstream_ruby/generated/models/grouped_channels_group_request.rb', line 20 def prev @prev end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
35 36 37 38 39 40 41 42 |
# File 'lib/getstream_ruby/generated/models/grouped_channels_group_request.rb', line 35 def self.json_field_mappings { limit: 'limit', next: 'next', prev: 'prev', filter_conditions: 'filter_conditions' } end |