public class Site extends Object implements ModelInterface
| Modifier and Type | Field and Description |
|---|---|
Long |
activeSftpHostKeyId
Id of the currently selected custom SFTP Host Key
|
String[] |
additionalTextFileTypes
Additional extensions that are considered text files
|
Boolean |
adminsBypassLockedSubfolders
Allow admins to bypass the locked subfolders setting.
|
Long |
adminUserId
User ID for the main site administrator
|
Boolean |
allowBundleNames
Are manual Bundle names allowed?
|
Boolean |
allowed2faMethodBypassForFtpSftpDav
Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
Boolean |
allowed2faMethodEmail
Is OTP via email two factor authentication allowed?
|
Boolean |
allowed2faMethodSms
Is SMS two factor authentication allowed?
|
Boolean |
allowed2faMethodStatic
Is OTP via static codes for two factor authentication allowed?
|
Boolean |
allowed2faMethodTotp
Is TOTP two factor authentication allowed?
|
Boolean |
allowed2faMethodU2f
Is U2F two factor authentication allowed?
|
Boolean |
allowed2faMethodWebauthn
Is WebAuthn two factor authentication allowed?
|
Boolean |
allowed2faMethodYubi
Is yubikey two factor authentication allowed?
|
String |
allowedCountries
Comma separated list of allowed Country codes
|
String |
allowedIps
List of allowed IP addresses
|
Boolean |
alwaysMkdirParents
Create parent directories if they do not exist during uploads?
|
Boolean |
askAboutOverwrites
If false, rename conflicting files instead of asking for overwrite confirmation.
|
String |
bundleActivityNotifications
Do Bundle owners receive activity notifications?
|
Long |
bundleExpiration
Site-wide Bundle expiration in days
|
String |
bundleNotFoundMessage
Custom error message to show when bundle is not found.
|
Boolean |
bundlePasswordRequired
Do Bundles require password protection?
|
String[] |
bundleRecipientBlacklistDomains
List of email domains to disallow when entering a Bundle/Inbox recipients
|
Boolean |
bundleRecipientBlacklistFreeEmailDomains
Disallow free email domains for Bundle/Inbox recipients?
|
String |
bundleRegistrationNotifications
Do Bundle owners receive registration notification?
|
Boolean |
bundleRequireNote
Do Bundles require internal notes?
|
Boolean |
bundleRequireRegistration
Do Bundles require registration?
|
Boolean |
bundleRequireShareRecipient
Do Bundles require recipients for sharing?
|
String |
bundleUploadReceiptNotifications
Do Bundle uploaders receive upload confirmation notifications?
|
Image |
bundleWatermarkAttachment
Preview watermark image applied to all bundle items.
|
Map<String,String> |
bundleWatermarkValue
Preview watermark settings applied to all bundle items.
|
String |
color2Left
Page link and button color
|
String |
color2Link
Top bar link color
|
String |
color2Text
Page link and button color
|
String |
color2Top
Top bar background color
|
String |
color2TopText
Top bar text color
|
String |
contactName
Site main contact name
|
Date |
createdAt
Time this site was created
|
String |
currency
Preferred currency
|
Boolean |
customNamespace
Is this site using a custom namespace for users?
|
Boolean |
davEnabled
Is WebDAV enabled?
|
Boolean |
davUserRootEnabled
Use user FTP roots also for WebDAV?
|
Long |
daysToRetainBackups
Number of days to keep deleted files
|
String |
defaultTimeZone
Site default time zone
|
Boolean |
desktopApp
Is the desktop app enabled?
|
Boolean |
desktopAppSessionIpPinning
Is desktop app session IP pinning enabled?
|
Long |
desktopAppSessionLifetime
Desktop app session lifetime (in hours)
|
Boolean |
disableFilesCertificateGeneration
If set, Files.com will not set the CAA records required to generate future SSL certificates for this domain.
|
Boolean |
disableNotifications
Are notifications disabled?
|
Boolean |
disablePasswordReset
Is password reset disabled?
|
Long |
disableUsersFromInactivityPeriodDays
If greater than zero, users will unable to login if they do not show activity within this number of days.
|
String |
disallowedCountries
Comma separated list of disallowed Country codes
|
String |
domain
Custom domain
|
Boolean |
domainHstsHeader
Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
|
String |
domainLetsencryptChain
Letsencrypt chain to use when registering SSL Certificate for domain.
|
String |
email
Main email for this site
|
Boolean |
folderPermissionsGroupsOnly
If true, permissions for this site must be bound to a group (not a user).
|
Boolean |
ftpEnabled
Is FTP enabled?
|
Boolean |
groupAdminsCanSetUserPassword
Allow group admins set password authentication method
|
Boolean |
hipaa
Is there a signed HIPAA BAA between Files.com and this site?
|
Image |
icon128
Branded icon 128x128
|
Image |
icon16
Branded icon 16x16
|
Image |
icon32
Branded icon 32x32
|
Image |
icon48
Branded icon 48x48
|
Long |
id
Site Id
|
Date |
immutableFilesSetAt
Can files be modified?
|
Boolean |
includePasswordInWelcomeEmail
Include password in emails to new users?
|
String |
language
Site default language
|
String |
ldapBaseDn
Base DN for looking up users in LDAP server
|
String |
ldapDomain
Domain name that will be appended to usernames
|
Boolean |
ldapEnabled
Main LDAP setting: is LDAP enabled?
|
String |
ldapGroupAction
Should we sync groups from LDAP server?
|
String |
ldapGroupExclusion
Comma or newline separated list of group names (with optional wildcards) to exclude when syncing.
|
String |
ldapGroupInclusion
Comma or newline separated list of group names (with optional wildcards) to include when syncing.
|
String |
ldapHost
LDAP host
|
String |
ldapHost2
LDAP backup host
|
String |
ldapHost3
LDAP backup host
|
Long |
ldapPort
LDAP port
|
Boolean |
ldapSecure
Use secure LDAP?
|
String |
ldapType
LDAP type
|
String |
ldapUserAction
Should we sync users from LDAP server?
|
String |
ldapUserIncludeGroups
Comma or newline separated list of group names (with optional wildcards) - if provided, only users in these groups will be added or synced.
|
String |
ldapUsername
Username for signing in to LDAP server.
|
String |
ldapUsernameField
LDAP username field
|
String |
loginHelpText
Login help text
|
Image |
loginPageBackgroundImage
Branded login page background
|
Image |
logo
Branded logo
|
Long |
maxPriorPasswords
Number of prior passwords to disallow
|
Boolean |
mobileApp
Is the mobile app enabled?
|
Boolean |
mobileAppSessionIpPinning
Is mobile app session IP pinning enabled?
|
Long |
mobileAppSessionLifetime
Mobile app session lifetime (in hours)
|
String |
motdText
A message to show users when they connect via FTP or SFTP.
|
Boolean |
motdUseForFtp
Show message to users connecting via FTP
|
Boolean |
motdUseForSftp
Show message to users connecting via SFTP
|
String |
name
Site name
|
Double |
nextBillingAmount
Next billing amount
|
String |
nextBillingDate
Next billing date
|
Boolean |
nonSsoGroupsAllowed
If true, groups can be manually created / modified / deleted by Site Admins.
|
Boolean |
nonSsoUsersAllowed
If true, users can be manually created / modified / deleted by Site Admins.
|
Boolean |
officeIntegrationAvailable
Allow users to use Office for the web?
|
String |
officeIntegrationType
Office integration application used to edit and view the MS Office documents
|
String |
oncehubLink
Link to scheduling a meeting with our Sales team
|
Boolean |
optOutGlobal
Use servers in the USA only?
|
Boolean |
overdue
Is this site's billing overdue?
|
Long |
passwordMinLength
Shortest password length for users
|
Boolean |
passwordRequireLetter
Require a letter in passwords?
|
Boolean |
passwordRequirementsApplyToBundles
Require bundles' passwords, and passwords for other items (inboxes, public shares, etc.) to conform to the same requirements as users' passwords?
|
Boolean |
passwordRequireMixed
Require lower and upper case letters in passwords?
|
Boolean |
passwordRequireNumber
Require a number in passwords?
|
Boolean |
passwordRequireSpecial
Require special characters in password?
|
Boolean |
passwordRequireUnbreached
Require passwords that have not been previously breached?
|
Long |
passwordValidityDays
Number of days password is valid
|
String |
phone
Site phone number
|
Boolean |
pinAllRemoteServersToSiteRegion
If true, we will ensure that all internal communications with any remote server are made through the primary region of the site.
|
Boolean |
preventRootPermissionsForNonSiteAdmins
If true, we will prevent non-administrators from receiving any permissions directly on the root folder.
|
Boolean |
protocolAccessGroupsOnly
If true, protocol access permissions on users will be ignored, and only protocol access permissions set on Groups will be honored.
|
String |
replyToEmail
Reply-to email for this site
|
Boolean |
require2fa
Require two-factor authentication for all users?
|
Date |
require2faStopTime
If set, requirement for two-factor authentication has been scheduled to end on this date-time.
|
String |
require2faUserType
What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
|
Boolean |
requireLogoutFromBundlesAndInboxes
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.
|
Session |
session
Current session
|
Double |
sessionExpiry
Session expiry in hours
|
Long |
sessionExpiryMinutes
Session expiry in minutes
|
Boolean |
sessionPinnedByIp
Are sessions locked to the same IP?
|
Boolean |
sftpEnabled
Is SFTP enabled?
|
String |
sftpHostKeyType
Sftp Host Key Type
|
Boolean |
sftpInsecureCiphers
If true, we will allow weak and known insecure ciphers to be used for SFTP connections.
|
Boolean |
sftpInsecureDiffieHellman
If true, we will allow weak Diffie Hellman parameters to be used within ciphers for SFTP that are otherwise on our secure list.
|
Boolean |
sftpUserRootEnabled
Use user FTP roots also for SFTP?
|
Boolean |
sharingEnabled
Allow bundle creation
|
Boolean |
showRequestAccessLink
Show request access link for users without access?
|
String |
siteFooter
Custom site footer text
|
String |
siteHeader
Custom site header text
|
String |
smtpAddress
SMTP server hostname or IP
|
String |
smtpAuthentication
SMTP server authentication type
|
String |
smtpFrom
From address to use when mailing through custom SMTP
|
Long |
smtpPort
SMTP server port
|
String |
smtpUsername
SMTP server username
|
Boolean |
sslRequired
Is SSL required?
|
String |
subdomain
Site subdomain
|
Date |
switchToPlanDate
If switching plans, when does the new plan take effect?
|
Boolean |
tlsDisabled
DO NOT ENABLE.
|
Long |
trialDaysLeft
Number of days left in trial
|
Date |
trialUntil
When does this Site trial expire?
|
Boolean |
uploadsViaEmailAuthentication
Do incoming emails in the Inboxes require checking for SPF/DKIM/DMARC?
|
Boolean |
useDedicatedIpsForSmtp
If using custom SMTP, should we use dedicated IPs to deliver emails?
|
Boolean |
useProvidedModifiedAt
Allow uploaders to set `provided_modified_at` for uploaded files?
|
User |
user
User of current session
|
Boolean |
userLockout
Will users be locked out after incorrect login attempts?
|
Long |
userLockoutLockPeriod
How many hours to lock user out for failed password?
|
Long |
userLockoutTries
Number of login tries within `user_lockout_within` hours before users are locked out
|
Long |
userLockoutWithin
Number of hours for user lockout window
|
Boolean |
userRequestsEnabled
Enable User Requests feature
|
Boolean |
userRequestsNotifyAdmins
Send email to site admins when a user request is received?
|
Boolean |
usersCanCreateApiKeys
Allow users to create their own API keys?
|
Boolean |
usersCanCreateSshKeys
Allow users to create their own SSH keys?
|
String |
welcomeCustomText
Custom text send in user welcome email
|
String |
welcomeEmailCc
Include this email in welcome emails if enabled
|
Boolean |
welcomeEmailEnabled
Will the welcome email be sent to new users?
|
String |
welcomeEmailSubject
Include this email subject in welcome emails if enabled
|
String |
welcomeScreen
Does the welcome screen appear?
|
Boolean |
windowsModeFtp
Does FTP user Windows emulation mode?
|
| Constructor and Description |
|---|
Site() |
Site(HashMap<String,Object> parameters) |
Site(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
| Modifier and Type | Method and Description |
|---|---|
static Site |
get(HashMap<String,Object> parameters) |
static Site |
get(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static UsageSnapshot |
getUsage(HashMap<String,Object> parameters) |
static UsageSnapshot |
getUsage(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
static Site |
update(HashMap<String,Object> parameters)
Parameters:
name - string - Site name
subdomain - string - Site subdomain
domain - string - Custom domain
domain_hsts_header - boolean - Send HSTS (HTTP Strict Transport Security) header when visitors access the site via a custom domain?
|
static Site |
update(HashMap<String,Object> parameters,
HashMap<String,Object> options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetOptionspublic Long id
public String name
public String[] additionalTextFileTypes
public Boolean allowed2faMethodSms
public Boolean allowed2faMethodTotp
public Boolean allowed2faMethodU2f
public Boolean allowed2faMethodWebauthn
public Boolean allowed2faMethodYubi
public Boolean allowed2faMethodEmail
public Boolean allowed2faMethodStatic
public Boolean allowed2faMethodBypassForFtpSftpDav
public Long adminUserId
public Boolean adminsBypassLockedSubfolders
public Boolean allowBundleNames
public String allowedCountries
public String allowedIps
public Boolean alwaysMkdirParents
public Boolean askAboutOverwrites
public String bundleActivityNotifications
public Long bundleExpiration
public String bundleNotFoundMessage
public Boolean bundlePasswordRequired
public String[] bundleRecipientBlacklistDomains
public Boolean bundleRecipientBlacklistFreeEmailDomains
public String bundleRegistrationNotifications
public Boolean bundleRequireRegistration
public Boolean bundleRequireShareRecipient
public Boolean bundleRequireNote
public String bundleUploadReceiptNotifications
public Image bundleWatermarkAttachment
public Map<String,String> bundleWatermarkValue
public Boolean uploadsViaEmailAuthentication
public String color2Left
public String color2Link
public String color2Text
public String color2Top
public String color2TopText
public String contactName
public Date createdAt
public String currency
public Boolean customNamespace
public Boolean davEnabled
public Boolean davUserRootEnabled
public Long daysToRetainBackups
public String defaultTimeZone
public Boolean desktopApp
public Boolean desktopAppSessionIpPinning
public Long desktopAppSessionLifetime
public Boolean mobileApp
public Boolean mobileAppSessionIpPinning
public Long mobileAppSessionLifetime
public String disallowedCountries
public Boolean disableFilesCertificateGeneration
public Boolean disableNotifications
public Boolean disablePasswordReset
public String domain
public Boolean domainHstsHeader
public String domainLetsencryptChain
public String email
public Boolean ftpEnabled
public String replyToEmail
public Boolean nonSsoGroupsAllowed
public Boolean nonSsoUsersAllowed
public Boolean folderPermissionsGroupsOnly
public Boolean hipaa
public Image icon128
public Image icon16
public Image icon32
public Image icon48
public Date immutableFilesSetAt
public Boolean includePasswordInWelcomeEmail
public String language
public String ldapBaseDn
public String ldapDomain
public Boolean ldapEnabled
public String ldapGroupAction
public String ldapGroupExclusion
public String ldapGroupInclusion
public String ldapHost
public String ldapHost2
public String ldapHost3
public Long ldapPort
public Boolean ldapSecure
public String ldapType
public String ldapUserAction
public String ldapUserIncludeGroups
public String ldapUsername
public String ldapUsernameField
public String loginHelpText
public Image logo
public Image loginPageBackgroundImage
public Long maxPriorPasswords
public String motdText
public Boolean motdUseForFtp
public Boolean motdUseForSftp
public Double nextBillingAmount
public String nextBillingDate
public Boolean officeIntegrationAvailable
public String officeIntegrationType
public String oncehubLink
public Boolean optOutGlobal
public Boolean overdue
public Long passwordMinLength
public Boolean passwordRequireLetter
public Boolean passwordRequireMixed
public Boolean passwordRequireNumber
public Boolean passwordRequireSpecial
public Boolean passwordRequireUnbreached
public Boolean passwordRequirementsApplyToBundles
public Long passwordValidityDays
public String phone
public Boolean pinAllRemoteServersToSiteRegion
public Boolean preventRootPermissionsForNonSiteAdmins
public Boolean protocolAccessGroupsOnly
public Boolean require2fa
public Date require2faStopTime
public String require2faUserType
public Boolean requireLogoutFromBundlesAndInboxes
public Session session
public Boolean sessionPinnedByIp
public Boolean sftpEnabled
public String sftpHostKeyType
public Long activeSftpHostKeyId
public Boolean sftpInsecureCiphers
public Boolean sftpInsecureDiffieHellman
public Boolean sftpUserRootEnabled
public Boolean sharingEnabled
public Boolean showRequestAccessLink
public String siteFooter
public String siteHeader
public String smtpAddress
public String smtpAuthentication
public String smtpFrom
public Long smtpPort
public String smtpUsername
public Double sessionExpiry
public Long sessionExpiryMinutes
public Boolean sslRequired
public String subdomain
public Date switchToPlanDate
public Boolean tlsDisabled
public Long trialDaysLeft
public Date trialUntil
public Boolean useDedicatedIpsForSmtp
public Boolean useProvidedModifiedAt
public User user
public Boolean userLockout
public Long userLockoutLockPeriod
public Long userLockoutTries
public Long userLockoutWithin
public Boolean userRequestsEnabled
public Boolean userRequestsNotifyAdmins
public Boolean usersCanCreateApiKeys
public Boolean usersCanCreateSshKeys
public String welcomeCustomText
public String welcomeEmailCc
public String welcomeEmailSubject
public Boolean welcomeEmailEnabled
public String welcomeScreen
public Boolean windowsModeFtp
public Long disableUsersFromInactivityPeriodDays
public Boolean groupAdminsCanSetUserPassword
public static Site get(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Site get(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static UsageSnapshot getUsage(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static UsageSnapshot getUsage(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionpublic static Site update(HashMap<String,Object> parameters) throws RuntimeException
RuntimeExceptionpublic static Site update(HashMap<String,Object> parameters, HashMap<String,Object> options) throws RuntimeException
RuntimeExceptionCopyright © 2024 com.github.files-com. All rights reserved.