Class: GetStream::Generated::Models::AppResponseFields
- Defined in:
- lib/getstream_ruby/generated/models/app_response_fields.rb
Instance Attribute Summary collapse
- #allow_multi_user_devices ⇒ Boolean
- #allowed_flag_reasons ⇒ Array<String>
- #async_url_enrich_enabled ⇒ Boolean
- #auto_translation_enabled ⇒ Boolean
- #before_message_send_hook_url ⇒ String
- #call_types ⇒ Hash<String, CallType>
- #campaign_enabled ⇒ Boolean
- #cdn_expiration_seconds ⇒ Integer
- #channel_configs ⇒ Hash<String, ChannelConfig>
- #custom_action_handler_url ⇒ String
- #datadog_info ⇒ DataDogInfo
- #disable_auth_checks ⇒ Boolean
- #disable_permissions_checks ⇒ Boolean
- #enforce_unique_usernames ⇒ String
- #event_hooks ⇒ Array<EventHook>
- #file_upload_config ⇒ FileUploadConfig
- #geofences ⇒ Array<GeofenceResponse>
- #grants ⇒ Hash<String, Array<String>>
- #guest_user_creation_disabled ⇒ Boolean
- #id ⇒ Integer
- #image_moderation_enabled ⇒ Boolean
- #image_moderation_labels ⇒ Array<String>
- #image_upload_config ⇒ FileUploadConfig
- #max_aggregated_activities_length ⇒ Integer
- #moderation_bulk_submit_action_enabled ⇒ Boolean
- #moderation_dashboard_preferences ⇒ ModerationDashboardPreferences
- #moderation_enabled ⇒ Boolean
- #moderation_llm_configurability_enabled ⇒ Boolean
- #moderation_multitenant_blocklist_enabled ⇒ Boolean
- #moderation_webhook_url ⇒ String
- #multi_tenant_enabled ⇒ Boolean
- #name ⇒ String
- #organization ⇒ String
- #permission_version ⇒ String
- #placement ⇒ String
- #policies ⇒ Hash<String, Array<Policy>>
- #push_notifications ⇒ PushNotificationFields
- #reminders_interval ⇒ Integer
- #revoke_tokens_issued_before ⇒ DateTime
- #sns_key ⇒ String
- #sns_secret ⇒ String
- #sns_topic_arn ⇒ String
- #sqs_key ⇒ String
- #sqs_secret ⇒ String
- #sqs_url ⇒ String
- #suspended ⇒ Boolean
- #suspended_explanation ⇒ String
- #use_hook_v2 ⇒ Boolean
- #user_response_time_enabled ⇒ Boolean
- #user_search_disallowed_roles ⇒ Array<String>
- #webhook_events ⇒ Array<String>
- #webhook_url ⇒ String
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ AppResponseFields
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ AppResponseFields
Initialize with attributes
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 170 def initialize(attributes = {}) super(attributes) @allow_multi_user_devices = attributes[:allow_multi_user_devices] || attributes['allow_multi_user_devices'] @async_url_enrich_enabled = attributes[:async_url_enrich_enabled] || attributes['async_url_enrich_enabled'] @auto_translation_enabled = attributes[:auto_translation_enabled] || attributes['auto_translation_enabled'] @campaign_enabled = attributes[:campaign_enabled] || attributes['campaign_enabled'] @cdn_expiration_seconds = attributes[:cdn_expiration_seconds] || attributes['cdn_expiration_seconds'] @custom_action_handler_url = attributes[:custom_action_handler_url] || attributes['custom_action_handler_url'] @disable_auth_checks = attributes[:disable_auth_checks] || attributes['disable_auth_checks'] @disable_permissions_checks = attributes[:disable_permissions_checks] || attributes['disable_permissions_checks'] @enforce_unique_usernames = attributes[:enforce_unique_usernames] || attributes['enforce_unique_usernames'] @guest_user_creation_disabled = attributes[:guest_user_creation_disabled] || attributes['guest_user_creation_disabled'] @id = attributes[:id] || attributes['id'] @image_moderation_enabled = attributes[:image_moderation_enabled] || attributes['image_moderation_enabled'] @max_aggregated_activities_length = attributes[:max_aggregated_activities_length] || attributes['max_aggregated_activities_length'] @moderation_bulk_submit_action_enabled = attributes[:moderation_bulk_submit_action_enabled] || attributes['moderation_bulk_submit_action_enabled'] @moderation_enabled = attributes[:moderation_enabled] || attributes['moderation_enabled'] @moderation_llm_configurability_enabled = attributes[:moderation_llm_configurability_enabled] || attributes['moderation_llm_configurability_enabled'] @moderation_multitenant_blocklist_enabled = attributes[:moderation_multitenant_blocklist_enabled] || attributes['moderation_multitenant_blocklist_enabled'] @moderation_webhook_url = attributes[:moderation_webhook_url] || attributes['moderation_webhook_url'] @multi_tenant_enabled = attributes[:multi_tenant_enabled] || attributes['multi_tenant_enabled'] @name = attributes[:name] || attributes['name'] @organization = attributes[:organization] || attributes['organization'] @permission_version = attributes[:permission_version] || attributes['permission_version'] @placement = attributes[:placement] || attributes['placement'] @reminders_interval = attributes[:reminders_interval] || attributes['reminders_interval'] @sns_key = attributes[:sns_key] || attributes['sns_key'] @sns_secret = attributes[:sns_secret] || attributes['sns_secret'] @sns_topic_arn = attributes[:sns_topic_arn] || attributes['sns_topic_arn'] @sqs_key = attributes[:sqs_key] || attributes['sqs_key'] @sqs_secret = attributes[:sqs_secret] || attributes['sqs_secret'] @sqs_url = attributes[:sqs_url] || attributes['sqs_url'] @suspended = attributes[:suspended] || attributes['suspended'] @suspended_explanation = attributes[:suspended_explanation] || attributes['suspended_explanation'] @use_hook_v2 = attributes[:use_hook_v2] || attributes['use_hook_v2'] @user_response_time_enabled = attributes[:user_response_time_enabled] || attributes['user_response_time_enabled'] @webhook_url = attributes[:webhook_url] || attributes['webhook_url'] @event_hooks = attributes[:event_hooks] || attributes['event_hooks'] @user_search_disallowed_roles = attributes[:user_search_disallowed_roles] || attributes['user_search_disallowed_roles'] @webhook_events = attributes[:webhook_events] || attributes['webhook_events'] @call_types = attributes[:call_types] || attributes['call_types'] @channel_configs = attributes[:channel_configs] || attributes['channel_configs'] @file_upload_config = attributes[:file_upload_config] || attributes['file_upload_config'] @grants = attributes[:grants] || attributes['grants'] @image_upload_config = attributes[:image_upload_config] || attributes['image_upload_config'] @policies = attributes[:policies] || attributes['policies'] @push_notifications = attributes[:push_notifications] || attributes['push_notifications'] @before_message_send_hook_url = attributes[:before_message_send_hook_url] || attributes['before_message_send_hook_url'] || nil @revoke_tokens_issued_before = attributes[:revoke_tokens_issued_before] || attributes['revoke_tokens_issued_before'] || nil @allowed_flag_reasons = attributes[:allowed_flag_reasons] || attributes['allowed_flag_reasons'] || nil @geofences = attributes[:geofences] || attributes['geofences'] || nil @image_moderation_labels = attributes[:image_moderation_labels] || attributes['image_moderation_labels'] || nil @datadog_info = attributes[:datadog_info] || attributes['datadog_info'] || nil @moderation_dashboard_preferences = attributes[:moderation_dashboard_preferences] || attributes['moderation_dashboard_preferences'] || nil end |
Instance Attribute Details
#allow_multi_user_devices ⇒ Boolean
14 15 16 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 14 def allow_multi_user_devices @allow_multi_user_devices end |
#allowed_flag_reasons ⇒ Array<String>
155 156 157 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 155 def allowed_flag_reasons @allowed_flag_reasons end |
#async_url_enrich_enabled ⇒ Boolean
17 18 19 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 17 def async_url_enrich_enabled @async_url_enrich_enabled end |
#auto_translation_enabled ⇒ Boolean
20 21 22 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 20 def auto_translation_enabled @auto_translation_enabled end |
#before_message_send_hook_url ⇒ String
149 150 151 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 149 def @before_message_send_hook_url end |
#call_types ⇒ Hash<String, CallType>
128 129 130 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 128 def call_types @call_types end |
#campaign_enabled ⇒ Boolean
23 24 25 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 23 def campaign_enabled @campaign_enabled end |
#cdn_expiration_seconds ⇒ Integer
26 27 28 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 26 def cdn_expiration_seconds @cdn_expiration_seconds end |
#channel_configs ⇒ Hash<String, ChannelConfig>
131 132 133 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 131 def channel_configs @channel_configs end |
#custom_action_handler_url ⇒ String
29 30 31 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 29 def custom_action_handler_url @custom_action_handler_url end |
#datadog_info ⇒ DataDogInfo
164 165 166 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 164 def datadog_info @datadog_info end |
#disable_auth_checks ⇒ Boolean
32 33 34 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 32 def disable_auth_checks @disable_auth_checks end |
#disable_permissions_checks ⇒ Boolean
35 36 37 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 35 def @disable_permissions_checks end |
#enforce_unique_usernames ⇒ String
38 39 40 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 38 def enforce_unique_usernames @enforce_unique_usernames end |
#event_hooks ⇒ Array<EventHook>
119 120 121 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 119 def event_hooks @event_hooks end |
#file_upload_config ⇒ FileUploadConfig
134 135 136 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 134 def file_upload_config @file_upload_config end |
#geofences ⇒ Array<GeofenceResponse>
158 159 160 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 158 def geofences @geofences end |
#grants ⇒ Hash<String, Array<String>>
137 138 139 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 137 def grants @grants end |
#guest_user_creation_disabled ⇒ Boolean
41 42 43 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 41 def guest_user_creation_disabled @guest_user_creation_disabled end |
#id ⇒ Integer
44 45 46 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 44 def id @id end |
#image_moderation_enabled ⇒ Boolean
47 48 49 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 47 def image_moderation_enabled @image_moderation_enabled end |
#image_moderation_labels ⇒ Array<String>
161 162 163 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 161 def image_moderation_labels @image_moderation_labels end |
#image_upload_config ⇒ FileUploadConfig
140 141 142 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 140 def image_upload_config @image_upload_config end |
#max_aggregated_activities_length ⇒ Integer
50 51 52 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 50 def max_aggregated_activities_length @max_aggregated_activities_length end |
#moderation_bulk_submit_action_enabled ⇒ Boolean
53 54 55 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 53 def moderation_bulk_submit_action_enabled @moderation_bulk_submit_action_enabled end |
#moderation_dashboard_preferences ⇒ ModerationDashboardPreferences
167 168 169 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 167 def moderation_dashboard_preferences @moderation_dashboard_preferences end |
#moderation_enabled ⇒ Boolean
56 57 58 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 56 def moderation_enabled @moderation_enabled end |
#moderation_llm_configurability_enabled ⇒ Boolean
59 60 61 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 59 def moderation_llm_configurability_enabled @moderation_llm_configurability_enabled end |
#moderation_multitenant_blocklist_enabled ⇒ Boolean
62 63 64 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 62 def moderation_multitenant_blocklist_enabled @moderation_multitenant_blocklist_enabled end |
#moderation_webhook_url ⇒ String
65 66 67 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 65 def moderation_webhook_url @moderation_webhook_url end |
#multi_tenant_enabled ⇒ Boolean
68 69 70 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 68 def multi_tenant_enabled @multi_tenant_enabled end |
#name ⇒ String
71 72 73 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 71 def name @name end |
#organization ⇒ String
74 75 76 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 74 def organization @organization end |
#permission_version ⇒ String
77 78 79 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 77 def @permission_version end |
#placement ⇒ String
80 81 82 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 80 def placement @placement end |
#policies ⇒ Hash<String, Array<Policy>>
143 144 145 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 143 def policies @policies end |
#push_notifications ⇒ PushNotificationFields
146 147 148 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 146 def push_notifications @push_notifications end |
#reminders_interval ⇒ Integer
83 84 85 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 83 def reminders_interval @reminders_interval end |
#revoke_tokens_issued_before ⇒ DateTime
152 153 154 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 152 def revoke_tokens_issued_before @revoke_tokens_issued_before end |
#sns_key ⇒ String
86 87 88 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 86 def sns_key @sns_key end |
#sns_secret ⇒ String
89 90 91 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 89 def sns_secret @sns_secret end |
#sns_topic_arn ⇒ String
92 93 94 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 92 def sns_topic_arn @sns_topic_arn end |
#sqs_key ⇒ String
95 96 97 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 95 def sqs_key @sqs_key end |
#sqs_secret ⇒ String
98 99 100 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 98 def sqs_secret @sqs_secret end |
#sqs_url ⇒ String
101 102 103 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 101 def sqs_url @sqs_url end |
#suspended ⇒ Boolean
104 105 106 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 104 def suspended @suspended end |
#suspended_explanation ⇒ String
107 108 109 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 107 def suspended_explanation @suspended_explanation end |
#use_hook_v2 ⇒ Boolean
110 111 112 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 110 def use_hook_v2 @use_hook_v2 end |
#user_response_time_enabled ⇒ Boolean
113 114 115 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 113 def user_response_time_enabled @user_response_time_enabled end |
#user_search_disallowed_roles ⇒ Array<String>
122 123 124 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 122 def user_search_disallowed_roles @user_search_disallowed_roles end |
#webhook_events ⇒ Array<String>
125 126 127 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 125 def webhook_events @webhook_events end |
#webhook_url ⇒ String
116 117 118 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 116 def webhook_url @webhook_url end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 |
# File 'lib/getstream_ruby/generated/models/app_response_fields.rb', line 227 def self.json_field_mappings { allow_multi_user_devices: 'allow_multi_user_devices', async_url_enrich_enabled: 'async_url_enrich_enabled', auto_translation_enabled: 'auto_translation_enabled', campaign_enabled: 'campaign_enabled', cdn_expiration_seconds: 'cdn_expiration_seconds', custom_action_handler_url: 'custom_action_handler_url', disable_auth_checks: 'disable_auth_checks', disable_permissions_checks: 'disable_permissions_checks', enforce_unique_usernames: 'enforce_unique_usernames', guest_user_creation_disabled: 'guest_user_creation_disabled', id: 'id', image_moderation_enabled: 'image_moderation_enabled', max_aggregated_activities_length: 'max_aggregated_activities_length', moderation_bulk_submit_action_enabled: 'moderation_bulk_submit_action_enabled', moderation_enabled: 'moderation_enabled', moderation_llm_configurability_enabled: 'moderation_llm_configurability_enabled', moderation_multitenant_blocklist_enabled: 'moderation_multitenant_blocklist_enabled', moderation_webhook_url: 'moderation_webhook_url', multi_tenant_enabled: 'multi_tenant_enabled', name: 'name', organization: 'organization', permission_version: 'permission_version', placement: 'placement', reminders_interval: 'reminders_interval', sns_key: 'sns_key', sns_secret: 'sns_secret', sns_topic_arn: 'sns_topic_arn', sqs_key: 'sqs_key', sqs_secret: 'sqs_secret', sqs_url: 'sqs_url', suspended: 'suspended', suspended_explanation: 'suspended_explanation', use_hook_v2: 'use_hook_v2', user_response_time_enabled: 'user_response_time_enabled', webhook_url: 'webhook_url', event_hooks: 'event_hooks', user_search_disallowed_roles: 'user_search_disallowed_roles', webhook_events: 'webhook_events', call_types: 'call_types', channel_configs: 'channel_configs', file_upload_config: 'file_upload_config', grants: 'grants', image_upload_config: 'image_upload_config', policies: 'policies', push_notifications: 'push_notifications', before_message_send_hook_url: 'before_message_send_hook_url', revoke_tokens_issued_before: 'revoke_tokens_issued_before', allowed_flag_reasons: 'allowed_flag_reasons', geofences: 'geofences', image_moderation_labels: 'image_moderation_labels', datadog_info: 'datadog_info', moderation_dashboard_preferences: 'moderation_dashboard_preferences' } end |