Class: GetStream::Generated::Models::UpdateFeedRequest
- Defined in:
- lib/getstream_ruby/generated/models/update_feed_request.rb
Instance Attribute Summary collapse
-
#created_by_id ⇒ String
ID of the new feed creator (owner).
-
#custom ⇒ Object
Custom data for the feed.
-
#description ⇒ String
Description of the feed.
-
#filter_tags ⇒ Array<String>
Tags used for filtering feeds.
-
#name ⇒ String
Name of the feed.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ UpdateFeedRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ UpdateFeedRequest
Initialize with attributes
29 30 31 32 33 34 35 36 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 29 def initialize(attributes = {}) super(attributes) @created_by_id = attributes[:created_by_id] || attributes['created_by_id'] || nil @description = attributes[:description] || attributes['description'] || nil @name = attributes[:name] || attributes['name'] || nil = attributes[:filter_tags] || attributes['filter_tags'] || nil @custom = attributes[:custom] || attributes['custom'] || nil end |
Instance Attribute Details
#created_by_id ⇒ String
14 15 16 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 14 def created_by_id @created_by_id end |
#custom ⇒ Object
26 27 28 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 26 def custom @custom end |
#description ⇒ String
17 18 19 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 17 def description @description end |
#filter_tags ⇒ Array<String>
23 24 25 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 23 def end |
#name ⇒ String
20 21 22 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 20 def name @name end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
39 40 41 42 43 44 45 46 47 |
# File 'lib/getstream_ruby/generated/models/update_feed_request.rb', line 39 def self.json_field_mappings { created_by_id: 'created_by_id', description: 'description', name: 'name', filter_tags: 'filter_tags', custom: 'custom' } end |