files.com 1.1.671 → 1.1.673

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 (349) 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 +67 -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/path_util.rb +1 -1
  226. data/lib/files.com/version.rb +1 -1
  227. data/lib/files.com.rb +0 -59
  228. data/shared/normalization_for_comparison_test_data.json +3 -1
  229. data/spec/models/file_underscore_destinations_spec.rb +24 -0
  230. data/spec/path_util_spec.rb +5 -0
  231. metadata +2 -119
  232. data/docs/account.md +0 -155
  233. data/docs/action_webhook_failure.md +0 -28
  234. data/docs/agent_proxy_identity.md +0 -49
  235. data/docs/agent_proxy_identity_endpoint.md +0 -11
  236. data/docs/agent_proxy_identity_result.md +0 -24
  237. data/docs/agent_v2_auth.md +0 -17
  238. data/docs/announcement.md +0 -57
  239. data/docs/blog_post.md +0 -57
  240. data/docs/bundle_recipient_registration.md +0 -39
  241. data/docs/certificate.md +0 -258
  242. data/docs/child_site.md +0 -583
  243. data/docs/clickwrap_acceptance.md +0 -30
  244. data/docs/client_log.md +0 -17
  245. data/docs/crash_report.md +0 -50
  246. data/docs/custom_domain_for_proxy.md +0 -23
  247. data/docs/email_preference.md +0 -108
  248. data/docs/email_preference_bundle_notification.md +0 -15
  249. data/docs/email_preference_notification.md +0 -17
  250. data/docs/export.md +0 -90
  251. data/docs/front_end_server.md +0 -111
  252. data/docs/frontend_metric.md +0 -34
  253. data/docs/inbox.md +0 -102
  254. data/docs/inbox_recipient_registration.md +0 -35
  255. data/docs/ip.md +0 -63
  256. data/docs/ip_abuse_entry.md +0 -47
  257. data/docs/label.md +0 -9
  258. data/docs/lead.md +0 -161
  259. data/docs/monitoring_stat.md +0 -38
  260. data/docs/monitoring_stats.md +0 -15
  261. data/docs/mover_package.md +0 -68
  262. data/docs/nps_response.md +0 -75
  263. data/docs/oauth_redirect.md +0 -11
  264. data/docs/paired_api_key.md +0 -19
  265. data/docs/paypal_express_info.md +0 -31
  266. data/docs/paypal_express_url.md +0 -11
  267. data/docs/plan.md +0 -107
  268. data/docs/public_hosting_session_pairing.md +0 -15
  269. data/docs/public_inbox.md +0 -121
  270. data/docs/public_url.md +0 -59
  271. data/docs/regional_migration.md +0 -0
  272. data/docs/release.md +0 -83
  273. data/docs/release_package.md +0 -19
  274. data/docs/revision.md +0 -40
  275. data/docs/safe_plan.md +0 -0
  276. data/docs/session_available_site.md +0 -26
  277. data/docs/setting.md +0 -33
  278. data/docs/settings.md +0 -498
  279. data/docs/ssl_certificate.md +0 -37
  280. data/docs/staging_site.md +0 -591
  281. data/docs/support_request.md +0 -126
  282. data/docs/sync_api_usage_snapshot.md +0 -23
  283. data/docs/sync_api_usage_snapshot_report.md +0 -71
  284. data/docs/sync_bandwidth_snapshot.md +0 -48
  285. data/docs/two_factor_authentication_method.md +0 -169
  286. data/docs/warning.md +0 -36
  287. data/docs/webauthn_sign_request.md +0 -13
  288. data/docs/zip_download.md +0 -32
  289. data/docs/zip_download_file.md +0 -45
  290. data/docs/zip_download_files.md +0 -23
  291. data/lib/files.com/models/account.rb +0 -346
  292. data/lib/files.com/models/action_webhook_failure.rb +0 -34
  293. data/lib/files.com/models/agent_proxy_identity.rb +0 -47
  294. data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
  295. data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
  296. data/lib/files.com/models/agent_v2_auth.rb +0 -32
  297. data/lib/files.com/models/announcement.rb +0 -89
  298. data/lib/files.com/models/blog_post.rb +0 -84
  299. data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
  300. data/lib/files.com/models/certificate.rb +0 -455
  301. data/lib/files.com/models/child_site.rb +0 -1756
  302. data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
  303. data/lib/files.com/models/client_log.rb +0 -25
  304. data/lib/files.com/models/crash_report.rb +0 -151
  305. data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
  306. data/lib/files.com/models/email_preference.rb +0 -124
  307. data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
  308. data/lib/files.com/models/email_preference_notification.rb +0 -32
  309. data/lib/files.com/models/export.rb +0 -153
  310. data/lib/files.com/models/front_end_server.rb +0 -335
  311. data/lib/files.com/models/frontend_metric.rb +0 -65
  312. data/lib/files.com/models/inbox.rb +0 -123
  313. data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
  314. data/lib/files.com/models/ip.rb +0 -82
  315. data/lib/files.com/models/ip_abuse_entry.rb +0 -96
  316. data/lib/files.com/models/label.rb +0 -22
  317. data/lib/files.com/models/lead.rb +0 -434
  318. data/lib/files.com/models/monitoring_stat.rb +0 -43
  319. data/lib/files.com/models/monitoring_stats.rb +0 -22
  320. data/lib/files.com/models/mover_package.rb +0 -80
  321. data/lib/files.com/models/nps_response.rb +0 -128
  322. data/lib/files.com/models/oauth_redirect.rb +0 -17
  323. data/lib/files.com/models/paired_api_key.rb +0 -37
  324. data/lib/files.com/models/paypal_express_info.rb +0 -67
  325. data/lib/files.com/models/paypal_express_url.rb +0 -17
  326. data/lib/files.com/models/plan.rb +0 -209
  327. data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
  328. data/lib/files.com/models/public_inbox.rb +0 -142
  329. data/lib/files.com/models/public_url.rb +0 -177
  330. data/lib/files.com/models/regional_migration.rb +0 -12
  331. data/lib/files.com/models/release.rb +0 -153
  332. data/lib/files.com/models/release_package.rb +0 -37
  333. data/lib/files.com/models/revision.rb +0 -53
  334. data/lib/files.com/models/safe_plan.rb +0 -12
  335. data/lib/files.com/models/session_available_site.rb +0 -47
  336. data/lib/files.com/models/setting.rb +0 -36
  337. data/lib/files.com/models/settings.rb +0 -1072
  338. data/lib/files.com/models/ssl_certificate.rb +0 -77
  339. data/lib/files.com/models/staging_site.rb +0 -1781
  340. data/lib/files.com/models/support_request.rb +0 -209
  341. data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
  342. data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
  343. data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
  344. data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
  345. data/lib/files.com/models/warning.rb +0 -38
  346. data/lib/files.com/models/webauthn_sign_request.rb +0 -17
  347. data/lib/files.com/models/zip_download.rb +0 -73
  348. data/lib/files.com/models/zip_download_file.rb +0 -111
  349. data/lib/files.com/models/zip_download_files.rb +0 -42
@@ -1,335 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class FrontEndServer
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Private IP of the server.
13
- def ip
14
- @attributes[:ip]
15
- end
16
-
17
- def ip=(value)
18
- @attributes[:ip] = value
19
- end
20
-
21
- # string - Public IP of the server.
22
- def external_ip
23
- @attributes[:external_ip]
24
- end
25
-
26
- def external_ip=(value)
27
- @attributes[:external_ip] = value
28
- end
29
-
30
- # boolean - Flag to signal to other systems to use this config
31
- def assigned
32
- @attributes[:assigned]
33
- end
34
-
35
- def assigned=(value)
36
- @attributes[:assigned] = value
37
- end
38
-
39
- # SslCertificate - SSL certificate information for the site associated with this IP, if available.
40
- def site
41
- @attributes[:site]
42
- end
43
-
44
- def site=(value)
45
- @attributes[:site] = value
46
- end
47
-
48
- # boolean
49
- def ftp_enabled
50
- @attributes[:ftp_enabled]
51
- end
52
-
53
- def ftp_enabled=(value)
54
- @attributes[:ftp_enabled] = value
55
- end
56
-
57
- # boolean
58
- def sftp_enabled
59
- @attributes[:sftp_enabled]
60
- end
61
-
62
- def sftp_enabled=(value)
63
- @attributes[:sftp_enabled] = value
64
- end
65
-
66
- # string - Which SFTP host key to use.
67
- def sftp_host_key_type
68
- @attributes[:sftp_host_key_type]
69
- end
70
-
71
- def sftp_host_key_type=(value)
72
- @attributes[:sftp_host_key_type] = value
73
- end
74
-
75
- # string - SFTP Host Key private key if using a custom key.
76
- def sftp_host_key_private_key
77
- @attributes[:sftp_host_key_private_key]
78
- end
79
-
80
- def sftp_host_key_private_key=(value)
81
- @attributes[:sftp_host_key_private_key] = value
82
- end
83
-
84
- # int64 - Site Id
85
- def site_id
86
- @attributes[:site_id]
87
- end
88
-
89
- def site_id=(value)
90
- @attributes[:site_id] = value
91
- end
92
-
93
- # string - A message to show users when they connect via FTP or SFTP.
94
- def motd_text
95
- @attributes[:motd_text]
96
- end
97
-
98
- def motd_text=(value)
99
- @attributes[:motd_text] = value
100
- end
101
-
102
- # boolean - Show message to users connecting via FTP
103
- def motd_use_for_ftp
104
- @attributes[:motd_use_for_ftp]
105
- end
106
-
107
- def motd_use_for_ftp=(value)
108
- @attributes[:motd_use_for_ftp] = value
109
- end
110
-
111
- # boolean - Show message to users connecting via SFTP
112
- def motd_use_for_sftp
113
- @attributes[:motd_use_for_sftp]
114
- end
115
-
116
- def motd_use_for_sftp=(value)
117
- @attributes[:motd_use_for_sftp] = value
118
- end
119
-
120
- # array(object) - Active Custom Domains for the site associated with this IP, with their attached SSL certificate content.
121
- def custom_domains
122
- @attributes[:custom_domains]
123
- end
124
-
125
- def custom_domains=(value)
126
- @attributes[:custom_domains] = value
127
- end
128
-
129
- # string - Pair type for General Use Public IPs
130
- def pair_type
131
- @attributes[:pair_type]
132
- end
133
-
134
- def pair_type=(value)
135
- @attributes[:pair_type] = value
136
- end
137
-
138
- # string - Server's short name.
139
- def name
140
- @attributes[:name]
141
- end
142
-
143
- def name=(value)
144
- @attributes[:name] = value
145
- end
146
-
147
- # string - Server's full hostname.
148
- def hostname
149
- @attributes[:hostname]
150
- end
151
-
152
- def hostname=(value)
153
- @attributes[:hostname] = value
154
- end
155
-
156
- # string - Availability zone where this server lives.
157
- def zone
158
- @attributes[:zone]
159
- end
160
-
161
- def zone=(value)
162
- @attributes[:zone] = value
163
- end
164
-
165
- # array(string) - An array of public and private ip address pairs.
166
- def ips
167
- @attributes[:ips]
168
- end
169
-
170
- def ips=(value)
171
- @attributes[:ips] = value
172
- end
173
-
174
- # string - Primary Internal IP.
175
- def primary_ip
176
- @attributes[:primary_ip]
177
- end
178
-
179
- def primary_ip=(value)
180
- @attributes[:primary_ip] = value
181
- end
182
-
183
- # string - Primary Public IP.
184
- def primary_ip_public
185
- @attributes[:primary_ip_public]
186
- end
187
-
188
- def primary_ip_public=(value)
189
- @attributes[:primary_ip_public] = value
190
- end
191
-
192
- # string - Security Opt Out Internal IP.
193
- def soo_ip
194
- @attributes[:soo_ip]
195
- end
196
-
197
- def soo_ip=(value)
198
- @attributes[:soo_ip] = value
199
- end
200
-
201
- # string - Security Opt Out Public IP.
202
- def soo_ip_public
203
- @attributes[:soo_ip_public]
204
- end
205
-
206
- def soo_ip_public=(value)
207
- @attributes[:soo_ip_public] = value
208
- end
209
-
210
- # string - Exavault Internal IP.
211
- def exavault_ip
212
- @attributes[:exavault_ip]
213
- end
214
-
215
- def exavault_ip=(value)
216
- @attributes[:exavault_ip] = value
217
- end
218
-
219
- # string - Exavault Public IP.
220
- def exavault_ip_public
221
- @attributes[:exavault_ip_public]
222
- end
223
-
224
- def exavault_ip_public=(value)
225
- @attributes[:exavault_ip_public] = value
226
- end
227
-
228
- # string - Exavault Security Opt Out Internal IP.
229
- def exavault_soo_ip
230
- @attributes[:exavault_soo_ip]
231
- end
232
-
233
- def exavault_soo_ip=(value)
234
- @attributes[:exavault_soo_ip] = value
235
- end
236
-
237
- # string - Exavault Security Opt Out Public IP.
238
- def exavault_soo_ip_public
239
- @attributes[:exavault_soo_ip_public]
240
- end
241
-
242
- def exavault_soo_ip_public=(value)
243
- @attributes[:exavault_soo_ip_public] = value
244
- end
245
-
246
- # string - Smartfile Internal IP.
247
- def smartfile_ip
248
- @attributes[:smartfile_ip]
249
- end
250
-
251
- def smartfile_ip=(value)
252
- @attributes[:smartfile_ip] = value
253
- end
254
-
255
- # string - Smartfile Public IP.
256
- def smartfile_ip_public
257
- @attributes[:smartfile_ip_public]
258
- end
259
-
260
- def smartfile_ip_public=(value)
261
- @attributes[:smartfile_ip_public] = value
262
- end
263
-
264
- # string - Smartfile Security Opt Out Internal IP.
265
- def smartfile_soo_ip
266
- @attributes[:smartfile_soo_ip]
267
- end
268
-
269
- def smartfile_soo_ip=(value)
270
- @attributes[:smartfile_soo_ip] = value
271
- end
272
-
273
- # string - Smartfile Security Opt Out Public IP.
274
- def smartfile_soo_ip_public
275
- @attributes[:smartfile_soo_ip_public]
276
- end
277
-
278
- def smartfile_soo_ip_public=(value)
279
- @attributes[:smartfile_soo_ip_public] = value
280
- end
281
-
282
- def save
283
- if @attributes[:id]
284
- raise NotImplementedError.new("The FrontEndServer object doesn't support updates.")
285
- else
286
- new_obj = FrontEndServer.create(@attributes, @options)
287
- end
288
-
289
- @attributes = new_obj.attributes
290
- true
291
- end
292
-
293
- # Parameters:
294
- # name (required) - string - Server's short name.
295
- # hostname - string - Server's full hostname.
296
- # zone - string - Availability zone where this server lives.
297
- # ips - array(string) - An array of public and private ip address pairs.
298
- # ips[private_ip] (required) - array(string) - Private IP address associated with the server.
299
- # ips[public_ip] - array(string) - Public IP address associated with the server.
300
- # primary_ip - string - Primary Internal IP.
301
- # primary_ip_public - string - Primary Public IP.
302
- # soo_ip - string - Security Opt Out Internal IP.
303
- # soo_ip_public - string - Security Opt Out Public IP.
304
- # exavault_ip - string - Exavault Internal IP.
305
- # exavault_ip_public - string - Exavault Public IP.
306
- # exavault_soo_ip - string - Exavault Security Opt Out Internal IP.
307
- # exavault_soo_ip_public - string - Exavault Security Opt Out Public IP.
308
- # smartfile_ip - string - Smartfile Internal IP.
309
- # smartfile_ip_public - string - Smartfile Public IP.
310
- # smartfile_soo_ip - string - Smartfile Security Opt Out Internal IP.
311
- # smartfile_soo_ip_public - string - Smartfile Security Opt Out Public IP.
312
- def self.create(params = {}, options = {})
313
- raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
314
- raise InvalidParameterError.new("Bad parameter: hostname must be an String") if params[:hostname] and !params[:hostname].is_a?(String)
315
- raise InvalidParameterError.new("Bad parameter: zone must be an String") if params[:zone] and !params[:zone].is_a?(String)
316
- raise InvalidParameterError.new("Bad parameter: ips must be an Array") if params[:ips] and !params[:ips].is_a?(Array)
317
- raise InvalidParameterError.new("Bad parameter: primary_ip must be an String") if params[:primary_ip] and !params[:primary_ip].is_a?(String)
318
- raise InvalidParameterError.new("Bad parameter: primary_ip_public must be an String") if params[:primary_ip_public] and !params[:primary_ip_public].is_a?(String)
319
- raise InvalidParameterError.new("Bad parameter: soo_ip must be an String") if params[:soo_ip] and !params[:soo_ip].is_a?(String)
320
- raise InvalidParameterError.new("Bad parameter: soo_ip_public must be an String") if params[:soo_ip_public] and !params[:soo_ip_public].is_a?(String)
321
- raise InvalidParameterError.new("Bad parameter: exavault_ip must be an String") if params[:exavault_ip] and !params[:exavault_ip].is_a?(String)
322
- raise InvalidParameterError.new("Bad parameter: exavault_ip_public must be an String") if params[:exavault_ip_public] and !params[:exavault_ip_public].is_a?(String)
323
- raise InvalidParameterError.new("Bad parameter: exavault_soo_ip must be an String") if params[:exavault_soo_ip] and !params[:exavault_soo_ip].is_a?(String)
324
- raise InvalidParameterError.new("Bad parameter: exavault_soo_ip_public must be an String") if params[:exavault_soo_ip_public] and !params[:exavault_soo_ip_public].is_a?(String)
325
- raise InvalidParameterError.new("Bad parameter: smartfile_ip must be an String") if params[:smartfile_ip] and !params[:smartfile_ip].is_a?(String)
326
- raise InvalidParameterError.new("Bad parameter: smartfile_ip_public must be an String") if params[:smartfile_ip_public] and !params[:smartfile_ip_public].is_a?(String)
327
- raise InvalidParameterError.new("Bad parameter: smartfile_soo_ip must be an String") if params[:smartfile_soo_ip] and !params[:smartfile_soo_ip].is_a?(String)
328
- raise InvalidParameterError.new("Bad parameter: smartfile_soo_ip_public must be an String") if params[:smartfile_soo_ip_public] and !params[:smartfile_soo_ip_public].is_a?(String)
329
- raise MissingParameterError.new("Parameter missing: name") unless params[:name]
330
-
331
- response, options = Api.send_request("/front_end_servers", :post, params, options)
332
- Ip.new(response.data, options)
333
- end
334
- end
335
- end
@@ -1,65 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class FrontendMetric
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Statsd metric type
13
- def metric_type
14
- @attributes[:metric_type]
15
- end
16
-
17
- def metric_type=(value)
18
- @attributes[:metric_type] = value
19
- end
20
-
21
- # string - Where in statsd to store the metric. The final key in statsd will be `files-react.[environment].[subkey]`
22
- def subkey
23
- @attributes[:subkey]
24
- end
25
-
26
- def subkey=(value)
27
- @attributes[:subkey] = value
28
- end
29
-
30
- # int64 - For timing metrics, the number of milliseconds. Required if `metric_type` is `timing`.
31
- def ms
32
- @attributes[:ms]
33
- end
34
-
35
- def ms=(value)
36
- @attributes[:ms] = value
37
- end
38
-
39
- def save
40
- if @attributes[:id]
41
- raise NotImplementedError.new("The FrontendMetric object doesn't support updates.")
42
- else
43
- new_obj = FrontendMetric.create(@attributes, @options)
44
- end
45
-
46
- @attributes = new_obj.attributes
47
- true
48
- end
49
-
50
- # Parameters:
51
- # metric_type (required) - string - Statsd metric type. Use `timing` to submit the amount of time something took, or `increment` to increment a counter
52
- # subkey (required) - string - Where in statsd to store the metric. The final key in statsd will be `files-react.[environment].[subkey]`
53
- # ms - int64 - For timing metrics, the number of milliseconds. Required if `metric_type` is `timing`.
54
- def self.create(params = {}, options = {})
55
- raise InvalidParameterError.new("Bad parameter: metric_type must be an String") if params[:metric_type] and !params[:metric_type].is_a?(String)
56
- raise InvalidParameterError.new("Bad parameter: subkey must be an String") if params[:subkey] and !params[:subkey].is_a?(String)
57
- raise InvalidParameterError.new("Bad parameter: ms must be an Integer") if params[:ms] and !params[:ms].is_a?(Integer)
58
- raise MissingParameterError.new("Parameter missing: metric_type") unless params[:metric_type]
59
- raise MissingParameterError.new("Parameter missing: subkey") unless params[:subkey]
60
-
61
- response, options = Api.send_request("/frontend_metrics", :post, params, options)
62
- FrontendMetric.new(response.data, options)
63
- end
64
- end
65
- end
@@ -1,123 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class Inbox
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Inbox title
13
- def title
14
- @attributes[:title]
15
- end
16
-
17
- # string - User description
18
- def description
19
- @attributes[:description]
20
- end
21
-
22
- # string - Text that will be shown to the users on the Inbox. Use this field to provide custom instructions.
23
- def help_text
24
- @attributes[:help_text]
25
- end
26
-
27
- # string - Unique key for inbox
28
- def key
29
- @attributes[:key]
30
- end
31
-
32
- # boolean - Show this inbox on site login page?
33
- def show_on_login_page
34
- @attributes[:show_on_login_page]
35
- end
36
-
37
- # boolean - Is this inbox password protected?
38
- def has_password
39
- @attributes[:has_password]
40
- end
41
-
42
- # boolean - Does this inbox require registration?
43
- def require_registration
44
- @attributes[:require_registration]
45
- end
46
-
47
- # boolean - Should folder uploads be prevented?
48
- def dont_allow_folders_in_uploads
49
- @attributes[:dont_allow_folders_in_uploads]
50
- end
51
-
52
- # string - Legal text that must be agreed to prior to accessing Inbox.
53
- def clickwrap_body
54
- @attributes[:clickwrap_body]
55
- end
56
-
57
- # FormFieldSet - Custom Form to use
58
- def form_field_set
59
- @attributes[:form_field_set]
60
- end
61
-
62
- # boolean - Notify senders on successful uploads via email
63
- def notify_senders_on_successful_uploads_via_email
64
- @attributes[:notify_senders_on_successful_uploads_via_email]
65
- end
66
-
67
- # boolean - Notify senders on successful uploads via web
68
- def notify_senders_on_successful_uploads_via_web
69
- @attributes[:notify_senders_on_successful_uploads_via_web]
70
- end
71
-
72
- # boolean - allow/disallow whitelist
73
- def allow_whitelisting
74
- @attributes[:allow_whitelisting]
75
- end
76
-
77
- # array(string) - A list of emails and domain names for whitelisting
78
- def whitelist
79
- @attributes[:whitelist]
80
- end
81
-
82
- # boolean - This will disable the upload URL and can only be done if uploads via email are enabled
83
- def disable_web_upload
84
- @attributes[:disable_web_upload]
85
- end
86
-
87
- # string - inbound email address to the inbox
88
- def inbound_email_address
89
- @attributes[:inbound_email_address]
90
- end
91
-
92
- # Parameters:
93
- # 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.
94
- # per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
95
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
96
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `allow_whitelisting`.
97
- def self.list(params = {}, options = {})
98
- raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
99
- raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
100
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
101
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
102
-
103
- List.new(Inbox, params) do
104
- Api.send_request("/inboxes", :get, params, options)
105
- end
106
- end
107
-
108
- def self.all(params = {}, options = {})
109
- list(params, options)
110
- end
111
-
112
- # Parameters:
113
- # sort_by - object - If set, sort records by the specified field in either `asc` or `desc` direction. Valid fields are .
114
- # filter - object - If set, return records where the specified field is equal to the supplied value. Valid fields are `allow_whitelisting`.
115
- def self.create_export(params = {}, options = {})
116
- raise InvalidParameterError.new("Bad parameter: sort_by must be an Hash") if params[:sort_by] and !params[:sort_by].is_a?(Hash)
117
- raise InvalidParameterError.new("Bad parameter: filter must be an Hash") if params[:filter] and !params[:filter].is_a?(Hash)
118
-
119
- response, options = Api.send_request("/inboxes/create_export", :post, params, options)
120
- Export.new(response.data, options)
121
- end
122
- end
123
- end
@@ -1,87 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class InboxRecipientRegistration
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - The inbox recipient registration code. Use this to register for the inbox.
13
- def code
14
- @attributes[:code]
15
- end
16
-
17
- def code=(value)
18
- @attributes[:code] = value
19
- end
20
-
21
- # string - If the recipient has already registered for this inbox, this is their registration code to get the inbox contents.
22
- def inbox_registration_code
23
- @attributes[:inbox_registration_code]
24
- end
25
-
26
- def inbox_registration_code=(value)
27
- @attributes[:inbox_registration_code] = value
28
- end
29
-
30
- # string - The recipient's email address.
31
- def recipient
32
- @attributes[:recipient]
33
- end
34
-
35
- def recipient=(value)
36
- @attributes[:recipient] = value
37
- end
38
-
39
- # string - The recipient's name.
40
- def name
41
- @attributes[:name]
42
- end
43
-
44
- def name=(value)
45
- @attributes[:name] = value
46
- end
47
-
48
- # string - The recipient's company.
49
- def company
50
- @attributes[:company]
51
- end
52
-
53
- def company=(value)
54
- @attributes[:company] = value
55
- end
56
-
57
- # string - Inbox recipient code
58
- def inbox_recipient_code
59
- @attributes[:inbox_recipient_code]
60
- end
61
-
62
- def inbox_recipient_code=(value)
63
- @attributes[:inbox_recipient_code] = value
64
- end
65
-
66
- def save
67
- if @attributes[:id]
68
- raise NotImplementedError.new("The InboxRecipientRegistration object doesn't support updates.")
69
- else
70
- new_obj = InboxRecipientRegistration.create(@attributes, @options)
71
- end
72
-
73
- @attributes = new_obj.attributes
74
- true
75
- end
76
-
77
- # Parameters:
78
- # inbox_recipient_code (required) - string - Inbox recipient code
79
- def self.create(params = {}, options = {})
80
- raise InvalidParameterError.new("Bad parameter: inbox_recipient_code must be an String") if params[:inbox_recipient_code] and !params[:inbox_recipient_code].is_a?(String)
81
- raise MissingParameterError.new("Parameter missing: inbox_recipient_code") unless params[:inbox_recipient_code]
82
-
83
- response, options = Api.send_request("/inbox_recipient_registrations", :post, params, options)
84
- InboxRecipientRegistration.new(response.data, options)
85
- end
86
- end
87
- end
@@ -1,82 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Files
4
- class Ip
5
- attr_reader :options, :attributes
6
-
7
- def initialize(attributes = {}, options = {})
8
- @attributes = attributes || {}
9
- @options = options || {}
10
- end
11
-
12
- # string - Private IP of the server.
13
- def ip
14
- @attributes[:ip]
15
- end
16
-
17
- # string - Public IP of the server.
18
- def external_ip
19
- @attributes[:external_ip]
20
- end
21
-
22
- # boolean - Flag to signal to other systems to use this config
23
- def assigned
24
- @attributes[:assigned]
25
- end
26
-
27
- # SslCertificate - SSL certificate information for the site associated with this IP, if available.
28
- def site
29
- @attributes[:site]
30
- end
31
-
32
- # boolean
33
- def ftp_enabled
34
- @attributes[:ftp_enabled]
35
- end
36
-
37
- # boolean
38
- def sftp_enabled
39
- @attributes[:sftp_enabled]
40
- end
41
-
42
- # string - Which SFTP host key to use.
43
- def sftp_host_key_type
44
- @attributes[:sftp_host_key_type]
45
- end
46
-
47
- # string - SFTP Host Key private key if using a custom key.
48
- def sftp_host_key_private_key
49
- @attributes[:sftp_host_key_private_key]
50
- end
51
-
52
- # int64 - Site Id
53
- def site_id
54
- @attributes[:site_id]
55
- end
56
-
57
- # string - A message to show users when they connect via FTP or SFTP.
58
- def motd_text
59
- @attributes[:motd_text]
60
- end
61
-
62
- # boolean - Show message to users connecting via FTP
63
- def motd_use_for_ftp
64
- @attributes[:motd_use_for_ftp]
65
- end
66
-
67
- # boolean - Show message to users connecting via SFTP
68
- def motd_use_for_sftp
69
- @attributes[:motd_use_for_sftp]
70
- end
71
-
72
- # array(object) - Active Custom Domains for the site associated with this IP, with their attached SSL certificate content.
73
- def custom_domains
74
- @attributes[:custom_domains]
75
- end
76
-
77
- # string - Pair type for General Use Public IPs
78
- def pair_type
79
- @attributes[:pair_type]
80
- end
81
- end
82
- end