files.com 1.1.671 → 1.1.672
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_VERSION +1 -1
- data/docs/action_log.md +1 -21
- data/docs/action_notification_export_result.md +0 -17
- data/docs/ai_assistant_personality.md +0 -14
- data/docs/ai_task.md +0 -14
- data/docs/api_key.md +1 -27
- data/docs/api_request_log.md +1 -21
- data/docs/app.md +0 -15
- data/docs/as2_incoming_message.md +0 -18
- data/docs/as2_outgoing_message.md +0 -18
- data/docs/as2_partner.md +0 -14
- data/docs/as2_station.md +0 -14
- data/docs/automation.md +1 -22
- data/docs/automation_log.md +1 -21
- data/docs/automation_run.md +0 -19
- data/docs/bandwidth_snapshot.md +0 -18
- data/docs/behavior.md +0 -14
- data/docs/bundle.md +1 -50
- data/docs/bundle_action.md +0 -25
- data/docs/bundle_download.md +0 -23
- data/docs/bundle_notification.md +0 -19
- data/docs/bundle_recipient.md +0 -21
- data/docs/bundle_registration.md +0 -61
- data/docs/chat_session.md +2 -14
- data/docs/child_site_management_policy.md +0 -9
- data/docs/clickwrap.md +0 -13
- data/docs/custom_domain.md +0 -13
- data/docs/desktop_configuration_profile.md +0 -14
- data/docs/dns_record.md +0 -9
- data/docs/email_incoming_message.md +0 -19
- data/docs/email_log.md +1 -20
- data/docs/event_channel.md +0 -14
- data/docs/event_delivery_attempt.md +0 -14
- data/docs/event_record.md +0 -19
- data/docs/event_subscription.md +0 -14
- data/docs/event_target.md +0 -14
- data/docs/exavault_api_request_log.md +1 -21
- data/docs/expectation.md +0 -14
- data/docs/expectation_evaluation.md +0 -14
- data/docs/expectation_incident.md +0 -14
- data/docs/external_event.md +0 -18
- data/docs/file.md +2 -90
- data/docs/file_migration.md +0 -32
- data/docs/file_migration_log.md +1 -20
- data/docs/file_upload_part.md +1 -3
- data/docs/folder.md +0 -20
- data/docs/form_field_set.md +0 -15
- data/docs/ftp_action_log.md +1 -21
- data/docs/gpg_key.md +0 -21
- data/docs/group.md +0 -19
- data/docs/group_user.md +2 -22
- data/docs/history.md +0 -85
- data/docs/history_export_result.md +0 -17
- data/docs/holiday_region.md +0 -9
- data/docs/inbound_s3_log.md +1 -21
- data/docs/inbox_recipient.md +0 -19
- data/docs/inbox_registration.md +0 -57
- data/docs/inbox_upload.md +0 -18
- data/docs/invoice.md +0 -9
- data/docs/ip_address.md +0 -59
- data/docs/key_lifecycle_rule.md +0 -14
- data/docs/lock.md +0 -15
- data/docs/message.md +0 -17
- data/docs/message_comment.md +0 -18
- data/docs/message_comment_reaction.md +0 -18
- data/docs/message_reaction.md +0 -17
- data/docs/metadata_category.md +0 -13
- data/docs/notification.md +0 -20
- data/docs/outbound_connection_log.md +1 -21
- data/docs/partner.md +0 -14
- data/docs/partner_channel.md +0 -14
- data/docs/partner_site_request.md +0 -14
- data/docs/payment.md +0 -9
- data/docs/pending_work_event.md +0 -18
- data/docs/permission.md +0 -22
- data/docs/preview.md +0 -57
- data/docs/project.md +0 -9
- data/docs/public_hosting_request_log.md +1 -21
- data/docs/public_key.md +0 -21
- data/docs/remote_bandwidth_snapshot.md +0 -18
- data/docs/remote_mount_backend.md +0 -13
- data/docs/remote_server.md +0 -233
- data/docs/remote_server_credential.md +0 -15
- data/docs/request.md +0 -17
- data/docs/restore.md +0 -14
- data/docs/scheduled_export.md +0 -15
- data/docs/scim_log.md +0 -13
- data/docs/session.md +1 -232
- data/docs/settings_change.md +0 -16
- data/docs/sftp_action_log.md +1 -21
- data/docs/sftp_host_key.md +0 -9
- data/docs/share_group.md +0 -15
- data/docs/siem_http_destination.md +0 -9
- data/docs/siem_http_destination_event.md +0 -18
- data/docs/site.md +0 -179
- data/docs/site_subdomain_redirect.md +0 -13
- data/docs/snapshot.md +0 -9
- data/docs/sso_event.md +0 -19
- data/docs/sso_strategy.md +0 -406
- data/docs/sync.md +0 -14
- data/docs/sync_log.md +1 -20
- data/docs/sync_run.md +0 -21
- data/docs/usage_daily_snapshot.md +0 -18
- data/docs/usage_snapshot.md +0 -9
- data/docs/user.md +2 -49
- data/docs/user_cipher_use.md +0 -21
- data/docs/user_lifecycle_rule.md +0 -14
- data/docs/user_request.md +0 -9
- data/docs/user_security_event.md +0 -18
- data/docs/user_sftp_client_use.md +0 -15
- data/docs/web_dav_action_log.md +1 -21
- data/docs/workspace.md +0 -15
- data/lib/files.com/models/action_log.rb +0 -24
- data/lib/files.com/models/action_notification_export_result.rb +0 -12
- data/lib/files.com/models/ai_assistant_personality.rb +0 -11
- data/lib/files.com/models/ai_task.rb +0 -11
- data/lib/files.com/models/api_key.rb +5 -39
- data/lib/files.com/models/api_request_log.rb +0 -24
- data/lib/files.com/models/app.rb +0 -13
- data/lib/files.com/models/as2_incoming_message.rb +0 -19
- data/lib/files.com/models/as2_outgoing_message.rb +0 -19
- data/lib/files.com/models/as2_partner.rb +0 -11
- data/lib/files.com/models/as2_station.rb +0 -11
- data/lib/files.com/models/automation.rb +0 -30
- data/lib/files.com/models/automation_log.rb +0 -24
- data/lib/files.com/models/automation_run.rb +0 -16
- data/lib/files.com/models/bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/behavior.rb +0 -11
- data/lib/files.com/models/bundle.rb +0 -52
- data/lib/files.com/models/bundle_action.rb +0 -25
- data/lib/files.com/models/bundle_download.rb +0 -23
- data/lib/files.com/models/bundle_notification.rb +0 -15
- data/lib/files.com/models/bundle_recipient.rb +0 -27
- data/lib/files.com/models/bundle_registration.rb +0 -125
- data/lib/files.com/models/chat_session.rb +5 -11
- data/lib/files.com/models/child_site_management_policy.rb +0 -5
- data/lib/files.com/models/clickwrap.rb +0 -9
- data/lib/files.com/models/custom_domain.rb +0 -9
- data/lib/files.com/models/desktop_configuration_profile.rb +0 -11
- data/lib/files.com/models/dns_record.rb +0 -5
- data/lib/files.com/models/email_incoming_message.rb +0 -21
- data/lib/files.com/models/email_log.rb +0 -22
- data/lib/files.com/models/event_channel.rb +0 -11
- data/lib/files.com/models/event_delivery_attempt.rb +0 -11
- data/lib/files.com/models/event_record.rb +0 -21
- data/lib/files.com/models/event_subscription.rb +0 -11
- data/lib/files.com/models/event_target.rb +0 -11
- data/lib/files.com/models/exavault_api_request_log.rb +0 -24
- data/lib/files.com/models/expectation.rb +0 -11
- data/lib/files.com/models/expectation_evaluation.rb +0 -11
- data/lib/files.com/models/expectation_incident.rb +0 -11
- data/lib/files.com/models/external_event.rb +0 -19
- data/lib/files.com/models/file.rb +0 -207
- data/lib/files.com/models/file_migration.rb +0 -27
- data/lib/files.com/models/file_migration_log.rb +0 -22
- data/lib/files.com/models/file_upload_part.rb +0 -5
- data/lib/files.com/models/folder.rb +0 -69
- data/lib/files.com/models/form_field_set.rb +0 -9
- data/lib/files.com/models/ftp_action_log.rb +0 -24
- data/lib/files.com/models/gpg_key.rb +0 -21
- data/lib/files.com/models/group.rb +0 -16
- data/lib/files.com/models/group_user.rb +1 -21
- data/lib/files.com/models/history.rb +0 -94
- data/lib/files.com/models/history_export_result.rb +0 -12
- data/lib/files.com/models/holiday_region.rb +0 -5
- data/lib/files.com/models/inbound_s3_log.rb +0 -24
- data/lib/files.com/models/inbox_recipient.rb +0 -25
- data/lib/files.com/models/inbox_registration.rb +0 -121
- data/lib/files.com/models/inbox_upload.rb +0 -19
- data/lib/files.com/models/invoice.rb +0 -5
- data/lib/files.com/models/ip_address.rb +0 -37
- data/lib/files.com/models/key_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/lock.rb +0 -27
- data/lib/files.com/models/message.rb +0 -12
- data/lib/files.com/models/message_comment.rb +0 -14
- data/lib/files.com/models/message_comment_reaction.rb +0 -14
- data/lib/files.com/models/message_reaction.rb +0 -12
- data/lib/files.com/models/metadata_category.rb +0 -9
- data/lib/files.com/models/notification.rb +0 -18
- data/lib/files.com/models/outbound_connection_log.rb +0 -24
- data/lib/files.com/models/partner.rb +0 -11
- data/lib/files.com/models/partner_channel.rb +0 -11
- data/lib/files.com/models/partner_site_request.rb +0 -11
- data/lib/files.com/models/payment.rb +0 -5
- data/lib/files.com/models/pending_work_event.rb +0 -19
- data/lib/files.com/models/permission.rb +0 -22
- data/lib/files.com/models/preview.rb +0 -57
- data/lib/files.com/models/project.rb +0 -5
- data/lib/files.com/models/public_hosting_request_log.rb +0 -24
- data/lib/files.com/models/public_key.rb +0 -21
- data/lib/files.com/models/remote_bandwidth_snapshot.rb +0 -19
- data/lib/files.com/models/remote_mount_backend.rb +0 -9
- data/lib/files.com/models/remote_server.rb +0 -297
- data/lib/files.com/models/remote_server_credential.rb +0 -13
- data/lib/files.com/models/request.rb +0 -12
- data/lib/files.com/models/restore.rb +0 -11
- data/lib/files.com/models/scheduled_export.rb +0 -13
- data/lib/files.com/models/scim_log.rb +0 -9
- data/lib/files.com/models/session.rb +0 -493
- data/lib/files.com/models/settings_change.rb +0 -16
- data/lib/files.com/models/sftp_action_log.rb +0 -24
- data/lib/files.com/models/sftp_host_key.rb +0 -5
- data/lib/files.com/models/share_group.rb +0 -9
- data/lib/files.com/models/siem_http_destination.rb +0 -5
- data/lib/files.com/models/siem_http_destination_event.rb +0 -19
- data/lib/files.com/models/site.rb +0 -1021
- data/lib/files.com/models/site_subdomain_redirect.rb +0 -9
- data/lib/files.com/models/snapshot.rb +0 -5
- data/lib/files.com/models/sso_event.rb +0 -21
- data/lib/files.com/models/sso_strategy.rb +0 -632
- data/lib/files.com/models/sync.rb +0 -11
- data/lib/files.com/models/sync_log.rb +0 -22
- data/lib/files.com/models/sync_run.rb +0 -21
- data/lib/files.com/models/usage_daily_snapshot.rb +0 -19
- data/lib/files.com/models/usage_snapshot.rb +0 -5
- data/lib/files.com/models/user.rb +0 -59
- data/lib/files.com/models/user_cipher_use.rb +0 -21
- data/lib/files.com/models/user_lifecycle_rule.rb +0 -11
- data/lib/files.com/models/user_request.rb +0 -5
- data/lib/files.com/models/user_security_event.rb +0 -19
- data/lib/files.com/models/user_sftp_client_use.rb +0 -9
- data/lib/files.com/models/web_dav_action_log.rb +0 -24
- data/lib/files.com/models/workspace.rb +0 -13
- data/lib/files.com/version.rb +1 -1
- data/lib/files.com.rb +0 -59
- metadata +1 -119
- data/docs/account.md +0 -155
- data/docs/action_webhook_failure.md +0 -28
- data/docs/agent_proxy_identity.md +0 -49
- data/docs/agent_proxy_identity_endpoint.md +0 -11
- data/docs/agent_proxy_identity_result.md +0 -24
- data/docs/agent_v2_auth.md +0 -17
- data/docs/announcement.md +0 -57
- data/docs/blog_post.md +0 -57
- data/docs/bundle_recipient_registration.md +0 -39
- data/docs/certificate.md +0 -258
- data/docs/child_site.md +0 -583
- data/docs/clickwrap_acceptance.md +0 -30
- data/docs/client_log.md +0 -17
- data/docs/crash_report.md +0 -50
- data/docs/custom_domain_for_proxy.md +0 -23
- data/docs/email_preference.md +0 -108
- data/docs/email_preference_bundle_notification.md +0 -15
- data/docs/email_preference_notification.md +0 -17
- data/docs/export.md +0 -90
- data/docs/front_end_server.md +0 -111
- data/docs/frontend_metric.md +0 -34
- data/docs/inbox.md +0 -102
- data/docs/inbox_recipient_registration.md +0 -35
- data/docs/ip.md +0 -63
- data/docs/ip_abuse_entry.md +0 -47
- data/docs/label.md +0 -9
- data/docs/lead.md +0 -161
- data/docs/monitoring_stat.md +0 -38
- data/docs/monitoring_stats.md +0 -15
- data/docs/mover_package.md +0 -68
- data/docs/nps_response.md +0 -75
- data/docs/oauth_redirect.md +0 -11
- data/docs/paired_api_key.md +0 -19
- data/docs/paypal_express_info.md +0 -31
- data/docs/paypal_express_url.md +0 -11
- data/docs/plan.md +0 -107
- data/docs/public_hosting_session_pairing.md +0 -15
- data/docs/public_inbox.md +0 -121
- data/docs/public_url.md +0 -59
- data/docs/regional_migration.md +0 -0
- data/docs/release.md +0 -83
- data/docs/release_package.md +0 -19
- data/docs/revision.md +0 -40
- data/docs/safe_plan.md +0 -0
- data/docs/session_available_site.md +0 -26
- data/docs/setting.md +0 -33
- data/docs/settings.md +0 -498
- data/docs/ssl_certificate.md +0 -37
- data/docs/staging_site.md +0 -591
- data/docs/support_request.md +0 -126
- data/docs/sync_api_usage_snapshot.md +0 -23
- data/docs/sync_api_usage_snapshot_report.md +0 -71
- data/docs/sync_bandwidth_snapshot.md +0 -48
- data/docs/two_factor_authentication_method.md +0 -169
- data/docs/warning.md +0 -36
- data/docs/webauthn_sign_request.md +0 -13
- data/docs/zip_download.md +0 -32
- data/docs/zip_download_file.md +0 -45
- data/docs/zip_download_files.md +0 -23
- data/lib/files.com/models/account.rb +0 -346
- data/lib/files.com/models/action_webhook_failure.rb +0 -34
- data/lib/files.com/models/agent_proxy_identity.rb +0 -47
- data/lib/files.com/models/agent_proxy_identity_endpoint.rb +0 -17
- data/lib/files.com/models/agent_proxy_identity_result.rb +0 -27
- data/lib/files.com/models/agent_v2_auth.rb +0 -32
- data/lib/files.com/models/announcement.rb +0 -89
- data/lib/files.com/models/blog_post.rb +0 -84
- data/lib/files.com/models/bundle_recipient_registration.rb +0 -105
- data/lib/files.com/models/certificate.rb +0 -455
- data/lib/files.com/models/child_site.rb +0 -1756
- data/lib/files.com/models/clickwrap_acceptance.rb +0 -56
- data/lib/files.com/models/client_log.rb +0 -25
- data/lib/files.com/models/crash_report.rb +0 -151
- data/lib/files.com/models/custom_domain_for_proxy.rb +0 -47
- data/lib/files.com/models/email_preference.rb +0 -124
- data/lib/files.com/models/email_preference_bundle_notification.rb +0 -27
- data/lib/files.com/models/email_preference_notification.rb +0 -32
- data/lib/files.com/models/export.rb +0 -153
- data/lib/files.com/models/front_end_server.rb +0 -335
- data/lib/files.com/models/frontend_metric.rb +0 -65
- data/lib/files.com/models/inbox.rb +0 -123
- data/lib/files.com/models/inbox_recipient_registration.rb +0 -87
- data/lib/files.com/models/ip.rb +0 -82
- data/lib/files.com/models/ip_abuse_entry.rb +0 -96
- data/lib/files.com/models/label.rb +0 -22
- data/lib/files.com/models/lead.rb +0 -434
- data/lib/files.com/models/monitoring_stat.rb +0 -43
- data/lib/files.com/models/monitoring_stats.rb +0 -22
- data/lib/files.com/models/mover_package.rb +0 -80
- data/lib/files.com/models/nps_response.rb +0 -128
- data/lib/files.com/models/oauth_redirect.rb +0 -17
- data/lib/files.com/models/paired_api_key.rb +0 -37
- data/lib/files.com/models/paypal_express_info.rb +0 -67
- data/lib/files.com/models/paypal_express_url.rb +0 -17
- data/lib/files.com/models/plan.rb +0 -209
- data/lib/files.com/models/public_hosting_session_pairing.rb +0 -27
- data/lib/files.com/models/public_inbox.rb +0 -142
- data/lib/files.com/models/public_url.rb +0 -177
- data/lib/files.com/models/regional_migration.rb +0 -12
- data/lib/files.com/models/release.rb +0 -153
- data/lib/files.com/models/release_package.rb +0 -37
- data/lib/files.com/models/revision.rb +0 -53
- data/lib/files.com/models/safe_plan.rb +0 -12
- data/lib/files.com/models/session_available_site.rb +0 -47
- data/lib/files.com/models/setting.rb +0 -36
- data/lib/files.com/models/settings.rb +0 -1072
- data/lib/files.com/models/ssl_certificate.rb +0 -77
- data/lib/files.com/models/staging_site.rb +0 -1781
- data/lib/files.com/models/support_request.rb +0 -209
- data/lib/files.com/models/sync_api_usage_snapshot.rb +0 -47
- data/lib/files.com/models/sync_api_usage_snapshot_report.rb +0 -162
- data/lib/files.com/models/sync_bandwidth_snapshot.rb +0 -104
- data/lib/files.com/models/two_factor_authentication_method.rb +0 -250
- data/lib/files.com/models/warning.rb +0 -38
- data/lib/files.com/models/webauthn_sign_request.rb +0 -17
- data/lib/files.com/models/zip_download.rb +0 -73
- data/lib/files.com/models/zip_download_file.rb +0 -111
- data/lib/files.com/models/zip_download_files.rb +0 -42
|
@@ -1,1781 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "bigdecimal"
|
|
4
|
-
|
|
5
|
-
module Files
|
|
6
|
-
class StagingSite
|
|
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
|
-
# string
|
|
1715
|
-
def username
|
|
1716
|
-
@attributes[:username]
|
|
1717
|
-
end
|
|
1718
|
-
|
|
1719
|
-
def username=(value)
|
|
1720
|
-
@attributes[:username] = value
|
|
1721
|
-
end
|
|
1722
|
-
|
|
1723
|
-
# string
|
|
1724
|
-
def password
|
|
1725
|
-
@attributes[:password]
|
|
1726
|
-
end
|
|
1727
|
-
|
|
1728
|
-
def password=(value)
|
|
1729
|
-
@attributes[:password] = value
|
|
1730
|
-
end
|
|
1731
|
-
|
|
1732
|
-
def save
|
|
1733
|
-
if @attributes[:id]
|
|
1734
|
-
raise NotImplementedError.new("The StagingSite object doesn't support updates.")
|
|
1735
|
-
else
|
|
1736
|
-
new_obj = StagingSite.create(@attributes, @options)
|
|
1737
|
-
end
|
|
1738
|
-
|
|
1739
|
-
@attributes = new_obj.attributes
|
|
1740
|
-
true
|
|
1741
|
-
end
|
|
1742
|
-
|
|
1743
|
-
# Parameters:
|
|
1744
|
-
# 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.
|
|
1745
|
-
# per_page - int64 - Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
|
|
1746
|
-
def self.list(params = {}, options = {})
|
|
1747
|
-
raise InvalidParameterError.new("Bad parameter: cursor must be an String") if params[:cursor] and !params[:cursor].is_a?(String)
|
|
1748
|
-
raise InvalidParameterError.new("Bad parameter: per_page must be an Integer") if params[:per_page] and !params[:per_page].is_a?(Integer)
|
|
1749
|
-
|
|
1750
|
-
List.new(Site, params) do
|
|
1751
|
-
Api.send_request("/staging_sites", :get, params, options)
|
|
1752
|
-
end
|
|
1753
|
-
end
|
|
1754
|
-
|
|
1755
|
-
def self.all(params = {}, options = {})
|
|
1756
|
-
list(params, options)
|
|
1757
|
-
end
|
|
1758
|
-
|
|
1759
|
-
# Parameters:
|
|
1760
|
-
# name (required) - string
|
|
1761
|
-
# email (required) - string
|
|
1762
|
-
# username - string
|
|
1763
|
-
# password - string
|
|
1764
|
-
def self.create(params = {}, options = {})
|
|
1765
|
-
raise InvalidParameterError.new("Bad parameter: name must be an String") if params[:name] and !params[:name].is_a?(String)
|
|
1766
|
-
raise InvalidParameterError.new("Bad parameter: email must be an String") if params[:email] and !params[:email].is_a?(String)
|
|
1767
|
-
raise InvalidParameterError.new("Bad parameter: username must be an String") if params[:username] and !params[:username].is_a?(String)
|
|
1768
|
-
raise InvalidParameterError.new("Bad parameter: password must be an String") if params[:password] and !params[:password].is_a?(String)
|
|
1769
|
-
raise MissingParameterError.new("Parameter missing: name") unless params[:name]
|
|
1770
|
-
raise MissingParameterError.new("Parameter missing: email") unless params[:email]
|
|
1771
|
-
|
|
1772
|
-
response, options = Api.send_request("/staging_sites", :post, params, options)
|
|
1773
|
-
Site.new(response.data, options)
|
|
1774
|
-
end
|
|
1775
|
-
|
|
1776
|
-
def self.create_export(params = {}, options = {})
|
|
1777
|
-
response, options = Api.send_request("/staging_sites/create_export", :post, params, options)
|
|
1778
|
-
Export.new(response.data, options)
|
|
1779
|
-
end
|
|
1780
|
-
end
|
|
1781
|
-
end
|