slackapi-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +28 -0
  3. data/README.md +221 -0
  4. data/bin/console +15 -0
  5. data/lib/slack_web_api/api_helper.rb +10 -0
  6. data/lib/slack_web_api/client.rb +410 -0
  7. data/lib/slack_web_api/configuration.rb +173 -0
  8. data/lib/slack_web_api/controllers/admin_apps_approved_controller.rb +48 -0
  9. data/lib/slack_web_api/controllers/admin_apps_controller.rb +78 -0
  10. data/lib/slack_web_api/controllers/admin_apps_requests_controller.rb +44 -0
  11. data/lib/slack_web_api/controllers/admin_apps_restricted_controller.rb +48 -0
  12. data/lib/slack_web_api/controllers/admin_conversations_controller.rb +472 -0
  13. data/lib/slack_web_api/controllers/admin_conversations_ekm_controller.rb +51 -0
  14. data/lib/slack_web_api/controllers/admin_conversations_restrict_access_controller.rb +129 -0
  15. data/lib/slack_web_api/controllers/admin_emoji_controller.rb +175 -0
  16. data/lib/slack_web_api/controllers/admin_invite_requests_approved_controller.rb +46 -0
  17. data/lib/slack_web_api/controllers/admin_invite_requests_controller.rb +112 -0
  18. data/lib/slack_web_api/controllers/admin_invite_requests_denied_controller.rb +46 -0
  19. data/lib/slack_web_api/controllers/admin_teams_admins_controller.rb +45 -0
  20. data/lib/slack_web_api/controllers/admin_teams_controller.rb +84 -0
  21. data/lib/slack_web_api/controllers/admin_teams_owners_controller.rb +45 -0
  22. data/lib/slack_web_api/controllers/admin_teams_settings_controller.rb +206 -0
  23. data/lib/slack_web_api/controllers/admin_usergroups_controller.rb +161 -0
  24. data/lib/slack_web_api/controllers/admin_users_controller.rb +333 -0
  25. data/lib/slack_web_api/controllers/admin_users_session_controller.rb +80 -0
  26. data/lib/slack_web_api/controllers/api_controller.rb +34 -0
  27. data/lib/slack_web_api/controllers/apps_controller.rb +40 -0
  28. data/lib/slack_web_api/controllers/apps_event_authorizations_controller.rb +45 -0
  29. data/lib/slack_web_api/controllers/apps_permissions_controller.rb +66 -0
  30. data/lib/slack_web_api/controllers/apps_permissions_resources_controller.rb +44 -0
  31. data/lib/slack_web_api/controllers/apps_permissions_scopes_controller.rb +33 -0
  32. data/lib/slack_web_api/controllers/apps_permissions_users_controller.rb +85 -0
  33. data/lib/slack_web_api/controllers/auth_controller.rb +62 -0
  34. data/lib/slack_web_api/controllers/base_controller.rb +67 -0
  35. data/lib/slack_web_api/controllers/bots_controller.rb +36 -0
  36. data/lib/slack_web_api/controllers/calls_controller.rb +174 -0
  37. data/lib/slack_web_api/controllers/calls_participants_controller.rb +79 -0
  38. data/lib/slack_web_api/controllers/chat_controller.rb +528 -0
  39. data/lib/slack_web_api/controllers/chat_scheduled_messages_controller.rb +54 -0
  40. data/lib/slack_web_api/controllers/conversations_controller.rb +628 -0
  41. data/lib/slack_web_api/controllers/dialog_controller.rb +44 -0
  42. data/lib/slack_web_api/controllers/dnd_controller.rb +141 -0
  43. data/lib/slack_web_api/controllers/emoji_controller.rb +33 -0
  44. data/lib/slack_web_api/controllers/files_comments_controller.rb +38 -0
  45. data/lib/slack_web_api/controllers/files_controller.rb +245 -0
  46. data/lib/slack_web_api/controllers/files_remote_controller.rb +250 -0
  47. data/lib/slack_web_api/controllers/migration_controller.rb +47 -0
  48. data/lib/slack_web_api/controllers/oauth_authorization_controller.rb +87 -0
  49. data/lib/slack_web_api/controllers/oauth_controller.rb +88 -0
  50. data/lib/slack_web_api/controllers/oauth_v2_controller.rb +45 -0
  51. data/lib/slack_web_api/controllers/pins_controller.rb +102 -0
  52. data/lib/slack_web_api/controllers/reactions_controller.rb +182 -0
  53. data/lib/slack_web_api/controllers/reminders_controller.rb +151 -0
  54. data/lib/slack_web_api/controllers/rtm_controller.rb +44 -0
  55. data/lib/slack_web_api/controllers/search_controller.rb +56 -0
  56. data/lib/slack_web_api/controllers/stars_controller.rb +130 -0
  57. data/lib/slack_web_api/controllers/team_controller.rb +148 -0
  58. data/lib/slack_web_api/controllers/team_profile_controller.rb +36 -0
  59. data/lib/slack_web_api/controllers/usergroups_controller.rb +205 -0
  60. data/lib/slack_web_api/controllers/usergroups_users_controller.rb +81 -0
  61. data/lib/slack_web_api/controllers/users_controller.rb +327 -0
  62. data/lib/slack_web_api/controllers/users_profile_controller.rb +82 -0
  63. data/lib/slack_web_api/controllers/views_controller.rb +158 -0
  64. data/lib/slack_web_api/controllers/workflows_controller.rb +130 -0
  65. data/lib/slack_web_api/exceptions/admin_conversations_archive_error_schema_exception.rb +50 -0
  66. data/lib/slack_web_api/exceptions/admin_conversations_convert_to_private_error_schema_exception.rb +50 -0
  67. data/lib/slack_web_api/exceptions/admin_conversations_create_error_schema_exception.rb +50 -0
  68. data/lib/slack_web_api/exceptions/admin_conversations_delete_error_schema_exception.rb +50 -0
  69. data/lib/slack_web_api/exceptions/admin_conversations_disconnect_shared_error_schema_exception.rb +50 -0
  70. data/lib/slack_web_api/exceptions/admin_conversations_get_teams_error_schema_exception.rb +50 -0
  71. data/lib/slack_web_api/exceptions/admin_conversations_invite_error_schema_exception.rb +50 -0
  72. data/lib/slack_web_api/exceptions/admin_conversations_search_error_schema_exception.rb +50 -0
  73. data/lib/slack_web_api/exceptions/admin_conversations_set_conversation_prefs_error_schema_exception.rb +50 -0
  74. data/lib/slack_web_api/exceptions/admin_conversations_unarchive_error_schema2_exception.rb +50 -0
  75. data/lib/slack_web_api/exceptions/admin_conversations_unarchive_error_schema3_exception.rb +50 -0
  76. data/lib/slack_web_api/exceptions/admin_conversations_unarchive_error_schema_exception.rb +50 -0
  77. data/lib/slack_web_api/exceptions/api_exception.rb +21 -0
  78. data/lib/slack_web_api/exceptions/api_test_error_schema_exception.rb +50 -0
  79. data/lib/slack_web_api/exceptions/apps_permissions_info_error_schema_exception.rb +56 -0
  80. data/lib/slack_web_api/exceptions/apps_permissions_request_error_schema_exception.rb +56 -0
  81. data/lib/slack_web_api/exceptions/apps_permissions_resources_list_error_schema_exception.rb +56 -0
  82. data/lib/slack_web_api/exceptions/apps_permissions_scopes_list_error_schema_exception.rb +56 -0
  83. data/lib/slack_web_api/exceptions/apps_uninstall_error_schema_exception.rb +56 -0
  84. data/lib/slack_web_api/exceptions/auth_revoke_error_schema_exception.rb +56 -0
  85. data/lib/slack_web_api/exceptions/auth_test_error_schema_exception.rb +56 -0
  86. data/lib/slack_web_api/exceptions/bots_info_error_schema_exception.rb +56 -0
  87. data/lib/slack_web_api/exceptions/chat_delete_error_schema_exception.rb +56 -0
  88. data/lib/slack_web_api/exceptions/chat_delete_scheduled_message_error_schema_exception.rb +56 -0
  89. data/lib/slack_web_api/exceptions/chat_get_permalink_error_schema_exception.rb +56 -0
  90. data/lib/slack_web_api/exceptions/chat_me_message_error_schema_exception.rb +56 -0
  91. data/lib/slack_web_api/exceptions/chat_post_ephemeral_error_schema_exception.rb +56 -0
  92. data/lib/slack_web_api/exceptions/chat_post_message_error_schema_exception.rb +56 -0
  93. data/lib/slack_web_api/exceptions/chat_schedule_message_error_schema_exception.rb +56 -0
  94. data/lib/slack_web_api/exceptions/chat_scheduled_messages_list_error_schema_exception.rb +56 -0
  95. data/lib/slack_web_api/exceptions/chat_unfurl_error_schema_exception.rb +56 -0
  96. data/lib/slack_web_api/exceptions/chat_update_error_schema_exception.rb +56 -0
  97. data/lib/slack_web_api/exceptions/conversations_archive_error_schema_exception.rb +67 -0
  98. data/lib/slack_web_api/exceptions/conversations_close_error_schema_exception.rb +67 -0
  99. data/lib/slack_web_api/exceptions/conversations_create_error_schema_exception.rb +73 -0
  100. data/lib/slack_web_api/exceptions/conversations_history_error_schema_exception.rb +67 -0
  101. data/lib/slack_web_api/exceptions/conversations_info_error_schema_exception.rb +67 -0
  102. data/lib/slack_web_api/exceptions/conversations_invite_error_schema1_exception.rb +82 -0
  103. data/lib/slack_web_api/exceptions/conversations_join_error_schema_exception.rb +67 -0
  104. data/lib/slack_web_api/exceptions/conversations_kick_error_schema_exception.rb +67 -0
  105. data/lib/slack_web_api/exceptions/conversations_leave_error_schema_exception.rb +67 -0
  106. data/lib/slack_web_api/exceptions/conversations_list_error_schema_exception.rb +67 -0
  107. data/lib/slack_web_api/exceptions/conversations_mark_error_schema_exception.rb +67 -0
  108. data/lib/slack_web_api/exceptions/conversations_members_error_schema_exception.rb +56 -0
  109. data/lib/slack_web_api/exceptions/conversations_open_error_schema_exception.rb +56 -0
  110. data/lib/slack_web_api/exceptions/conversations_rename_error_schema_exception.rb +67 -0
  111. data/lib/slack_web_api/exceptions/conversations_replies_error_schema_exception.rb +67 -0
  112. data/lib/slack_web_api/exceptions/conversations_set_purpose_error_schema_exception.rb +67 -0
  113. data/lib/slack_web_api/exceptions/conversations_set_topic_error_schema_exception.rb +67 -0
  114. data/lib/slack_web_api/exceptions/conversations_unarchive_error_schema_exception.rb +67 -0
  115. data/lib/slack_web_api/exceptions/default_error_template_exception.rb +47 -0
  116. data/lib/slack_web_api/exceptions/dialog_open_error_schema_exception.rb +56 -0
  117. data/lib/slack_web_api/exceptions/dnd_end_dnd_error_schema_exception.rb +56 -0
  118. data/lib/slack_web_api/exceptions/dnd_end_snooze_error_schema_exception.rb +56 -0
  119. data/lib/slack_web_api/exceptions/dnd_info_error_schema_exception.rb +56 -0
  120. data/lib/slack_web_api/exceptions/dnd_set_snooze_error_schema_exception.rb +56 -0
  121. data/lib/slack_web_api/exceptions/files_comments_delete_error_schema_exception.rb +56 -0
  122. data/lib/slack_web_api/exceptions/files_delete_error_schema_exception.rb +56 -0
  123. data/lib/slack_web_api/exceptions/files_info_error_schema_exception.rb +56 -0
  124. data/lib/slack_web_api/exceptions/files_list_error_schema_exception.rb +56 -0
  125. data/lib/slack_web_api/exceptions/files_revoke_public_url_error_schema_exception.rb +56 -0
  126. data/lib/slack_web_api/exceptions/files_shared_public_url_error_schema_exception.rb +56 -0
  127. data/lib/slack_web_api/exceptions/files_upload_error_schema_exception.rb +56 -0
  128. data/lib/slack_web_api/exceptions/migration_exchange_error_schema_exception.rb +56 -0
  129. data/lib/slack_web_api/exceptions/oauth_provider_exception.rb +64 -0
  130. data/lib/slack_web_api/exceptions/pins_add_error_schema_exception.rb +56 -0
  131. data/lib/slack_web_api/exceptions/pins_list_error_schema_exception.rb +56 -0
  132. data/lib/slack_web_api/exceptions/pins_remove_error_schema_exception.rb +56 -0
  133. data/lib/slack_web_api/exceptions/reactions_add_error_schema_exception.rb +56 -0
  134. data/lib/slack_web_api/exceptions/reactions_get_error_schema_exception.rb +56 -0
  135. data/lib/slack_web_api/exceptions/reactions_list_error_schema_exception.rb +56 -0
  136. data/lib/slack_web_api/exceptions/reactions_remove_error_schema_exception.rb +56 -0
  137. data/lib/slack_web_api/exceptions/reminders_add_error_schema_exception.rb +56 -0
  138. data/lib/slack_web_api/exceptions/reminders_complete_error_schema_exception.rb +56 -0
  139. data/lib/slack_web_api/exceptions/reminders_delete_error_schema_exception.rb +56 -0
  140. data/lib/slack_web_api/exceptions/reminders_info_error_schema_exception.rb +56 -0
  141. data/lib/slack_web_api/exceptions/reminders_list_error_schema_exception.rb +56 -0
  142. data/lib/slack_web_api/exceptions/rtm_connect_error_schema_exception.rb +56 -0
  143. data/lib/slack_web_api/exceptions/stars_add_error_schema_exception.rb +56 -0
  144. data/lib/slack_web_api/exceptions/stars_list_error_schema_exception.rb +56 -0
  145. data/lib/slack_web_api/exceptions/stars_remove_error_schema_exception.rb +56 -0
  146. data/lib/slack_web_api/exceptions/team_access_logs_error_schema_exception.rb +56 -0
  147. data/lib/slack_web_api/exceptions/team_info_error_schema_exception.rb +56 -0
  148. data/lib/slack_web_api/exceptions/team_integration_logs_error_schema_exception.rb +56 -0
  149. data/lib/slack_web_api/exceptions/team_profile_get_error_schema_exception.rb +56 -0
  150. data/lib/slack_web_api/exceptions/usergroups_create_error_schema_exception.rb +56 -0
  151. data/lib/slack_web_api/exceptions/usergroups_disable_error_schema_exception.rb +56 -0
  152. data/lib/slack_web_api/exceptions/usergroups_enable_error_schema_exception.rb +56 -0
  153. data/lib/slack_web_api/exceptions/usergroups_list_error_schema_exception.rb +56 -0
  154. data/lib/slack_web_api/exceptions/usergroups_update_error_schema_exception.rb +56 -0
  155. data/lib/slack_web_api/exceptions/usergroups_users_list_error_schema_exception.rb +56 -0
  156. data/lib/slack_web_api/exceptions/usergroups_users_update_error_schema_exception.rb +56 -0
  157. data/lib/slack_web_api/exceptions/users_conversations_error_schema_exception.rb +56 -0
  158. data/lib/slack_web_api/exceptions/users_counts_error_schema_exception.rb +50 -0
  159. data/lib/slack_web_api/exceptions/users_delete_photo_error_schema_exception.rb +56 -0
  160. data/lib/slack_web_api/exceptions/users_identity_error_schema_exception.rb +56 -0
  161. data/lib/slack_web_api/exceptions/users_info_error_schema_exception.rb +56 -0
  162. data/lib/slack_web_api/exceptions/users_list_error_schema_exception.rb +56 -0
  163. data/lib/slack_web_api/exceptions/users_lookup_by_email_error_schema_exception.rb +56 -0
  164. data/lib/slack_web_api/exceptions/users_profile_get_error_schema_exception.rb +56 -0
  165. data/lib/slack_web_api/exceptions/users_profile_set_error_schema_exception.rb +56 -0
  166. data/lib/slack_web_api/exceptions/users_set_active_error_schema_exception.rb +56 -0
  167. data/lib/slack_web_api/exceptions/users_set_photo_error_schema_exception.rb +73 -0
  168. data/lib/slack_web_api/exceptions/users_set_presence_error_schema_exception.rb +56 -0
  169. data/lib/slack_web_api/http/api_response.rb +19 -0
  170. data/lib/slack_web_api/http/auth/oauth_2.rb +162 -0
  171. data/lib/slack_web_api/http/http_call_back.rb +10 -0
  172. data/lib/slack_web_api/http/http_method_enum.rb +10 -0
  173. data/lib/slack_web_api/http/http_request.rb +10 -0
  174. data/lib/slack_web_api/http/http_response.rb +10 -0
  175. data/lib/slack_web_api/http/proxy_settings.rb +22 -0
  176. data/lib/slack_web_api/logging/configuration/api_logging_configuration.rb +186 -0
  177. data/lib/slack_web_api/logging/sdk_logger.rb +17 -0
  178. data/lib/slack_web_api/models/admin_conversations_archive_schema.rb +71 -0
  179. data/lib/slack_web_api/models/admin_conversations_convert_to_private_schema.rb +71 -0
  180. data/lib/slack_web_api/models/admin_conversations_create_schema.rb +82 -0
  181. data/lib/slack_web_api/models/admin_conversations_delete_schema.rb +71 -0
  182. data/lib/slack_web_api/models/admin_conversations_get_conversation_prefs_schema.rb +82 -0
  183. data/lib/slack_web_api/models/admin_conversations_get_teams_schema.rb +92 -0
  184. data/lib/slack_web_api/models/admin_conversations_invite_schema.rb +71 -0
  185. data/lib/slack_web_api/models/admin_conversations_rename_schema.rb +71 -0
  186. data/lib/slack_web_api/models/admin_conversations_rename_schema1.rb +71 -0
  187. data/lib/slack_web_api/models/admin_conversations_search_schema.rb +91 -0
  188. data/lib/slack_web_api/models/admin_conversations_set_conversation_prefs_schema.rb +71 -0
  189. data/lib/slack_web_api/models/admin_conversations_unarchive_schema.rb +71 -0
  190. data/lib/slack_web_api/models/api_method_users_get_presence.rb +133 -0
  191. data/lib/slack_web_api/models/api_permissions_scopes_list_success_schema.rb +80 -0
  192. data/lib/slack_web_api/models/api_test_success_schema.rb +71 -0
  193. data/lib/slack_web_api/models/app_home.rb +86 -0
  194. data/lib/slack_web_api/models/apps_permissions_info_schema.rb +80 -0
  195. data/lib/slack_web_api/models/apps_permissions_request_schema.rb +71 -0
  196. data/lib/slack_web_api/models/apps_permissions_resources_list_success_schema.rb +101 -0
  197. data/lib/slack_web_api/models/apps_uninstall_schema.rb +71 -0
  198. data/lib/slack_web_api/models/attachment.rb +125 -0
  199. data/lib/slack_web_api/models/auth_revoke_schema.rb +80 -0
  200. data/lib/slack_web_api/models/auth_test_success_schema.rb +136 -0
  201. data/lib/slack_web_api/models/base_model.rb +110 -0
  202. data/lib/slack_web_api/models/block_kit_block.rb +72 -0
  203. data/lib/slack_web_api/models/bot.rb +128 -0
  204. data/lib/slack_web_api/models/bot_profile_object.rb +126 -0
  205. data/lib/slack_web_api/models/bots_info_schema.rb +80 -0
  206. data/lib/slack_web_api/models/can_thread.rb +85 -0
  207. data/lib/slack_web_api/models/channel.rb +86 -0
  208. data/lib/slack_web_api/models/channel_object.rb +382 -0
  209. data/lib/slack_web_api/models/chat_delete_scheduled_message_schema.rb +71 -0
  210. data/lib/slack_web_api/models/chat_delete_success_schema.rb +88 -0
  211. data/lib/slack_web_api/models/chat_get_permalink_success_schema.rb +88 -0
  212. data/lib/slack_web_api/models/chat_me_message_schema.rb +91 -0
  213. data/lib/slack_web_api/models/chat_post_ephemeral_success_schema.rb +80 -0
  214. data/lib/slack_web_api/models/chat_post_message_success_schema.rb +96 -0
  215. data/lib/slack_web_api/models/chat_schedule_message_success_schema.rb +108 -0
  216. data/lib/slack_web_api/models/chat_scheduled_messages_list_schema.rb +100 -0
  217. data/lib/slack_web_api/models/chat_unfurl_success_schema.rb +71 -0
  218. data/lib/slack_web_api/models/chat_update_success_schema.rb +105 -0
  219. data/lib/slack_web_api/models/conversations_archive_success_schema.rb +71 -0
  220. data/lib/slack_web_api/models/conversations_close_success_schema.rb +93 -0
  221. data/lib/slack_web_api/models/conversations_create_success_schema.rb +80 -0
  222. data/lib/slack_web_api/models/conversations_history_success_schema.rb +127 -0
  223. data/lib/slack_web_api/models/conversations_info_success_schema.rb +80 -0
  224. data/lib/slack_web_api/models/conversations_invite_error_schema.rb +80 -0
  225. data/lib/slack_web_api/models/conversations_join_success_schema.rb +102 -0
  226. data/lib/slack_web_api/models/conversations_kick_success_schema.rb +71 -0
  227. data/lib/slack_web_api/models/conversations_leave_success_schema.rb +83 -0
  228. data/lib/slack_web_api/models/conversations_list_success_schema.rb +92 -0
  229. data/lib/slack_web_api/models/conversations_mark_success_schema.rb +71 -0
  230. data/lib/slack_web_api/models/conversations_members_success_schema.rb +89 -0
  231. data/lib/slack_web_api/models/conversations_open_success_schema.rb +102 -0
  232. data/lib/slack_web_api/models/conversations_rename_success_schema.rb +80 -0
  233. data/lib/slack_web_api/models/conversations_replies_success_schema.rb +90 -0
  234. data/lib/slack_web_api/models/conversations_set_purpose_success_schema.rb +80 -0
  235. data/lib/slack_web_api/models/conversations_set_topic_success_schema.rb +80 -0
  236. data/lib/slack_web_api/models/conversations_unarchive_success_schema.rb +71 -0
  237. data/lib/slack_web_api/models/current.rb +82 -0
  238. data/lib/slack_web_api/models/default_success_template.rb +72 -0
  239. data/lib/slack_web_api/models/dialog_open_schema.rb +71 -0
  240. data/lib/slack_web_api/models/dnd_end_dnd_schema.rb +71 -0
  241. data/lib/slack_web_api/models/dnd_end_snooze_schema.rb +111 -0
  242. data/lib/slack_web_api/models/dnd_info_schema.rb +136 -0
  243. data/lib/slack_web_api/models/dnd_set_snooze_schema.rb +102 -0
  244. data/lib/slack_web_api/models/error.rb +60 -0
  245. data/lib/slack_web_api/models/error1.rb +65 -0
  246. data/lib/slack_web_api/models/error10.rb +60 -0
  247. data/lib/slack_web_api/models/error11.rb +60 -0
  248. data/lib/slack_web_api/models/error12.rb +104 -0
  249. data/lib/slack_web_api/models/error13.rb +120 -0
  250. data/lib/slack_web_api/models/error14.rb +108 -0
  251. data/lib/slack_web_api/models/error16.rb +116 -0
  252. data/lib/slack_web_api/models/error17.rb +100 -0
  253. data/lib/slack_web_api/models/error18.rb +84 -0
  254. data/lib/slack_web_api/models/error19.rb +104 -0
  255. data/lib/slack_web_api/models/error2.rb +60 -0
  256. data/lib/slack_web_api/models/error20.rb +112 -0
  257. data/lib/slack_web_api/models/error21.rb +120 -0
  258. data/lib/slack_web_api/models/error22.rb +108 -0
  259. data/lib/slack_web_api/models/error23.rb +124 -0
  260. data/lib/slack_web_api/models/error24.rb +128 -0
  261. data/lib/slack_web_api/models/error25.rb +92 -0
  262. data/lib/slack_web_api/models/error26.rb +166 -0
  263. data/lib/slack_web_api/models/error27.rb +112 -0
  264. data/lib/slack_web_api/models/error28.rb +120 -0
  265. data/lib/slack_web_api/models/error29.rb +128 -0
  266. data/lib/slack_web_api/models/error3.rb +60 -0
  267. data/lib/slack_web_api/models/error30.rb +133 -0
  268. data/lib/slack_web_api/models/error31.rb +101 -0
  269. data/lib/slack_web_api/models/error32.rb +133 -0
  270. data/lib/slack_web_api/models/error33.rb +96 -0
  271. data/lib/slack_web_api/models/error34.rb +92 -0
  272. data/lib/slack_web_api/models/error35.rb +153 -0
  273. data/lib/slack_web_api/models/error37.rb +121 -0
  274. data/lib/slack_web_api/models/error38.rb +121 -0
  275. data/lib/slack_web_api/models/error39.rb +129 -0
  276. data/lib/slack_web_api/models/error4.rb +80 -0
  277. data/lib/slack_web_api/models/error40.rb +84 -0
  278. data/lib/slack_web_api/models/error41.rb +105 -0
  279. data/lib/slack_web_api/models/error42.rb +100 -0
  280. data/lib/slack_web_api/models/error43.rb +121 -0
  281. data/lib/slack_web_api/models/error44.rb +129 -0
  282. data/lib/slack_web_api/models/error45.rb +96 -0
  283. data/lib/slack_web_api/models/error46.rb +113 -0
  284. data/lib/slack_web_api/models/error48.rb +121 -0
  285. data/lib/slack_web_api/models/error49.rb +136 -0
  286. data/lib/slack_web_api/models/error5.rb +60 -0
  287. data/lib/slack_web_api/models/error50.rb +108 -0
  288. data/lib/slack_web_api/models/error51.rb +112 -0
  289. data/lib/slack_web_api/models/error52.rb +104 -0
  290. data/lib/slack_web_api/models/error53.rb +116 -0
  291. data/lib/slack_web_api/models/error54.rb +92 -0
  292. data/lib/slack_web_api/models/error55.rb +100 -0
  293. data/lib/slack_web_api/models/error56.rb +100 -0
  294. data/lib/slack_web_api/models/error57.rb +100 -0
  295. data/lib/slack_web_api/models/error58.rb +112 -0
  296. data/lib/slack_web_api/models/error59.rb +116 -0
  297. data/lib/slack_web_api/models/error6.rb +60 -0
  298. data/lib/slack_web_api/models/error60.rb +108 -0
  299. data/lib/slack_web_api/models/error61.rb +108 -0
  300. data/lib/slack_web_api/models/error62.rb +120 -0
  301. data/lib/slack_web_api/models/error63.rb +92 -0
  302. data/lib/slack_web_api/models/error64.rb +116 -0
  303. data/lib/slack_web_api/models/error65.rb +116 -0
  304. data/lib/slack_web_api/models/error66.rb +104 -0
  305. data/lib/slack_web_api/models/error67.rb +96 -0
  306. data/lib/slack_web_api/models/error68.rb +120 -0
  307. data/lib/slack_web_api/models/error69.rb +128 -0
  308. data/lib/slack_web_api/models/error7.rb +56 -0
  309. data/lib/slack_web_api/models/error70.rb +116 -0
  310. data/lib/slack_web_api/models/error71.rb +108 -0
  311. data/lib/slack_web_api/models/error74.rb +96 -0
  312. data/lib/slack_web_api/models/error75.rb +128 -0
  313. data/lib/slack_web_api/models/error77.rb +128 -0
  314. data/lib/slack_web_api/models/error78.rb +112 -0
  315. data/lib/slack_web_api/models/error8.rb +56 -0
  316. data/lib/slack_web_api/models/error81.rb +92 -0
  317. data/lib/slack_web_api/models/error82.rb +112 -0
  318. data/lib/slack_web_api/models/error84.rb +116 -0
  319. data/lib/slack_web_api/models/error86.rb +120 -0
  320. data/lib/slack_web_api/models/error89.rb +117 -0
  321. data/lib/slack_web_api/models/error9.rb +68 -0
  322. data/lib/slack_web_api/models/error92.rb +92 -0
  323. data/lib/slack_web_api/models/error93.rb +100 -0
  324. data/lib/slack_web_api/models/error94.rb +100 -0
  325. data/lib/slack_web_api/models/error95.rb +108 -0
  326. data/lib/slack_web_api/models/error96.rb +128 -0
  327. data/lib/slack_web_api/models/error97.rb +100 -0
  328. data/lib/slack_web_api/models/error98.rb +120 -0
  329. data/lib/slack_web_api/models/error99.rb +104 -0
  330. data/lib/slack_web_api/models/errors_is_returned_when_an_error_associates_an_user.rb +90 -0
  331. data/lib/slack_web_api/models/external_org_migrations.rb +91 -0
  332. data/lib/slack_web_api/models/file_comment_object.rb +176 -0
  333. data/lib/slack_web_api/models/file_object.rb +790 -0
  334. data/lib/slack_web_api/models/files_comments_delete_schema.rb +71 -0
  335. data/lib/slack_web_api/models/files_delete_schema.rb +71 -0
  336. data/lib/slack_web_api/models/files_info_schema.rb +133 -0
  337. data/lib/slack_web_api/models/files_list_schema.rb +97 -0
  338. data/lib/slack_web_api/models/files_revoke_public_url_schema.rb +80 -0
  339. data/lib/slack_web_api/models/files_shared_public_url_schema.rb +80 -0
  340. data/lib/slack_web_api/models/files_upload_schema.rb +80 -0
  341. data/lib/slack_web_api/models/group.rb +86 -0
  342. data/lib/slack_web_api/models/icons.rb +90 -0
  343. data/lib/slack_web_api/models/icons1.rb +85 -0
  344. data/lib/slack_web_api/models/im.rb +86 -0
  345. data/lib/slack_web_api/models/info.rb +116 -0
  346. data/lib/slack_web_api/models/log.rb +168 -0
  347. data/lib/slack_web_api/models/login.rb +158 -0
  348. data/lib/slack_web_api/models/message.rb +128 -0
  349. data/lib/slack_web_api/models/message_object.rb +552 -0
  350. data/lib/slack_web_api/models/message_object1.rb +94 -0
  351. data/lib/slack_web_api/models/migration_exchange_success_schema.rb +111 -0
  352. data/lib/slack_web_api/models/mpim.rb +86 -0
  353. data/lib/slack_web_api/models/mself.rb +82 -0
  354. data/lib/slack_web_api/models/oauth_provider_error.rb +62 -0
  355. data/lib/slack_web_api/models/oauth_scope.rb +296 -0
  356. data/lib/slack_web_api/models/oauth_token.rb +96 -0
  357. data/lib/slack_web_api/models/objs_enterprise_user.rb +119 -0
  358. data/lib/slack_web_api/models/objs_icon.rb +147 -0
  359. data/lib/slack_web_api/models/objs_primary_owner.rb +82 -0
  360. data/lib/slack_web_api/models/objs_reminder.rb +129 -0
  361. data/lib/slack_web_api/models/objs_team_profile_field.rb +154 -0
  362. data/lib/slack_web_api/models/objs_team_profile_field_option.rb +112 -0
  363. data/lib/slack_web_api/models/objs_user_profile_short.rb +174 -0
  364. data/lib/slack_web_api/models/paging_object.rb +121 -0
  365. data/lib/slack_web_api/models/pins_add_schema.rb +71 -0
  366. data/lib/slack_web_api/models/pins_remove_schema.rb +71 -0
  367. data/lib/slack_web_api/models/plan.rb +44 -0
  368. data/lib/slack_web_api/models/prefs.rb +82 -0
  369. data/lib/slack_web_api/models/prefs1.rb +86 -0
  370. data/lib/slack_web_api/models/profile.rb +82 -0
  371. data/lib/slack_web_api/models/profile1.rb +146 -0
  372. data/lib/slack_web_api/models/purpose.rb +90 -0
  373. data/lib/slack_web_api/models/reaction_object.rb +90 -0
  374. data/lib/slack_web_api/models/reactions_add_schema.rb +71 -0
  375. data/lib/slack_web_api/models/reactions_list_schema.rb +102 -0
  376. data/lib/slack_web_api/models/reactions_remove_schema.rb +71 -0
  377. data/lib/slack_web_api/models/reminders_add_schema.rb +80 -0
  378. data/lib/slack_web_api/models/reminders_complete_schema.rb +71 -0
  379. data/lib/slack_web_api/models/reminders_delete_schema.rb +71 -0
  380. data/lib/slack_web_api/models/reminders_info_schema.rb +80 -0
  381. data/lib/slack_web_api/models/reminders_list_schema.rb +89 -0
  382. data/lib/slack_web_api/models/resource.rb +85 -0
  383. data/lib/slack_web_api/models/resources_in_info_from_apps_permissions_info.rb +94 -0
  384. data/lib/slack_web_api/models/response_metadata.rb +74 -0
  385. data/lib/slack_web_api/models/response_metadata3.rb +75 -0
  386. data/lib/slack_web_api/models/rtm_connect_schema.rb +96 -0
  387. data/lib/slack_web_api/models/scheduled_message.rb +110 -0
  388. data/lib/slack_web_api/models/scopes.rb +134 -0
  389. data/lib/slack_web_api/models/shares.rb +85 -0
  390. data/lib/slack_web_api/models/sso_provider.rb +95 -0
  391. data/lib/slack_web_api/models/stars_add_schema.rb +71 -0
  392. data/lib/slack_web_api/models/stars_list_schema.rb +90 -0
  393. data/lib/slack_web_api/models/stars_remove_schema.rb +71 -0
  394. data/lib/slack_web_api/models/subteam_usergroup_object.rb +260 -0
  395. data/lib/slack_web_api/models/team.rb +83 -0
  396. data/lib/slack_web_api/models/team1.rb +90 -0
  397. data/lib/slack_web_api/models/team_access_logs_schema.rb +97 -0
  398. data/lib/slack_web_api/models/team_info_schema.rb +80 -0
  399. data/lib/slack_web_api/models/team_integration_logs_schema.rb +97 -0
  400. data/lib/slack_web_api/models/team_object.rb +368 -0
  401. data/lib/slack_web_api/models/team_profile_get_success_schema.rb +80 -0
  402. data/lib/slack_web_api/models/topic.rb +90 -0
  403. data/lib/slack_web_api/models/type.rb +52 -0
  404. data/lib/slack_web_api/models/user_profile_object.rb +542 -0
  405. data/lib/slack_web_api/models/usergroups_create_schema.rb +80 -0
  406. data/lib/slack_web_api/models/usergroups_disable_schema.rb +80 -0
  407. data/lib/slack_web_api/models/usergroups_enable_schema.rb +80 -0
  408. data/lib/slack_web_api/models/usergroups_list_schema.rb +89 -0
  409. data/lib/slack_web_api/models/usergroups_update_schema.rb +80 -0
  410. data/lib/slack_web_api/models/usergroups_users_list_schema.rb +80 -0
  411. data/lib/slack_web_api/models/usergroups_users_update_schema.rb +80 -0
  412. data/lib/slack_web_api/models/users_conversations_success_schema.rb +93 -0
  413. data/lib/slack_web_api/models/users_delete_photo_schema.rb +71 -0
  414. data/lib/slack_web_api/models/users_info_success_schema.rb +80 -0
  415. data/lib/slack_web_api/models/users_list_schema.rb +102 -0
  416. data/lib/slack_web_api/models/users_lookup_by_email_success_schema.rb +80 -0
  417. data/lib/slack_web_api/models/users_profile_get_schema.rb +80 -0
  418. data/lib/slack_web_api/models/users_profile_set_schema.rb +100 -0
  419. data/lib/slack_web_api/models/users_set_active_schema.rb +71 -0
  420. data/lib/slack_web_api/models/users_set_photo_schema.rb +80 -0
  421. data/lib/slack_web_api/models/users_set_presence_schema.rb +71 -0
  422. data/lib/slack_web_api/models/who_can_post.rb +85 -0
  423. data/lib/slack_web_api/utilities/date_time_helper.rb +11 -0
  424. data/lib/slack_web_api/utilities/file_wrapper.rb +28 -0
  425. data/lib/slack_web_api.rb +532 -0
  426. metadata +509 -0
@@ -0,0 +1,790 @@
1
+ # slack_web_api
2
+ #
3
+ # This file was automatically generated by APIMATIC v3.0 (
4
+ # https://www.apimatic.io ).
5
+
6
+ module SlackWebApi
7
+ # FileObject Model.
8
+ class FileObject < BaseModel
9
+ SKIP = Object.new
10
+ private_constant :SKIP
11
+
12
+ # TODO: Write general description for this method
13
+ # @return [Array[String]]
14
+ attr_accessor :channels
15
+
16
+ # TODO: Write general description for this method
17
+ # @return [Integer]
18
+ attr_accessor :comments_count
19
+
20
+ # TODO: Write general description for this method
21
+ # @return [Integer]
22
+ attr_accessor :created
23
+
24
+ # TODO: Write general description for this method
25
+ # @return [Integer]
26
+ attr_accessor :date_delete
27
+
28
+ # TODO: Write general description for this method
29
+ # @return [TrueClass | FalseClass]
30
+ attr_accessor :display_as_bot
31
+
32
+ # TODO: Write general description for this method
33
+ # @return [TrueClass | FalseClass]
34
+ attr_accessor :editable
35
+
36
+ # TODO: Write general description for this method
37
+ # @return [String]
38
+ attr_accessor :editor
39
+
40
+ # TODO: Write general description for this method
41
+ # @return [String]
42
+ attr_accessor :external_id
43
+
44
+ # TODO: Write general description for this method
45
+ # @return [String]
46
+ attr_accessor :external_type
47
+
48
+ # TODO: Write general description for this method
49
+ # @return [String]
50
+ attr_accessor :external_url
51
+
52
+ # TODO: Write general description for this method
53
+ # @return [String]
54
+ attr_accessor :filetype
55
+
56
+ # TODO: Write general description for this method
57
+ # @return [Array[String]]
58
+ attr_accessor :groups
59
+
60
+ # TODO: Write general description for this method
61
+ # @return [TrueClass | FalseClass]
62
+ attr_accessor :has_rich_preview
63
+
64
+ # TODO: Write general description for this method
65
+ # @return [String]
66
+ attr_accessor :id
67
+
68
+ # TODO: Write general description for this method
69
+ # @return [Integer]
70
+ attr_accessor :image_exif_rotation
71
+
72
+ # TODO: Write general description for this method
73
+ # @return [Array[String]]
74
+ attr_accessor :ims
75
+
76
+ # TODO: Write general description for this method
77
+ # @return [TrueClass | FalseClass]
78
+ attr_accessor :is_external
79
+
80
+ # TODO: Write general description for this method
81
+ # @return [TrueClass | FalseClass]
82
+ attr_accessor :is_public
83
+
84
+ # TODO: Write general description for this method
85
+ # @return [TrueClass | FalseClass]
86
+ attr_accessor :is_starred
87
+
88
+ # TODO: Write general description for this method
89
+ # @return [TrueClass | FalseClass]
90
+ attr_accessor :is_tombstoned
91
+
92
+ # TODO: Write general description for this method
93
+ # @return [String]
94
+ attr_accessor :last_editor
95
+
96
+ # TODO: Write general description for this method
97
+ # @return [String]
98
+ attr_accessor :mimetype
99
+
100
+ # TODO: Write general description for this method
101
+ # @return [String]
102
+ attr_accessor :mode
103
+
104
+ # TODO: Write general description for this method
105
+ # @return [String]
106
+ attr_accessor :name
107
+
108
+ # TODO: Write general description for this method
109
+ # @return [TrueClass | FalseClass]
110
+ attr_accessor :non_owner_editable
111
+
112
+ # TODO: Write general description for this method
113
+ # @return [Integer]
114
+ attr_accessor :num_stars
115
+
116
+ # TODO: Write general description for this method
117
+ # @return [Integer]
118
+ attr_accessor :original_h
119
+
120
+ # TODO: Write general description for this method
121
+ # @return [Integer]
122
+ attr_accessor :original_w
123
+
124
+ # TODO: Write general description for this method
125
+ # @return [String]
126
+ attr_accessor :permalink
127
+
128
+ # TODO: Write general description for this method
129
+ # @return [String]
130
+ attr_accessor :permalink_public
131
+
132
+ # TODO: Write general description for this method
133
+ # @return [Object]
134
+ attr_accessor :pinned_info
135
+
136
+ # TODO: Write general description for this method
137
+ # @return [Array[String]]
138
+ attr_accessor :pinned_to
139
+
140
+ # TODO: Write general description for this method
141
+ # @return [String]
142
+ attr_accessor :pretty_type
143
+
144
+ # TODO: Write general description for this method
145
+ # @return [String]
146
+ attr_accessor :preview
147
+
148
+ # TODO: Write general description for this method
149
+ # @return [TrueClass | FalseClass]
150
+ attr_accessor :public_url_shared
151
+
152
+ # TODO: Write general description for this method
153
+ # @return [Array[ReactionObject]]
154
+ attr_accessor :reactions
155
+
156
+ # TODO: Write general description for this method
157
+ # @return [Shares]
158
+ attr_accessor :shares
159
+
160
+ # TODO: Write general description for this method
161
+ # @return [Integer]
162
+ attr_accessor :size
163
+
164
+ # TODO: Write general description for this method
165
+ # @return [String]
166
+ attr_accessor :source_team
167
+
168
+ # TODO: Write general description for this method
169
+ # @return [String]
170
+ attr_accessor :state
171
+
172
+ # TODO: Write general description for this method
173
+ # @return [String]
174
+ attr_accessor :thumb_1024
175
+
176
+ # TODO: Write general description for this method
177
+ # @return [Integer]
178
+ attr_accessor :thumb_1024_h
179
+
180
+ # TODO: Write general description for this method
181
+ # @return [Integer]
182
+ attr_accessor :thumb_1024_w
183
+
184
+ # TODO: Write general description for this method
185
+ # @return [String]
186
+ attr_accessor :thumb_160
187
+
188
+ # TODO: Write general description for this method
189
+ # @return [String]
190
+ attr_accessor :thumb_360
191
+
192
+ # TODO: Write general description for this method
193
+ # @return [Integer]
194
+ attr_accessor :thumb_360_h
195
+
196
+ # TODO: Write general description for this method
197
+ # @return [Integer]
198
+ attr_accessor :thumb_360_w
199
+
200
+ # TODO: Write general description for this method
201
+ # @return [String]
202
+ attr_accessor :thumb_480
203
+
204
+ # TODO: Write general description for this method
205
+ # @return [Integer]
206
+ attr_accessor :thumb_480_h
207
+
208
+ # TODO: Write general description for this method
209
+ # @return [Integer]
210
+ attr_accessor :thumb_480_w
211
+
212
+ # TODO: Write general description for this method
213
+ # @return [String]
214
+ attr_accessor :thumb_64
215
+
216
+ # TODO: Write general description for this method
217
+ # @return [String]
218
+ attr_accessor :thumb_720
219
+
220
+ # TODO: Write general description for this method
221
+ # @return [Integer]
222
+ attr_accessor :thumb_720_h
223
+
224
+ # TODO: Write general description for this method
225
+ # @return [Integer]
226
+ attr_accessor :thumb_720_w
227
+
228
+ # TODO: Write general description for this method
229
+ # @return [String]
230
+ attr_accessor :thumb_80
231
+
232
+ # TODO: Write general description for this method
233
+ # @return [String]
234
+ attr_accessor :thumb_800
235
+
236
+ # TODO: Write general description for this method
237
+ # @return [Integer]
238
+ attr_accessor :thumb_800_h
239
+
240
+ # TODO: Write general description for this method
241
+ # @return [Integer]
242
+ attr_accessor :thumb_800_w
243
+
244
+ # TODO: Write general description for this method
245
+ # @return [String]
246
+ attr_accessor :thumb_960
247
+
248
+ # TODO: Write general description for this method
249
+ # @return [Integer]
250
+ attr_accessor :thumb_960_h
251
+
252
+ # TODO: Write general description for this method
253
+ # @return [Integer]
254
+ attr_accessor :thumb_960_w
255
+
256
+ # TODO: Write general description for this method
257
+ # @return [String]
258
+ attr_accessor :thumb_tiny
259
+
260
+ # TODO: Write general description for this method
261
+ # @return [Integer]
262
+ attr_accessor :timestamp
263
+
264
+ # TODO: Write general description for this method
265
+ # @return [String]
266
+ attr_accessor :title
267
+
268
+ # TODO: Write general description for this method
269
+ # @return [Integer]
270
+ attr_accessor :updated
271
+
272
+ # TODO: Write general description for this method
273
+ # @return [String]
274
+ attr_accessor :url_private
275
+
276
+ # TODO: Write general description for this method
277
+ # @return [String]
278
+ attr_accessor :url_private_download
279
+
280
+ # TODO: Write general description for this method
281
+ # @return [String]
282
+ attr_accessor :user
283
+
284
+ # TODO: Write general description for this method
285
+ # @return [String]
286
+ attr_accessor :user_team
287
+
288
+ # TODO: Write general description for this method
289
+ # @return [String]
290
+ attr_accessor :username
291
+
292
+ # A mapping from model property names to API property names.
293
+ def self.names
294
+ @_hash = {} if @_hash.nil?
295
+ @_hash['channels'] = 'channels'
296
+ @_hash['comments_count'] = 'comments_count'
297
+ @_hash['created'] = 'created'
298
+ @_hash['date_delete'] = 'date_delete'
299
+ @_hash['display_as_bot'] = 'display_as_bot'
300
+ @_hash['editable'] = 'editable'
301
+ @_hash['editor'] = 'editor'
302
+ @_hash['external_id'] = 'external_id'
303
+ @_hash['external_type'] = 'external_type'
304
+ @_hash['external_url'] = 'external_url'
305
+ @_hash['filetype'] = 'filetype'
306
+ @_hash['groups'] = 'groups'
307
+ @_hash['has_rich_preview'] = 'has_rich_preview'
308
+ @_hash['id'] = 'id'
309
+ @_hash['image_exif_rotation'] = 'image_exif_rotation'
310
+ @_hash['ims'] = 'ims'
311
+ @_hash['is_external'] = 'is_external'
312
+ @_hash['is_public'] = 'is_public'
313
+ @_hash['is_starred'] = 'is_starred'
314
+ @_hash['is_tombstoned'] = 'is_tombstoned'
315
+ @_hash['last_editor'] = 'last_editor'
316
+ @_hash['mimetype'] = 'mimetype'
317
+ @_hash['mode'] = 'mode'
318
+ @_hash['name'] = 'name'
319
+ @_hash['non_owner_editable'] = 'non_owner_editable'
320
+ @_hash['num_stars'] = 'num_stars'
321
+ @_hash['original_h'] = 'original_h'
322
+ @_hash['original_w'] = 'original_w'
323
+ @_hash['permalink'] = 'permalink'
324
+ @_hash['permalink_public'] = 'permalink_public'
325
+ @_hash['pinned_info'] = 'pinned_info'
326
+ @_hash['pinned_to'] = 'pinned_to'
327
+ @_hash['pretty_type'] = 'pretty_type'
328
+ @_hash['preview'] = 'preview'
329
+ @_hash['public_url_shared'] = 'public_url_shared'
330
+ @_hash['reactions'] = 'reactions'
331
+ @_hash['shares'] = 'shares'
332
+ @_hash['size'] = 'size'
333
+ @_hash['source_team'] = 'source_team'
334
+ @_hash['state'] = 'state'
335
+ @_hash['thumb_1024'] = 'thumb_1024'
336
+ @_hash['thumb_1024_h'] = 'thumb_1024_h'
337
+ @_hash['thumb_1024_w'] = 'thumb_1024_w'
338
+ @_hash['thumb_160'] = 'thumb_160'
339
+ @_hash['thumb_360'] = 'thumb_360'
340
+ @_hash['thumb_360_h'] = 'thumb_360_h'
341
+ @_hash['thumb_360_w'] = 'thumb_360_w'
342
+ @_hash['thumb_480'] = 'thumb_480'
343
+ @_hash['thumb_480_h'] = 'thumb_480_h'
344
+ @_hash['thumb_480_w'] = 'thumb_480_w'
345
+ @_hash['thumb_64'] = 'thumb_64'
346
+ @_hash['thumb_720'] = 'thumb_720'
347
+ @_hash['thumb_720_h'] = 'thumb_720_h'
348
+ @_hash['thumb_720_w'] = 'thumb_720_w'
349
+ @_hash['thumb_80'] = 'thumb_80'
350
+ @_hash['thumb_800'] = 'thumb_800'
351
+ @_hash['thumb_800_h'] = 'thumb_800_h'
352
+ @_hash['thumb_800_w'] = 'thumb_800_w'
353
+ @_hash['thumb_960'] = 'thumb_960'
354
+ @_hash['thumb_960_h'] = 'thumb_960_h'
355
+ @_hash['thumb_960_w'] = 'thumb_960_w'
356
+ @_hash['thumb_tiny'] = 'thumb_tiny'
357
+ @_hash['timestamp'] = 'timestamp'
358
+ @_hash['title'] = 'title'
359
+ @_hash['updated'] = 'updated'
360
+ @_hash['url_private'] = 'url_private'
361
+ @_hash['url_private_download'] = 'url_private_download'
362
+ @_hash['user'] = 'user'
363
+ @_hash['user_team'] = 'user_team'
364
+ @_hash['username'] = 'username'
365
+ @_hash
366
+ end
367
+
368
+ # An array for optional fields
369
+ def self.optionals
370
+ %w[
371
+ channels
372
+ comments_count
373
+ created
374
+ date_delete
375
+ display_as_bot
376
+ editable
377
+ editor
378
+ external_id
379
+ external_type
380
+ external_url
381
+ filetype
382
+ groups
383
+ has_rich_preview
384
+ id
385
+ image_exif_rotation
386
+ ims
387
+ is_external
388
+ is_public
389
+ is_starred
390
+ is_tombstoned
391
+ last_editor
392
+ mimetype
393
+ mode
394
+ name
395
+ non_owner_editable
396
+ num_stars
397
+ original_h
398
+ original_w
399
+ permalink
400
+ permalink_public
401
+ pinned_info
402
+ pinned_to
403
+ pretty_type
404
+ preview
405
+ public_url_shared
406
+ reactions
407
+ shares
408
+ size
409
+ source_team
410
+ state
411
+ thumb_1024
412
+ thumb_1024_h
413
+ thumb_1024_w
414
+ thumb_160
415
+ thumb_360
416
+ thumb_360_h
417
+ thumb_360_w
418
+ thumb_480
419
+ thumb_480_h
420
+ thumb_480_w
421
+ thumb_64
422
+ thumb_720
423
+ thumb_720_h
424
+ thumb_720_w
425
+ thumb_80
426
+ thumb_800
427
+ thumb_800_h
428
+ thumb_800_w
429
+ thumb_960
430
+ thumb_960_h
431
+ thumb_960_w
432
+ thumb_tiny
433
+ timestamp
434
+ title
435
+ updated
436
+ url_private
437
+ url_private_download
438
+ user
439
+ user_team
440
+ username
441
+ ]
442
+ end
443
+
444
+ # An array for nullable fields
445
+ def self.nullables
446
+ []
447
+ end
448
+
449
+ def initialize(channels: SKIP, comments_count: SKIP, created: SKIP,
450
+ date_delete: SKIP, display_as_bot: SKIP, editable: SKIP,
451
+ editor: SKIP, external_id: SKIP, external_type: SKIP,
452
+ external_url: SKIP, filetype: SKIP, groups: SKIP,
453
+ has_rich_preview: SKIP, id: SKIP, image_exif_rotation: SKIP,
454
+ ims: SKIP, is_external: SKIP, is_public: SKIP,
455
+ is_starred: SKIP, is_tombstoned: SKIP, last_editor: SKIP,
456
+ mimetype: SKIP, mode: SKIP, name: SKIP,
457
+ non_owner_editable: SKIP, num_stars: SKIP, original_h: SKIP,
458
+ original_w: SKIP, permalink: SKIP, permalink_public: SKIP,
459
+ pinned_info: SKIP, pinned_to: SKIP, pretty_type: SKIP,
460
+ preview: SKIP, public_url_shared: SKIP, reactions: SKIP,
461
+ shares: SKIP, size: SKIP, source_team: SKIP, state: SKIP,
462
+ thumb_1024: SKIP, thumb_1024_h: SKIP, thumb_1024_w: SKIP,
463
+ thumb_160: SKIP, thumb_360: SKIP, thumb_360_h: SKIP,
464
+ thumb_360_w: SKIP, thumb_480: SKIP, thumb_480_h: SKIP,
465
+ thumb_480_w: SKIP, thumb_64: SKIP, thumb_720: SKIP,
466
+ thumb_720_h: SKIP, thumb_720_w: SKIP, thumb_80: SKIP,
467
+ thumb_800: SKIP, thumb_800_h: SKIP, thumb_800_w: SKIP,
468
+ thumb_960: SKIP, thumb_960_h: SKIP, thumb_960_w: SKIP,
469
+ thumb_tiny: SKIP, timestamp: SKIP, title: SKIP,
470
+ updated: SKIP, url_private: SKIP, url_private_download: SKIP,
471
+ user: SKIP, user_team: SKIP, username: SKIP,
472
+ additional_properties: nil)
473
+ # Add additional model properties to the instance
474
+ additional_properties = {} if additional_properties.nil?
475
+
476
+ @channels = channels unless channels == SKIP
477
+ @comments_count = comments_count unless comments_count == SKIP
478
+ @created = created unless created == SKIP
479
+ @date_delete = date_delete unless date_delete == SKIP
480
+ @display_as_bot = display_as_bot unless display_as_bot == SKIP
481
+ @editable = editable unless editable == SKIP
482
+ @editor = editor unless editor == SKIP
483
+ @external_id = external_id unless external_id == SKIP
484
+ @external_type = external_type unless external_type == SKIP
485
+ @external_url = external_url unless external_url == SKIP
486
+ @filetype = filetype unless filetype == SKIP
487
+ @groups = groups unless groups == SKIP
488
+ @has_rich_preview = has_rich_preview unless has_rich_preview == SKIP
489
+ @id = id unless id == SKIP
490
+ @image_exif_rotation = image_exif_rotation unless image_exif_rotation == SKIP
491
+ @ims = ims unless ims == SKIP
492
+ @is_external = is_external unless is_external == SKIP
493
+ @is_public = is_public unless is_public == SKIP
494
+ @is_starred = is_starred unless is_starred == SKIP
495
+ @is_tombstoned = is_tombstoned unless is_tombstoned == SKIP
496
+ @last_editor = last_editor unless last_editor == SKIP
497
+ @mimetype = mimetype unless mimetype == SKIP
498
+ @mode = mode unless mode == SKIP
499
+ @name = name unless name == SKIP
500
+ @non_owner_editable = non_owner_editable unless non_owner_editable == SKIP
501
+ @num_stars = num_stars unless num_stars == SKIP
502
+ @original_h = original_h unless original_h == SKIP
503
+ @original_w = original_w unless original_w == SKIP
504
+ @permalink = permalink unless permalink == SKIP
505
+ @permalink_public = permalink_public unless permalink_public == SKIP
506
+ @pinned_info = pinned_info unless pinned_info == SKIP
507
+ @pinned_to = pinned_to unless pinned_to == SKIP
508
+ @pretty_type = pretty_type unless pretty_type == SKIP
509
+ @preview = preview unless preview == SKIP
510
+ @public_url_shared = public_url_shared unless public_url_shared == SKIP
511
+ @reactions = reactions unless reactions == SKIP
512
+ @shares = shares unless shares == SKIP
513
+ @size = size unless size == SKIP
514
+ @source_team = source_team unless source_team == SKIP
515
+ @state = state unless state == SKIP
516
+ @thumb_1024 = thumb_1024 unless thumb_1024 == SKIP
517
+ @thumb_1024_h = thumb_1024_h unless thumb_1024_h == SKIP
518
+ @thumb_1024_w = thumb_1024_w unless thumb_1024_w == SKIP
519
+ @thumb_160 = thumb_160 unless thumb_160 == SKIP
520
+ @thumb_360 = thumb_360 unless thumb_360 == SKIP
521
+ @thumb_360_h = thumb_360_h unless thumb_360_h == SKIP
522
+ @thumb_360_w = thumb_360_w unless thumb_360_w == SKIP
523
+ @thumb_480 = thumb_480 unless thumb_480 == SKIP
524
+ @thumb_480_h = thumb_480_h unless thumb_480_h == SKIP
525
+ @thumb_480_w = thumb_480_w unless thumb_480_w == SKIP
526
+ @thumb_64 = thumb_64 unless thumb_64 == SKIP
527
+ @thumb_720 = thumb_720 unless thumb_720 == SKIP
528
+ @thumb_720_h = thumb_720_h unless thumb_720_h == SKIP
529
+ @thumb_720_w = thumb_720_w unless thumb_720_w == SKIP
530
+ @thumb_80 = thumb_80 unless thumb_80 == SKIP
531
+ @thumb_800 = thumb_800 unless thumb_800 == SKIP
532
+ @thumb_800_h = thumb_800_h unless thumb_800_h == SKIP
533
+ @thumb_800_w = thumb_800_w unless thumb_800_w == SKIP
534
+ @thumb_960 = thumb_960 unless thumb_960 == SKIP
535
+ @thumb_960_h = thumb_960_h unless thumb_960_h == SKIP
536
+ @thumb_960_w = thumb_960_w unless thumb_960_w == SKIP
537
+ @thumb_tiny = thumb_tiny unless thumb_tiny == SKIP
538
+ @timestamp = timestamp unless timestamp == SKIP
539
+ @title = title unless title == SKIP
540
+ @updated = updated unless updated == SKIP
541
+ @url_private = url_private unless url_private == SKIP
542
+ @url_private_download = url_private_download unless url_private_download == SKIP
543
+ @user = user unless user == SKIP
544
+ @user_team = user_team unless user_team == SKIP
545
+ @username = username unless username == SKIP
546
+ @additional_properties = additional_properties
547
+ end
548
+
549
+ # Creates an instance of the object from a hash.
550
+ def self.from_hash(hash)
551
+ return nil unless hash
552
+
553
+ # Extract variables from the hash.
554
+ channels = hash.key?('channels') ? hash['channels'] : SKIP
555
+ comments_count =
556
+ hash.key?('comments_count') ? hash['comments_count'] : SKIP
557
+ created = hash.key?('created') ? hash['created'] : SKIP
558
+ date_delete = hash.key?('date_delete') ? hash['date_delete'] : SKIP
559
+ display_as_bot =
560
+ hash.key?('display_as_bot') ? hash['display_as_bot'] : SKIP
561
+ editable = hash.key?('editable') ? hash['editable'] : SKIP
562
+ editor = hash.key?('editor') ? hash['editor'] : SKIP
563
+ external_id = hash.key?('external_id') ? hash['external_id'] : SKIP
564
+ external_type = hash.key?('external_type') ? hash['external_type'] : SKIP
565
+ external_url = hash.key?('external_url') ? hash['external_url'] : SKIP
566
+ filetype = hash.key?('filetype') ? hash['filetype'] : SKIP
567
+ groups = hash.key?('groups') ? hash['groups'] : SKIP
568
+ has_rich_preview =
569
+ hash.key?('has_rich_preview') ? hash['has_rich_preview'] : SKIP
570
+ id = hash.key?('id') ? hash['id'] : SKIP
571
+ image_exif_rotation =
572
+ hash.key?('image_exif_rotation') ? hash['image_exif_rotation'] : SKIP
573
+ ims = hash.key?('ims') ? hash['ims'] : SKIP
574
+ is_external = hash.key?('is_external') ? hash['is_external'] : SKIP
575
+ is_public = hash.key?('is_public') ? hash['is_public'] : SKIP
576
+ is_starred = hash.key?('is_starred') ? hash['is_starred'] : SKIP
577
+ is_tombstoned = hash.key?('is_tombstoned') ? hash['is_tombstoned'] : SKIP
578
+ last_editor = hash.key?('last_editor') ? hash['last_editor'] : SKIP
579
+ mimetype = hash.key?('mimetype') ? hash['mimetype'] : SKIP
580
+ mode = hash.key?('mode') ? hash['mode'] : SKIP
581
+ name = hash.key?('name') ? hash['name'] : SKIP
582
+ non_owner_editable =
583
+ hash.key?('non_owner_editable') ? hash['non_owner_editable'] : SKIP
584
+ num_stars = hash.key?('num_stars') ? hash['num_stars'] : SKIP
585
+ original_h = hash.key?('original_h') ? hash['original_h'] : SKIP
586
+ original_w = hash.key?('original_w') ? hash['original_w'] : SKIP
587
+ permalink = hash.key?('permalink') ? hash['permalink'] : SKIP
588
+ permalink_public =
589
+ hash.key?('permalink_public') ? hash['permalink_public'] : SKIP
590
+ pinned_info = hash.key?('pinned_info') ? hash['pinned_info'] : SKIP
591
+ pinned_to = hash.key?('pinned_to') ? hash['pinned_to'] : SKIP
592
+ pretty_type = hash.key?('pretty_type') ? hash['pretty_type'] : SKIP
593
+ preview = hash.key?('preview') ? hash['preview'] : SKIP
594
+ public_url_shared =
595
+ hash.key?('public_url_shared') ? hash['public_url_shared'] : SKIP
596
+ # Parameter is an array, so we need to iterate through it
597
+ reactions = nil
598
+ unless hash['reactions'].nil?
599
+ reactions = []
600
+ hash['reactions'].each do |structure|
601
+ reactions << (ReactionObject.from_hash(structure) if structure)
602
+ end
603
+ end
604
+
605
+ reactions = SKIP unless hash.key?('reactions')
606
+ shares = Shares.from_hash(hash['shares']) if hash['shares']
607
+ size = hash.key?('size') ? hash['size'] : SKIP
608
+ source_team = hash.key?('source_team') ? hash['source_team'] : SKIP
609
+ state = hash.key?('state') ? hash['state'] : SKIP
610
+ thumb_1024 = hash.key?('thumb_1024') ? hash['thumb_1024'] : SKIP
611
+ thumb_1024_h = hash.key?('thumb_1024_h') ? hash['thumb_1024_h'] : SKIP
612
+ thumb_1024_w = hash.key?('thumb_1024_w') ? hash['thumb_1024_w'] : SKIP
613
+ thumb_160 = hash.key?('thumb_160') ? hash['thumb_160'] : SKIP
614
+ thumb_360 = hash.key?('thumb_360') ? hash['thumb_360'] : SKIP
615
+ thumb_360_h = hash.key?('thumb_360_h') ? hash['thumb_360_h'] : SKIP
616
+ thumb_360_w = hash.key?('thumb_360_w') ? hash['thumb_360_w'] : SKIP
617
+ thumb_480 = hash.key?('thumb_480') ? hash['thumb_480'] : SKIP
618
+ thumb_480_h = hash.key?('thumb_480_h') ? hash['thumb_480_h'] : SKIP
619
+ thumb_480_w = hash.key?('thumb_480_w') ? hash['thumb_480_w'] : SKIP
620
+ thumb_64 = hash.key?('thumb_64') ? hash['thumb_64'] : SKIP
621
+ thumb_720 = hash.key?('thumb_720') ? hash['thumb_720'] : SKIP
622
+ thumb_720_h = hash.key?('thumb_720_h') ? hash['thumb_720_h'] : SKIP
623
+ thumb_720_w = hash.key?('thumb_720_w') ? hash['thumb_720_w'] : SKIP
624
+ thumb_80 = hash.key?('thumb_80') ? hash['thumb_80'] : SKIP
625
+ thumb_800 = hash.key?('thumb_800') ? hash['thumb_800'] : SKIP
626
+ thumb_800_h = hash.key?('thumb_800_h') ? hash['thumb_800_h'] : SKIP
627
+ thumb_800_w = hash.key?('thumb_800_w') ? hash['thumb_800_w'] : SKIP
628
+ thumb_960 = hash.key?('thumb_960') ? hash['thumb_960'] : SKIP
629
+ thumb_960_h = hash.key?('thumb_960_h') ? hash['thumb_960_h'] : SKIP
630
+ thumb_960_w = hash.key?('thumb_960_w') ? hash['thumb_960_w'] : SKIP
631
+ thumb_tiny = hash.key?('thumb_tiny') ? hash['thumb_tiny'] : SKIP
632
+ timestamp = hash.key?('timestamp') ? hash['timestamp'] : SKIP
633
+ title = hash.key?('title') ? hash['title'] : SKIP
634
+ updated = hash.key?('updated') ? hash['updated'] : SKIP
635
+ url_private = hash.key?('url_private') ? hash['url_private'] : SKIP
636
+ url_private_download =
637
+ hash.key?('url_private_download') ? hash['url_private_download'] : SKIP
638
+ user = hash.key?('user') ? hash['user'] : SKIP
639
+ user_team = hash.key?('user_team') ? hash['user_team'] : SKIP
640
+ username = hash.key?('username') ? hash['username'] : SKIP
641
+
642
+ # Create a new hash for additional properties, removing known properties.
643
+ new_hash = hash.reject { |k, _| names.value?(k) }
644
+
645
+ additional_properties = APIHelper.get_additional_properties(
646
+ new_hash, proc { |value| value }
647
+ )
648
+
649
+ # Create object from extracted values.
650
+ FileObject.new(channels: channels,
651
+ comments_count: comments_count,
652
+ created: created,
653
+ date_delete: date_delete,
654
+ display_as_bot: display_as_bot,
655
+ editable: editable,
656
+ editor: editor,
657
+ external_id: external_id,
658
+ external_type: external_type,
659
+ external_url: external_url,
660
+ filetype: filetype,
661
+ groups: groups,
662
+ has_rich_preview: has_rich_preview,
663
+ id: id,
664
+ image_exif_rotation: image_exif_rotation,
665
+ ims: ims,
666
+ is_external: is_external,
667
+ is_public: is_public,
668
+ is_starred: is_starred,
669
+ is_tombstoned: is_tombstoned,
670
+ last_editor: last_editor,
671
+ mimetype: mimetype,
672
+ mode: mode,
673
+ name: name,
674
+ non_owner_editable: non_owner_editable,
675
+ num_stars: num_stars,
676
+ original_h: original_h,
677
+ original_w: original_w,
678
+ permalink: permalink,
679
+ permalink_public: permalink_public,
680
+ pinned_info: pinned_info,
681
+ pinned_to: pinned_to,
682
+ pretty_type: pretty_type,
683
+ preview: preview,
684
+ public_url_shared: public_url_shared,
685
+ reactions: reactions,
686
+ shares: shares,
687
+ size: size,
688
+ source_team: source_team,
689
+ state: state,
690
+ thumb_1024: thumb_1024,
691
+ thumb_1024_h: thumb_1024_h,
692
+ thumb_1024_w: thumb_1024_w,
693
+ thumb_160: thumb_160,
694
+ thumb_360: thumb_360,
695
+ thumb_360_h: thumb_360_h,
696
+ thumb_360_w: thumb_360_w,
697
+ thumb_480: thumb_480,
698
+ thumb_480_h: thumb_480_h,
699
+ thumb_480_w: thumb_480_w,
700
+ thumb_64: thumb_64,
701
+ thumb_720: thumb_720,
702
+ thumb_720_h: thumb_720_h,
703
+ thumb_720_w: thumb_720_w,
704
+ thumb_80: thumb_80,
705
+ thumb_800: thumb_800,
706
+ thumb_800_h: thumb_800_h,
707
+ thumb_800_w: thumb_800_w,
708
+ thumb_960: thumb_960,
709
+ thumb_960_h: thumb_960_h,
710
+ thumb_960_w: thumb_960_w,
711
+ thumb_tiny: thumb_tiny,
712
+ timestamp: timestamp,
713
+ title: title,
714
+ updated: updated,
715
+ url_private: url_private,
716
+ url_private_download: url_private_download,
717
+ user: user,
718
+ user_team: user_team,
719
+ username: username,
720
+ additional_properties: additional_properties)
721
+ end
722
+
723
+ # Provides a human-readable string representation of the object.
724
+ def to_s
725
+ class_name = self.class.name.split('::').last
726
+ "<#{class_name} channels: #{@channels}, comments_count: #{@comments_count}, created:"\
727
+ " #{@created}, date_delete: #{@date_delete}, display_as_bot: #{@display_as_bot}, editable:"\
728
+ " #{@editable}, editor: #{@editor}, external_id: #{@external_id}, external_type:"\
729
+ " #{@external_type}, external_url: #{@external_url}, filetype: #{@filetype}, groups:"\
730
+ " #{@groups}, has_rich_preview: #{@has_rich_preview}, id: #{@id}, image_exif_rotation:"\
731
+ " #{@image_exif_rotation}, ims: #{@ims}, is_external: #{@is_external}, is_public:"\
732
+ " #{@is_public}, is_starred: #{@is_starred}, is_tombstoned: #{@is_tombstoned}, last_editor:"\
733
+ " #{@last_editor}, mimetype: #{@mimetype}, mode: #{@mode}, name: #{@name},"\
734
+ " non_owner_editable: #{@non_owner_editable}, num_stars: #{@num_stars}, original_h:"\
735
+ " #{@original_h}, original_w: #{@original_w}, permalink: #{@permalink}, permalink_public:"\
736
+ " #{@permalink_public}, pinned_info: #{@pinned_info}, pinned_to: #{@pinned_to}, pretty_type:"\
737
+ " #{@pretty_type}, preview: #{@preview}, public_url_shared: #{@public_url_shared},"\
738
+ " reactions: #{@reactions}, shares: #{@shares}, size: #{@size}, source_team:"\
739
+ " #{@source_team}, state: #{@state}, thumb_1024: #{@thumb_1024}, thumb_1024_h:"\
740
+ " #{@thumb_1024_h}, thumb_1024_w: #{@thumb_1024_w}, thumb_160: #{@thumb_160}, thumb_360:"\
741
+ " #{@thumb_360}, thumb_360_h: #{@thumb_360_h}, thumb_360_w: #{@thumb_360_w}, thumb_480:"\
742
+ " #{@thumb_480}, thumb_480_h: #{@thumb_480_h}, thumb_480_w: #{@thumb_480_w}, thumb_64:"\
743
+ " #{@thumb_64}, thumb_720: #{@thumb_720}, thumb_720_h: #{@thumb_720_h}, thumb_720_w:"\
744
+ " #{@thumb_720_w}, thumb_80: #{@thumb_80}, thumb_800: #{@thumb_800}, thumb_800_h:"\
745
+ " #{@thumb_800_h}, thumb_800_w: #{@thumb_800_w}, thumb_960: #{@thumb_960}, thumb_960_h:"\
746
+ " #{@thumb_960_h}, thumb_960_w: #{@thumb_960_w}, thumb_tiny: #{@thumb_tiny}, timestamp:"\
747
+ " #{@timestamp}, title: #{@title}, updated: #{@updated}, url_private: #{@url_private},"\
748
+ " url_private_download: #{@url_private_download}, user: #{@user}, user_team: #{@user_team},"\
749
+ " username: #{@username}, additional_properties: #{@additional_properties}>"
750
+ end
751
+
752
+ # Provides a debugging-friendly string with detailed object information.
753
+ def inspect
754
+ class_name = self.class.name.split('::').last
755
+ "<#{class_name} channels: #{@channels.inspect}, comments_count: #{@comments_count.inspect},"\
756
+ " created: #{@created.inspect}, date_delete: #{@date_delete.inspect}, display_as_bot:"\
757
+ " #{@display_as_bot.inspect}, editable: #{@editable.inspect}, editor: #{@editor.inspect},"\
758
+ " external_id: #{@external_id.inspect}, external_type: #{@external_type.inspect},"\
759
+ " external_url: #{@external_url.inspect}, filetype: #{@filetype.inspect}, groups:"\
760
+ " #{@groups.inspect}, has_rich_preview: #{@has_rich_preview.inspect}, id: #{@id.inspect},"\
761
+ " image_exif_rotation: #{@image_exif_rotation.inspect}, ims: #{@ims.inspect}, is_external:"\
762
+ " #{@is_external.inspect}, is_public: #{@is_public.inspect}, is_starred:"\
763
+ " #{@is_starred.inspect}, is_tombstoned: #{@is_tombstoned.inspect}, last_editor:"\
764
+ " #{@last_editor.inspect}, mimetype: #{@mimetype.inspect}, mode: #{@mode.inspect}, name:"\
765
+ " #{@name.inspect}, non_owner_editable: #{@non_owner_editable.inspect}, num_stars:"\
766
+ " #{@num_stars.inspect}, original_h: #{@original_h.inspect}, original_w:"\
767
+ " #{@original_w.inspect}, permalink: #{@permalink.inspect}, permalink_public:"\
768
+ " #{@permalink_public.inspect}, pinned_info: #{@pinned_info.inspect}, pinned_to:"\
769
+ " #{@pinned_to.inspect}, pretty_type: #{@pretty_type.inspect}, preview: #{@preview.inspect},"\
770
+ " public_url_shared: #{@public_url_shared.inspect}, reactions: #{@reactions.inspect},"\
771
+ " shares: #{@shares.inspect}, size: #{@size.inspect}, source_team: #{@source_team.inspect},"\
772
+ " state: #{@state.inspect}, thumb_1024: #{@thumb_1024.inspect}, thumb_1024_h:"\
773
+ " #{@thumb_1024_h.inspect}, thumb_1024_w: #{@thumb_1024_w.inspect}, thumb_160:"\
774
+ " #{@thumb_160.inspect}, thumb_360: #{@thumb_360.inspect}, thumb_360_h:"\
775
+ " #{@thumb_360_h.inspect}, thumb_360_w: #{@thumb_360_w.inspect}, thumb_480:"\
776
+ " #{@thumb_480.inspect}, thumb_480_h: #{@thumb_480_h.inspect}, thumb_480_w:"\
777
+ " #{@thumb_480_w.inspect}, thumb_64: #{@thumb_64.inspect}, thumb_720: #{@thumb_720.inspect},"\
778
+ " thumb_720_h: #{@thumb_720_h.inspect}, thumb_720_w: #{@thumb_720_w.inspect}, thumb_80:"\
779
+ " #{@thumb_80.inspect}, thumb_800: #{@thumb_800.inspect}, thumb_800_h:"\
780
+ " #{@thumb_800_h.inspect}, thumb_800_w: #{@thumb_800_w.inspect}, thumb_960:"\
781
+ " #{@thumb_960.inspect}, thumb_960_h: #{@thumb_960_h.inspect}, thumb_960_w:"\
782
+ " #{@thumb_960_w.inspect}, thumb_tiny: #{@thumb_tiny.inspect}, timestamp:"\
783
+ " #{@timestamp.inspect}, title: #{@title.inspect}, updated: #{@updated.inspect},"\
784
+ " url_private: #{@url_private.inspect}, url_private_download:"\
785
+ " #{@url_private_download.inspect}, user: #{@user.inspect}, user_team:"\
786
+ " #{@user_team.inspect}, username: #{@username.inspect}, additional_properties:"\
787
+ " #{@additional_properties}>"
788
+ end
789
+ end
790
+ end