Class: GetStream::Generated::Models::ModerationDashboardPreferences
- Inherits:
-
BaseModel
- Object
- BaseModel
- GetStream::Generated::Models::ModerationDashboardPreferences
- Defined in:
- lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb
Instance Attribute Summary collapse
- #allowed_moderation_action_reasons ⇒ Array<String>
- #async_review_queue_upsert ⇒ Boolean
- #block_foreign_cdn_attachments ⇒ Boolean
- #custom_views_enabled ⇒ Boolean
- #disable_audit_logs ⇒ Boolean
- #disable_flagging_reviewed_entity ⇒ Boolean
- #enforce_shadow_server_side ⇒ Boolean
- #escalation_queue_enabled ⇒ Boolean
- #escalation_reasons ⇒ Array<String>
- #filterable_custom_keys ⇒ Array<String>
- #flag_user_on_flagged_content ⇒ Boolean
- #include_attachment_payload ⇒ Boolean
- #keyframe_classifications_map ⇒ Hash<String, Hash<String, Boolean>>
- #media_queue_blur_enabled ⇒ Boolean
- #overview_dashboard ⇒ OverviewDashboardConfig
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ModerationDashboardPreferences
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ ModerationDashboardPreferences
Initialize with attributes
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 59 def initialize(attributes = {}) super(attributes) @async_review_queue_upsert = attributes[:async_review_queue_upsert] || attributes['async_review_queue_upsert'] || nil = attributes[:block_foreign_cdn_attachments] || attributes['block_foreign_cdn_attachments'] || nil @custom_views_enabled = attributes[:custom_views_enabled] || attributes['custom_views_enabled'] || nil @disable_audit_logs = attributes[:disable_audit_logs] || attributes['disable_audit_logs'] || nil @disable_flagging_reviewed_entity = attributes[:disable_flagging_reviewed_entity] || attributes['disable_flagging_reviewed_entity'] || nil @enforce_shadow_server_side = attributes[:enforce_shadow_server_side] || attributes['enforce_shadow_server_side'] || nil @escalation_queue_enabled = attributes[:escalation_queue_enabled] || attributes['escalation_queue_enabled'] || nil @flag_user_on_flagged_content = attributes[:flag_user_on_flagged_content] || attributes['flag_user_on_flagged_content'] || nil = attributes[:include_attachment_payload] || attributes['include_attachment_payload'] || nil @media_queue_blur_enabled = attributes[:media_queue_blur_enabled] || attributes['media_queue_blur_enabled'] || nil @allowed_moderation_action_reasons = attributes[:allowed_moderation_action_reasons] || attributes['allowed_moderation_action_reasons'] || nil @escalation_reasons = attributes[:escalation_reasons] || attributes['escalation_reasons'] || nil @filterable_custom_keys = attributes[:filterable_custom_keys] || attributes['filterable_custom_keys'] || nil @keyframe_classifications_map = attributes[:keyframe_classifications_map] || attributes['keyframe_classifications_map'] || nil @overview_dashboard = attributes[:overview_dashboard] || attributes['overview_dashboard'] || nil end |
Instance Attribute Details
#allowed_moderation_action_reasons ⇒ Array<String>
44 45 46 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 44 def allowed_moderation_action_reasons @allowed_moderation_action_reasons end |
#async_review_queue_upsert ⇒ Boolean
14 15 16 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 14 def async_review_queue_upsert @async_review_queue_upsert end |
#block_foreign_cdn_attachments ⇒ Boolean
17 18 19 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 17 def end |
#custom_views_enabled ⇒ Boolean
20 21 22 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 20 def custom_views_enabled @custom_views_enabled end |
#disable_audit_logs ⇒ Boolean
23 24 25 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 23 def disable_audit_logs @disable_audit_logs end |
#disable_flagging_reviewed_entity ⇒ Boolean
26 27 28 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 26 def disable_flagging_reviewed_entity @disable_flagging_reviewed_entity end |
#enforce_shadow_server_side ⇒ Boolean
29 30 31 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 29 def enforce_shadow_server_side @enforce_shadow_server_side end |
#escalation_queue_enabled ⇒ Boolean
32 33 34 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 32 def escalation_queue_enabled @escalation_queue_enabled end |
#escalation_reasons ⇒ Array<String>
47 48 49 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 47 def escalation_reasons @escalation_reasons end |
#filterable_custom_keys ⇒ Array<String>
50 51 52 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 50 def filterable_custom_keys @filterable_custom_keys end |
#flag_user_on_flagged_content ⇒ Boolean
35 36 37 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 35 def flag_user_on_flagged_content @flag_user_on_flagged_content end |
#include_attachment_payload ⇒ Boolean
38 39 40 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 38 def end |
#keyframe_classifications_map ⇒ Hash<String, Hash<String, Boolean>>
53 54 55 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 53 def keyframe_classifications_map @keyframe_classifications_map end |
#media_queue_blur_enabled ⇒ Boolean
41 42 43 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 41 def media_queue_blur_enabled @media_queue_blur_enabled end |
#overview_dashboard ⇒ OverviewDashboardConfig
56 57 58 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 56 def overview_dashboard @overview_dashboard end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 |
# File 'lib/getstream_ruby/generated/models/moderation_dashboard_preferences.rb', line 79 def self.json_field_mappings { async_review_queue_upsert: 'async_review_queue_upsert', block_foreign_cdn_attachments: 'block_foreign_cdn_attachments', custom_views_enabled: 'custom_views_enabled', disable_audit_logs: 'disable_audit_logs', disable_flagging_reviewed_entity: 'disable_flagging_reviewed_entity', enforce_shadow_server_side: 'enforce_shadow_server_side', escalation_queue_enabled: 'escalation_queue_enabled', flag_user_on_flagged_content: 'flag_user_on_flagged_content', include_attachment_payload: 'include_attachment_payload', media_queue_blur_enabled: 'media_queue_blur_enabled', allowed_moderation_action_reasons: 'allowed_moderation_action_reasons', escalation_reasons: 'escalation_reasons', filterable_custom_keys: 'filterable_custom_keys', keyframe_classifications_map: 'keyframe_classifications_map', overview_dashboard: 'overview_dashboard' } end |