files.com 1.1.671 → 1.1.672

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 (345) hide show
  1. checksums.yaml +4 -4
  2. data/_VERSION +1 -1
  3. data/docs/action_log.md +1 -21
  4. data/docs/action_notification_export_result.md +0 -17
  5. data/docs/ai_assistant_personality.md +0 -14
  6. data/docs/ai_task.md +0 -14
  7. data/docs/api_key.md +1 -27
  8. data/docs/api_request_log.md +1 -21
  9. data/docs/app.md +0 -15
  10. data/docs/as2_incoming_message.md +0 -18
  11. data/docs/as2_outgoing_message.md +0 -18
  12. data/docs/as2_partner.md +0 -14
  13. data/docs/as2_station.md +0 -14
  14. data/docs/automation.md +1 -22
  15. data/docs/automation_log.md +1 -21
  16. data/docs/automation_run.md +0 -19
  17. data/docs/bandwidth_snapshot.md +0 -18
  18. data/docs/behavior.md +0 -14
  19. data/docs/bundle.md +1 -50
  20. data/docs/bundle_action.md +0 -25
  21. data/docs/bundle_download.md +0 -23
  22. data/docs/bundle_notification.md +0 -19
  23. data/docs/bundle_recipient.md +0 -21
  24. data/docs/bundle_registration.md +0 -61
  25. data/docs/chat_session.md +2 -14
  26. data/docs/child_site_management_policy.md +0 -9
  27. data/docs/clickwrap.md +0 -13
  28. data/docs/custom_domain.md +0 -13
  29. data/docs/desktop_configuration_profile.md +0 -14
  30. data/docs/dns_record.md +0 -9
  31. data/docs/email_incoming_message.md +0 -19
  32. data/docs/email_log.md +1 -20
  33. data/docs/event_channel.md +0 -14
  34. data/docs/event_delivery_attempt.md +0 -14
  35. data/docs/event_record.md +0 -19
  36. data/docs/event_subscription.md +0 -14
  37. data/docs/event_target.md +0 -14
  38. data/docs/exavault_api_request_log.md +1 -21
  39. data/docs/expectation.md +0 -14
  40. data/docs/expectation_evaluation.md +0 -14
  41. data/docs/expectation_incident.md +0 -14
  42. data/docs/external_event.md +0 -18
  43. data/docs/file.md +2 -90
  44. data/docs/file_migration.md +0 -32
  45. data/docs/file_migration_log.md +1 -20
  46. data/docs/file_upload_part.md +1 -3
  47. data/docs/folder.md +0 -20
  48. data/docs/form_field_set.md +0 -15
  49. data/docs/ftp_action_log.md +1 -21
  50. data/docs/gpg_key.md +0 -21
  51. data/docs/group.md +0 -19
  52. data/docs/group_user.md +2 -22
  53. data/docs/history.md +0 -85
  54. data/docs/history_export_result.md +0 -17
  55. data/docs/holiday_region.md +0 -9
  56. data/docs/inbound_s3_log.md +1 -21
  57. data/docs/inbox_recipient.md +0 -19
  58. data/docs/inbox_registration.md +0 -57
  59. data/docs/inbox_upload.md +0 -18
  60. data/docs/invoice.md +0 -9
  61. data/docs/ip_address.md +0 -59
  62. data/docs/key_lifecycle_rule.md +0 -14
  63. data/docs/lock.md +0 -15
  64. data/docs/message.md +0 -17
  65. data/docs/message_comment.md +0 -18
  66. data/docs/message_comment_reaction.md +0 -18
  67. data/docs/message_reaction.md +0 -17
  68. data/docs/metadata_category.md +0 -13
  69. data/docs/notification.md +0 -20
  70. data/docs/outbound_connection_log.md +1 -21
  71. data/docs/partner.md +0 -14
  72. data/docs/partner_channel.md +0 -14
  73. data/docs/partner_site_request.md +0 -14
  74. data/docs/payment.md +0 -9
  75. data/docs/pending_work_event.md +0 -18
  76. data/docs/permission.md +0 -22
  77. data/docs/preview.md +0 -57
  78. data/docs/project.md +0 -9
  79. data/docs/public_hosting_request_log.md +1 -21
  80. data/docs/public_key.md +0 -21
  81. data/docs/remote_bandwidth_snapshot.md +0 -18
  82. data/docs/remote_mount_backend.md +0 -13
  83. data/docs/remote_server.md +0 -233
  84. data/docs/remote_server_credential.md +0 -15
  85. data/docs/request.md +0 -17
  86. data/docs/restore.md +0 -14
  87. data/docs/scheduled_export.md +0 -15
  88. data/docs/scim_log.md +0 -13
  89. data/docs/session.md +1 -232
  90. data/docs/settings_change.md +0 -16
  91. data/docs/sftp_action_log.md +1 -21
  92. data/docs/sftp_host_key.md +0 -9
  93. data/docs/share_group.md +0 -15
  94. data/docs/siem_http_destination.md +0 -9
  95. data/docs/siem_http_destination_event.md +0 -18
  96. data/docs/site.md +0 -179
  97. data/docs/site_subdomain_redirect.md +0 -13
  98. data/docs/snapshot.md +0 -9
  99. data/docs/sso_event.md +0 -19
  100. data/docs/sso_strategy.md +0 -406
  101. data/docs/sync.md +0 -14
  102. data/docs/sync_log.md +1 -20
  103. data/docs/sync_run.md +0 -21
  104. data/docs/usage_daily_snapshot.md +0 -18
  105. data/docs/usage_snapshot.md +0 -9
  106. data/docs/user.md +2 -49
  107. data/docs/user_cipher_use.md +0 -21
  108. data/docs/user_lifecycle_rule.md +0 -14
  109. data/docs/user_request.md +0 -9
  110. data/docs/user_security_event.md +0 -18
  111. data/docs/user_sftp_client_use.md +0 -15
  112. data/docs/web_dav_action_log.md +1 -21
  113. data/docs/workspace.md +0 -15
  114. data/lib/files.com/models/action_log.rb +0 -24
  115. data/lib/files.com/models/action_notification_export_result.rb +0 -12
  116. data/lib/files.com/models/ai_assistant_personality.rb +0 -11
  117. data/lib/files.com/models/ai_task.rb +0 -11
  118. data/lib/files.com/models/api_key.rb +5 -39
  119. data/lib/files.com/models/api_request_log.rb +0 -24
  120. data/lib/files.com/models/app.rb +0 -13
  121. data/lib/files.com/models/as2_incoming_message.rb +0 -19
  122. data/lib/files.com/models/as2_outgoing_message.rb +0 -19
  123. data/lib/files.com/models/as2_partner.rb +0 -11
  124. data/lib/files.com/models/as2_station.rb +0 -11
  125. data/lib/files.com/models/automation.rb +0 -30
  126. data/lib/files.com/models/automation_log.rb +0 -24
  127. data/lib/files.com/models/automation_run.rb +0 -16
  128. data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
  129. data/lib/files.com/models/behavior.rb +0 -11
  130. data/lib/files.com/models/bundle.rb +0 -52
  131. data/lib/files.com/models/bundle_action.rb +0 -25
  132. data/lib/files.com/models/bundle_download.rb +0 -23
  133. data/lib/files.com/models/bundle_notification.rb +0 -15
  134. data/lib/files.com/models/bundle_recipient.rb +0 -27
  135. data/lib/files.com/models/bundle_registration.rb +0 -125
  136. data/lib/files.com/models/chat_session.rb +5 -11
  137. data/lib/files.com/models/child_site_management_policy.rb +0 -5
  138. data/lib/files.com/models/clickwrap.rb +0 -9
  139. data/lib/files.com/models/custom_domain.rb +0 -9
  140. data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
  141. data/lib/files.com/models/dns_record.rb +0 -5
  142. data/lib/files.com/models/email_incoming_message.rb +0 -21
  143. data/lib/files.com/models/email_log.rb +0 -22
  144. data/lib/files.com/models/event_channel.rb +0 -11
  145. data/lib/files.com/models/event_delivery_attempt.rb +0 -11
  146. data/lib/files.com/models/event_record.rb +0 -21
  147. data/lib/files.com/models/event_subscription.rb +0 -11
  148. data/lib/files.com/models/event_target.rb +0 -11
  149. data/lib/files.com/models/exavault_api_request_log.rb +0 -24
  150. data/lib/files.com/models/expectation.rb +0 -11
  151. data/lib/files.com/models/expectation_evaluation.rb +0 -11
  152. data/lib/files.com/models/expectation_incident.rb +0 -11
  153. data/lib/files.com/models/external_event.rb +0 -19
  154. data/lib/files.com/models/file.rb +0 -207
  155. data/lib/files.com/models/file_migration.rb +0 -27
  156. data/lib/files.com/models/file_migration_log.rb +0 -22
  157. data/lib/files.com/models/file_upload_part.rb +0 -5
  158. data/lib/files.com/models/folder.rb +0 -69
  159. data/lib/files.com/models/form_field_set.rb +0 -9
  160. data/lib/files.com/models/ftp_action_log.rb +0 -24
  161. data/lib/files.com/models/gpg_key.rb +0 -21
  162. data/lib/files.com/models/group.rb +0 -16
  163. data/lib/files.com/models/group_user.rb +1 -21
  164. data/lib/files.com/models/history.rb +0 -94
  165. data/lib/files.com/models/history_export_result.rb +0 -12
  166. data/lib/files.com/models/holiday_region.rb +0 -5
  167. data/lib/files.com/models/inbound_s3_log.rb +0 -24
  168. data/lib/files.com/models/inbox_recipient.rb +0 -25
  169. data/lib/files.com/models/inbox_registration.rb +0 -121
  170. data/lib/files.com/models/inbox_upload.rb +0 -19
  171. data/lib/files.com/models/invoice.rb +0 -5
  172. data/lib/files.com/models/ip_address.rb +0 -37
  173. data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
  174. data/lib/files.com/models/lock.rb +0 -27
  175. data/lib/files.com/models/message.rb +0 -12
  176. data/lib/files.com/models/message_comment.rb +0 -14
  177. data/lib/files.com/models/message_comment_reaction.rb +0 -14
  178. data/lib/files.com/models/message_reaction.rb +0 -12
  179. data/lib/files.com/models/metadata_category.rb +0 -9
  180. data/lib/files.com/models/notification.rb +0 -18
  181. data/lib/files.com/models/outbound_connection_log.rb +0 -24
  182. data/lib/files.com/models/partner.rb +0 -11
  183. data/lib/files.com/models/partner_channel.rb +0 -11
  184. data/lib/files.com/models/partner_site_request.rb +0 -11
  185. data/lib/files.com/models/payment.rb +0 -5
  186. data/lib/files.com/models/pending_work_event.rb +0 -19
  187. data/lib/files.com/models/permission.rb +0 -22
  188. data/lib/files.com/models/preview.rb +0 -57
  189. data/lib/files.com/models/project.rb +0 -5
  190. data/lib/files.com/models/public_hosting_request_log.rb +0 -24
  191. data/lib/files.com/models/public_key.rb +0 -21
  192. data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
  193. data/lib/files.com/models/remote_mount_backend.rb +0 -9
  194. data/lib/files.com/models/remote_server.rb +0 -297
  195. data/lib/files.com/models/remote_server_credential.rb +0 -13
  196. data/lib/files.com/models/request.rb +0 -12
  197. data/lib/files.com/models/restore.rb +0 -11
  198. data/lib/files.com/models/scheduled_export.rb +0 -13
  199. data/lib/files.com/models/scim_log.rb +0 -9
  200. data/lib/files.com/models/session.rb +0 -493
  201. data/lib/files.com/models/settings_change.rb +0 -16
  202. data/lib/files.com/models/sftp_action_log.rb +0 -24
  203. data/lib/files.com/models/sftp_host_key.rb +0 -5
  204. data/lib/files.com/models/share_group.rb +0 -9
  205. data/lib/files.com/models/siem_http_destination.rb +0 -5
  206. data/lib/files.com/models/siem_http_destination_event.rb +0 -19
  207. data/lib/files.com/models/site.rb +0 -1021
  208. data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
  209. data/lib/files.com/models/snapshot.rb +0 -5
  210. data/lib/files.com/models/sso_event.rb +0 -21
  211. data/lib/files.com/models/sso_strategy.rb +0 -632
  212. data/lib/files.com/models/sync.rb +0 -11
  213. data/lib/files.com/models/sync_log.rb +0 -22
  214. data/lib/files.com/models/sync_run.rb +0 -21
  215. data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
  216. data/lib/files.com/models/usage_snapshot.rb +0 -5
  217. data/lib/files.com/models/user.rb +0 -59
  218. data/lib/files.com/models/user_cipher_use.rb +0 -21
  219. data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
  220. data/lib/files.com/models/user_request.rb +0 -5
  221. data/lib/files.com/models/user_security_event.rb +0 -19
  222. data/lib/files.com/models/user_sftp_client_use.rb +0 -9
  223. data/lib/files.com/models/web_dav_action_log.rb +0 -24
  224. data/lib/files.com/models/workspace.rb +0 -13
  225. data/lib/files.com/version.rb +1 -1
  226. data/lib/files.com.rb +0 -59
  227. metadata +1 -119
  228. data/docs/account.md +0 -155
  229. data/docs/action_webhook_failure.md +0 -28
  230. data/docs/agent_proxy_identity.md +0 -49
  231. data/docs/agent_proxy_identity_endpoint.md +0 -11
  232. data/docs/agent_proxy_identity_result.md +0 -24
  233. data/docs/agent_v2_auth.md +0 -17
  234. data/docs/announcement.md +0 -57
  235. data/docs/blog_post.md +0 -57
  236. data/docs/bundle_recipient_registration.md +0 -39
  237. data/docs/certificate.md +0 -258
  238. data/docs/child_site.md +0 -583
  239. data/docs/clickwrap_acceptance.md +0 -30
  240. data/docs/client_log.md +0 -17
  241. data/docs/crash_report.md +0 -50
  242. data/docs/custom_domain_for_proxy.md +0 -23
  243. data/docs/email_preference.md +0 -108
  244. data/docs/email_preference_bundle_notification.md +0 -15
  245. data/docs/email_preference_notification.md +0 -17
  246. data/docs/export.md +0 -90
  247. data/docs/front_end_server.md +0 -111
  248. data/docs/frontend_metric.md +0 -34
  249. data/docs/inbox.md +0 -102
  250. data/docs/inbox_recipient_registration.md +0 -35
  251. data/docs/ip.md +0 -63
  252. data/docs/ip_abuse_entry.md +0 -47
  253. data/docs/label.md +0 -9
  254. data/docs/lead.md +0 -161
  255. data/docs/monitoring_stat.md +0 -38
  256. data/docs/monitoring_stats.md +0 -15
  257. data/docs/mover_package.md +0 -68
  258. data/docs/nps_response.md +0 -75
  259. data/docs/oauth_redirect.md +0 -11
  260. data/docs/paired_api_key.md +0 -19
  261. data/docs/paypal_express_info.md +0 -31
  262. data/docs/paypal_express_url.md +0 -11
  263. data/docs/plan.md +0 -107
  264. data/docs/public_hosting_session_pairing.md +0 -15
  265. data/docs/public_inbox.md +0 -121
  266. data/docs/public_url.md +0 -59
  267. data/docs/regional_migration.md +0 -0
  268. data/docs/release.md +0 -83
  269. data/docs/release_package.md +0 -19
  270. data/docs/revision.md +0 -40
  271. data/docs/safe_plan.md +0 -0
  272. data/docs/session_available_site.md +0 -26
  273. data/docs/setting.md +0 -33
  274. data/docs/settings.md +0 -498
  275. data/docs/ssl_certificate.md +0 -37
  276. data/docs/staging_site.md +0 -591
  277. data/docs/support_request.md +0 -126
  278. data/docs/sync_api_usage_snapshot.md +0 -23
  279. data/docs/sync_api_usage_snapshot_report.md +0 -71
  280. data/docs/sync_bandwidth_snapshot.md +0 -48
  281. data/docs/two_factor_authentication_method.md +0 -169
  282. data/docs/warning.md +0 -36
  283. data/docs/webauthn_sign_request.md +0 -13
  284. data/docs/zip_download.md +0 -32
  285. data/docs/zip_download_file.md +0 -45
  286. data/docs/zip_download_files.md +0 -23
  287. data/lib/files.com/models/account.rb +0 -346
  288. data/lib/files.com/models/action_webhook_failure.rb +0 -34
  289. data/lib/files.com/models/agent_proxy_identity.rb +0 -47
  290. data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
  291. data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
  292. data/lib/files.com/models/agent_v2_auth.rb +0 -32
  293. data/lib/files.com/models/announcement.rb +0 -89
  294. data/lib/files.com/models/blog_post.rb +0 -84
  295. data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
  296. data/lib/files.com/models/certificate.rb +0 -455
  297. data/lib/files.com/models/child_site.rb +0 -1756
  298. data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
  299. data/lib/files.com/models/client_log.rb +0 -25
  300. data/lib/files.com/models/crash_report.rb +0 -151
  301. data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
  302. data/lib/files.com/models/email_preference.rb +0 -124
  303. data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
  304. data/lib/files.com/models/email_preference_notification.rb +0 -32
  305. data/lib/files.com/models/export.rb +0 -153
  306. data/lib/files.com/models/front_end_server.rb +0 -335
  307. data/lib/files.com/models/frontend_metric.rb +0 -65
  308. data/lib/files.com/models/inbox.rb +0 -123
  309. data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
  310. data/lib/files.com/models/ip.rb +0 -82
  311. data/lib/files.com/models/ip_abuse_entry.rb +0 -96
  312. data/lib/files.com/models/label.rb +0 -22
  313. data/lib/files.com/models/lead.rb +0 -434
  314. data/lib/files.com/models/monitoring_stat.rb +0 -43
  315. data/lib/files.com/models/monitoring_stats.rb +0 -22
  316. data/lib/files.com/models/mover_package.rb +0 -80
  317. data/lib/files.com/models/nps_response.rb +0 -128
  318. data/lib/files.com/models/oauth_redirect.rb +0 -17
  319. data/lib/files.com/models/paired_api_key.rb +0 -37
  320. data/lib/files.com/models/paypal_express_info.rb +0 -67
  321. data/lib/files.com/models/paypal_express_url.rb +0 -17
  322. data/lib/files.com/models/plan.rb +0 -209
  323. data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
  324. data/lib/files.com/models/public_inbox.rb +0 -142
  325. data/lib/files.com/models/public_url.rb +0 -177
  326. data/lib/files.com/models/regional_migration.rb +0 -12
  327. data/lib/files.com/models/release.rb +0 -153
  328. data/lib/files.com/models/release_package.rb +0 -37
  329. data/lib/files.com/models/revision.rb +0 -53
  330. data/lib/files.com/models/safe_plan.rb +0 -12
  331. data/lib/files.com/models/session_available_site.rb +0 -47
  332. data/lib/files.com/models/setting.rb +0 -36
  333. data/lib/files.com/models/settings.rb +0 -1072
  334. data/lib/files.com/models/ssl_certificate.rb +0 -77
  335. data/lib/files.com/models/staging_site.rb +0 -1781
  336. data/lib/files.com/models/support_request.rb +0 -209
  337. data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
  338. data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
  339. data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
  340. data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
  341. data/lib/files.com/models/warning.rb +0 -38
  342. data/lib/files.com/models/webauthn_sign_request.rb +0 -17
  343. data/lib/files.com/models/zip_download.rb +0 -73
  344. data/lib/files.com/models/zip_download_file.rb +0 -111
  345. data/lib/files.com/models/zip_download_files.rb +0 -42
@@ -1,209 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class SupportRequest
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # int64 - ID
13
- def id
14
- @attributes[:id]
15
- end
16
-
17
- def id=(value)
18
- @attributes[:id] = value
19
- end
20
-
21
- # string - Subject of the support request.
22
- def subject
23
- @attributes[:subject]
24
- end
25
-
26
- def subject=(value)
27
- @attributes[:subject] = value
28
- end
29
-
30
- # string - Main body of the support request.
31
- def comment
32
- @attributes[:comment]
33
- end
34
-
35
- def comment=(value)
36
- @attributes[:comment] = value
37
- end
38
-
39
- # date - When this support request was made.
40
- def created_at
41
- @attributes[:created_at]
42
- end
43
-
44
- # date - Customer Support can access your user account up through this date/time.
45
- def access_until
46
- @attributes[:access_until]
47
- end
48
-
49
- def access_until=(value)
50
- @attributes[:access_until] = value
51
- end
52
-
53
- # string - Enable Customer Support access to your user account?
54
- def customer_success_access
55
- @attributes[:customer_success_access]
56
- end
57
-
58
- def customer_success_access=(value)
59
- @attributes[:customer_success_access] = value
60
- end
61
-
62
- # string - Priority. Can be `low` (e.g. general or billing/account questions), `normal` (e.g. the system is impaired), `high` (e.g. a production workflow or business process is impaired), `urgent` (e.g. a production workflow or business process is down), `critical` (e.g. a business-critical workflow or business process is down)
63
- def priority
64
- @attributes[:priority]
65
- end
66
-
67
- def priority=(value)
68
- @attributes[:priority] = value
69
- end
70
-
71
- # string - Support Request name
72
- def name
73
- @attributes[:name]
74
- end
75
-
76
- def name=(value)
77
- @attributes[:name] = value
78
- end
79
-
80
- # string - Support Request phone number
81
- def phone_number
82
- @attributes[:phone_number]
83
- end
84
-
85
- def phone_number=(value)
86
- @attributes[:phone_number] = value
87
- end
88
-
89
- # boolean - If set to `true`, will reset the customer success access window.
90
- def access_reset
91
- @attributes[:access_reset]
92
- end
93
-
94
- def access_reset=(value)
95
- @attributes[:access_reset] = value
96
- end
97
-
98
- # string - Email address of the user requesting support.
99
- def email
100
- @attributes[:email]
101
- end
102
-
103
- def email=(value)
104
- @attributes[:email] = value
105
- end
106
-
107
- # array(file)
108
- def attachments_files
109
- @attributes[:attachments_files]
110
- end
111
-
112
- def attachments_files=(value)
113
- @attributes[:attachments_files] = value
114
- end
115
-
116
- # Parameters:
117
- # customer_success_access - string - Enable Customer Support access to your user account?
118
- # access_reset - boolean - If set to `true`, will reset the customer success access window.
119
- def update(params = {})
120
- params ||= {}
121
- params[:id] = @attributes[:id]
122
- raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
123
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
124
- raise InvalidParameterError.new("Bad parameter: customer_success_access must be an String") if params[:customer_success_access] and !params[:customer_success_access].is_a?(String)
125
- raise MissingParameterError.new("Parameter missing: id") unless params[:id]
126
-
127
- Api.send_request("/support_requests/#{@attributes[:id]}", :patch, params, @options)
128
- end
129
-
130
- def save
131
- if @attributes[:id]
132
- new_obj = update(@attributes)
133
- else
134
- new_obj = SupportRequest.create(@attributes, @options)
135
- end
136
-
137
- @attributes = new_obj.attributes
138
- true
139
- end
140
-
141
- # Parameters:
142
- # cursor - string - Used for pagination. When a list request has more records available, cursors are provided in the response headers `X-Files-Cursor-Next` and `X-Files-Cursor-Prev`. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
143
- # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
144
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
145
- def self.list(params = {}, options = {})
146
- raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
147
- raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
148
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
149
-
150
- List.new(SupportRequest, params) do
151
- Api.send_request("/support_requests", :get, params, options)
152
- end
153
- end
154
-
155
- def self.all(params = {}, options = {})
156
- list(params, options)
157
- end
158
-
159
- # Parameters:
160
- # customer_success_access - string - Enable Customer Support access to your user account?
161
- # access_reset - boolean - If set to `true`, will reset the customer success access window.
162
- # email (required) - string - Email address of the user requesting support.
163
- # subject (required) - string - Subject of the support request.
164
- # comment (required) - string - Main body of the support request.
165
- # priority - string - Priority. Can be `low` (e.g. general or billing/account questions), `normal` (e.g. the system is impaired), `high` (e.g. a production workflow or business process is impaired), `urgent` (e.g. a production workflow or business process is down), `critical` (e.g. a business-critical workflow or business process is down)
166
- # phone_number - string - Support Request phone number
167
- # name - string - Support Request name
168
- # attachments_files - array(file)
169
- def self.create(params = {}, options = {})
170
- raise InvalidParameterError.new("Bad parameter: customer_success_access must be an String") if params[:customer_success_access] and !params[:customer_success_access].is_a?(String)
171
- raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
172
- raise InvalidParameterError.new("Bad parameter: subject must be an String") if params[:subject] and !params[:subject].is_a?(String)
173
- raise InvalidParameterError.new("Bad parameter: comment must be an String") if params[:comment] and !params[:comment].is_a?(String)
174
- raise InvalidParameterError.new("Bad parameter: priority must be an String") if params[:priority] and !params[:priority].is_a?(String)
175
- raise InvalidParameterError.new("Bad parameter: phone_number must be an String") if params[:phone_number] and !params[:phone_number].is_a?(String)
176
- raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
177
- raise InvalidParameterError.new("Bad parameter: attachments_files must be an Array") if params[:attachments_files] and !params[:attachments_files].is_a?(Array)
178
- raise MissingParameterError.new("Parameter missing: email") unless params[:email]
179
- raise MissingParameterError.new("Parameter missing: subject") unless params[:subject]
180
- raise MissingParameterError.new("Parameter missing: comment") unless params[:comment]
181
-
182
- response, options = Api.send_request("/support_requests", :post, params, options)
183
- SupportRequest.new(response.data, options)
184
- end
185
-
186
- # Parameters:
187
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
188
- def self.create_export(params = {}, options = {})
189
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
190
-
191
- response, options = Api.send_request("/support_requests/create_export", :post, params, options)
192
- Export.new(response.data, options)
193
- end
194
-
195
- # Parameters:
196
- # customer_success_access - string - Enable Customer Support access to your user account?
197
- # access_reset - boolean - If set to `true`, will reset the customer success access window.
198
- def self.update(id, params = {}, options = {})
199
- params ||= {}
200
- params[:id] = id
201
- raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
202
- raise InvalidParameterError.new("Bad parameter: customer_success_access must be an String") if params[:customer_success_access] and !params[:customer_success_access].is_a?(String)
203
- raise MissingParameterError.new("Parameter missing: id") unless params[:id]
204
-
205
- response, options = Api.send_request("/support_requests/#{params[:id]}", :patch, params, options)
206
- SupportRequest.new(response.data, options)
207
- end
208
- end
209
- end
@@ -1,47 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class SyncApiUsageSnapshot
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Interface Name
13
- def ifname
14
- @attributes[:ifname]
15
- end
16
-
17
- # int64 - API Reads
18
- def api_reads
19
- @attributes[:api_reads]
20
- end
21
-
22
- # int64 - API Writes
23
- def api_writes
24
- @attributes[:api_writes]
25
- end
26
-
27
- # int64 - List Cache Hits
28
- def list_cache_hits
29
- @attributes[:list_cache_hits]
30
- end
31
-
32
- # int64 - List Cache Misses
33
- def list_cache_misses
34
- @attributes[:list_cache_misses]
35
- end
36
-
37
- # int64 - Stat Cache Hits
38
- def stat_cache_hits
39
- @attributes[:stat_cache_hits]
40
- end
41
-
42
- # int64 - Stat Cache Misses
43
- def stat_cache_misses
44
- @attributes[:stat_cache_misses]
45
- end
46
- end
47
- end
@@ -1,162 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class SyncApiUsageSnapshotReport
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # date-time - start time of statistics collection
13
- def start_time
14
- @attributes[:start_time]
15
- end
16
-
17
- def start_time=(value)
18
- @attributes[:start_time] = value
19
- end
20
-
21
- # date-time - end time of statistics collection
22
- def end_time
23
- @attributes[:end_time]
24
- end
25
-
26
- def end_time=(value)
27
- @attributes[:end_time] = value
28
- end
29
-
30
- # string - Unique ID for this entry
31
- def uuid
32
- @attributes[:uuid]
33
- end
34
-
35
- def uuid=(value)
36
- @attributes[:uuid] = value
37
- end
38
-
39
- # int64 - Numbers of hits of the authentication cache
40
- def auth_cache_hits
41
- @attributes[:auth_cache_hits]
42
- end
43
-
44
- def auth_cache_hits=(value)
45
- @attributes[:auth_cache_hits] = value
46
- end
47
-
48
- # int64 - Numbers of misses of the authentication cache
49
- def auth_cache_misses
50
- @attributes[:auth_cache_misses]
51
- end
52
-
53
- def auth_cache_misses=(value)
54
- @attributes[:auth_cache_misses] = value
55
- end
56
-
57
- # int64 - A count of api authentications requests for SFTP
58
- def auth_api_requests_for_sftp
59
- @attributes[:auth_api_requests_for_sftp]
60
- end
61
-
62
- def auth_api_requests_for_sftp=(value)
63
- @attributes[:auth_api_requests_for_sftp] = value
64
- end
65
-
66
- # int64 - A count of api authentications requests for FTP
67
- def auth_api_requests_for_ftp
68
- @attributes[:auth_api_requests_for_ftp]
69
- end
70
-
71
- def auth_api_requests_for_ftp=(value)
72
- @attributes[:auth_api_requests_for_ftp] = value
73
- end
74
-
75
- # int64 - A count of api authentications requests for DAV
76
- def auth_api_requests_for_dav
77
- @attributes[:auth_api_requests_for_dav]
78
- end
79
-
80
- def auth_api_requests_for_dav=(value)
81
- @attributes[:auth_api_requests_for_dav] = value
82
- end
83
-
84
- # int64 - A count of api authentications requests for Desktop
85
- def auth_api_requests_for_desktop
86
- @attributes[:auth_api_requests_for_desktop]
87
- end
88
-
89
- def auth_api_requests_for_desktop=(value)
90
- @attributes[:auth_api_requests_for_desktop] = value
91
- end
92
-
93
- # int64 - A count of api authentications requests for Restapi
94
- def auth_api_requests_for_restapi
95
- @attributes[:auth_api_requests_for_restapi]
96
- end
97
-
98
- def auth_api_requests_for_restapi=(value)
99
- @attributes[:auth_api_requests_for_restapi] = value
100
- end
101
-
102
- # int64 - A count of the number of api usage logs
103
- def number_of_sync_api_usage_snapshots
104
- @attributes[:number_of_sync_api_usage_snapshots]
105
- end
106
-
107
- def number_of_sync_api_usage_snapshots=(value)
108
- @attributes[:number_of_sync_api_usage_snapshots] = value
109
- end
110
-
111
- # array(object) - A list of all the api usage logs
112
- def sync_api_usage_snapshots
113
- @attributes[:sync_api_usage_snapshots]
114
- end
115
-
116
- def sync_api_usage_snapshots=(value)
117
- @attributes[:sync_api_usage_snapshots] = value
118
- end
119
-
120
- def save
121
- if @attributes[:id]
122
- raise NotImplementedError.new("The SyncApiUsageSnapshotReport object doesn't support updates.")
123
- else
124
- new_obj = SyncApiUsageSnapshotReport.create(@attributes, @options)
125
- end
126
-
127
- @attributes = new_obj.attributes
128
- true
129
- end
130
-
131
- # Parameters:
132
- # start_time - string - start time of statistics collection
133
- # end_time - string - end time of statistics collection
134
- # uuid - string - Unique ID for this entry
135
- # auth_cache_hits - int64 - Numbers of hits of the authentication cache
136
- # auth_cache_misses - int64 - Numbers of misses of the authentication cache
137
- # auth_api_requests_for_sftp - int64 - A count of api authentications requests for SFTP
138
- # auth_api_requests_for_ftp - int64 - A count of api authentications requests for FTP
139
- # auth_api_requests_for_dav - int64 - A count of api authentications requests for DAV
140
- # auth_api_requests_for_desktop - int64 - A count of api authentications requests for Desktop
141
- # auth_api_requests_for_restapi - int64 - A count of api authentications requests for Restapi
142
- # number_of_sync_api_usage_snapshots - int64 - A count of the number of api usage logs
143
- # sync_api_usage_snapshots - array(object)
144
- def self.create(params = {}, options = {})
145
- raise InvalidParameterError.new("Bad parameter: start_time must be an String") if params[:start_time] and !params[:start_time].is_a?(String)
146
- raise InvalidParameterError.new("Bad parameter: end_time must be an String") if params[:end_time] and !params[:end_time].is_a?(String)
147
- raise InvalidParameterError.new("Bad parameter: uuid must be an String") if params[:uuid] and !params[:uuid].is_a?(String)
148
- raise InvalidParameterError.new("Bad parameter: auth_cache_hits must be an Integer") if params[:auth_cache_hits] and !params[:auth_cache_hits].is_a?(Integer)
149
- raise InvalidParameterError.new("Bad parameter: auth_cache_misses must be an Integer") if params[:auth_cache_misses] and !params[:auth_cache_misses].is_a?(Integer)
150
- raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_sftp must be an Integer") if params[:auth_api_requests_for_sftp] and !params[:auth_api_requests_for_sftp].is_a?(Integer)
151
- raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_ftp must be an Integer") if params[:auth_api_requests_for_ftp] and !params[:auth_api_requests_for_ftp].is_a?(Integer)
152
- raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_dav must be an Integer") if params[:auth_api_requests_for_dav] and !params[:auth_api_requests_for_dav].is_a?(Integer)
153
- raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_desktop must be an Integer") if params[:auth_api_requests_for_desktop] and !params[:auth_api_requests_for_desktop].is_a?(Integer)
154
- raise InvalidParameterError.new("Bad parameter: auth_api_requests_for_restapi must be an Integer") if params[:auth_api_requests_for_restapi] and !params[:auth_api_requests_for_restapi].is_a?(Integer)
155
- raise InvalidParameterError.new("Bad parameter: number_of_sync_api_usage_snapshots must be an Integer") if params[:number_of_sync_api_usage_snapshots] and !params[:number_of_sync_api_usage_snapshots].is_a?(Integer)
156
- raise InvalidParameterError.new("Bad parameter: sync_api_usage_snapshots must be an Array") if params[:sync_api_usage_snapshots] and !params[:sync_api_usage_snapshots].is_a?(Array)
157
-
158
- response, options = Api.send_request("/sync_api_usage_snapshot_reports", :post, params, options)
159
- SyncApiUsageSnapshotReport.new(response.data, options)
160
- end
161
- end
162
- end
@@ -1,104 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "bigdecimal"
4
-
5
- module Files
6
- class SyncBandwidthSnapshot
7
- attr_reader :options, :attributes
8
-
9
- def initialize(attributes = {}, options = {})
10
- @attributes = attributes || {}
11
- @options = options || {}
12
- end
13
-
14
- # int64 - sync bandwidth snapshot ID
15
- def id
16
- @attributes[:id]
17
- end
18
-
19
- def id=(value)
20
- @attributes[:id] = value
21
- end
22
-
23
- # int64 - Site ID
24
- def site_id
25
- @attributes[:site_id]
26
- end
27
-
28
- def site_id=(value)
29
- @attributes[:site_id] = value
30
- end
31
-
32
- # decimal - bytes received
33
- def sync_bytes_received
34
- value = @attributes[:sync_bytes_received]
35
- return value if value.nil? || value.is_a?(BigDecimal)
36
-
37
- BigDecimal(value.to_s)
38
- end
39
-
40
- def sync_bytes_received=(value)
41
- @attributes[:sync_bytes_received] = value
42
- end
43
-
44
- # decimal - bytes sent
45
- def sync_bytes_sent
46
- value = @attributes[:sync_bytes_sent]
47
- return value if value.nil? || value.is_a?(BigDecimal)
48
-
49
- BigDecimal(value.to_s)
50
- end
51
-
52
- def sync_bytes_sent=(value)
53
- @attributes[:sync_bytes_sent] = value
54
- end
55
-
56
- # date-time - sync bandwidth snapshot created at date/time
57
- def created_at
58
- @attributes[:created_at]
59
- end
60
-
61
- # int64 - ID for the remote server consuming sync bandwidth
62
- def remote_server_id
63
- @attributes[:remote_server_id]
64
- end
65
-
66
- def remote_server_id=(value)
67
- @attributes[:remote_server_id] = value
68
- end
69
-
70
- def save
71
- if @attributes[:id]
72
- raise NotImplementedError.new("The SyncBandwidthSnapshot object doesn't support updates.")
73
- else
74
- new_obj = SyncBandwidthSnapshot.create(@attributes, @options)
75
- end
76
-
77
- @attributes = new_obj.attributes
78
- true
79
- end
80
-
81
- # Parameters:
82
- # remote_server_id (required) - int64 - ID for the remote server consuming sync bandwidth
83
- # sync_bytes_sent (required) - int64 - Sync bytes sent
84
- # sync_bytes_received (required) - int64 - Sync bytes received
85
- def self.create(params = {}, options = {})
86
- raise InvalidParameterError.new("Bad parameter: remote_server_id must be an Integer") if params[:remote_server_id] and !params[:remote_server_id].is_a?(Integer)
87
- raise InvalidParameterError.new("Bad parameter: sync_bytes_sent must be an Integer") if params[:sync_bytes_sent] and !params[:sync_bytes_sent].is_a?(Integer)
88
- raise InvalidParameterError.new("Bad parameter: sync_bytes_received must be an Integer") if params[:sync_bytes_received] and !params[:sync_bytes_received].is_a?(Integer)
89
- raise MissingParameterError.new("Parameter missing: remote_server_id") unless params[:remote_server_id]
90
- raise MissingParameterError.new("Parameter missing: sync_bytes_sent") unless params[:sync_bytes_sent]
91
- raise MissingParameterError.new("Parameter missing: sync_bytes_received") unless params[:sync_bytes_received]
92
-
93
- response, options = Api.send_request("/sync_bandwidth_snapshots", :post, params, options)
94
- SyncBandwidthSnapshot.new(response.data, options)
95
- end
96
-
97
- def self.create_batch(params = {}, options = {})
98
- response, options = Api.send_request("/sync_bandwidth_snapshots/create_batch", :post, params, options)
99
- response.data.map do |entity_data|
100
- SyncBandwidthSnapshot.new(entity_data, options)
101
- end
102
- end
103
- end
104
- end