Class: GetStream::Generated::Models::ExportChannelsRequest
- Defined in:
- lib/getstream_ruby/generated/models/export_channels_request.rb
Instance Attribute Summary collapse
-
#channels ⇒ Array<ChannelExport>
Export options for channels.
-
#clear_deleted_message_text ⇒ Boolean
Set if deleted message text should be cleared.
- #export_users ⇒ Boolean
-
#include_soft_deleted_channels ⇒ Boolean
Set if you want to include deleted channels.
-
#include_truncated_messages ⇒ Boolean
Set if you want to include truncated messages.
-
#version ⇒ String
Export version.
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ExportChannelsRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ ExportChannelsRequest
Initialize with attributes
32 33 34 35 36 37 38 39 40 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 32 def initialize(attributes = {}) super(attributes) @channels = attributes[:channels] || attributes['channels'] = attributes[:clear_deleted_message_text] || attributes['clear_deleted_message_text'] || nil @export_users = attributes[:export_users] || attributes['export_users'] || nil @include_soft_deleted_channels = attributes[:include_soft_deleted_channels] || attributes['include_soft_deleted_channels'] || nil = attributes[:include_truncated_messages] || attributes['include_truncated_messages'] || nil @version = attributes[:version] || attributes['version'] || nil end |
Instance Attribute Details
#channels ⇒ Array<ChannelExport>
Returns Export options for channels.
14 15 16 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 14 def channels @channels end |
#clear_deleted_message_text ⇒ Boolean
Returns Set if deleted message text should be cleared.
17 18 19 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 17 def end |
#export_users ⇒ Boolean
20 21 22 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 20 def export_users @export_users end |
#include_soft_deleted_channels ⇒ Boolean
Returns Set if you want to include deleted channels.
23 24 25 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 23 def include_soft_deleted_channels @include_soft_deleted_channels end |
#include_truncated_messages ⇒ Boolean
Returns Set if you want to include truncated messages.
26 27 28 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 26 def end |
#version ⇒ String
Returns Export version.
29 30 31 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 29 def version @version end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
43 44 45 46 47 48 49 50 51 52 |
# File 'lib/getstream_ruby/generated/models/export_channels_request.rb', line 43 def self.json_field_mappings { channels: 'channels', clear_deleted_message_text: 'clear_deleted_message_text', export_users: 'export_users', include_soft_deleted_channels: 'include_soft_deleted_channels', include_truncated_messages: 'include_truncated_messages', version: 'version' } end |