Class: GetStream::Generated::Models::UpdateAppRequest
- Defined in:
- lib/getstream_ruby/generated/models/update_app_request.rb
Instance Attribute Summary collapse
- #activity_metrics_config ⇒ Hash<String, Integer>
- #allowed_flag_reasons ⇒ Array<String>
- #apn_config ⇒ APNConfig
- #async_moderation_config ⇒ AsyncModerationConfiguration
- #async_url_enrich_enabled ⇒ Boolean
- #auto_translation_enabled ⇒ Boolean
- #before_message_send_hook_attempt_timeout_ms ⇒ Integer
- #before_message_send_hook_url ⇒ String
- #cdn_expiration_seconds ⇒ Integer
- #channel_hide_members_only ⇒ Boolean
- #custom_action_handler_url ⇒ String
- #datadog_info ⇒ DataDogInfo
- #disable_auth_checks ⇒ Boolean
- #disable_permissions_checks ⇒ Boolean
- #enable_hook_payload_compression ⇒ Boolean
- #enforce_unique_usernames ⇒ String
- #event_hooks ⇒ Array<EventHook>
- #feeds_moderation_enabled ⇒ Boolean
- #feeds_v2_region ⇒ String
- #file_upload_config ⇒ FileUploadConfig
- #firebase_config ⇒ FirebaseConfig
- #grants ⇒ Hash<String, Array<String>>
- #guest_user_creation_disabled ⇒ Boolean
- #huawei_config ⇒ HuaweiConfig
- #image_moderation_block_labels ⇒ Array<String>
- #image_moderation_enabled ⇒ Boolean
- #image_moderation_labels ⇒ Array<String>
- #image_upload_config ⇒ FileUploadConfig
- #max_aggregated_activities_length ⇒ Integer
- #migrate_permissions_to_v2 ⇒ Boolean
- #moderation_analytics_enabled ⇒ Boolean
- #moderation_dashboard_preferences ⇒ ModerationDashboardPreferences
- #moderation_enabled ⇒ Boolean
- #moderation_onboarding_complete ⇒ Boolean
- #moderation_s3_image_access_role_arn ⇒ String
- #moderation_webhook_url ⇒ String
- #multi_tenant_enabled ⇒ Boolean
- #permission_version ⇒ String
- #push_config ⇒ PushConfig
- #reminders_interval ⇒ Integer
- #reminders_max_members ⇒ 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
- #user_response_time_enabled ⇒ Boolean
- #user_search_disallowed_roles ⇒ Array<String>
- #video_primary_use_case ⇒ String
- #webhook_events ⇒ Array<String>
- #webhook_url ⇒ String
- #xiaomi_config ⇒ XiaomiConfig
Class Method Summary collapse
-
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ UpdateAppRequest
constructor
Initialize with attributes.
Methods inherited from BaseModel
#==, #inspect, omit_empty_fields, #to_h, #to_json
Constructor Details
#initialize(attributes = {}) ⇒ UpdateAppRequest
Initialize with attributes
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 225 226 227 228 229 230 231 232 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 176 def initialize(attributes = {}) super(attributes) @async_url_enrich_enabled = attributes[:async_url_enrich_enabled] || attributes['async_url_enrich_enabled'] || nil @auto_translation_enabled = attributes[:auto_translation_enabled] || attributes['auto_translation_enabled'] || nil @before_message_send_hook_attempt_timeout_ms = attributes[:before_message_send_hook_attempt_timeout_ms] || attributes['before_message_send_hook_attempt_timeout_ms'] || nil @before_message_send_hook_url = attributes[:before_message_send_hook_url] || attributes['before_message_send_hook_url'] || nil @cdn_expiration_seconds = attributes[:cdn_expiration_seconds] || attributes['cdn_expiration_seconds'] || nil @channel_hide_members_only = attributes[:channel_hide_members_only] || attributes['channel_hide_members_only'] || nil @custom_action_handler_url = attributes[:custom_action_handler_url] || attributes['custom_action_handler_url'] || nil @disable_auth_checks = attributes[:disable_auth_checks] || attributes['disable_auth_checks'] || nil @disable_permissions_checks = attributes[:disable_permissions_checks] || attributes['disable_permissions_checks'] || nil @enable_hook_payload_compression = attributes[:enable_hook_payload_compression] || attributes['enable_hook_payload_compression'] || nil @enforce_unique_usernames = attributes[:enforce_unique_usernames] || attributes['enforce_unique_usernames'] || nil @feeds_moderation_enabled = attributes[:feeds_moderation_enabled] || attributes['feeds_moderation_enabled'] || nil @feeds_v2_region = attributes[:feeds_v2_region] || attributes['feeds_v2_region'] || nil @guest_user_creation_disabled = attributes[:guest_user_creation_disabled] || attributes['guest_user_creation_disabled'] || nil @image_moderation_enabled = attributes[:image_moderation_enabled] || attributes['image_moderation_enabled'] || nil @max_aggregated_activities_length = attributes[:max_aggregated_activities_length] || attributes['max_aggregated_activities_length'] || nil @migrate_permissions_to_v2 = attributes[:migrate_permissions_to_v2] || attributes['migrate_permissions_to_v2'] || nil @moderation_analytics_enabled = attributes[:moderation_analytics_enabled] || attributes['moderation_analytics_enabled'] || nil @moderation_enabled = attributes[:moderation_enabled] || attributes['moderation_enabled'] || nil @moderation_onboarding_complete = attributes[:moderation_onboarding_complete] || attributes['moderation_onboarding_complete'] || nil @moderation_s3_image_access_role_arn = attributes[:moderation_s3_image_access_role_arn] || attributes['moderation_s3_image_access_role_arn'] || nil @moderation_webhook_url = attributes[:moderation_webhook_url] || attributes['moderation_webhook_url'] || nil @multi_tenant_enabled = attributes[:multi_tenant_enabled] || attributes['multi_tenant_enabled'] || nil @permission_version = attributes[:permission_version] || attributes['permission_version'] || nil @reminders_interval = attributes[:reminders_interval] || attributes['reminders_interval'] || nil @reminders_max_members = attributes[:reminders_max_members] || attributes['reminders_max_members'] || nil @revoke_tokens_issued_before = attributes[:revoke_tokens_issued_before] || attributes['revoke_tokens_issued_before'] || nil @sns_key = attributes[:sns_key] || attributes['sns_key'] || nil @sns_secret = attributes[:sns_secret] || attributes['sns_secret'] || nil @sns_topic_arn = attributes[:sns_topic_arn] || attributes['sns_topic_arn'] || nil @sqs_key = attributes[:sqs_key] || attributes['sqs_key'] || nil @sqs_secret = attributes[:sqs_secret] || attributes['sqs_secret'] || nil @sqs_url = attributes[:sqs_url] || attributes['sqs_url'] || nil @user_response_time_enabled = attributes[:user_response_time_enabled] || attributes['user_response_time_enabled'] || nil @video_primary_use_case = attributes[:video_primary_use_case] || attributes['video_primary_use_case'] || nil @webhook_url = attributes[:webhook_url] || attributes['webhook_url'] || nil @allowed_flag_reasons = attributes[:allowed_flag_reasons] || attributes['allowed_flag_reasons'] || nil @event_hooks = attributes[:event_hooks] || attributes['event_hooks'] || nil @image_moderation_block_labels = attributes[:image_moderation_block_labels] || attributes['image_moderation_block_labels'] || nil @image_moderation_labels = attributes[:image_moderation_labels] || attributes['image_moderation_labels'] || nil @user_search_disallowed_roles = attributes[:user_search_disallowed_roles] || attributes['user_search_disallowed_roles'] || nil @webhook_events = attributes[:webhook_events] || attributes['webhook_events'] || nil @activity_metrics_config = attributes[:activity_metrics_config] || attributes['activity_metrics_config'] || nil @apn_config = attributes[:apn_config] || attributes['apn_config'] || nil @async_moderation_config = attributes[:async_moderation_config] || attributes['async_moderation_config'] || nil @datadog_info = attributes[:datadog_info] || attributes['datadog_info'] || nil @file_upload_config = attributes[:file_upload_config] || attributes['file_upload_config'] || nil @firebase_config = attributes[:firebase_config] || attributes['firebase_config'] || nil @grants = attributes[:grants] || attributes['grants'] || nil @huawei_config = attributes[:huawei_config] || attributes['huawei_config'] || nil @image_upload_config = attributes[:image_upload_config] || attributes['image_upload_config'] || nil @moderation_dashboard_preferences = attributes[:moderation_dashboard_preferences] || attributes['moderation_dashboard_preferences'] || nil @push_config = attributes[:push_config] || attributes['push_config'] || nil @xiaomi_config = attributes[:xiaomi_config] || attributes['xiaomi_config'] || nil end |
Instance Attribute Details
#activity_metrics_config ⇒ Hash<String, Integer>
140 141 142 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 140 def activity_metrics_config @activity_metrics_config end |
#allowed_flag_reasons ⇒ Array<String>
122 123 124 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 122 def allowed_flag_reasons @allowed_flag_reasons end |
#apn_config ⇒ APNConfig
143 144 145 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 143 def apn_config @apn_config end |
#async_moderation_config ⇒ AsyncModerationConfiguration
146 147 148 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 146 def async_moderation_config @async_moderation_config end |
#async_url_enrich_enabled ⇒ Boolean
14 15 16 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 14 def async_url_enrich_enabled @async_url_enrich_enabled end |
#auto_translation_enabled ⇒ Boolean
17 18 19 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 17 def auto_translation_enabled @auto_translation_enabled end |
#before_message_send_hook_attempt_timeout_ms ⇒ Integer
20 21 22 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 20 def @before_message_send_hook_attempt_timeout_ms end |
#before_message_send_hook_url ⇒ String
23 24 25 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 23 def @before_message_send_hook_url end |
#cdn_expiration_seconds ⇒ Integer
26 27 28 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 26 def cdn_expiration_seconds @cdn_expiration_seconds end |
#channel_hide_members_only ⇒ Boolean
29 30 31 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 29 def channel_hide_members_only @channel_hide_members_only end |
#custom_action_handler_url ⇒ String
32 33 34 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 32 def custom_action_handler_url @custom_action_handler_url end |
#datadog_info ⇒ DataDogInfo
149 150 151 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 149 def datadog_info @datadog_info end |
#disable_auth_checks ⇒ Boolean
35 36 37 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 35 def disable_auth_checks @disable_auth_checks end |
#disable_permissions_checks ⇒ Boolean
38 39 40 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 38 def @disable_permissions_checks end |
#enable_hook_payload_compression ⇒ Boolean
41 42 43 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 41 def enable_hook_payload_compression @enable_hook_payload_compression end |
#enforce_unique_usernames ⇒ String
44 45 46 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 44 def enforce_unique_usernames @enforce_unique_usernames end |
#event_hooks ⇒ Array<EventHook>
125 126 127 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 125 def event_hooks @event_hooks end |
#feeds_moderation_enabled ⇒ Boolean
47 48 49 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 47 def feeds_moderation_enabled @feeds_moderation_enabled end |
#feeds_v2_region ⇒ String
50 51 52 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 50 def feeds_v2_region @feeds_v2_region end |
#file_upload_config ⇒ FileUploadConfig
152 153 154 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 152 def file_upload_config @file_upload_config end |
#firebase_config ⇒ FirebaseConfig
155 156 157 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 155 def firebase_config @firebase_config end |
#grants ⇒ Hash<String, Array<String>>
158 159 160 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 158 def grants @grants end |
#guest_user_creation_disabled ⇒ Boolean
53 54 55 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 53 def guest_user_creation_disabled @guest_user_creation_disabled end |
#huawei_config ⇒ HuaweiConfig
161 162 163 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 161 def huawei_config @huawei_config end |
#image_moderation_block_labels ⇒ Array<String>
128 129 130 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 128 def image_moderation_block_labels @image_moderation_block_labels end |
#image_moderation_enabled ⇒ Boolean
56 57 58 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 56 def image_moderation_enabled @image_moderation_enabled end |
#image_moderation_labels ⇒ Array<String>
131 132 133 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 131 def image_moderation_labels @image_moderation_labels end |
#image_upload_config ⇒ FileUploadConfig
164 165 166 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 164 def image_upload_config @image_upload_config end |
#max_aggregated_activities_length ⇒ Integer
59 60 61 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 59 def max_aggregated_activities_length @max_aggregated_activities_length end |
#migrate_permissions_to_v2 ⇒ Boolean
62 63 64 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 62 def @migrate_permissions_to_v2 end |
#moderation_analytics_enabled ⇒ Boolean
65 66 67 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 65 def moderation_analytics_enabled @moderation_analytics_enabled end |
#moderation_dashboard_preferences ⇒ ModerationDashboardPreferences
167 168 169 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 167 def moderation_dashboard_preferences @moderation_dashboard_preferences end |
#moderation_enabled ⇒ Boolean
68 69 70 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 68 def moderation_enabled @moderation_enabled end |
#moderation_onboarding_complete ⇒ Boolean
71 72 73 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 71 def moderation_onboarding_complete @moderation_onboarding_complete end |
#moderation_s3_image_access_role_arn ⇒ String
74 75 76 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 74 def moderation_s3_image_access_role_arn @moderation_s3_image_access_role_arn end |
#moderation_webhook_url ⇒ String
77 78 79 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 77 def moderation_webhook_url @moderation_webhook_url end |
#multi_tenant_enabled ⇒ Boolean
80 81 82 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 80 def multi_tenant_enabled @multi_tenant_enabled end |
#permission_version ⇒ String
83 84 85 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 83 def @permission_version end |
#push_config ⇒ PushConfig
170 171 172 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 170 def push_config @push_config end |
#reminders_interval ⇒ Integer
86 87 88 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 86 def reminders_interval @reminders_interval end |
#reminders_max_members ⇒ Integer
89 90 91 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 89 def reminders_max_members @reminders_max_members end |
#revoke_tokens_issued_before ⇒ DateTime
92 93 94 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 92 def revoke_tokens_issued_before @revoke_tokens_issued_before end |
#sns_key ⇒ String
95 96 97 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 95 def sns_key @sns_key end |
#sns_secret ⇒ String
98 99 100 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 98 def sns_secret @sns_secret end |
#sns_topic_arn ⇒ String
101 102 103 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 101 def sns_topic_arn @sns_topic_arn end |
#sqs_key ⇒ String
104 105 106 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 104 def sqs_key @sqs_key end |
#sqs_secret ⇒ String
107 108 109 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 107 def sqs_secret @sqs_secret end |
#sqs_url ⇒ String
110 111 112 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 110 def sqs_url @sqs_url end |
#user_response_time_enabled ⇒ Boolean
113 114 115 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 113 def user_response_time_enabled @user_response_time_enabled end |
#user_search_disallowed_roles ⇒ Array<String>
134 135 136 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 134 def user_search_disallowed_roles @user_search_disallowed_roles end |
#video_primary_use_case ⇒ String
116 117 118 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 116 def video_primary_use_case @video_primary_use_case end |
#webhook_events ⇒ Array<String>
137 138 139 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 137 def webhook_events @webhook_events end |
#webhook_url ⇒ String
119 120 121 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 119 def webhook_url @webhook_url end |
#xiaomi_config ⇒ XiaomiConfig
173 174 175 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 173 def xiaomi_config @xiaomi_config end |
Class Method Details
.json_field_mappings ⇒ Object
Override field mappings for JSON serialization
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 283 284 285 286 287 288 289 290 291 292 |
# File 'lib/getstream_ruby/generated/models/update_app_request.rb', line 235 def self.json_field_mappings { async_url_enrich_enabled: 'async_url_enrich_enabled', auto_translation_enabled: 'auto_translation_enabled', before_message_send_hook_attempt_timeout_ms: 'before_message_send_hook_attempt_timeout_ms', before_message_send_hook_url: 'before_message_send_hook_url', cdn_expiration_seconds: 'cdn_expiration_seconds', channel_hide_members_only: 'channel_hide_members_only', custom_action_handler_url: 'custom_action_handler_url', disable_auth_checks: 'disable_auth_checks', disable_permissions_checks: 'disable_permissions_checks', enable_hook_payload_compression: 'enable_hook_payload_compression', enforce_unique_usernames: 'enforce_unique_usernames', feeds_moderation_enabled: 'feeds_moderation_enabled', feeds_v2_region: 'feeds_v2_region', guest_user_creation_disabled: 'guest_user_creation_disabled', image_moderation_enabled: 'image_moderation_enabled', max_aggregated_activities_length: 'max_aggregated_activities_length', migrate_permissions_to_v2: 'migrate_permissions_to_v2', moderation_analytics_enabled: 'moderation_analytics_enabled', moderation_enabled: 'moderation_enabled', moderation_onboarding_complete: 'moderation_onboarding_complete', moderation_s3_image_access_role_arn: 'moderation_s3_image_access_role_arn', moderation_webhook_url: 'moderation_webhook_url', multi_tenant_enabled: 'multi_tenant_enabled', permission_version: 'permission_version', reminders_interval: 'reminders_interval', reminders_max_members: 'reminders_max_members', revoke_tokens_issued_before: 'revoke_tokens_issued_before', 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', user_response_time_enabled: 'user_response_time_enabled', video_primary_use_case: 'video_primary_use_case', webhook_url: 'webhook_url', allowed_flag_reasons: 'allowed_flag_reasons', event_hooks: 'event_hooks', image_moderation_block_labels: 'image_moderation_block_labels', image_moderation_labels: 'image_moderation_labels', user_search_disallowed_roles: 'user_search_disallowed_roles', webhook_events: 'webhook_events', activity_metrics_config: 'activity_metrics_config', apn_config: 'apn_config', async_moderation_config: 'async_moderation_config', datadog_info: 'datadog_info', file_upload_config: 'file_upload_config', firebase_config: 'firebase_config', grants: 'grants', huawei_config: 'huawei_config', image_upload_config: 'image_upload_config', moderation_dashboard_preferences: 'moderation_dashboard_preferences', push_config: 'push_config', xiaomi_config: 'xiaomi_config' } end |