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