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