sunshine-conversations-client 12.3.1 → 12.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (323) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG_RB.md +12 -0
  3. data/README.md +8 -5
  4. data/docs/Android.md +7 -1
  5. data/docs/AndroidAllOf.md +7 -1
  6. data/docs/AndroidUpdate.md +6 -0
  7. data/docs/AndroidUpdateAllOf.md +7 -1
  8. data/docs/DeviceResponse.md +17 -0
  9. data/docs/DevicesApi.md +132 -0
  10. data/docs/IntegrationUpdate.md +6 -0
  11. data/lib/sunshine-conversations-client/api/activities_api.rb +1 -1
  12. data/lib/sunshine-conversations-client/api/app_keys_api.rb +1 -1
  13. data/lib/sunshine-conversations-client/api/apps_api.rb +1 -1
  14. data/lib/sunshine-conversations-client/api/attachments_api.rb +1 -1
  15. data/lib/sunshine-conversations-client/api/clients_api.rb +1 -1
  16. data/lib/sunshine-conversations-client/api/conversations_api.rb +1 -1
  17. data/lib/sunshine-conversations-client/api/custom_integration_api_keys_api.rb +1 -1
  18. data/lib/sunshine-conversations-client/api/devices_api.rb +161 -0
  19. data/lib/sunshine-conversations-client/api/integrations_api.rb +1 -1
  20. data/lib/sunshine-conversations-client/api/messages_api.rb +1 -1
  21. data/lib/sunshine-conversations-client/api/o_auth_endpoints_api.rb +1 -1
  22. data/lib/sunshine-conversations-client/api/participants_api.rb +1 -1
  23. data/lib/sunshine-conversations-client/api/switchboard_actions_api.rb +1 -1
  24. data/lib/sunshine-conversations-client/api/switchboard_integrations_api.rb +1 -1
  25. data/lib/sunshine-conversations-client/api/switchboards_api.rb +1 -1
  26. data/lib/sunshine-conversations-client/api/users_api.rb +1 -1
  27. data/lib/sunshine-conversations-client/api/webhooks_api.rb +1 -1
  28. data/lib/sunshine-conversations-client/api_client.rb +1 -1
  29. data/lib/sunshine-conversations-client/api_error.rb +1 -1
  30. data/lib/sunshine-conversations-client/configuration.rb +1 -1
  31. data/lib/sunshine-conversations-client/models/accept_control_body.rb +1 -1
  32. data/lib/sunshine-conversations-client/models/action.rb +1 -1
  33. data/lib/sunshine-conversations-client/models/action_subset.rb +1 -1
  34. data/lib/sunshine-conversations-client/models/activity.rb +1 -1
  35. data/lib/sunshine-conversations-client/models/activity_all_of.rb +1 -1
  36. data/lib/sunshine-conversations-client/models/activity_post.rb +1 -1
  37. data/lib/sunshine-conversations-client/models/activity_post_all_of.rb +1 -1
  38. data/lib/sunshine-conversations-client/models/activity_types.rb +1 -1
  39. data/lib/sunshine-conversations-client/models/android.rb +81 -3
  40. data/lib/sunshine-conversations-client/models/android_all_of.rb +81 -3
  41. data/lib/sunshine-conversations-client/models/android_update.rb +80 -2
  42. data/lib/sunshine-conversations-client/models/android_update_all_of.rb +80 -2
  43. data/lib/sunshine-conversations-client/models/api_key.rb +1 -1
  44. data/lib/sunshine-conversations-client/models/app.rb +1 -1
  45. data/lib/sunshine-conversations-client/models/app_create_body.rb +1 -1
  46. data/lib/sunshine-conversations-client/models/app_key.rb +1 -1
  47. data/lib/sunshine-conversations-client/models/app_key_create_body.rb +1 -1
  48. data/lib/sunshine-conversations-client/models/app_key_list_response.rb +1 -1
  49. data/lib/sunshine-conversations-client/models/app_key_response.rb +1 -1
  50. data/lib/sunshine-conversations-client/models/app_list_filter.rb +1 -1
  51. data/lib/sunshine-conversations-client/models/app_list_response.rb +1 -1
  52. data/lib/sunshine-conversations-client/models/app_response.rb +1 -1
  53. data/lib/sunshine-conversations-client/models/app_settings.rb +1 -1
  54. data/lib/sunshine-conversations-client/models/app_sub_schema.rb +1 -1
  55. data/lib/sunshine-conversations-client/models/app_update_body.rb +1 -1
  56. data/lib/sunshine-conversations-client/models/apple.rb +1 -1
  57. data/lib/sunshine-conversations-client/models/apple_all_of.rb +1 -1
  58. data/lib/sunshine-conversations-client/models/apple_update.rb +1 -1
  59. data/lib/sunshine-conversations-client/models/attachment_delete_body.rb +1 -1
  60. data/lib/sunshine-conversations-client/models/attachment_media_token_body.rb +1 -1
  61. data/lib/sunshine-conversations-client/models/attachment_media_token_response.rb +1 -1
  62. data/lib/sunshine-conversations-client/models/attachment_response.rb +1 -1
  63. data/lib/sunshine-conversations-client/models/attachment_schema.rb +1 -1
  64. data/lib/sunshine-conversations-client/models/attachment_upload_body.rb +1 -1
  65. data/lib/sunshine-conversations-client/models/author.rb +1 -1
  66. data/lib/sunshine-conversations-client/models/author_webhook.rb +1 -1
  67. data/lib/sunshine-conversations-client/models/buy.rb +1 -1
  68. data/lib/sunshine-conversations-client/models/campaign.rb +1 -1
  69. data/lib/sunshine-conversations-client/models/carousel_message.rb +1 -1
  70. data/lib/sunshine-conversations-client/models/carousel_message_display_settings.rb +1 -1
  71. data/lib/sunshine-conversations-client/models/client.rb +1 -1
  72. data/lib/sunshine-conversations-client/models/client_add_event.rb +1 -1
  73. data/lib/sunshine-conversations-client/models/client_add_event_all_of.rb +1 -1
  74. data/lib/sunshine-conversations-client/models/client_add_event_all_of_payload.rb +1 -1
  75. data/lib/sunshine-conversations-client/models/client_association.rb +1 -1
  76. data/lib/sunshine-conversations-client/models/client_create.rb +1 -1
  77. data/lib/sunshine-conversations-client/models/client_list_response.rb +1 -1
  78. data/lib/sunshine-conversations-client/models/client_remove_event.rb +1 -1
  79. data/lib/sunshine-conversations-client/models/client_remove_event_all_of.rb +1 -1
  80. data/lib/sunshine-conversations-client/models/client_remove_event_all_of_payload.rb +1 -1
  81. data/lib/sunshine-conversations-client/models/client_response.rb +1 -1
  82. data/lib/sunshine-conversations-client/models/client_type.rb +1 -1
  83. data/lib/sunshine-conversations-client/models/client_update_event.rb +1 -1
  84. data/lib/sunshine-conversations-client/models/client_update_event_all_of.rb +1 -1
  85. data/lib/sunshine-conversations-client/models/client_update_event_all_of_payload.rb +1 -1
  86. data/lib/sunshine-conversations-client/models/confirmation.rb +1 -1
  87. data/lib/sunshine-conversations-client/models/content.rb +1 -1
  88. data/lib/sunshine-conversations-client/models/conversation.rb +1 -1
  89. data/lib/sunshine-conversations-client/models/conversation_all_of.rb +1 -1
  90. data/lib/sunshine-conversations-client/models/conversation_create_body.rb +1 -1
  91. data/lib/sunshine-conversations-client/models/conversation_create_event.rb +1 -1
  92. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of.rb +1 -1
  93. data/lib/sunshine-conversations-client/models/conversation_create_event_all_of_payload.rb +1 -1
  94. data/lib/sunshine-conversations-client/models/conversation_join_event.rb +1 -1
  95. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of.rb +1 -1
  96. data/lib/sunshine-conversations-client/models/conversation_join_event_all_of_payload.rb +1 -1
  97. data/lib/sunshine-conversations-client/models/conversation_leave_event.rb +1 -1
  98. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of.rb +1 -1
  99. data/lib/sunshine-conversations-client/models/conversation_leave_event_all_of_payload.rb +1 -1
  100. data/lib/sunshine-conversations-client/models/conversation_list_filter.rb +1 -1
  101. data/lib/sunshine-conversations-client/models/conversation_list_response.rb +1 -1
  102. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event.rb +1 -1
  103. data/lib/sunshine-conversations-client/models/conversation_message_delivery_channel_event_all_of.rb +1 -1
  104. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event.rb +1 -1
  105. data/lib/sunshine-conversations-client/models/conversation_message_delivery_failure_event_all_of.rb +1 -1
  106. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload.rb +1 -1
  107. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_destination.rb +1 -1
  108. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_external_messages.rb +1 -1
  109. data/lib/sunshine-conversations-client/models/conversation_message_delivery_payload_message.rb +1 -1
  110. data/lib/sunshine-conversations-client/models/conversation_message_delivery_user_event.rb +1 -1
  111. data/lib/sunshine-conversations-client/models/conversation_message_event.rb +1 -1
  112. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of.rb +1 -1
  113. data/lib/sunshine-conversations-client/models/conversation_message_event_all_of_payload.rb +1 -1
  114. data/lib/sunshine-conversations-client/models/conversation_postback_event.rb +1 -1
  115. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of.rb +1 -1
  116. data/lib/sunshine-conversations-client/models/conversation_postback_event_all_of_payload.rb +1 -1
  117. data/lib/sunshine-conversations-client/models/conversation_read_event.rb +1 -1
  118. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of.rb +1 -1
  119. data/lib/sunshine-conversations-client/models/conversation_read_event_all_of_payload.rb +1 -1
  120. data/lib/sunshine-conversations-client/models/conversation_referral_event.rb +1 -1
  121. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of.rb +1 -1
  122. data/lib/sunshine-conversations-client/models/conversation_referral_event_all_of_payload.rb +1 -1
  123. data/lib/sunshine-conversations-client/models/conversation_remove_event.rb +1 -1
  124. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of.rb +1 -1
  125. data/lib/sunshine-conversations-client/models/conversation_remove_event_all_of_payload.rb +1 -1
  126. data/lib/sunshine-conversations-client/models/conversation_response.rb +1 -1
  127. data/lib/sunshine-conversations-client/models/conversation_truncated.rb +1 -1
  128. data/lib/sunshine-conversations-client/models/conversation_type.rb +1 -1
  129. data/lib/sunshine-conversations-client/models/conversation_typing_event.rb +1 -1
  130. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of.rb +1 -1
  131. data/lib/sunshine-conversations-client/models/conversation_typing_event_all_of_payload.rb +1 -1
  132. data/lib/sunshine-conversations-client/models/conversation_update_body.rb +1 -1
  133. data/lib/sunshine-conversations-client/models/custom.rb +1 -1
  134. data/lib/sunshine-conversations-client/models/custom_all_of.rb +1 -1
  135. data/lib/sunshine-conversations-client/models/custom_update.rb +1 -1
  136. data/lib/sunshine-conversations-client/models/destination.rb +1 -1
  137. data/lib/sunshine-conversations-client/models/device.rb +1 -1
  138. data/lib/sunshine-conversations-client/models/device_response.rb +204 -0
  139. data/lib/sunshine-conversations-client/models/event_sub_schema.rb +1 -1
  140. data/lib/sunshine-conversations-client/models/extra_channel_options.rb +1 -1
  141. data/lib/sunshine-conversations-client/models/extra_channel_options_messenger.rb +1 -1
  142. data/lib/sunshine-conversations-client/models/field.rb +1 -1
  143. data/lib/sunshine-conversations-client/models/file_message.rb +1 -1
  144. data/lib/sunshine-conversations-client/models/form_message.rb +1 -1
  145. data/lib/sunshine-conversations-client/models/form_message_field.rb +1 -1
  146. data/lib/sunshine-conversations-client/models/form_message_field_all_of.rb +1 -1
  147. data/lib/sunshine-conversations-client/models/form_response_message.rb +1 -1
  148. data/lib/sunshine-conversations-client/models/form_response_message_field.rb +1 -1
  149. data/lib/sunshine-conversations-client/models/form_response_message_field_all_of.rb +1 -1
  150. data/lib/sunshine-conversations-client/models/identity.rb +1 -1
  151. data/lib/sunshine-conversations-client/models/image_message.rb +1 -1
  152. data/lib/sunshine-conversations-client/models/inline_object.rb +1 -1
  153. data/lib/sunshine-conversations-client/models/instagram.rb +1 -1
  154. data/lib/sunshine-conversations-client/models/instagram_all_of.rb +1 -1
  155. data/lib/sunshine-conversations-client/models/instagram_update.rb +1 -1
  156. data/lib/sunshine-conversations-client/models/instagram_update_all_of.rb +1 -1
  157. data/lib/sunshine-conversations-client/models/integration.rb +1 -1
  158. data/lib/sunshine-conversations-client/models/integration_api_key.rb +1 -1
  159. data/lib/sunshine-conversations-client/models/integration_api_key_list_response.rb +1 -1
  160. data/lib/sunshine-conversations-client/models/integration_api_key_response.rb +1 -1
  161. data/lib/sunshine-conversations-client/models/integration_id.rb +1 -1
  162. data/lib/sunshine-conversations-client/models/integration_list_filter.rb +1 -1
  163. data/lib/sunshine-conversations-client/models/integration_list_response.rb +1 -1
  164. data/lib/sunshine-conversations-client/models/integration_response.rb +1 -1
  165. data/lib/sunshine-conversations-client/models/integration_type.rb +1 -1
  166. data/lib/sunshine-conversations-client/models/integration_update.rb +80 -2
  167. data/lib/sunshine-conversations-client/models/integration_update_base.rb +1 -1
  168. data/lib/sunshine-conversations-client/models/ios.rb +1 -1
  169. data/lib/sunshine-conversations-client/models/ios_all_of.rb +1 -1
  170. data/lib/sunshine-conversations-client/models/ios_update.rb +1 -1
  171. data/lib/sunshine-conversations-client/models/ios_update_all_of.rb +1 -1
  172. data/lib/sunshine-conversations-client/models/item.rb +1 -1
  173. data/lib/sunshine-conversations-client/models/line.rb +1 -1
  174. data/lib/sunshine-conversations-client/models/line_all_of.rb +1 -1
  175. data/lib/sunshine-conversations-client/models/line_update.rb +1 -1
  176. data/lib/sunshine-conversations-client/models/link.rb +1 -1
  177. data/lib/sunshine-conversations-client/models/links.rb +1 -1
  178. data/lib/sunshine-conversations-client/models/list_message.rb +1 -1
  179. data/lib/sunshine-conversations-client/models/location_message.rb +1 -1
  180. data/lib/sunshine-conversations-client/models/location_message_coordinates.rb +1 -1
  181. data/lib/sunshine-conversations-client/models/location_message_location.rb +1 -1
  182. data/lib/sunshine-conversations-client/models/location_request.rb +1 -1
  183. data/lib/sunshine-conversations-client/models/mailgun.rb +1 -1
  184. data/lib/sunshine-conversations-client/models/mailgun_all_of.rb +1 -1
  185. data/lib/sunshine-conversations-client/models/mailgun_update.rb +1 -1
  186. data/lib/sunshine-conversations-client/models/mailgun_update_all_of.rb +1 -1
  187. data/lib/sunshine-conversations-client/models/match_criteria.rb +1 -1
  188. data/lib/sunshine-conversations-client/models/match_criteria_base.rb +1 -1
  189. data/lib/sunshine-conversations-client/models/match_criteria_mailgun.rb +1 -1
  190. data/lib/sunshine-conversations-client/models/match_criteria_mailgun_all_of.rb +1 -1
  191. data/lib/sunshine-conversations-client/models/match_criteria_messagebird.rb +1 -1
  192. data/lib/sunshine-conversations-client/models/match_criteria_messagebird_all_of.rb +1 -1
  193. data/lib/sunshine-conversations-client/models/match_criteria_twilio.rb +1 -1
  194. data/lib/sunshine-conversations-client/models/match_criteria_twilio_all_of.rb +1 -1
  195. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp.rb +1 -1
  196. data/lib/sunshine-conversations-client/models/match_criteria_whatsapp_all_of.rb +1 -1
  197. data/lib/sunshine-conversations-client/models/message.rb +1 -1
  198. data/lib/sunshine-conversations-client/models/message_bird_update.rb +1 -1
  199. data/lib/sunshine-conversations-client/models/message_list_response.rb +1 -1
  200. data/lib/sunshine-conversations-client/models/message_override.rb +1 -1
  201. data/lib/sunshine-conversations-client/models/message_override_apple.rb +1 -1
  202. data/lib/sunshine-conversations-client/models/message_override_line.rb +1 -1
  203. data/lib/sunshine-conversations-client/models/message_override_messenger.rb +1 -1
  204. data/lib/sunshine-conversations-client/models/message_override_payload.rb +1 -1
  205. data/lib/sunshine-conversations-client/models/message_override_whatsapp.rb +1 -1
  206. data/lib/sunshine-conversations-client/models/message_post.rb +1 -1
  207. data/lib/sunshine-conversations-client/models/message_post_response.rb +1 -1
  208. data/lib/sunshine-conversations-client/models/message_webhook.rb +1 -1
  209. data/lib/sunshine-conversations-client/models/messagebird.rb +1 -1
  210. data/lib/sunshine-conversations-client/models/messagebird_all_of.rb +1 -1
  211. data/lib/sunshine-conversations-client/models/messenger.rb +1 -1
  212. data/lib/sunshine-conversations-client/models/messenger_all_of.rb +1 -1
  213. data/lib/sunshine-conversations-client/models/messenger_update.rb +1 -1
  214. data/lib/sunshine-conversations-client/models/meta.rb +1 -1
  215. data/lib/sunshine-conversations-client/models/offer_control_body.rb +1 -1
  216. data/lib/sunshine-conversations-client/models/page.rb +1 -1
  217. data/lib/sunshine-conversations-client/models/participant.rb +1 -1
  218. data/lib/sunshine-conversations-client/models/participant_join_body.rb +1 -1
  219. data/lib/sunshine-conversations-client/models/participant_leave_body.rb +1 -1
  220. data/lib/sunshine-conversations-client/models/participant_leave_body_participant_id.rb +1 -1
  221. data/lib/sunshine-conversations-client/models/participant_leave_body_user_external_id.rb +1 -1
  222. data/lib/sunshine-conversations-client/models/participant_leave_body_user_id.rb +1 -1
  223. data/lib/sunshine-conversations-client/models/participant_list_response.rb +1 -1
  224. data/lib/sunshine-conversations-client/models/participant_response.rb +1 -1
  225. data/lib/sunshine-conversations-client/models/participant_sub_schema.rb +1 -1
  226. data/lib/sunshine-conversations-client/models/participant_with_user_external_id.rb +1 -1
  227. data/lib/sunshine-conversations-client/models/participant_with_user_id.rb +1 -1
  228. data/lib/sunshine-conversations-client/models/pass_control_body.rb +1 -1
  229. data/lib/sunshine-conversations-client/models/postback.rb +1 -1
  230. data/lib/sunshine-conversations-client/models/postback_webhook.rb +1 -1
  231. data/lib/sunshine-conversations-client/models/prechat_capture.rb +1 -1
  232. data/lib/sunshine-conversations-client/models/profile.rb +1 -1
  233. data/lib/sunshine-conversations-client/models/quoted_message.rb +1 -1
  234. data/lib/sunshine-conversations-client/models/quoted_message_external_message_id.rb +1 -1
  235. data/lib/sunshine-conversations-client/models/quoted_message_message.rb +1 -1
  236. data/lib/sunshine-conversations-client/models/referral.rb +1 -1
  237. data/lib/sunshine-conversations-client/models/referral_details.rb +1 -1
  238. data/lib/sunshine-conversations-client/models/reply.rb +1 -1
  239. data/lib/sunshine-conversations-client/models/source.rb +1 -1
  240. data/lib/sunshine-conversations-client/models/source_webhook.rb +1 -1
  241. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook.rb +1 -1
  242. data/lib/sunshine-conversations-client/models/source_with_campaign_webhook_all_of.rb +1 -1
  243. data/lib/sunshine-conversations-client/models/status.rb +1 -1
  244. data/lib/sunshine-conversations-client/models/switchboard.rb +1 -1
  245. data/lib/sunshine-conversations-client/models/switchboard_accept_control.rb +1 -1
  246. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of.rb +1 -1
  247. data/lib/sunshine-conversations-client/models/switchboard_accept_control_all_of_payload.rb +1 -1
  248. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure.rb +1 -1
  249. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of.rb +1 -1
  250. data/lib/sunshine-conversations-client/models/switchboard_accept_control_failure_all_of_payload.rb +1 -1
  251. data/lib/sunshine-conversations-client/models/switchboard_integration.rb +1 -1
  252. data/lib/sunshine-conversations-client/models/switchboard_integration_create_body.rb +1 -1
  253. data/lib/sunshine-conversations-client/models/switchboard_integration_list_response.rb +1 -1
  254. data/lib/sunshine-conversations-client/models/switchboard_integration_response.rb +1 -1
  255. data/lib/sunshine-conversations-client/models/switchboard_integration_update_body.rb +1 -1
  256. data/lib/sunshine-conversations-client/models/switchboard_integration_webhook.rb +1 -1
  257. data/lib/sunshine-conversations-client/models/switchboard_list_response.rb +1 -1
  258. data/lib/sunshine-conversations-client/models/switchboard_offer_control.rb +1 -1
  259. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of.rb +1 -1
  260. data/lib/sunshine-conversations-client/models/switchboard_offer_control_all_of_payload.rb +1 -1
  261. data/lib/sunshine-conversations-client/models/switchboard_offer_control_failure.rb +1 -1
  262. data/lib/sunshine-conversations-client/models/switchboard_pass_control.rb +1 -1
  263. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of.rb +1 -1
  264. data/lib/sunshine-conversations-client/models/switchboard_pass_control_all_of_payload.rb +1 -1
  265. data/lib/sunshine-conversations-client/models/switchboard_pass_control_failure.rb +1 -1
  266. data/lib/sunshine-conversations-client/models/switchboard_response.rb +1 -1
  267. data/lib/sunshine-conversations-client/models/switchboard_update_body.rb +1 -1
  268. data/lib/sunshine-conversations-client/models/target.rb +1 -1
  269. data/lib/sunshine-conversations-client/models/telegram.rb +1 -1
  270. data/lib/sunshine-conversations-client/models/telegram_all_of.rb +1 -1
  271. data/lib/sunshine-conversations-client/models/telegram_update.rb +1 -1
  272. data/lib/sunshine-conversations-client/models/template_message.rb +1 -1
  273. data/lib/sunshine-conversations-client/models/text_message.rb +1 -1
  274. data/lib/sunshine-conversations-client/models/twilio.rb +1 -1
  275. data/lib/sunshine-conversations-client/models/twilio_all_of.rb +1 -1
  276. data/lib/sunshine-conversations-client/models/twilio_update.rb +1 -1
  277. data/lib/sunshine-conversations-client/models/twitter.rb +1 -1
  278. data/lib/sunshine-conversations-client/models/twitter_all_of.rb +1 -1
  279. data/lib/sunshine-conversations-client/models/twitter_update.rb +1 -1
  280. data/lib/sunshine-conversations-client/models/unity.rb +1 -1
  281. data/lib/sunshine-conversations-client/models/unity_all_of.rb +1 -1
  282. data/lib/sunshine-conversations-client/models/unity_update.rb +1 -1
  283. data/lib/sunshine-conversations-client/models/unity_update_all_of.rb +1 -1
  284. data/lib/sunshine-conversations-client/models/user.rb +1 -1
  285. data/lib/sunshine-conversations-client/models/user_all_of.rb +1 -1
  286. data/lib/sunshine-conversations-client/models/user_create_body.rb +1 -1
  287. data/lib/sunshine-conversations-client/models/user_merge_event.rb +1 -1
  288. data/lib/sunshine-conversations-client/models/user_merge_event_all_of.rb +1 -1
  289. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload.rb +1 -1
  290. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_clients.rb +1 -1
  291. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_conversations.rb +1 -1
  292. data/lib/sunshine-conversations-client/models/user_merge_event_all_of_payload_merged_users.rb +1 -1
  293. data/lib/sunshine-conversations-client/models/user_response.rb +1 -1
  294. data/lib/sunshine-conversations-client/models/user_truncated.rb +1 -1
  295. data/lib/sunshine-conversations-client/models/user_update_body.rb +1 -1
  296. data/lib/sunshine-conversations-client/models/user_update_event.rb +1 -1
  297. data/lib/sunshine-conversations-client/models/user_update_event_all_of.rb +1 -1
  298. data/lib/sunshine-conversations-client/models/user_update_event_all_of_payload.rb +1 -1
  299. data/lib/sunshine-conversations-client/models/viber.rb +1 -1
  300. data/lib/sunshine-conversations-client/models/viber_all_of.rb +1 -1
  301. data/lib/sunshine-conversations-client/models/viber_update.rb +1 -1
  302. data/lib/sunshine-conversations-client/models/web.rb +1 -1
  303. data/lib/sunshine-conversations-client/models/web_all_of.rb +1 -1
  304. data/lib/sunshine-conversations-client/models/web_update.rb +1 -1
  305. data/lib/sunshine-conversations-client/models/web_update_all_of.rb +1 -1
  306. data/lib/sunshine-conversations-client/models/webhook.rb +1 -1
  307. data/lib/sunshine-conversations-client/models/webhook_body.rb +1 -1
  308. data/lib/sunshine-conversations-client/models/webhook_create_body.rb +1 -1
  309. data/lib/sunshine-conversations-client/models/webhook_list_response.rb +1 -1
  310. data/lib/sunshine-conversations-client/models/webhook_response.rb +1 -1
  311. data/lib/sunshine-conversations-client/models/webhook_sub_schema.rb +1 -1
  312. data/lib/sunshine-conversations-client/models/webview.rb +1 -1
  313. data/lib/sunshine-conversations-client/models/whats_app_update.rb +1 -1
  314. data/lib/sunshine-conversations-client/models/whats_app_update_all_of.rb +1 -1
  315. data/lib/sunshine-conversations-client/models/whatsapp.rb +1 -1
  316. data/lib/sunshine-conversations-client/models/whatsapp_all_of.rb +1 -1
  317. data/lib/sunshine-conversations-client/version.rb +2 -2
  318. data/lib/sunshine-conversations-client.rb +3 -1
  319. data/spec/api_client_spec.rb +1 -1
  320. data/spec/configuration_spec.rb +1 -1
  321. data/spec/spec_helper.rb +1 -1
  322. data/sunshine-conversations-client.gemspec +1 -1
  323. metadata +6 -2
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -11,9 +11,18 @@ require 'date'
11
11
 
12
12
  module SunshineConversationsClient
13
13
  class Android < Integration
14
- # To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/).
14
+ # <aside class=\"notice\">Firebase Cloud Messaging has deprecated its legacy APIs for HTTP and XMPP. Legacy credentials <code>serverKey</code> and <code>senderId</code> will stop working as of June 2024 and must be replaced with OAuth 2.0 access token based credentials.</aside> To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Generate a private key from the Service accounts tab in the settings. Copy the `project_id`, `client_email` and `private_key` from the generated JSON file and call the create integrations endpoint with this data.
15
15
  attr_accessor :type
16
16
 
17
+ # Your project ID from your generated private key file.
18
+ attr_accessor :project_id
19
+
20
+ # Your client email from your generated private key file.
21
+ attr_accessor :client_email
22
+
23
+ # Your private key from your generated private key file.
24
+ attr_accessor :private_key
25
+
17
26
  # Your server key from the fcm console.
18
27
  attr_accessor :server_key
19
28
 
@@ -30,6 +39,9 @@ module SunshineConversationsClient
30
39
  def self.attribute_map
31
40
  {
32
41
  :'type' => :'type',
42
+ :'project_id' => :'projectId',
43
+ :'client_email' => :'clientEmail',
44
+ :'private_key' => :'privateKey',
33
45
  :'server_key' => :'serverKey',
34
46
  :'sender_id' => :'senderId',
35
47
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
@@ -41,6 +53,9 @@ module SunshineConversationsClient
41
53
  def self.openapi_types
42
54
  {
43
55
  :'type' => :'String',
56
+ :'project_id' => :'String',
57
+ :'client_email' => :'String',
58
+ :'private_key' => :'String',
44
59
  :'server_key' => :'String',
45
60
  :'sender_id' => :'String',
46
61
  :'can_user_create_more_conversations' => :'Boolean',
@@ -51,6 +66,9 @@ module SunshineConversationsClient
51
66
  # List of attributes with nullable: true
52
67
  def self.openapi_nullable
53
68
  Set.new([
69
+ :'project_id',
70
+ :'client_email',
71
+ :'private_key',
54
72
  :'server_key',
55
73
  :'sender_id',
56
74
  ])
@@ -88,6 +106,18 @@ module SunshineConversationsClient
88
106
  self.type = 'android'
89
107
  end
90
108
 
109
+ if attributes.key?(:'project_id')
110
+ self.project_id = attributes[:'project_id']
111
+ end
112
+
113
+ if attributes.key?(:'client_email')
114
+ self.client_email = attributes[:'client_email']
115
+ end
116
+
117
+ if attributes.key?(:'private_key')
118
+ self.private_key = attributes[:'private_key']
119
+ end
120
+
91
121
  if attributes.key?(:'server_key')
92
122
  self.server_key = attributes[:'server_key']
93
123
  end
@@ -109,6 +139,18 @@ module SunshineConversationsClient
109
139
  # @return Array for valid properties with the reasons
110
140
  def list_invalid_properties
111
141
  invalid_properties = super
142
+ if !@project_id.nil? && @project_id.to_s.length < 1
143
+ invalid_properties.push('invalid value for "project_id", the character length must be great than or equal to 1.')
144
+ end
145
+
146
+ if !@client_email.nil? && @client_email.to_s.length < 1
147
+ invalid_properties.push('invalid value for "client_email", the character length must be great than or equal to 1.')
148
+ end
149
+
150
+ if !@private_key.nil? && @private_key.to_s.length < 1
151
+ invalid_properties.push('invalid value for "private_key", the character length must be great than or equal to 1.')
152
+ end
153
+
112
154
  if !@server_key.nil? && @server_key.to_s.length < 1
113
155
  invalid_properties.push('invalid value for "server_key", the character length must be great than or equal to 1.')
114
156
  end
@@ -123,11 +165,44 @@ module SunshineConversationsClient
123
165
  # Check to see if the all the properties in the model are valid
124
166
  # @return true if the model is valid
125
167
  def valid?
168
+ return false if !@project_id.nil? && @project_id.to_s.length < 1
169
+ return false if !@client_email.nil? && @client_email.to_s.length < 1
170
+ return false if !@private_key.nil? && @private_key.to_s.length < 1
126
171
  return false if !@server_key.nil? && @server_key.to_s.length < 1
127
172
  return false if !@sender_id.nil? && @sender_id.to_s.length < 1
128
173
  true && super
129
174
  end
130
175
 
176
+ # Custom attribute writer method with validation
177
+ # @param [Object] project_id Value to be assigned
178
+ def project_id=(project_id)
179
+ if !project_id.nil? && project_id.to_s.length < 1
180
+ fail ArgumentError, 'invalid value for "project_id", the character length must be great than or equal to 1.'
181
+ end
182
+
183
+ @project_id = project_id
184
+ end
185
+
186
+ # Custom attribute writer method with validation
187
+ # @param [Object] client_email Value to be assigned
188
+ def client_email=(client_email)
189
+ if !client_email.nil? && client_email.to_s.length < 1
190
+ fail ArgumentError, 'invalid value for "client_email", the character length must be great than or equal to 1.'
191
+ end
192
+
193
+ @client_email = client_email
194
+ end
195
+
196
+ # Custom attribute writer method with validation
197
+ # @param [Object] private_key Value to be assigned
198
+ def private_key=(private_key)
199
+ if !private_key.nil? && private_key.to_s.length < 1
200
+ fail ArgumentError, 'invalid value for "private_key", the character length must be great than or equal to 1.'
201
+ end
202
+
203
+ @private_key = private_key
204
+ end
205
+
131
206
  # Custom attribute writer method with validation
132
207
  # @param [Object] server_key Value to be assigned
133
208
  def server_key=(server_key)
@@ -154,6 +229,9 @@ module SunshineConversationsClient
154
229
  return true if self.equal?(o)
155
230
  self.class == o.class &&
156
231
  type == o.type &&
232
+ project_id == o.project_id &&
233
+ client_email == o.client_email &&
234
+ private_key == o.private_key &&
157
235
  server_key == o.server_key &&
158
236
  sender_id == o.sender_id &&
159
237
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
@@ -169,7 +247,7 @@ module SunshineConversationsClient
169
247
  # Calculates hash code according to all attributes.
170
248
  # @return [Integer] Hash code
171
249
  def hash
172
- [type, server_key, sender_id, can_user_create_more_conversations, attachments_enabled].hash
250
+ [type, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations, attachments_enabled].hash
173
251
  end
174
252
 
175
253
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -11,9 +11,18 @@ require 'date'
11
11
 
12
12
  module SunshineConversationsClient
13
13
  class AndroidAllOf
14
- # To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Copy the `serverKey` and `senderId` from the Cloud Messaging tab in the settings of your project and call the create integrations endpoint with this data. If you would like to continue using your legacy GCM `serverKey` you can also obtain it from the [Google Developer Console](https://console.developers.google.com/).
14
+ # <aside class=\"notice\">Firebase Cloud Messaging has deprecated its legacy APIs for HTTP and XMPP. Legacy credentials <code>serverKey</code> and <code>senderId</code> will stop working as of June 2024 and must be replaced with OAuth 2.0 access token based credentials.</aside> To configure an android integration, first visit the [Firebase Console](https://console.firebase.google.com/). Generate a private key from the Service accounts tab in the settings. Copy the `project_id`, `client_email` and `private_key` from the generated JSON file and call the create integrations endpoint with this data.
15
15
  attr_accessor :type
16
16
 
17
+ # Your project ID from your generated private key file.
18
+ attr_accessor :project_id
19
+
20
+ # Your client email from your generated private key file.
21
+ attr_accessor :client_email
22
+
23
+ # Your private key from your generated private key file.
24
+ attr_accessor :private_key
25
+
17
26
  # Your server key from the fcm console.
18
27
  attr_accessor :server_key
19
28
 
@@ -30,6 +39,9 @@ module SunshineConversationsClient
30
39
  def self.attribute_map
31
40
  {
32
41
  :'type' => :'type',
42
+ :'project_id' => :'projectId',
43
+ :'client_email' => :'clientEmail',
44
+ :'private_key' => :'privateKey',
33
45
  :'server_key' => :'serverKey',
34
46
  :'sender_id' => :'senderId',
35
47
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations',
@@ -41,6 +53,9 @@ module SunshineConversationsClient
41
53
  def self.openapi_types
42
54
  {
43
55
  :'type' => :'String',
56
+ :'project_id' => :'String',
57
+ :'client_email' => :'String',
58
+ :'private_key' => :'String',
44
59
  :'server_key' => :'String',
45
60
  :'sender_id' => :'String',
46
61
  :'can_user_create_more_conversations' => :'Boolean',
@@ -51,6 +66,9 @@ module SunshineConversationsClient
51
66
  # List of attributes with nullable: true
52
67
  def self.openapi_nullable
53
68
  Set.new([
69
+ :'project_id',
70
+ :'client_email',
71
+ :'private_key',
54
72
  :'server_key',
55
73
  :'sender_id',
56
74
  ])
@@ -77,6 +95,18 @@ module SunshineConversationsClient
77
95
  self.type = 'android'
78
96
  end
79
97
 
98
+ if attributes.key?(:'project_id')
99
+ self.project_id = attributes[:'project_id']
100
+ end
101
+
102
+ if attributes.key?(:'client_email')
103
+ self.client_email = attributes[:'client_email']
104
+ end
105
+
106
+ if attributes.key?(:'private_key')
107
+ self.private_key = attributes[:'private_key']
108
+ end
109
+
80
110
  if attributes.key?(:'server_key')
81
111
  self.server_key = attributes[:'server_key']
82
112
  end
@@ -98,6 +128,18 @@ module SunshineConversationsClient
98
128
  # @return Array for valid properties with the reasons
99
129
  def list_invalid_properties
100
130
  invalid_properties = Array.new
131
+ if !@project_id.nil? && @project_id.to_s.length < 1
132
+ invalid_properties.push('invalid value for "project_id", the character length must be great than or equal to 1.')
133
+ end
134
+
135
+ if !@client_email.nil? && @client_email.to_s.length < 1
136
+ invalid_properties.push('invalid value for "client_email", the character length must be great than or equal to 1.')
137
+ end
138
+
139
+ if !@private_key.nil? && @private_key.to_s.length < 1
140
+ invalid_properties.push('invalid value for "private_key", the character length must be great than or equal to 1.')
141
+ end
142
+
101
143
  if !@server_key.nil? && @server_key.to_s.length < 1
102
144
  invalid_properties.push('invalid value for "server_key", the character length must be great than or equal to 1.')
103
145
  end
@@ -112,11 +154,44 @@ module SunshineConversationsClient
112
154
  # Check to see if the all the properties in the model are valid
113
155
  # @return true if the model is valid
114
156
  def valid?
157
+ return false if !@project_id.nil? && @project_id.to_s.length < 1
158
+ return false if !@client_email.nil? && @client_email.to_s.length < 1
159
+ return false if !@private_key.nil? && @private_key.to_s.length < 1
115
160
  return false if !@server_key.nil? && @server_key.to_s.length < 1
116
161
  return false if !@sender_id.nil? && @sender_id.to_s.length < 1
117
162
  true
118
163
  end
119
164
 
165
+ # Custom attribute writer method with validation
166
+ # @param [Object] project_id Value to be assigned
167
+ def project_id=(project_id)
168
+ if !project_id.nil? && project_id.to_s.length < 1
169
+ fail ArgumentError, 'invalid value for "project_id", the character length must be great than or equal to 1.'
170
+ end
171
+
172
+ @project_id = project_id
173
+ end
174
+
175
+ # Custom attribute writer method with validation
176
+ # @param [Object] client_email Value to be assigned
177
+ def client_email=(client_email)
178
+ if !client_email.nil? && client_email.to_s.length < 1
179
+ fail ArgumentError, 'invalid value for "client_email", the character length must be great than or equal to 1.'
180
+ end
181
+
182
+ @client_email = client_email
183
+ end
184
+
185
+ # Custom attribute writer method with validation
186
+ # @param [Object] private_key Value to be assigned
187
+ def private_key=(private_key)
188
+ if !private_key.nil? && private_key.to_s.length < 1
189
+ fail ArgumentError, 'invalid value for "private_key", the character length must be great than or equal to 1.'
190
+ end
191
+
192
+ @private_key = private_key
193
+ end
194
+
120
195
  # Custom attribute writer method with validation
121
196
  # @param [Object] server_key Value to be assigned
122
197
  def server_key=(server_key)
@@ -143,6 +218,9 @@ module SunshineConversationsClient
143
218
  return true if self.equal?(o)
144
219
  self.class == o.class &&
145
220
  type == o.type &&
221
+ project_id == o.project_id &&
222
+ client_email == o.client_email &&
223
+ private_key == o.private_key &&
146
224
  server_key == o.server_key &&
147
225
  sender_id == o.sender_id &&
148
226
  can_user_create_more_conversations == o.can_user_create_more_conversations &&
@@ -158,7 +236,7 @@ module SunshineConversationsClient
158
236
  # Calculates hash code according to all attributes.
159
237
  # @return [Integer] Hash code
160
238
  def hash
161
- [type, server_key, sender_id, can_user_create_more_conversations, attachments_enabled].hash
239
+ [type, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations, attachments_enabled].hash
162
240
  end
163
241
 
164
242
  # Builds the object from hash
@@ -1,7 +1,7 @@
1
1
  =begin
2
2
  #Sunshine Conversations API
3
3
 
4
- The version of the OpenAPI document: 12.3.1
4
+ The version of the OpenAPI document: 12.5.0
5
5
 
6
6
  Generated by: https://openapi-generator.tech
7
7
  OpenAPI Generator version: 4.3.1
@@ -14,6 +14,15 @@ module SunshineConversationsClient
14
14
  # A human-friendly name used to identify the integration. `displayName` can be unset by changing it to `null`.
15
15
  attr_accessor :display_name
16
16
 
17
+ # Your project ID from your generated private key file.
18
+ attr_accessor :project_id
19
+
20
+ # Your client email from your generated private key file.
21
+ attr_accessor :client_email
22
+
23
+ # Your private key from your generated private key file.
24
+ attr_accessor :private_key
25
+
17
26
  # Your server key from the fcm console.
18
27
  attr_accessor :server_key
19
28
 
@@ -27,6 +36,9 @@ module SunshineConversationsClient
27
36
  def self.attribute_map
28
37
  {
29
38
  :'display_name' => :'displayName',
39
+ :'project_id' => :'projectId',
40
+ :'client_email' => :'clientEmail',
41
+ :'private_key' => :'privateKey',
30
42
  :'server_key' => :'serverKey',
31
43
  :'sender_id' => :'senderId',
32
44
  :'can_user_create_more_conversations' => :'canUserCreateMoreConversations'
@@ -37,6 +49,9 @@ module SunshineConversationsClient
37
49
  def self.openapi_types
38
50
  {
39
51
  :'display_name' => :'String',
52
+ :'project_id' => :'String',
53
+ :'client_email' => :'String',
54
+ :'private_key' => :'String',
40
55
  :'server_key' => :'String',
41
56
  :'sender_id' => :'String',
42
57
  :'can_user_create_more_conversations' => :'Boolean'
@@ -47,6 +62,9 @@ module SunshineConversationsClient
47
62
  def self.openapi_nullable
48
63
  Set.new([
49
64
  :'display_name',
65
+ :'project_id',
66
+ :'client_email',
67
+ :'private_key',
50
68
  :'server_key',
51
69
  :'sender_id',
52
70
  ])
@@ -79,6 +97,18 @@ module SunshineConversationsClient
79
97
  self.display_name = attributes[:'display_name']
80
98
  end
81
99
 
100
+ if attributes.key?(:'project_id')
101
+ self.project_id = attributes[:'project_id']
102
+ end
103
+
104
+ if attributes.key?(:'client_email')
105
+ self.client_email = attributes[:'client_email']
106
+ end
107
+
108
+ if attributes.key?(:'private_key')
109
+ self.private_key = attributes[:'private_key']
110
+ end
111
+
82
112
  if attributes.key?(:'server_key')
83
113
  self.server_key = attributes[:'server_key']
84
114
  end
@@ -104,6 +134,18 @@ module SunshineConversationsClient
104
134
  invalid_properties.push('invalid value for "display_name", the character length must be great than or equal to 1.')
105
135
  end
106
136
 
137
+ if !@project_id.nil? && @project_id.to_s.length < 1
138
+ invalid_properties.push('invalid value for "project_id", the character length must be great than or equal to 1.')
139
+ end
140
+
141
+ if !@client_email.nil? && @client_email.to_s.length < 1
142
+ invalid_properties.push('invalid value for "client_email", the character length must be great than or equal to 1.')
143
+ end
144
+
145
+ if !@private_key.nil? && @private_key.to_s.length < 1
146
+ invalid_properties.push('invalid value for "private_key", the character length must be great than or equal to 1.')
147
+ end
148
+
107
149
  if !@server_key.nil? && @server_key.to_s.length < 1
108
150
  invalid_properties.push('invalid value for "server_key", the character length must be great than or equal to 1.')
109
151
  end
@@ -120,6 +162,9 @@ module SunshineConversationsClient
120
162
  def valid?
121
163
  return false if !@display_name.nil? && @display_name.to_s.length > 100
122
164
  return false if !@display_name.nil? && @display_name.to_s.length < 1
165
+ return false if !@project_id.nil? && @project_id.to_s.length < 1
166
+ return false if !@client_email.nil? && @client_email.to_s.length < 1
167
+ return false if !@private_key.nil? && @private_key.to_s.length < 1
123
168
  return false if !@server_key.nil? && @server_key.to_s.length < 1
124
169
  return false if !@sender_id.nil? && @sender_id.to_s.length < 1
125
170
  true
@@ -139,6 +184,36 @@ module SunshineConversationsClient
139
184
  @display_name = display_name
140
185
  end
141
186
 
187
+ # Custom attribute writer method with validation
188
+ # @param [Object] project_id Value to be assigned
189
+ def project_id=(project_id)
190
+ if !project_id.nil? && project_id.to_s.length < 1
191
+ fail ArgumentError, 'invalid value for "project_id", the character length must be great than or equal to 1.'
192
+ end
193
+
194
+ @project_id = project_id
195
+ end
196
+
197
+ # Custom attribute writer method with validation
198
+ # @param [Object] client_email Value to be assigned
199
+ def client_email=(client_email)
200
+ if !client_email.nil? && client_email.to_s.length < 1
201
+ fail ArgumentError, 'invalid value for "client_email", the character length must be great than or equal to 1.'
202
+ end
203
+
204
+ @client_email = client_email
205
+ end
206
+
207
+ # Custom attribute writer method with validation
208
+ # @param [Object] private_key Value to be assigned
209
+ def private_key=(private_key)
210
+ if !private_key.nil? && private_key.to_s.length < 1
211
+ fail ArgumentError, 'invalid value for "private_key", the character length must be great than or equal to 1.'
212
+ end
213
+
214
+ @private_key = private_key
215
+ end
216
+
142
217
  # Custom attribute writer method with validation
143
218
  # @param [Object] server_key Value to be assigned
144
219
  def server_key=(server_key)
@@ -165,6 +240,9 @@ module SunshineConversationsClient
165
240
  return true if self.equal?(o)
166
241
  self.class == o.class &&
167
242
  display_name == o.display_name &&
243
+ project_id == o.project_id &&
244
+ client_email == o.client_email &&
245
+ private_key == o.private_key &&
168
246
  server_key == o.server_key &&
169
247
  sender_id == o.sender_id &&
170
248
  can_user_create_more_conversations == o.can_user_create_more_conversations
@@ -179,7 +257,7 @@ module SunshineConversationsClient
179
257
  # Calculates hash code according to all attributes.
180
258
  # @return [Integer] Hash code
181
259
  def hash
182
- [display_name, server_key, sender_id, can_user_create_more_conversations].hash
260
+ [display_name, project_id, client_email, private_key, server_key, sender_id, can_user_create_more_conversations].hash
183
261
  end
184
262
 
185
263
  # Builds the object from hash