files.com 1.1.670 → 1.1.671

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/account.md +155 -0
  4. data/docs/action_log.md +21 -1
  5. data/docs/action_notification_export_result.md +17 -0
  6. data/docs/action_webhook_failure.md +28 -0
  7. data/docs/agent_proxy_identity.md +49 -0
  8. data/docs/agent_proxy_identity_endpoint.md +11 -0
  9. data/docs/agent_proxy_identity_result.md +24 -0
  10. data/docs/agent_v2_auth.md +17 -0
  11. data/docs/ai_assistant_personality.md +14 -0
  12. data/docs/ai_task.md +14 -0
  13. data/docs/announcement.md +57 -0
  14. data/docs/api_key.md +27 -1
  15. data/docs/api_request_log.md +21 -1
  16. data/docs/app.md +15 -0
  17. data/docs/as2_incoming_message.md +18 -0
  18. data/docs/as2_outgoing_message.md +18 -0
  19. data/docs/as2_partner.md +14 -0
  20. data/docs/as2_station.md +14 -0
  21. data/docs/automation.md +22 -1
  22. data/docs/automation_log.md +21 -1
  23. data/docs/automation_run.md +19 -0
  24. data/docs/bandwidth_snapshot.md +18 -0
  25. data/docs/behavior.md +14 -0
  26. data/docs/blog_post.md +57 -0
  27. data/docs/bundle.md +50 -1
  28. data/docs/bundle_action.md +25 -0
  29. data/docs/bundle_download.md +23 -0
  30. data/docs/bundle_notification.md +19 -0
  31. data/docs/bundle_recipient.md +21 -0
  32. data/docs/bundle_recipient_registration.md +39 -0
  33. data/docs/bundle_registration.md +61 -0
  34. data/docs/certificate.md +258 -0
  35. data/docs/chat_session.md +14 -0
  36. data/docs/child_site.md +583 -0
  37. data/docs/child_site_management_policy.md +9 -0
  38. data/docs/clickwrap.md +13 -0
  39. data/docs/clickwrap_acceptance.md +30 -0
  40. data/docs/client_log.md +17 -0
  41. data/docs/crash_report.md +50 -0
  42. data/docs/custom_domain.md +13 -0
  43. data/docs/custom_domain_for_proxy.md +23 -0
  44. data/docs/desktop_configuration_profile.md +14 -0
  45. data/docs/dns_record.md +9 -0
  46. data/docs/email_incoming_message.md +19 -0
  47. data/docs/email_log.md +20 -1
  48. data/docs/email_preference.md +108 -0
  49. data/docs/email_preference_bundle_notification.md +15 -0
  50. data/docs/email_preference_notification.md +17 -0
  51. data/docs/event_channel.md +14 -0
  52. data/docs/event_delivery_attempt.md +14 -0
  53. data/docs/event_record.md +19 -0
  54. data/docs/event_subscription.md +14 -0
  55. data/docs/event_target.md +14 -0
  56. data/docs/exavault_api_request_log.md +21 -1
  57. data/docs/expectation.md +14 -0
  58. data/docs/expectation_evaluation.md +14 -0
  59. data/docs/expectation_incident.md +14 -0
  60. data/docs/export.md +90 -0
  61. data/docs/external_event.md +18 -0
  62. data/docs/file.md +90 -2
  63. data/docs/file_migration.md +32 -0
  64. data/docs/file_migration_log.md +20 -1
  65. data/docs/file_upload_part.md +3 -1
  66. data/docs/folder.md +20 -0
  67. data/docs/form_field_set.md +15 -0
  68. data/docs/front_end_server.md +111 -0
  69. data/docs/frontend_metric.md +34 -0
  70. data/docs/ftp_action_log.md +21 -1
  71. data/docs/gpg_key.md +21 -0
  72. data/docs/group.md +19 -0
  73. data/docs/group_user.md +22 -2
  74. data/docs/history.md +85 -0
  75. data/docs/history_export_result.md +17 -0
  76. data/docs/holiday_region.md +9 -0
  77. data/docs/inbound_s3_log.md +21 -1
  78. data/docs/inbox.md +102 -0
  79. data/docs/inbox_recipient.md +19 -0
  80. data/docs/inbox_recipient_registration.md +35 -0
  81. data/docs/inbox_registration.md +57 -0
  82. data/docs/inbox_upload.md +18 -0
  83. data/docs/invoice.md +9 -0
  84. data/docs/ip.md +63 -0
  85. data/docs/ip_abuse_entry.md +47 -0
  86. data/docs/ip_address.md +59 -0
  87. data/docs/key_lifecycle_rule.md +14 -0
  88. data/docs/label.md +9 -0
  89. data/docs/lead.md +161 -0
  90. data/docs/lock.md +15 -0
  91. data/docs/message.md +17 -0
  92. data/docs/message_comment.md +18 -0
  93. data/docs/message_comment_reaction.md +18 -0
  94. data/docs/message_reaction.md +17 -0
  95. data/docs/metadata_category.md +13 -0
  96. data/docs/monitoring_stat.md +38 -0
  97. data/docs/monitoring_stats.md +15 -0
  98. data/docs/mover_package.md +68 -0
  99. data/docs/notification.md +20 -0
  100. data/docs/nps_response.md +75 -0
  101. data/docs/oauth_redirect.md +11 -0
  102. data/docs/outbound_connection_log.md +21 -1
  103. data/docs/paired_api_key.md +19 -0
  104. data/docs/partner.md +14 -0
  105. data/docs/partner_channel.md +14 -0
  106. data/docs/partner_site_request.md +14 -0
  107. data/docs/payment.md +9 -0
  108. data/docs/paypal_express_info.md +31 -0
  109. data/docs/paypal_express_url.md +11 -0
  110. data/docs/pending_work_event.md +18 -0
  111. data/docs/permission.md +22 -0
  112. data/docs/plan.md +107 -0
  113. data/docs/preview.md +57 -0
  114. data/docs/project.md +9 -0
  115. data/docs/public_hosting_request_log.md +21 -1
  116. data/docs/public_hosting_session_pairing.md +15 -0
  117. data/docs/public_inbox.md +121 -0
  118. data/docs/public_key.md +21 -0
  119. data/docs/public_url.md +59 -0
  120. data/docs/regional_migration.md +0 -0
  121. data/docs/release.md +83 -0
  122. data/docs/release_package.md +19 -0
  123. data/docs/remote_bandwidth_snapshot.md +18 -0
  124. data/docs/remote_mount_backend.md +13 -0
  125. data/docs/remote_server.md +233 -0
  126. data/docs/remote_server_credential.md +15 -0
  127. data/docs/request.md +17 -0
  128. data/docs/restore.md +14 -0
  129. data/docs/revision.md +40 -0
  130. data/docs/safe_plan.md +0 -0
  131. data/docs/scheduled_export.md +15 -0
  132. data/docs/scim_log.md +13 -0
  133. data/docs/session.md +232 -1
  134. data/docs/session_available_site.md +26 -0
  135. data/docs/setting.md +33 -0
  136. data/docs/settings.md +498 -0
  137. data/docs/settings_change.md +16 -0
  138. data/docs/sftp_action_log.md +21 -1
  139. data/docs/sftp_host_key.md +9 -0
  140. data/docs/share_group.md +15 -0
  141. data/docs/siem_http_destination.md +9 -0
  142. data/docs/siem_http_destination_event.md +18 -0
  143. data/docs/site.md +179 -0
  144. data/docs/site_subdomain_redirect.md +13 -0
  145. data/docs/snapshot.md +9 -0
  146. data/docs/ssl_certificate.md +37 -0
  147. data/docs/sso_event.md +19 -0
  148. data/docs/sso_strategy.md +406 -0
  149. data/docs/staging_site.md +591 -0
  150. data/docs/support_request.md +126 -0
  151. data/docs/sync.md +14 -0
  152. data/docs/sync_api_usage_snapshot.md +23 -0
  153. data/docs/sync_api_usage_snapshot_report.md +71 -0
  154. data/docs/sync_bandwidth_snapshot.md +48 -0
  155. data/docs/sync_log.md +20 -1
  156. data/docs/sync_run.md +21 -0
  157. data/docs/two_factor_authentication_method.md +169 -0
  158. data/docs/usage_daily_snapshot.md +18 -0
  159. data/docs/usage_snapshot.md +9 -0
  160. data/docs/user.md +49 -2
  161. data/docs/user_cipher_use.md +21 -0
  162. data/docs/user_lifecycle_rule.md +14 -0
  163. data/docs/user_request.md +9 -0
  164. data/docs/user_security_event.md +18 -0
  165. data/docs/user_sftp_client_use.md +15 -0
  166. data/docs/warning.md +36 -0
  167. data/docs/web_dav_action_log.md +21 -1
  168. data/docs/webauthn_sign_request.md +13 -0
  169. data/docs/workspace.md +15 -0
  170. data/docs/zip_download.md +32 -0
  171. data/docs/zip_download_file.md +45 -0
  172. data/docs/zip_download_files.md +23 -0
  173. data/lib/files.com/models/account.rb +346 -0
  174. data/lib/files.com/models/action_log.rb +24 -0
  175. data/lib/files.com/models/action_notification_export_result.rb +12 -0
  176. data/lib/files.com/models/action_webhook_failure.rb +34 -0
  177. data/lib/files.com/models/agent_proxy_identity.rb +47 -0
  178. data/lib/files.com/models/agent_proxy_identity_endpoint.rb +17 -0
  179. data/lib/files.com/models/agent_proxy_identity_result.rb +27 -0
  180. data/lib/files.com/models/agent_v2_auth.rb +32 -0
  181. data/lib/files.com/models/ai_assistant_personality.rb +11 -0
  182. data/lib/files.com/models/ai_task.rb +11 -0
  183. data/lib/files.com/models/announcement.rb +89 -0
  184. data/lib/files.com/models/api_key.rb +39 -5
  185. data/lib/files.com/models/api_request_log.rb +24 -0
  186. data/lib/files.com/models/app.rb +13 -0
  187. data/lib/files.com/models/as2_incoming_message.rb +19 -0
  188. data/lib/files.com/models/as2_outgoing_message.rb +19 -0
  189. data/lib/files.com/models/as2_partner.rb +11 -0
  190. data/lib/files.com/models/as2_station.rb +11 -0
  191. data/lib/files.com/models/automation.rb +30 -0
  192. data/lib/files.com/models/automation_log.rb +24 -0
  193. data/lib/files.com/models/automation_run.rb +16 -0
  194. data/lib/files.com/models/bandwidth_snapshot.rb +19 -0
  195. data/lib/files.com/models/behavior.rb +11 -0
  196. data/lib/files.com/models/blog_post.rb +84 -0
  197. data/lib/files.com/models/bundle.rb +52 -0
  198. data/lib/files.com/models/bundle_action.rb +25 -0
  199. data/lib/files.com/models/bundle_download.rb +23 -0
  200. data/lib/files.com/models/bundle_notification.rb +15 -0
  201. data/lib/files.com/models/bundle_recipient.rb +27 -0
  202. data/lib/files.com/models/bundle_recipient_registration.rb +105 -0
  203. data/lib/files.com/models/bundle_registration.rb +125 -0
  204. data/lib/files.com/models/certificate.rb +455 -0
  205. data/lib/files.com/models/chat_session.rb +11 -0
  206. data/lib/files.com/models/child_site.rb +1756 -0
  207. data/lib/files.com/models/child_site_management_policy.rb +5 -0
  208. data/lib/files.com/models/clickwrap.rb +9 -0
  209. data/lib/files.com/models/clickwrap_acceptance.rb +56 -0
  210. data/lib/files.com/models/client_log.rb +25 -0
  211. data/lib/files.com/models/crash_report.rb +151 -0
  212. data/lib/files.com/models/custom_domain.rb +9 -0
  213. data/lib/files.com/models/custom_domain_for_proxy.rb +47 -0
  214. data/lib/files.com/models/desktop_configuration_profile.rb +11 -0
  215. data/lib/files.com/models/dns_record.rb +5 -0
  216. data/lib/files.com/models/email_incoming_message.rb +21 -0
  217. data/lib/files.com/models/email_log.rb +22 -0
  218. data/lib/files.com/models/email_preference.rb +124 -0
  219. data/lib/files.com/models/email_preference_bundle_notification.rb +27 -0
  220. data/lib/files.com/models/email_preference_notification.rb +32 -0
  221. data/lib/files.com/models/event_channel.rb +11 -0
  222. data/lib/files.com/models/event_delivery_attempt.rb +11 -0
  223. data/lib/files.com/models/event_record.rb +21 -0
  224. data/lib/files.com/models/event_subscription.rb +11 -0
  225. data/lib/files.com/models/event_target.rb +11 -0
  226. data/lib/files.com/models/exavault_api_request_log.rb +24 -0
  227. data/lib/files.com/models/expectation.rb +11 -0
  228. data/lib/files.com/models/expectation_evaluation.rb +11 -0
  229. data/lib/files.com/models/expectation_incident.rb +11 -0
  230. data/lib/files.com/models/export.rb +153 -0
  231. data/lib/files.com/models/external_event.rb +19 -0
  232. data/lib/files.com/models/file.rb +207 -0
  233. data/lib/files.com/models/file_migration.rb +27 -0
  234. data/lib/files.com/models/file_migration_log.rb +22 -0
  235. data/lib/files.com/models/file_upload_part.rb +5 -0
  236. data/lib/files.com/models/folder.rb +69 -0
  237. data/lib/files.com/models/form_field_set.rb +9 -0
  238. data/lib/files.com/models/front_end_server.rb +335 -0
  239. data/lib/files.com/models/frontend_metric.rb +65 -0
  240. data/lib/files.com/models/ftp_action_log.rb +24 -0
  241. data/lib/files.com/models/gpg_key.rb +21 -0
  242. data/lib/files.com/models/group.rb +16 -0
  243. data/lib/files.com/models/group_user.rb +21 -1
  244. data/lib/files.com/models/history.rb +94 -0
  245. data/lib/files.com/models/history_export_result.rb +12 -0
  246. data/lib/files.com/models/holiday_region.rb +5 -0
  247. data/lib/files.com/models/inbound_s3_log.rb +24 -0
  248. data/lib/files.com/models/inbox.rb +123 -0
  249. data/lib/files.com/models/inbox_recipient.rb +25 -0
  250. data/lib/files.com/models/inbox_recipient_registration.rb +87 -0
  251. data/lib/files.com/models/inbox_registration.rb +121 -0
  252. data/lib/files.com/models/inbox_upload.rb +19 -0
  253. data/lib/files.com/models/invoice.rb +5 -0
  254. data/lib/files.com/models/ip.rb +82 -0
  255. data/lib/files.com/models/ip_abuse_entry.rb +96 -0
  256. data/lib/files.com/models/ip_address.rb +37 -0
  257. data/lib/files.com/models/key_lifecycle_rule.rb +11 -0
  258. data/lib/files.com/models/label.rb +22 -0
  259. data/lib/files.com/models/lead.rb +434 -0
  260. data/lib/files.com/models/lock.rb +27 -0
  261. data/lib/files.com/models/message.rb +12 -0
  262. data/lib/files.com/models/message_comment.rb +14 -0
  263. data/lib/files.com/models/message_comment_reaction.rb +14 -0
  264. data/lib/files.com/models/message_reaction.rb +12 -0
  265. data/lib/files.com/models/metadata_category.rb +9 -0
  266. data/lib/files.com/models/monitoring_stat.rb +43 -0
  267. data/lib/files.com/models/monitoring_stats.rb +22 -0
  268. data/lib/files.com/models/mover_package.rb +80 -0
  269. data/lib/files.com/models/notification.rb +18 -0
  270. data/lib/files.com/models/nps_response.rb +128 -0
  271. data/lib/files.com/models/oauth_redirect.rb +17 -0
  272. data/lib/files.com/models/outbound_connection_log.rb +24 -0
  273. data/lib/files.com/models/paired_api_key.rb +37 -0
  274. data/lib/files.com/models/partner.rb +11 -0
  275. data/lib/files.com/models/partner_channel.rb +11 -0
  276. data/lib/files.com/models/partner_site_request.rb +11 -0
  277. data/lib/files.com/models/payment.rb +5 -0
  278. data/lib/files.com/models/paypal_express_info.rb +67 -0
  279. data/lib/files.com/models/paypal_express_url.rb +17 -0
  280. data/lib/files.com/models/pending_work_event.rb +19 -0
  281. data/lib/files.com/models/permission.rb +22 -0
  282. data/lib/files.com/models/plan.rb +209 -0
  283. data/lib/files.com/models/preview.rb +57 -0
  284. data/lib/files.com/models/project.rb +5 -0
  285. data/lib/files.com/models/public_hosting_request_log.rb +24 -0
  286. data/lib/files.com/models/public_hosting_session_pairing.rb +27 -0
  287. data/lib/files.com/models/public_inbox.rb +142 -0
  288. data/lib/files.com/models/public_key.rb +21 -0
  289. data/lib/files.com/models/public_url.rb +177 -0
  290. data/lib/files.com/models/regional_migration.rb +12 -0
  291. data/lib/files.com/models/release.rb +153 -0
  292. data/lib/files.com/models/release_package.rb +37 -0
  293. data/lib/files.com/models/remote_bandwidth_snapshot.rb +19 -0
  294. data/lib/files.com/models/remote_mount_backend.rb +9 -0
  295. data/lib/files.com/models/remote_server.rb +297 -0
  296. data/lib/files.com/models/remote_server_credential.rb +13 -0
  297. data/lib/files.com/models/request.rb +12 -0
  298. data/lib/files.com/models/restore.rb +11 -0
  299. data/lib/files.com/models/revision.rb +53 -0
  300. data/lib/files.com/models/safe_plan.rb +12 -0
  301. data/lib/files.com/models/scheduled_export.rb +13 -0
  302. data/lib/files.com/models/scim_log.rb +9 -0
  303. data/lib/files.com/models/session.rb +493 -0
  304. data/lib/files.com/models/session_available_site.rb +47 -0
  305. data/lib/files.com/models/setting.rb +36 -0
  306. data/lib/files.com/models/settings.rb +1072 -0
  307. data/lib/files.com/models/settings_change.rb +16 -0
  308. data/lib/files.com/models/sftp_action_log.rb +24 -0
  309. data/lib/files.com/models/sftp_host_key.rb +5 -0
  310. data/lib/files.com/models/share_group.rb +9 -0
  311. data/lib/files.com/models/siem_http_destination.rb +5 -0
  312. data/lib/files.com/models/siem_http_destination_event.rb +19 -0
  313. data/lib/files.com/models/site.rb +1021 -0
  314. data/lib/files.com/models/site_subdomain_redirect.rb +9 -0
  315. data/lib/files.com/models/snapshot.rb +5 -0
  316. data/lib/files.com/models/ssl_certificate.rb +77 -0
  317. data/lib/files.com/models/sso_event.rb +21 -0
  318. data/lib/files.com/models/sso_strategy.rb +632 -0
  319. data/lib/files.com/models/staging_site.rb +1781 -0
  320. data/lib/files.com/models/support_request.rb +209 -0
  321. data/lib/files.com/models/sync.rb +11 -0
  322. data/lib/files.com/models/sync_api_usage_snapshot.rb +47 -0
  323. data/lib/files.com/models/sync_api_usage_snapshot_report.rb +162 -0
  324. data/lib/files.com/models/sync_bandwidth_snapshot.rb +104 -0
  325. data/lib/files.com/models/sync_log.rb +22 -0
  326. data/lib/files.com/models/sync_run.rb +21 -0
  327. data/lib/files.com/models/two_factor_authentication_method.rb +250 -0
  328. data/lib/files.com/models/usage_daily_snapshot.rb +19 -0
  329. data/lib/files.com/models/usage_snapshot.rb +5 -0
  330. data/lib/files.com/models/user.rb +59 -0
  331. data/lib/files.com/models/user_cipher_use.rb +21 -0
  332. data/lib/files.com/models/user_lifecycle_rule.rb +11 -0
  333. data/lib/files.com/models/user_request.rb +5 -0
  334. data/lib/files.com/models/user_security_event.rb +19 -0
  335. data/lib/files.com/models/user_sftp_client_use.rb +9 -0
  336. data/lib/files.com/models/warning.rb +38 -0
  337. data/lib/files.com/models/web_dav_action_log.rb +24 -0
  338. data/lib/files.com/models/webauthn_sign_request.rb +17 -0
  339. data/lib/files.com/models/workspace.rb +13 -0
  340. data/lib/files.com/models/zip_download.rb +73 -0
  341. data/lib/files.com/models/zip_download_file.rb +111 -0
  342. data/lib/files.com/models/zip_download_files.rb +42 -0
  343. data/lib/files.com/version.rb +1 -1
  344. data/lib/files.com.rb +59 -0
  345. metadata +120 -2
@@ -16,241 +16,433 @@ module Files
16
16
  @attributes[:id]
17
17
  end
18
18
 
19
+ def id=(value)
20
+ @attributes[:id] = value
21
+ end
22
+
19
23
  # string - Site name
20
24
  def name
21
25
  @attributes[:name]
22
26
  end
23
27
 
28
+ def name=(value)
29
+ @attributes[:name] = value
30
+ end
31
+
24
32
  # array(string) - Additional extensions that are considered text files
25
33
  def additional_text_file_types
26
34
  @attributes[:additional_text_file_types]
27
35
  end
28
36
 
37
+ def additional_text_file_types=(value)
38
+ @attributes[:additional_text_file_types] = value
39
+ end
40
+
29
41
  # object - Availability settings for AI features by user class
30
42
  def ai_feature_availability
31
43
  @attributes[:ai_feature_availability]
32
44
  end
33
45
 
46
+ def ai_feature_availability=(value)
47
+ @attributes[:ai_feature_availability] = value
48
+ end
49
+
34
50
  # boolean - Is SMS two factor authentication allowed?
35
51
  def allowed_2fa_method_sms
36
52
  @attributes[:allowed_2fa_method_sms]
37
53
  end
38
54
 
55
+ def allowed_2fa_method_sms=(value)
56
+ @attributes[:allowed_2fa_method_sms] = value
57
+ end
58
+
39
59
  # boolean - Is TOTP two factor authentication allowed?
40
60
  def allowed_2fa_method_totp
41
61
  @attributes[:allowed_2fa_method_totp]
42
62
  end
43
63
 
64
+ def allowed_2fa_method_totp=(value)
65
+ @attributes[:allowed_2fa_method_totp] = value
66
+ end
67
+
44
68
  # boolean - Is WebAuthn two factor authentication allowed?
45
69
  def allowed_2fa_method_webauthn
46
70
  @attributes[:allowed_2fa_method_webauthn]
47
71
  end
48
72
 
73
+ def allowed_2fa_method_webauthn=(value)
74
+ @attributes[:allowed_2fa_method_webauthn] = value
75
+ end
76
+
49
77
  # boolean - Is yubikey two factor authentication allowed?
50
78
  def allowed_2fa_method_yubi
51
79
  @attributes[:allowed_2fa_method_yubi]
52
80
  end
53
81
 
82
+ def allowed_2fa_method_yubi=(value)
83
+ @attributes[:allowed_2fa_method_yubi] = value
84
+ end
85
+
54
86
  # boolean - Is OTP via email two factor authentication allowed?
55
87
  def allowed_2fa_method_email
56
88
  @attributes[:allowed_2fa_method_email]
57
89
  end
58
90
 
91
+ def allowed_2fa_method_email=(value)
92
+ @attributes[:allowed_2fa_method_email] = value
93
+ end
94
+
59
95
  # boolean - Is OTP via static codes for two factor authentication allowed?
60
96
  def allowed_2fa_method_static
61
97
  @attributes[:allowed_2fa_method_static]
62
98
  end
63
99
 
100
+ def allowed_2fa_method_static=(value)
101
+ @attributes[:allowed_2fa_method_static] = value
102
+ end
103
+
64
104
  # boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
65
105
  def allowed_2fa_method_bypass_for_ftp_sftp_dav
66
106
  @attributes[:allowed_2fa_method_bypass_for_ftp_sftp_dav]
67
107
  end
68
108
 
109
+ def allowed_2fa_method_bypass_for_ftp_sftp_dav=(value)
110
+ @attributes[:allowed_2fa_method_bypass_for_ftp_sftp_dav] = value
111
+ end
112
+
69
113
  # int64 - User ID for the main site administrator
70
114
  def admin_user_id
71
115
  @attributes[:admin_user_id]
72
116
  end
73
117
 
118
+ def admin_user_id=(value)
119
+ @attributes[:admin_user_id] = value
120
+ end
121
+
74
122
  # boolean - Allow admins to bypass the locked subfolders setting.
75
123
  def admins_bypass_locked_subfolders
76
124
  @attributes[:admins_bypass_locked_subfolders]
77
125
  end
78
126
 
127
+ def admins_bypass_locked_subfolders=(value)
128
+ @attributes[:admins_bypass_locked_subfolders] = value
129
+ end
130
+
79
131
  # boolean - Are manual Bundle names allowed?
80
132
  def allow_bundle_names
81
133
  @attributes[:allow_bundle_names]
82
134
  end
83
135
 
136
+ def allow_bundle_names=(value)
137
+ @attributes[:allow_bundle_names] = value
138
+ end
139
+
84
140
  # boolean - Allow the site-wide two-factor authentication requirement to be overriden on a per-user-basis?
85
141
  def allow_user_level_2fa_override
86
142
  @attributes[:allow_user_level_2fa_override]
87
143
  end
88
144
 
145
+ def allow_user_level_2fa_override=(value)
146
+ @attributes[:allow_user_level_2fa_override] = value
147
+ end
148
+
89
149
  # boolean - Allow the site-wide allowed IP restriction to be overriden on a per-user-basis?
90
150
  def allow_user_level_allowed_ip_override
91
151
  @attributes[:allow_user_level_allowed_ip_override]
92
152
  end
93
153
 
154
+ def allow_user_level_allowed_ip_override=(value)
155
+ @attributes[:allow_user_level_allowed_ip_override] = value
156
+ end
157
+
94
158
  # boolean - Allow the site-wide FTP SSL requirement to be overriden on a per-user-basis?
95
159
  def allow_user_level_ssl_override
96
160
  @attributes[:allow_user_level_ssl_override]
97
161
  end
98
162
 
163
+ def allow_user_level_ssl_override=(value)
164
+ @attributes[:allow_user_level_ssl_override] = value
165
+ end
166
+
99
167
  # string - Comma separated list of allowed Country codes
100
168
  def allowed_countries
101
169
  @attributes[:allowed_countries]
102
170
  end
103
171
 
172
+ def allowed_countries=(value)
173
+ @attributes[:allowed_countries] = value
174
+ end
175
+
104
176
  # string - List of allowed IP addresses
105
177
  def allowed_ips
106
178
  @attributes[:allowed_ips]
107
179
  end
108
180
 
181
+ def allowed_ips=(value)
182
+ @attributes[:allowed_ips] = value
183
+ end
184
+
109
185
  # boolean - Create parent directories if they do not exist during uploads? This is primarily used to work around broken upload clients that assume servers will perform this step.
110
186
  def always_mkdir_parents
111
187
  @attributes[:always_mkdir_parents]
112
188
  end
113
189
 
190
+ def always_mkdir_parents=(value)
191
+ @attributes[:always_mkdir_parents] = value
192
+ end
193
+
114
194
  # int64 - Number of days to retain AS2 messages (incoming and outgoing).
115
195
  def as2_message_retention_days
116
196
  @attributes[:as2_message_retention_days]
117
197
  end
118
198
 
199
+ def as2_message_retention_days=(value)
200
+ @attributes[:as2_message_retention_days] = value
201
+ end
202
+
119
203
  # boolean - If false, rename conflicting files instead of asking for overwrite confirmation. Only applies to web interface.
120
204
  def ask_about_overwrites
121
205
  @attributes[:ask_about_overwrites]
122
206
  end
123
207
 
208
+ def ask_about_overwrites=(value)
209
+ @attributes[:ask_about_overwrites] = value
210
+ end
211
+
124
212
  # string - Do Bundle owners receive activity notifications?
125
213
  def bundle_activity_notifications
126
214
  @attributes[:bundle_activity_notifications]
127
215
  end
128
216
 
217
+ def bundle_activity_notifications=(value)
218
+ @attributes[:bundle_activity_notifications] = value
219
+ end
220
+
129
221
  # int64 - Site-wide Bundle expiration in days
130
222
  def bundle_expiration
131
223
  @attributes[:bundle_expiration]
132
224
  end
133
225
 
226
+ def bundle_expiration=(value)
227
+ @attributes[:bundle_expiration] = value
228
+ end
229
+
134
230
  # string - Custom error message to show when bundle is not found.
135
231
  def bundle_not_found_message
136
232
  @attributes[:bundle_not_found_message]
137
233
  end
138
234
 
235
+ def bundle_not_found_message=(value)
236
+ @attributes[:bundle_not_found_message] = value
237
+ end
238
+
139
239
  # boolean - Do Bundles require password protection?
140
240
  def bundle_password_required
141
241
  @attributes[:bundle_password_required]
142
242
  end
143
243
 
244
+ def bundle_password_required=(value)
245
+ @attributes[:bundle_password_required] = value
246
+ end
247
+
144
248
  # boolean - If true, new Share Links created by a user with a primary group will default to that group as owner.
145
249
  def bundles_default_owned_by_primary_group
146
250
  @attributes[:bundles_default_owned_by_primary_group]
147
251
  end
148
252
 
253
+ def bundles_default_owned_by_primary_group=(value)
254
+ @attributes[:bundles_default_owned_by_primary_group] = value
255
+ end
256
+
149
257
  # array(string) - List of email domains to disallow when entering a Bundle/Inbox recipients
150
258
  def bundle_recipient_blacklist_domains
151
259
  @attributes[:bundle_recipient_blacklist_domains]
152
260
  end
153
261
 
262
+ def bundle_recipient_blacklist_domains=(value)
263
+ @attributes[:bundle_recipient_blacklist_domains] = value
264
+ end
265
+
154
266
  # boolean - Disallow free email domains for Bundle/Inbox recipients?
155
267
  def bundle_recipient_blacklist_free_email_domains
156
268
  @attributes[:bundle_recipient_blacklist_free_email_domains]
157
269
  end
158
270
 
271
+ def bundle_recipient_blacklist_free_email_domains=(value)
272
+ @attributes[:bundle_recipient_blacklist_free_email_domains] = value
273
+ end
274
+
159
275
  # string - Do Bundle owners receive registration notification?
160
276
  def bundle_registration_notifications
161
277
  @attributes[:bundle_registration_notifications]
162
278
  end
163
279
 
280
+ def bundle_registration_notifications=(value)
281
+ @attributes[:bundle_registration_notifications] = value
282
+ end
283
+
164
284
  # boolean - Do Bundles require registration?
165
285
  def bundle_require_registration
166
286
  @attributes[:bundle_require_registration]
167
287
  end
168
288
 
289
+ def bundle_require_registration=(value)
290
+ @attributes[:bundle_require_registration] = value
291
+ end
292
+
169
293
  # boolean - Do Bundles require recipients for sharing?
170
294
  def bundle_require_share_recipient
171
295
  @attributes[:bundle_require_share_recipient]
172
296
  end
173
297
 
298
+ def bundle_require_share_recipient=(value)
299
+ @attributes[:bundle_require_share_recipient] = value
300
+ end
301
+
174
302
  # boolean - Do Bundles require internal notes?
175
303
  def bundle_require_note
176
304
  @attributes[:bundle_require_note]
177
305
  end
178
306
 
307
+ def bundle_require_note=(value)
308
+ @attributes[:bundle_require_note] = value
309
+ end
310
+
179
311
  # boolean - Do Bundle creators receive receipts of invitations?
180
312
  def bundle_send_shared_receipts
181
313
  @attributes[:bundle_send_shared_receipts]
182
314
  end
183
315
 
316
+ def bundle_send_shared_receipts=(value)
317
+ @attributes[:bundle_send_shared_receipts] = value
318
+ end
319
+
184
320
  # string - Do Bundle uploaders receive upload confirmation notifications?
185
321
  def bundle_upload_receipt_notifications
186
322
  @attributes[:bundle_upload_receipt_notifications]
187
323
  end
188
324
 
325
+ def bundle_upload_receipt_notifications=(value)
326
+ @attributes[:bundle_upload_receipt_notifications] = value
327
+ end
328
+
189
329
  # Image - Preview watermark image applied to all bundle items.
190
330
  def bundle_watermark_attachment
191
331
  @attributes[:bundle_watermark_attachment]
192
332
  end
193
333
 
334
+ def bundle_watermark_attachment=(value)
335
+ @attributes[:bundle_watermark_attachment] = value
336
+ end
337
+
194
338
  # object - Preview watermark settings applied to all bundle items. Uses the same keys as Behavior.value
195
339
  def bundle_watermark_value
196
340
  @attributes[:bundle_watermark_value]
197
341
  end
198
342
 
343
+ def bundle_watermark_value=(value)
344
+ @attributes[:bundle_watermark_value] = value
345
+ end
346
+
199
347
  # boolean - Calculate CRC32 checksums for files?
200
348
  def calculate_file_checksums_crc32
201
349
  @attributes[:calculate_file_checksums_crc32]
202
350
  end
203
351
 
352
+ def calculate_file_checksums_crc32=(value)
353
+ @attributes[:calculate_file_checksums_crc32] = value
354
+ end
355
+
204
356
  # boolean - Calculate MD5 checksums for files?
205
357
  def calculate_file_checksums_md5
206
358
  @attributes[:calculate_file_checksums_md5]
207
359
  end
208
360
 
361
+ def calculate_file_checksums_md5=(value)
362
+ @attributes[:calculate_file_checksums_md5] = value
363
+ end
364
+
209
365
  # boolean - Calculate SHA1 checksums for files?
210
366
  def calculate_file_checksums_sha1
211
367
  @attributes[:calculate_file_checksums_sha1]
212
368
  end
213
369
 
370
+ def calculate_file_checksums_sha1=(value)
371
+ @attributes[:calculate_file_checksums_sha1] = value
372
+ end
373
+
214
374
  # boolean - Calculate SHA256 checksums for files?
215
375
  def calculate_file_checksums_sha256
216
376
  @attributes[:calculate_file_checksums_sha256]
217
377
  end
218
378
 
379
+ def calculate_file_checksums_sha256=(value)
380
+ @attributes[:calculate_file_checksums_sha256] = value
381
+ end
382
+
219
383
  # boolean - Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
220
384
  def uploads_via_email_authentication
221
385
  @attributes[:uploads_via_email_authentication]
222
386
  end
223
387
 
388
+ def uploads_via_email_authentication=(value)
389
+ @attributes[:uploads_via_email_authentication] = value
390
+ end
391
+
224
392
  # string - Page link and button color
225
393
  def color2_left
226
394
  @attributes[:color2_left]
227
395
  end
228
396
 
397
+ def color2_left=(value)
398
+ @attributes[:color2_left] = value
399
+ end
400
+
229
401
  # string - Top bar link color
230
402
  def color2_link
231
403
  @attributes[:color2_link]
232
404
  end
233
405
 
406
+ def color2_link=(value)
407
+ @attributes[:color2_link] = value
408
+ end
409
+
234
410
  # string - Page link and button color
235
411
  def color2_text
236
412
  @attributes[:color2_text]
237
413
  end
238
414
 
415
+ def color2_text=(value)
416
+ @attributes[:color2_text] = value
417
+ end
418
+
239
419
  # string - Top bar background color
240
420
  def color2_top
241
421
  @attributes[:color2_top]
242
422
  end
243
423
 
424
+ def color2_top=(value)
425
+ @attributes[:color2_top] = value
426
+ end
427
+
244
428
  # string - Top bar text color
245
429
  def color2_top_text
246
430
  @attributes[:color2_top_text]
247
431
  end
248
432
 
433
+ def color2_top_text=(value)
434
+ @attributes[:color2_top_text] = value
435
+ end
436
+
249
437
  # string - Site main contact name
250
438
  def contact_name
251
439
  @attributes[:contact_name]
252
440
  end
253
441
 
442
+ def contact_name=(value)
443
+ @attributes[:contact_name] = value
444
+ end
445
+
254
446
  # date-time - Time this site was created
255
447
  def created_at
256
448
  @attributes[:created_at]
@@ -261,346 +453,622 @@ module Files
261
453
  @attributes[:currency]
262
454
  end
263
455
 
456
+ def currency=(value)
457
+ @attributes[:currency] = value
458
+ end
459
+
264
460
  # boolean - Is this site using a custom namespace for users?
265
461
  def custom_namespace
266
462
  @attributes[:custom_namespace]
267
463
  end
268
464
 
465
+ def custom_namespace=(value)
466
+ @attributes[:custom_namespace] = value
467
+ end
468
+
269
469
  # boolean - Is WebDAV enabled?
270
470
  def dav_enabled
271
471
  @attributes[:dav_enabled]
272
472
  end
273
473
 
474
+ def dav_enabled=(value)
475
+ @attributes[:dav_enabled] = value
476
+ end
477
+
274
478
  # boolean - Use user FTP roots also for WebDAV?
275
479
  def dav_user_root_enabled
276
480
  @attributes[:dav_user_root_enabled]
277
481
  end
278
482
 
483
+ def dav_user_root_enabled=(value)
484
+ @attributes[:dav_user_root_enabled] = value
485
+ end
486
+
279
487
  # int64 - Number of days to keep deleted files
280
488
  def days_to_retain_backups
281
489
  @attributes[:days_to_retain_backups]
282
490
  end
283
491
 
492
+ def days_to_retain_backups=(value)
493
+ @attributes[:days_to_retain_backups] = value
494
+ end
495
+
284
496
  # boolean - If true, allow public viewers of Bundles with full permissions to use document editing integrations.
285
497
  def document_edits_in_bundle_allowed
286
498
  @attributes[:document_edits_in_bundle_allowed]
287
499
  end
288
500
 
501
+ def document_edits_in_bundle_allowed=(value)
502
+ @attributes[:document_edits_in_bundle_allowed] = value
503
+ end
504
+
289
505
  # string - Site default time zone
290
506
  def default_time_zone
291
507
  @attributes[:default_time_zone]
292
508
  end
293
509
 
510
+ def default_time_zone=(value)
511
+ @attributes[:default_time_zone] = value
512
+ end
513
+
294
514
  # boolean - Is the desktop app enabled?
295
515
  def desktop_app
296
516
  @attributes[:desktop_app]
297
517
  end
298
518
 
519
+ def desktop_app=(value)
520
+ @attributes[:desktop_app] = value
521
+ end
522
+
299
523
  # boolean - Is desktop app session IP pinning enabled?
300
524
  def desktop_app_session_ip_pinning
301
525
  @attributes[:desktop_app_session_ip_pinning]
302
526
  end
303
527
 
528
+ def desktop_app_session_ip_pinning=(value)
529
+ @attributes[:desktop_app_session_ip_pinning] = value
530
+ end
531
+
304
532
  # int64 - Desktop app session lifetime (in hours)
305
533
  def desktop_app_session_lifetime
306
534
  @attributes[:desktop_app_session_lifetime]
307
535
  end
308
536
 
537
+ def desktop_app_session_lifetime=(value)
538
+ @attributes[:desktop_app_session_lifetime] = value
539
+ end
540
+
309
541
  # boolean - Use legacy checksums mode?
310
542
  def legacy_checksums_mode
311
543
  @attributes[:legacy_checksums_mode]
312
544
  end
313
545
 
546
+ def legacy_checksums_mode=(value)
547
+ @attributes[:legacy_checksums_mode] = value
548
+ end
549
+
314
550
  # boolean - If true, we will migrate all remote server syncs to the new Sync model.
315
551
  def migrate_remote_server_sync_to_sync
316
552
  @attributes[:migrate_remote_server_sync_to_sync]
317
553
  end
318
554
 
555
+ def migrate_remote_server_sync_to_sync=(value)
556
+ @attributes[:migrate_remote_server_sync_to_sync] = value
557
+ end
558
+
319
559
  # boolean - Is OAuth DCR (dynamic client registration) for MCP enabled?
320
560
  def mcp_dcr_enabled
321
561
  @attributes[:mcp_dcr_enabled]
322
562
  end
323
563
 
564
+ def mcp_dcr_enabled=(value)
565
+ @attributes[:mcp_dcr_enabled] = value
566
+ end
567
+
324
568
  # boolean - Is the mobile app enabled?
325
569
  def mobile_app
326
570
  @attributes[:mobile_app]
327
571
  end
328
572
 
573
+ def mobile_app=(value)
574
+ @attributes[:mobile_app] = value
575
+ end
576
+
329
577
  # boolean - Is mobile app session IP pinning enabled?
330
578
  def mobile_app_session_ip_pinning
331
579
  @attributes[:mobile_app_session_ip_pinning]
332
580
  end
333
581
 
582
+ def mobile_app_session_ip_pinning=(value)
583
+ @attributes[:mobile_app_session_ip_pinning] = value
584
+ end
585
+
334
586
  # int64 - Mobile app session lifetime (in hours)
335
587
  def mobile_app_session_lifetime
336
588
  @attributes[:mobile_app_session_lifetime]
337
589
  end
338
590
 
591
+ def mobile_app_session_lifetime=(value)
592
+ @attributes[:mobile_app_session_lifetime] = value
593
+ end
594
+
339
595
  # string - Comma separated list of disallowed Country codes
340
596
  def disallowed_countries
341
597
  @attributes[:disallowed_countries]
342
598
  end
343
599
 
600
+ def disallowed_countries=(value)
601
+ @attributes[:disallowed_countries] = value
602
+ end
603
+
344
604
  # boolean - If true, all AI features are disabled for this site.
345
605
  def disable_all_ai_features
346
606
  @attributes[:disable_all_ai_features]
347
607
  end
348
608
 
609
+ def disable_all_ai_features=(value)
610
+ @attributes[:disable_all_ai_features] = value
611
+ end
612
+
349
613
  # boolean - If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
350
614
  def disable_files_certificate_generation
351
615
  @attributes[:disable_files_certificate_generation]
352
616
  end
353
617
 
618
+ def disable_files_certificate_generation=(value)
619
+ @attributes[:disable_files_certificate_generation] = value
620
+ end
621
+
354
622
  # boolean - Are notifications disabled?
355
623
  def disable_notifications
356
624
  @attributes[:disable_notifications]
357
625
  end
358
626
 
627
+ def disable_notifications=(value)
628
+ @attributes[:disable_notifications] = value
629
+ end
630
+
359
631
  # boolean - Is password reset disabled?
360
632
  def disable_password_reset
361
633
  @attributes[:disable_password_reset]
362
634
  end
363
635
 
636
+ def disable_password_reset=(value)
637
+ @attributes[:disable_password_reset] = value
638
+ end
639
+
364
640
  # string - Custom domain
365
641
  def domain
366
642
  @attributes[:domain]
367
643
  end
368
644
 
645
+ def domain=(value)
646
+ @attributes[:domain] = value
647
+ end
648
+
369
649
  # boolean - Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
370
650
  def domain_hsts_header
371
651
  @attributes[:domain_hsts_header]
372
652
  end
373
653
 
654
+ def domain_hsts_header=(value)
655
+ @attributes[:domain_hsts_header] = value
656
+ end
657
+
374
658
  # string - Letsencrypt chain to use when registering SSL Certificate for domain. No longer used as of 2026.
375
659
  def domain_letsencrypt_chain
376
660
  @attributes[:domain_letsencrypt_chain]
377
661
  end
378
662
 
663
+ def domain_letsencrypt_chain=(value)
664
+ @attributes[:domain_letsencrypt_chain] = value
665
+ end
666
+
379
667
  # email - Main email for this site
380
668
  def email
381
669
  @attributes[:email]
382
670
  end
383
671
 
672
+ def email=(value)
673
+ @attributes[:email] = value
674
+ end
675
+
384
676
  # boolean - Is FTP enabled?
385
677
  def ftp_enabled
386
678
  @attributes[:ftp_enabled]
387
679
  end
388
680
 
681
+ def ftp_enabled=(value)
682
+ @attributes[:ftp_enabled] = value
683
+ end
684
+
389
685
  # email - Reply-to email for this site
390
686
  def reply_to_email
391
687
  @attributes[:reply_to_email]
392
688
  end
393
689
 
690
+ def reply_to_email=(value)
691
+ @attributes[:reply_to_email] = value
692
+ end
693
+
394
694
  # boolean - If true, groups can be manually created / modified / deleted by Site Admins. Otherwise, groups can only be managed via your SSO provider.
395
695
  def non_sso_groups_allowed
396
696
  @attributes[:non_sso_groups_allowed]
397
697
  end
398
698
 
699
+ def non_sso_groups_allowed=(value)
700
+ @attributes[:non_sso_groups_allowed] = value
701
+ end
702
+
399
703
  # boolean - If true, users can be manually created / modified / deleted by Site Admins. Otherwise, users can only be managed via your SSO provider.
400
704
  def non_sso_users_allowed
401
705
  @attributes[:non_sso_users_allowed]
402
706
  end
403
707
 
708
+ def non_sso_users_allowed=(value)
709
+ @attributes[:non_sso_users_allowed] = value
710
+ end
711
+
404
712
  # boolean - If true, permissions for this site must be bound to a group (not a user).
405
713
  def folder_permissions_groups_only
406
714
  @attributes[:folder_permissions_groups_only]
407
715
  end
408
716
 
717
+ def folder_permissions_groups_only=(value)
718
+ @attributes[:folder_permissions_groups_only] = value
719
+ end
720
+
409
721
  # boolean - Allow group admins to create users in their groups
410
722
  def group_admins_can_add_users
411
723
  @attributes[:group_admins_can_add_users]
412
724
  end
413
725
 
726
+ def group_admins_can_add_users=(value)
727
+ @attributes[:group_admins_can_add_users] = value
728
+ end
729
+
414
730
  # boolean - Allow group admins to delete users in their groups
415
731
  def group_admins_can_delete_users
416
732
  @attributes[:group_admins_can_delete_users]
417
733
  end
418
734
 
735
+ def group_admins_can_delete_users=(value)
736
+ @attributes[:group_admins_can_delete_users] = value
737
+ end
738
+
419
739
  # boolean - Allow group admins to enable or disable users in their groups
420
740
  def group_admins_can_enable_disable_users
421
741
  @attributes[:group_admins_can_enable_disable_users]
422
742
  end
423
743
 
744
+ def group_admins_can_enable_disable_users=(value)
745
+ @attributes[:group_admins_can_enable_disable_users] = value
746
+ end
747
+
424
748
  # boolean - Allow group admins to modify users in their groups
425
749
  def group_admins_can_modify_users
426
750
  @attributes[:group_admins_can_modify_users]
427
751
  end
428
752
 
753
+ def group_admins_can_modify_users=(value)
754
+ @attributes[:group_admins_can_modify_users] = value
755
+ end
756
+
429
757
  # boolean - Allow group admins to exempt users in their groups from lifecycle rules
430
758
  def group_admins_can_bypass_user_lifecycle_rules
431
759
  @attributes[:group_admins_can_bypass_user_lifecycle_rules]
432
760
  end
433
761
 
762
+ def group_admins_can_bypass_user_lifecycle_rules=(value)
763
+ @attributes[:group_admins_can_bypass_user_lifecycle_rules] = value
764
+ end
765
+
434
766
  # boolean - Allow group admins to reset passwords for users in their groups
435
767
  def group_admins_can_reset_passwords
436
768
  @attributes[:group_admins_can_reset_passwords]
437
769
  end
438
770
 
771
+ def group_admins_can_reset_passwords=(value)
772
+ @attributes[:group_admins_can_reset_passwords] = value
773
+ end
774
+
439
775
  # boolean - Allow group admins to set password authentication method
440
776
  def group_admins_can_set_user_password
441
777
  @attributes[:group_admins_can_set_user_password]
442
778
  end
443
779
 
780
+ def group_admins_can_set_user_password=(value)
781
+ @attributes[:group_admins_can_set_user_password] = value
782
+ end
783
+
444
784
  # boolean - Is there a signed HIPAA BAA between Files.com and this site?
445
785
  def hipaa
446
786
  @attributes[:hipaa]
447
787
  end
448
788
 
789
+ def hipaa=(value)
790
+ @attributes[:hipaa] = value
791
+ end
792
+
449
793
  # Image - Branded icon 128x128
450
794
  def icon128
451
795
  @attributes[:icon128]
452
796
  end
453
797
 
798
+ def icon128=(value)
799
+ @attributes[:icon128] = value
800
+ end
801
+
454
802
  # Image - Branded icon 16x16
455
803
  def icon16
456
804
  @attributes[:icon16]
457
805
  end
458
806
 
807
+ def icon16=(value)
808
+ @attributes[:icon16] = value
809
+ end
810
+
459
811
  # Image - Branded icon 32x32
460
812
  def icon32
461
813
  @attributes[:icon32]
462
814
  end
463
815
 
816
+ def icon32=(value)
817
+ @attributes[:icon32] = value
818
+ end
819
+
464
820
  # Image - Branded icon 48x48
465
821
  def icon48
466
822
  @attributes[:icon48]
467
823
  end
468
824
 
825
+ def icon48=(value)
826
+ @attributes[:icon48] = value
827
+ end
828
+
469
829
  # date-time - Can files be modified?
470
830
  def immutable_files_set_at
471
831
  @attributes[:immutable_files_set_at]
472
832
  end
473
833
 
834
+ def immutable_files_set_at=(value)
835
+ @attributes[:immutable_files_set_at] = value
836
+ end
837
+
474
838
  # boolean - Include password in emails to new users?
475
839
  def include_password_in_welcome_email
476
840
  @attributes[:include_password_in_welcome_email]
477
841
  end
478
842
 
843
+ def include_password_in_welcome_email=(value)
844
+ @attributes[:include_password_in_welcome_email] = value
845
+ end
846
+
479
847
  # string - Site default language
480
848
  def language
481
849
  @attributes[:language]
482
850
  end
483
851
 
852
+ def language=(value)
853
+ @attributes[:language] = value
854
+ end
855
+
484
856
  # string - Base DN for looking up users in LDAP server
485
857
  def ldap_base_dn
486
858
  @attributes[:ldap_base_dn]
487
859
  end
488
860
 
861
+ def ldap_base_dn=(value)
862
+ @attributes[:ldap_base_dn] = value
863
+ end
864
+
489
865
  # string - Domain name that will be appended to usernames
490
866
  def ldap_domain
491
867
  @attributes[:ldap_domain]
492
868
  end
493
869
 
870
+ def ldap_domain=(value)
871
+ @attributes[:ldap_domain] = value
872
+ end
873
+
494
874
  # boolean - Main LDAP setting: is LDAP enabled?
495
875
  def ldap_enabled
496
876
  @attributes[:ldap_enabled]
497
877
  end
498
878
 
879
+ def ldap_enabled=(value)
880
+ @attributes[:ldap_enabled] = value
881
+ end
882
+
499
883
  # string - Should we sync groups from LDAP server?
500
884
  def ldap_group_action
501
885
  @attributes[:ldap_group_action]
502
886
  end
503
887
 
888
+ def ldap_group_action=(value)
889
+ @attributes[:ldap_group_action] = value
890
+ end
891
+
504
892
  # string - Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
505
893
  def ldap_group_exclusion
506
894
  @attributes[:ldap_group_exclusion]
507
895
  end
508
896
 
897
+ def ldap_group_exclusion=(value)
898
+ @attributes[:ldap_group_exclusion] = value
899
+ end
900
+
509
901
  # string - Comma or newline separated list of group names (with optional wildcards) to include when syncing.
510
902
  def ldap_group_inclusion
511
903
  @attributes[:ldap_group_inclusion]
512
904
  end
513
905
 
906
+ def ldap_group_inclusion=(value)
907
+ @attributes[:ldap_group_inclusion] = value
908
+ end
909
+
514
910
  # string - LDAP host
515
911
  def ldap_host
516
912
  @attributes[:ldap_host]
517
913
  end
518
914
 
915
+ def ldap_host=(value)
916
+ @attributes[:ldap_host] = value
917
+ end
918
+
519
919
  # string - LDAP backup host
520
920
  def ldap_host_2
521
921
  @attributes[:ldap_host_2]
522
922
  end
523
923
 
924
+ def ldap_host_2=(value)
925
+ @attributes[:ldap_host_2] = value
926
+ end
927
+
524
928
  # string - LDAP backup host
525
929
  def ldap_host_3
526
930
  @attributes[:ldap_host_3]
527
931
  end
528
932
 
933
+ def ldap_host_3=(value)
934
+ @attributes[:ldap_host_3] = value
935
+ end
936
+
529
937
  # int64 - LDAP port
530
938
  def ldap_port
531
939
  @attributes[:ldap_port]
532
940
  end
533
941
 
942
+ def ldap_port=(value)
943
+ @attributes[:ldap_port] = value
944
+ end
945
+
534
946
  # boolean - Use secure LDAP?
535
947
  def ldap_secure
536
948
  @attributes[:ldap_secure]
537
949
  end
538
950
 
951
+ def ldap_secure=(value)
952
+ @attributes[:ldap_secure] = value
953
+ end
954
+
539
955
  # string - LDAP type
540
956
  def ldap_type
541
957
  @attributes[:ldap_type]
542
958
  end
543
959
 
960
+ def ldap_type=(value)
961
+ @attributes[:ldap_type] = value
962
+ end
963
+
544
964
  # string - Should we sync users from LDAP server?
545
965
  def ldap_user_action
546
966
  @attributes[:ldap_user_action]
547
967
  end
548
968
 
969
+ def ldap_user_action=(value)
970
+ @attributes[:ldap_user_action] = value
971
+ end
972
+
549
973
  # string - Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
550
974
  def ldap_user_include_groups
551
975
  @attributes[:ldap_user_include_groups]
552
976
  end
553
977
 
978
+ def ldap_user_include_groups=(value)
979
+ @attributes[:ldap_user_include_groups] = value
980
+ end
981
+
554
982
  # string - Username for signing in to LDAP server.
555
983
  def ldap_username
556
984
  @attributes[:ldap_username]
557
985
  end
558
986
 
987
+ def ldap_username=(value)
988
+ @attributes[:ldap_username] = value
989
+ end
990
+
559
991
  # string - LDAP username field
560
992
  def ldap_username_field
561
993
  @attributes[:ldap_username_field]
562
994
  end
563
995
 
996
+ def ldap_username_field=(value)
997
+ @attributes[:ldap_username_field] = value
998
+ end
999
+
564
1000
  # string - Login help text
565
1001
  def login_help_text
566
1002
  @attributes[:login_help_text]
567
1003
  end
568
1004
 
1005
+ def login_help_text=(value)
1006
+ @attributes[:login_help_text] = value
1007
+ end
1008
+
569
1009
  # Image - Branded logo
570
1010
  def logo
571
1011
  @attributes[:logo]
572
1012
  end
573
1013
 
1014
+ def logo=(value)
1015
+ @attributes[:logo] = value
1016
+ end
1017
+
574
1018
  # Image - Branded login page background
575
1019
  def login_page_background_image
576
1020
  @attributes[:login_page_background_image]
577
1021
  end
578
1022
 
1023
+ def login_page_background_image=(value)
1024
+ @attributes[:login_page_background_image] = value
1025
+ end
1026
+
579
1027
  # int64 - Number of prior passwords to disallow
580
1028
  def max_prior_passwords
581
1029
  @attributes[:max_prior_passwords]
582
1030
  end
583
1031
 
1032
+ def max_prior_passwords=(value)
1033
+ @attributes[:max_prior_passwords] = value
1034
+ end
1035
+
584
1036
  # object - List of site settings managed by the parent site
585
1037
  def managed_site_settings
586
1038
  @attributes[:managed_site_settings]
587
1039
  end
588
1040
 
1041
+ def managed_site_settings=(value)
1042
+ @attributes[:managed_site_settings] = value
1043
+ end
1044
+
589
1045
  # string - A message to show users when they connect via FTP or SFTP.
590
1046
  def motd_text
591
1047
  @attributes[:motd_text]
592
1048
  end
593
1049
 
1050
+ def motd_text=(value)
1051
+ @attributes[:motd_text] = value
1052
+ end
1053
+
594
1054
  # boolean - Show message to users connecting via FTP
595
1055
  def motd_use_for_ftp
596
1056
  @attributes[:motd_use_for_ftp]
597
1057
  end
598
1058
 
1059
+ def motd_use_for_ftp=(value)
1060
+ @attributes[:motd_use_for_ftp] = value
1061
+ end
1062
+
599
1063
  # boolean - Show message to users connecting via SFTP
600
1064
  def motd_use_for_sftp
601
1065
  @attributes[:motd_use_for_sftp]
602
1066
  end
603
1067
 
1068
+ def motd_use_for_sftp=(value)
1069
+ @attributes[:motd_use_for_sftp] = value
1070
+ end
1071
+
604
1072
  # decimal - Next billing amount
605
1073
  def next_billing_amount
606
1074
  value = @attributes[:next_billing_amount]
@@ -609,356 +1077,783 @@ module Files
609
1077
  BigDecimal(value.to_s)
610
1078
  end
611
1079
 
1080
+ def next_billing_amount=(value)
1081
+ @attributes[:next_billing_amount] = value
1082
+ end
1083
+
612
1084
  # string - Next billing date
613
1085
  def next_billing_date
614
1086
  @attributes[:next_billing_date]
615
1087
  end
616
1088
 
1089
+ def next_billing_date=(value)
1090
+ @attributes[:next_billing_date] = value
1091
+ end
1092
+
617
1093
  # boolean - If true, allows users to use a document editing integration.
618
1094
  def office_integration_available
619
1095
  @attributes[:office_integration_available]
620
1096
  end
621
1097
 
1098
+ def office_integration_available=(value)
1099
+ @attributes[:office_integration_available] = value
1100
+ end
1101
+
622
1102
  # string - Which document editing integration to support. Files.com Editor or Microsoft Office for the Web.
623
1103
  def office_integration_type
624
1104
  @attributes[:office_integration_type]
625
1105
  end
626
1106
 
1107
+ def office_integration_type=(value)
1108
+ @attributes[:office_integration_type] = value
1109
+ end
1110
+
627
1111
  # string - Link to scheduling a meeting with our Sales team
628
1112
  def oncehub_link
629
1113
  @attributes[:oncehub_link]
630
1114
  end
631
1115
 
1116
+ def oncehub_link=(value)
1117
+ @attributes[:oncehub_link] = value
1118
+ end
1119
+
632
1120
  # boolean - Use servers in the USA only?
633
1121
  def opt_out_global
634
1122
  @attributes[:opt_out_global]
635
1123
  end
636
1124
 
1125
+ def opt_out_global=(value)
1126
+ @attributes[:opt_out_global] = value
1127
+ end
1128
+
637
1129
  # boolean - Is this site's billing overdue?
638
1130
  def overdue
639
1131
  @attributes[:overdue]
640
1132
  end
641
1133
 
1134
+ def overdue=(value)
1135
+ @attributes[:overdue] = value
1136
+ end
1137
+
642
1138
  # int64 - Shortest password length for users
643
1139
  def password_min_length
644
1140
  @attributes[:password_min_length]
645
1141
  end
646
1142
 
1143
+ def password_min_length=(value)
1144
+ @attributes[:password_min_length] = value
1145
+ end
1146
+
647
1147
  # boolean - Require a letter in passwords?
648
1148
  def password_require_letter
649
1149
  @attributes[:password_require_letter]
650
1150
  end
651
1151
 
1152
+ def password_require_letter=(value)
1153
+ @attributes[:password_require_letter] = value
1154
+ end
1155
+
652
1156
  # boolean - Require lower and upper case letters in passwords?
653
1157
  def password_require_mixed
654
1158
  @attributes[:password_require_mixed]
655
1159
  end
656
1160
 
1161
+ def password_require_mixed=(value)
1162
+ @attributes[:password_require_mixed] = value
1163
+ end
1164
+
657
1165
  # boolean - Require a number in passwords?
658
1166
  def password_require_number
659
1167
  @attributes[:password_require_number]
660
1168
  end
661
1169
 
1170
+ def password_require_number=(value)
1171
+ @attributes[:password_require_number] = value
1172
+ end
1173
+
662
1174
  # boolean - Require special characters in password?
663
1175
  def password_require_special
664
1176
  @attributes[:password_require_special]
665
1177
  end
666
1178
 
1179
+ def password_require_special=(value)
1180
+ @attributes[:password_require_special] = value
1181
+ end
1182
+
667
1183
  # boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
668
1184
  def password_require_unbreached
669
1185
  @attributes[:password_require_unbreached]
670
1186
  end
671
1187
 
1188
+ def password_require_unbreached=(value)
1189
+ @attributes[:password_require_unbreached] = value
1190
+ end
1191
+
672
1192
  # boolean - Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
673
1193
  def password_requirements_apply_to_bundles
674
1194
  @attributes[:password_requirements_apply_to_bundles]
675
1195
  end
676
1196
 
1197
+ def password_requirements_apply_to_bundles=(value)
1198
+ @attributes[:password_requirements_apply_to_bundles] = value
1199
+ end
1200
+
677
1201
  # int64 - Number of days password is valid
678
1202
  def password_validity_days
679
1203
  @attributes[:password_validity_days]
680
1204
  end
681
1205
 
1206
+ def password_validity_days=(value)
1207
+ @attributes[:password_validity_days] = value
1208
+ end
1209
+
682
1210
  # string - Site phone number
683
1211
  def phone
684
1212
  @attributes[:phone]
685
1213
  end
686
1214
 
1215
+ def phone=(value)
1216
+ @attributes[:phone] = value
1217
+ end
1218
+
687
1219
  # boolean - If true, we will ensure that all internal communications with any remote server are made through the primary region of the site. This setting overrides individual remote server settings.
688
1220
  def pin_all_remote_servers_to_site_region
689
1221
  @attributes[:pin_all_remote_servers_to_site_region]
690
1222
  end
691
1223
 
1224
+ def pin_all_remote_servers_to_site_region=(value)
1225
+ @attributes[:pin_all_remote_servers_to_site_region] = value
1226
+ end
1227
+
692
1228
  # boolean - If true, we will prevent non-administrators from receiving any permissions directly on the root folder. This is commonly used to prevent the accidental application of permissions.
693
1229
  def prevent_root_permissions_for_non_site_admins
694
1230
  @attributes[:prevent_root_permissions_for_non_site_admins]
695
1231
  end
696
1232
 
1233
+ def prevent_root_permissions_for_non_site_admins=(value)
1234
+ @attributes[:prevent_root_permissions_for_non_site_admins] = value
1235
+ end
1236
+
697
1237
  # boolean - If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored. Make sure that your current user is a member of a group with API permission when changing this value to avoid locking yourself out of your site.
698
1238
  def protocol_access_groups_only
699
1239
  @attributes[:protocol_access_groups_only]
700
1240
  end
701
1241
 
1242
+ def protocol_access_groups_only=(value)
1243
+ @attributes[:protocol_access_groups_only] = value
1244
+ end
1245
+
702
1246
  # boolean - Require two-factor authentication for all users?
703
1247
  def require_2fa
704
1248
  @attributes[:require_2fa]
705
1249
  end
706
1250
 
1251
+ def require_2fa=(value)
1252
+ @attributes[:require_2fa] = value
1253
+ end
1254
+
707
1255
  # boolean - If true, SSO users using the default user-level two-factor authentication setting are exempt from the site-wide two-factor authentication requirement.
708
1256
  def require_2fa_exempt_all_sso_users
709
1257
  @attributes[:require_2fa_exempt_all_sso_users]
710
1258
  end
711
1259
 
1260
+ def require_2fa_exempt_all_sso_users=(value)
1261
+ @attributes[:require_2fa_exempt_all_sso_users] = value
1262
+ end
1263
+
712
1264
  # date-time - If set, requirement for two-factor authentication has been scheduled to end on this date-time.
713
1265
  def require_2fa_stop_time
714
1266
  @attributes[:require_2fa_stop_time]
715
1267
  end
716
1268
 
1269
+ def require_2fa_stop_time=(value)
1270
+ @attributes[:require_2fa_stop_time] = value
1271
+ end
1272
+
717
1273
  # boolean - Auto-removes bundles for disabled/deleted users and enforces bundle expiry within user access period.
718
1274
  def revoke_bundle_access_on_disable_or_delete
719
1275
  @attributes[:revoke_bundle_access_on_disable_or_delete]
720
1276
  end
721
1277
 
1278
+ def revoke_bundle_access_on_disable_or_delete=(value)
1279
+ @attributes[:revoke_bundle_access_on_disable_or_delete] = value
1280
+ end
1281
+
722
1282
  # string - What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
723
1283
  def require_2fa_user_type
724
1284
  @attributes[:require_2fa_user_type]
725
1285
  end
726
1286
 
1287
+ def require_2fa_user_type=(value)
1288
+ @attributes[:require_2fa_user_type] = value
1289
+ end
1290
+
727
1291
  # boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
728
1292
  def require_logout_from_bundles_and_inboxes
729
1293
  @attributes[:require_logout_from_bundles_and_inboxes]
730
1294
  end
731
1295
 
1296
+ def require_logout_from_bundles_and_inboxes=(value)
1297
+ @attributes[:require_logout_from_bundles_and_inboxes] = value
1298
+ end
1299
+
732
1300
  # Session - Current session
733
1301
  def session
734
1302
  @attributes[:session]
735
1303
  end
736
1304
 
1305
+ def session=(value)
1306
+ @attributes[:session] = value
1307
+ end
1308
+
737
1309
  # boolean - Is SFTP enabled?
738
1310
  def sftp_enabled
739
1311
  @attributes[:sftp_enabled]
740
1312
  end
741
1313
 
1314
+ def sftp_enabled=(value)
1315
+ @attributes[:sftp_enabled] = value
1316
+ end
1317
+
742
1318
  # boolean - Finalize partial SFTP uploads from interrupted connections? Default: true.
743
1319
  def sftp_finalize_partial_uploads
744
1320
  @attributes[:sftp_finalize_partial_uploads]
745
1321
  end
746
1322
 
1323
+ def sftp_finalize_partial_uploads=(value)
1324
+ @attributes[:sftp_finalize_partial_uploads] = value
1325
+ end
1326
+
747
1327
  # string - Sftp Host Key Type
748
1328
  def sftp_host_key_type
749
1329
  @attributes[:sftp_host_key_type]
750
1330
  end
751
1331
 
1332
+ def sftp_host_key_type=(value)
1333
+ @attributes[:sftp_host_key_type] = value
1334
+ end
1335
+
752
1336
  # int64 - Id of the currently selected custom SFTP Host Key
753
1337
  def active_sftp_host_key_id
754
1338
  @attributes[:active_sftp_host_key_id]
755
1339
  end
756
1340
 
1341
+ def active_sftp_host_key_id=(value)
1342
+ @attributes[:active_sftp_host_key_id] = value
1343
+ end
1344
+
757
1345
  # boolean - If true, we will allow weak and known insecure ciphers to be used for SFTP connections. Enabling this setting severely weakens the security of your site and it is not recommend, except as a last resort for compatibility.
758
1346
  def sftp_insecure_ciphers
759
1347
  @attributes[:sftp_insecure_ciphers]
760
1348
  end
761
1349
 
1350
+ def sftp_insecure_ciphers=(value)
1351
+ @attributes[:sftp_insecure_ciphers] = value
1352
+ end
1353
+
762
1354
  # boolean - If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list. This has the effect of making the cipher weaker than our normal threshold for security, but is required to support certain legacy or broken SSH and MFT clients. Enabling this weakens security, but not nearly as much as enabling the full `sftp_insecure_ciphers` option.
763
1355
  def sftp_insecure_diffie_hellman
764
1356
  @attributes[:sftp_insecure_diffie_hellman]
765
1357
  end
766
1358
 
1359
+ def sftp_insecure_diffie_hellman=(value)
1360
+ @attributes[:sftp_insecure_diffie_hellman] = value
1361
+ end
1362
+
767
1363
  # boolean - Use user FTP roots also for SFTP?
768
1364
  def sftp_user_root_enabled
769
1365
  @attributes[:sftp_user_root_enabled]
770
1366
  end
771
1367
 
1368
+ def sftp_user_root_enabled=(value)
1369
+ @attributes[:sftp_user_root_enabled] = value
1370
+ end
1371
+
772
1372
  # boolean - Allow bundle creation
773
1373
  def sharing_enabled
774
1374
  @attributes[:sharing_enabled]
775
1375
  end
776
1376
 
1377
+ def sharing_enabled=(value)
1378
+ @attributes[:sharing_enabled] = value
1379
+ end
1380
+
777
1381
  # boolean - Show log in link in user notifications?
778
1382
  def show_user_notifications_log_in_link
779
1383
  @attributes[:show_user_notifications_log_in_link]
780
1384
  end
781
1385
 
1386
+ def show_user_notifications_log_in_link=(value)
1387
+ @attributes[:show_user_notifications_log_in_link] = value
1388
+ end
1389
+
782
1390
  # boolean - Show request access link for users without access? Currently unused.
783
1391
  def show_request_access_link
784
1392
  @attributes[:show_request_access_link]
785
1393
  end
786
1394
 
1395
+ def show_request_access_link=(value)
1396
+ @attributes[:show_request_access_link] = value
1397
+ end
1398
+
787
1399
  # string - Custom site footer text for authenticated pages
788
1400
  def site_footer
789
1401
  @attributes[:site_footer]
790
1402
  end
791
1403
 
1404
+ def site_footer=(value)
1405
+ @attributes[:site_footer] = value
1406
+ end
1407
+
792
1408
  # string - Custom site header text for authenticated pages
793
1409
  def site_header
794
1410
  @attributes[:site_header]
795
1411
  end
796
1412
 
1413
+ def site_header=(value)
1414
+ @attributes[:site_header] = value
1415
+ end
1416
+
797
1417
  # string - Custom site footer text for public pages
798
1418
  def site_public_footer
799
1419
  @attributes[:site_public_footer]
800
1420
  end
801
1421
 
1422
+ def site_public_footer=(value)
1423
+ @attributes[:site_public_footer] = value
1424
+ end
1425
+
802
1426
  # string - Custom site header text for public pages
803
1427
  def site_public_header
804
1428
  @attributes[:site_public_header]
805
1429
  end
806
1430
 
1431
+ def site_public_header=(value)
1432
+ @attributes[:site_public_header] = value
1433
+ end
1434
+
807
1435
  # string - SMTP server hostname or IP
808
1436
  def smtp_address
809
1437
  @attributes[:smtp_address]
810
1438
  end
811
1439
 
1440
+ def smtp_address=(value)
1441
+ @attributes[:smtp_address] = value
1442
+ end
1443
+
812
1444
  # string - SMTP server authentication type
813
1445
  def smtp_authentication
814
1446
  @attributes[:smtp_authentication]
815
1447
  end
816
1448
 
1449
+ def smtp_authentication=(value)
1450
+ @attributes[:smtp_authentication] = value
1451
+ end
1452
+
817
1453
  # string - From address to use when mailing through custom SMTP
818
1454
  def smtp_from
819
1455
  @attributes[:smtp_from]
820
1456
  end
821
1457
 
1458
+ def smtp_from=(value)
1459
+ @attributes[:smtp_from] = value
1460
+ end
1461
+
822
1462
  # int64 - SMTP server port
823
1463
  def smtp_port
824
1464
  @attributes[:smtp_port]
825
1465
  end
826
1466
 
1467
+ def smtp_port=(value)
1468
+ @attributes[:smtp_port] = value
1469
+ end
1470
+
827
1471
  # string - SMTP server username
828
1472
  def smtp_username
829
1473
  @attributes[:smtp_username]
830
1474
  end
831
1475
 
1476
+ def smtp_username=(value)
1477
+ @attributes[:smtp_username] = value
1478
+ end
1479
+
832
1480
  # int64 - Session expiry in minutes
833
1481
  def session_expiry_minutes
834
1482
  @attributes[:session_expiry_minutes]
835
1483
  end
836
1484
 
1485
+ def session_expiry_minutes=(value)
1486
+ @attributes[:session_expiry_minutes] = value
1487
+ end
1488
+
837
1489
  # boolean - Allow snapshot share links creation
838
1490
  def snapshot_sharing_enabled
839
1491
  @attributes[:snapshot_sharing_enabled]
840
1492
  end
841
1493
 
1494
+ def snapshot_sharing_enabled=(value)
1495
+ @attributes[:snapshot_sharing_enabled] = value
1496
+ end
1497
+
842
1498
  # boolean - Is SSL required? Disabling this is insecure.
843
1499
  def ssl_required
844
1500
  @attributes[:ssl_required]
845
1501
  end
846
1502
 
1503
+ def ssl_required=(value)
1504
+ @attributes[:ssl_required] = value
1505
+ end
1506
+
847
1507
  # string - Site subdomain
848
1508
  def subdomain
849
1509
  @attributes[:subdomain]
850
1510
  end
851
1511
 
1512
+ def subdomain=(value)
1513
+ @attributes[:subdomain] = value
1514
+ end
1515
+
852
1516
  # date-time - If switching plans, when does the new plan take effect?
853
1517
  def switch_to_plan_date
854
1518
  @attributes[:switch_to_plan_date]
855
1519
  end
856
1520
 
1521
+ def switch_to_plan_date=(value)
1522
+ @attributes[:switch_to_plan_date] = value
1523
+ end
1524
+
857
1525
  # int64 - Number of days left in trial
858
1526
  def trial_days_left
859
1527
  @attributes[:trial_days_left]
860
1528
  end
861
1529
 
1530
+ def trial_days_left=(value)
1531
+ @attributes[:trial_days_left] = value
1532
+ end
1533
+
862
1534
  # date-time - When does this Site trial expire?
863
1535
  def trial_until
864
1536
  @attributes[:trial_until]
865
1537
  end
866
1538
 
1539
+ def trial_until=(value)
1540
+ @attributes[:trial_until] = value
1541
+ end
1542
+
867
1543
  # boolean - If using custom SMTP, should we use dedicated IPs to deliver emails?
868
1544
  def use_dedicated_ips_for_smtp
869
1545
  @attributes[:use_dedicated_ips_for_smtp]
870
1546
  end
871
1547
 
1548
+ def use_dedicated_ips_for_smtp=(value)
1549
+ @attributes[:use_dedicated_ips_for_smtp] = value
1550
+ end
1551
+
872
1552
  # boolean - Allow uploaders to set `provided_modified_at` for uploaded files?
873
1553
  def use_provided_modified_at
874
1554
  @attributes[:use_provided_modified_at]
875
1555
  end
876
1556
 
1557
+ def use_provided_modified_at=(value)
1558
+ @attributes[:use_provided_modified_at] = value
1559
+ end
1560
+
877
1561
  # User - User of current session
878
1562
  def user
879
1563
  @attributes[:user]
880
1564
  end
881
1565
 
1566
+ def user=(value)
1567
+ @attributes[:user] = value
1568
+ end
1569
+
882
1570
  # boolean - Will users be locked out after incorrect login attempts?
883
1571
  def user_lockout
884
1572
  @attributes[:user_lockout]
885
1573
  end
886
1574
 
1575
+ def user_lockout=(value)
1576
+ @attributes[:user_lockout] = value
1577
+ end
1578
+
887
1579
  # int64 - How many hours to lock user out for failed password?
888
1580
  def user_lockout_lock_period
889
1581
  @attributes[:user_lockout_lock_period]
890
1582
  end
891
1583
 
1584
+ def user_lockout_lock_period=(value)
1585
+ @attributes[:user_lockout_lock_period] = value
1586
+ end
1587
+
892
1588
  # int64 - Number of login tries within `user_lockout_within` hours before users are locked out
893
1589
  def user_lockout_tries
894
1590
  @attributes[:user_lockout_tries]
895
1591
  end
896
1592
 
1593
+ def user_lockout_tries=(value)
1594
+ @attributes[:user_lockout_tries] = value
1595
+ end
1596
+
897
1597
  # int64 - Number of hours for user lockout window
898
1598
  def user_lockout_within
899
1599
  @attributes[:user_lockout_within]
900
1600
  end
901
1601
 
1602
+ def user_lockout_within=(value)
1603
+ @attributes[:user_lockout_within] = value
1604
+ end
1605
+
902
1606
  # boolean - Enable User Requests feature
903
1607
  def user_requests_enabled
904
1608
  @attributes[:user_requests_enabled]
905
1609
  end
906
1610
 
1611
+ def user_requests_enabled=(value)
1612
+ @attributes[:user_requests_enabled] = value
1613
+ end
1614
+
907
1615
  # boolean - Send email to site admins when a user request is received?
908
1616
  def user_requests_notify_admins
909
1617
  @attributes[:user_requests_notify_admins]
910
1618
  end
911
1619
 
1620
+ def user_requests_notify_admins=(value)
1621
+ @attributes[:user_requests_notify_admins] = value
1622
+ end
1623
+
912
1624
  # boolean - Allow users to create their own API keys?
913
1625
  def users_can_create_api_keys
914
1626
  @attributes[:users_can_create_api_keys]
915
1627
  end
916
1628
 
1629
+ def users_can_create_api_keys=(value)
1630
+ @attributes[:users_can_create_api_keys] = value
1631
+ end
1632
+
917
1633
  # boolean - Allow users to create their own SSH keys?
918
1634
  def users_can_create_ssh_keys
919
1635
  @attributes[:users_can_create_ssh_keys]
920
1636
  end
921
1637
 
1638
+ def users_can_create_ssh_keys=(value)
1639
+ @attributes[:users_can_create_ssh_keys] = value
1640
+ end
1641
+
922
1642
  # string - How usernames are displayed in the web UI. Can be `username_only`, `full_name_only`, `full_name_username`, `full_name_company`, or `full_name_username_company`.
923
1643
  def username_display
924
1644
  @attributes[:username_display]
925
1645
  end
926
1646
 
1647
+ def username_display=(value)
1648
+ @attributes[:username_display] = value
1649
+ end
1650
+
927
1651
  # string - Custom text send in user welcome email
928
1652
  def welcome_custom_text
929
1653
  @attributes[:welcome_custom_text]
930
1654
  end
931
1655
 
1656
+ def welcome_custom_text=(value)
1657
+ @attributes[:welcome_custom_text] = value
1658
+ end
1659
+
932
1660
  # string - Custom footer text for system-generated emails. Supports standard strftime date/time patterns like %Y (4-digit year), %m (month), %d (day).
933
1661
  def email_footer_custom_text
934
1662
  @attributes[:email_footer_custom_text]
935
1663
  end
936
1664
 
1665
+ def email_footer_custom_text=(value)
1666
+ @attributes[:email_footer_custom_text] = value
1667
+ end
1668
+
937
1669
  # email - Include this email in welcome emails if enabled
938
1670
  def welcome_email_cc
939
1671
  @attributes[:welcome_email_cc]
940
1672
  end
941
1673
 
1674
+ def welcome_email_cc=(value)
1675
+ @attributes[:welcome_email_cc] = value
1676
+ end
1677
+
942
1678
  # string - Include this email subject in welcome emails if enabled
943
1679
  def welcome_email_subject
944
1680
  @attributes[:welcome_email_subject]
945
1681
  end
946
1682
 
1683
+ def welcome_email_subject=(value)
1684
+ @attributes[:welcome_email_subject] = value
1685
+ end
1686
+
947
1687
  # boolean - Will the welcome email be sent to new users?
948
1688
  def welcome_email_enabled
949
1689
  @attributes[:welcome_email_enabled]
950
1690
  end
951
1691
 
1692
+ def welcome_email_enabled=(value)
1693
+ @attributes[:welcome_email_enabled] = value
1694
+ end
1695
+
952
1696
  # string - Does the welcome screen appear?
953
1697
  def welcome_screen
954
1698
  @attributes[:welcome_screen]
955
1699
  end
956
1700
 
1701
+ def welcome_screen=(value)
1702
+ @attributes[:welcome_screen] = value
1703
+ end
1704
+
957
1705
  # boolean - Does FTP user Windows emulation mode?
958
1706
  def windows_mode_ftp
959
1707
  @attributes[:windows_mode_ftp]
960
1708
  end
961
1709
 
1710
+ def windows_mode_ftp=(value)
1711
+ @attributes[:windows_mode_ftp] = value
1712
+ end
1713
+
1714
+ # string
1715
+ def lead_cookie_code
1716
+ @attributes[:lead_cookie_code]
1717
+ end
1718
+
1719
+ def lead_cookie_code=(value)
1720
+ @attributes[:lead_cookie_code] = value
1721
+ end
1722
+
1723
+ # string
1724
+ def recaptcha_token
1725
+ @attributes[:recaptcha_token]
1726
+ end
1727
+
1728
+ def recaptcha_token=(value)
1729
+ @attributes[:recaptcha_token] = value
1730
+ end
1731
+
1732
+ # string
1733
+ def username
1734
+ @attributes[:username]
1735
+ end
1736
+
1737
+ def username=(value)
1738
+ @attributes[:username] = value
1739
+ end
1740
+
1741
+ # string
1742
+ def password
1743
+ @attributes[:password]
1744
+ end
1745
+
1746
+ def password=(value)
1747
+ @attributes[:password] = value
1748
+ end
1749
+
1750
+ # string
1751
+ def utm_term
1752
+ @attributes[:utm_term]
1753
+ end
1754
+
1755
+ def utm_term=(value)
1756
+ @attributes[:utm_term] = value
1757
+ end
1758
+
1759
+ # string
1760
+ def utm_source
1761
+ @attributes[:utm_source]
1762
+ end
1763
+
1764
+ def utm_source=(value)
1765
+ @attributes[:utm_source] = value
1766
+ end
1767
+
1768
+ # string
1769
+ def utm_content
1770
+ @attributes[:utm_content]
1771
+ end
1772
+
1773
+ def utm_content=(value)
1774
+ @attributes[:utm_content] = value
1775
+ end
1776
+
1777
+ # string
1778
+ def utm_medium
1779
+ @attributes[:utm_medium]
1780
+ end
1781
+
1782
+ def utm_medium=(value)
1783
+ @attributes[:utm_medium] = value
1784
+ end
1785
+
1786
+ # string
1787
+ def utm_campaign
1788
+ @attributes[:utm_campaign]
1789
+ end
1790
+
1791
+ def utm_campaign=(value)
1792
+ @attributes[:utm_campaign] = value
1793
+ end
1794
+
1795
+ # string
1796
+ def utm_domain
1797
+ @attributes[:utm_domain]
1798
+ end
1799
+
1800
+ def utm_domain=(value)
1801
+ @attributes[:utm_domain] = value
1802
+ end
1803
+
1804
+ # string
1805
+ def gclid
1806
+ @attributes[:gclid]
1807
+ end
1808
+
1809
+ def gclid=(value)
1810
+ @attributes[:gclid] = value
1811
+ end
1812
+
1813
+ # int64
1814
+ def plan_id
1815
+ @attributes[:plan_id]
1816
+ end
1817
+
1818
+ def plan_id=(value)
1819
+ @attributes[:plan_id] = value
1820
+ end
1821
+
1822
+ # string
1823
+ def brand
1824
+ @attributes[:brand]
1825
+ end
1826
+
1827
+ def brand=(value)
1828
+ @attributes[:brand] = value
1829
+ end
1830
+
1831
+ # Change the current billing plan for the site
1832
+ #
1833
+ # Parameters:
1834
+ # billing_frequency - int64 - The billing frequency for the site. Must be 1 (monthly) or 12 (annual).
1835
+ def update_plan(params = {})
1836
+ params ||= {}
1837
+ params[:id] = @attributes[:id]
1838
+ raise MissingParameterError.new("Current object doesn't have a id") unless @attributes[:id]
1839
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
1840
+ raise InvalidParameterError.new("Bad parameter: billing_frequency must be an Integer") if params[:billing_frequency] and !params[:billing_frequency].is_a?(Integer)
1841
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
1842
+
1843
+ Api.send_request("/site/plan", :patch, params, @options)
1844
+ end
1845
+
1846
+ def save
1847
+ if @attributes[:id]
1848
+ raise NotImplementedError.new("The Site object doesn't support updates.")
1849
+ else
1850
+ new_obj = Site.create(@attributes, @options)
1851
+ end
1852
+
1853
+ @attributes = new_obj.attributes
1854
+ true
1855
+ end
1856
+
962
1857
  def self.get(params = {}, options = {})
963
1858
  response, options = Api.send_request("/site", :get, params, options)
964
1859
  Site.new(response.data, options)
@@ -969,6 +1864,103 @@ module Files
969
1864
  UsageSnapshot.new(response.data, options)
970
1865
  end
971
1866
 
1867
+ def self.get_switch_to_plan(params = {}, options = {})
1868
+ response, options = Api.send_request("/site/switch_to_plan", :get, params, options)
1869
+ Plan.new(response.data, options)
1870
+ end
1871
+
1872
+ # Parameters:
1873
+ # currency - string - Currency.
1874
+ def self.get_plan(params = {}, options = {})
1875
+ raise InvalidParameterError.new("Bad parameter: currency must be an String") if params[:currency] and !params[:currency].is_a?(String)
1876
+
1877
+ response, options = Api.send_request("/site/plan", :get, params, options)
1878
+ Plan.new(response.data, options)
1879
+ end
1880
+
1881
+ # Parameters:
1882
+ # paypal_token (required) - string - Billing token for use with paypal.
1883
+ def self.get_paypal_express_info(params = {}, options = {})
1884
+ raise InvalidParameterError.new("Bad parameter: paypal_token must be an String") if params[:paypal_token] and !params[:paypal_token].is_a?(String)
1885
+ raise MissingParameterError.new("Parameter missing: paypal_token") unless params[:paypal_token]
1886
+
1887
+ response, options = Api.send_request("/site/paypal_express_info", :get, params, options)
1888
+ PaypalExpressInfo.new(response.data, options)
1889
+ end
1890
+
1891
+ # Parameters:
1892
+ # return_to_url (required) - string - URL that paypal express forwards the user to.
1893
+ # plan_id - int64 - Plan ID to switch to.
1894
+ def self.get_paypal_express(params = {}, options = {})
1895
+ raise InvalidParameterError.new("Bad parameter: return_to_url must be an String") if params[:return_to_url] and !params[:return_to_url].is_a?(String)
1896
+ raise InvalidParameterError.new("Bad parameter: plan_id must be an Integer") if params[:plan_id] and !params[:plan_id].is_a?(Integer)
1897
+ raise MissingParameterError.new("Parameter missing: return_to_url") unless params[:return_to_url]
1898
+
1899
+ response, options = Api.send_request("/site/paypal_express", :get, params, options)
1900
+ PaypalExpressUrl.new(response.data, options)
1901
+ end
1902
+
1903
+ # Parameters:
1904
+ # code (required) - string - Mover trial code to apply
1905
+ def self.mover_trial_code(params = {}, options = {})
1906
+ raise InvalidParameterError.new("Bad parameter: code must be an String") if params[:code] and !params[:code].is_a?(String)
1907
+ raise MissingParameterError.new("Parameter missing: code") unless params[:code]
1908
+
1909
+ response, options = Api.send_request("/site/mover_trial_code", :post, params, options)
1910
+ Site.new(response.data, options)
1911
+ end
1912
+
1913
+ # Parameters:
1914
+ # name (required) - string
1915
+ # email (required) - string
1916
+ # lead_cookie_code (required) - string
1917
+ # recaptcha_token (required) - string
1918
+ # reply_to_email - string
1919
+ # phone - string
1920
+ # contact_name - string
1921
+ # username - string
1922
+ # password - string
1923
+ # currency - string
1924
+ # language - string
1925
+ # utm_term - string
1926
+ # utm_source - string
1927
+ # utm_content - string
1928
+ # utm_medium - string
1929
+ # utm_campaign - string
1930
+ # utm_domain - string
1931
+ # gclid - string
1932
+ # plan_id - int64
1933
+ # brand - string
1934
+ def self.create(params = {}, options = {})
1935
+ raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
1936
+ raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
1937
+ raise InvalidParameterError.new("Bad parameter: lead_cookie_code must be an String") if params[:lead_cookie_code] and !params[:lead_cookie_code].is_a?(String)
1938
+ raise InvalidParameterError.new("Bad parameter: recaptcha_token must be an String") if params[:recaptcha_token] and !params[:recaptcha_token].is_a?(String)
1939
+ raise InvalidParameterError.new("Bad parameter: reply_to_email must be an String") if params[:reply_to_email] and !params[:reply_to_email].is_a?(String)
1940
+ raise InvalidParameterError.new("Bad parameter: phone must be an String") if params[:phone] and !params[:phone].is_a?(String)
1941
+ raise InvalidParameterError.new("Bad parameter: contact_name must be an String") if params[:contact_name] and !params[:contact_name].is_a?(String)
1942
+ raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
1943
+ raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
1944
+ raise InvalidParameterError.new("Bad parameter: currency must be an String") if params[:currency] and !params[:currency].is_a?(String)
1945
+ raise InvalidParameterError.new("Bad parameter: language must be an String") if params[:language] and !params[:language].is_a?(String)
1946
+ raise InvalidParameterError.new("Bad parameter: utm_term must be an String") if params[:utm_term] and !params[:utm_term].is_a?(String)
1947
+ raise InvalidParameterError.new("Bad parameter: utm_source must be an String") if params[:utm_source] and !params[:utm_source].is_a?(String)
1948
+ raise InvalidParameterError.new("Bad parameter: utm_content must be an String") if params[:utm_content] and !params[:utm_content].is_a?(String)
1949
+ raise InvalidParameterError.new("Bad parameter: utm_medium must be an String") if params[:utm_medium] and !params[:utm_medium].is_a?(String)
1950
+ raise InvalidParameterError.new("Bad parameter: utm_campaign must be an String") if params[:utm_campaign] and !params[:utm_campaign].is_a?(String)
1951
+ raise InvalidParameterError.new("Bad parameter: utm_domain must be an String") if params[:utm_domain] and !params[:utm_domain].is_a?(String)
1952
+ raise InvalidParameterError.new("Bad parameter: gclid must be an String") if params[:gclid] and !params[:gclid].is_a?(String)
1953
+ raise InvalidParameterError.new("Bad parameter: plan_id must be an Integer") if params[:plan_id] and !params[:plan_id].is_a?(Integer)
1954
+ raise InvalidParameterError.new("Bad parameter: brand must be an String") if params[:brand] and !params[:brand].is_a?(String)
1955
+ raise MissingParameterError.new("Parameter missing: name") unless params[:name]
1956
+ raise MissingParameterError.new("Parameter missing: email") unless params[:email]
1957
+ raise MissingParameterError.new("Parameter missing: lead_cookie_code") unless params[:lead_cookie_code]
1958
+ raise MissingParameterError.new("Parameter missing: recaptcha_token") unless params[:recaptcha_token]
1959
+
1960
+ response, options = Api.send_request("/site", :post, params, options)
1961
+ Site.new(response.data, options)
1962
+ end
1963
+
972
1964
  # Parameters:
973
1965
  # name - string - Site name
974
1966
  # subdomain - string - Site subdomain
@@ -1233,5 +2225,34 @@ module Files
1233
2225
  response, options = Api.send_request("/site", :patch, params, options)
1234
2226
  Site.new(response.data, options)
1235
2227
  end
2228
+
2229
+ # Change the current billing plan for the site
2230
+ #
2231
+ # Parameters:
2232
+ # billing_frequency - int64 - The billing frequency for the site. Must be 1 (monthly) or 12 (annual).
2233
+ def self.update_plan(id, params = {}, options = {})
2234
+ params ||= {}
2235
+ params[:id] = id
2236
+ raise InvalidParameterError.new("Bad parameter: id must be an Integer") if params[:id] and !params[:id].is_a?(Integer)
2237
+ raise InvalidParameterError.new("Bad parameter: billing_frequency must be an Integer") if params[:billing_frequency] and !params[:billing_frequency].is_a?(Integer)
2238
+ raise MissingParameterError.new("Parameter missing: id") unless params[:id]
2239
+
2240
+ response, options = Api.send_request("/site/plan", :patch, params, options)
2241
+ Plan.new(response.data, options)
2242
+ end
2243
+
2244
+ # Parameters:
2245
+ # reason - string - Reason the site was cancelled.
2246
+ def self.delete(params = {}, options = {})
2247
+ raise InvalidParameterError.new("Bad parameter: reason must be an String") if params[:reason] and !params[:reason].is_a?(String)
2248
+
2249
+ Api.send_request("/site", :delete, params, options)
2250
+ nil
2251
+ end
2252
+
2253
+ def self.destroy(params = {}, options = {})
2254
+ delete(params, options)
2255
+ nil
2256
+ end
1236
2257
  end
1237
2258
  end