Package net.webpdf.wsclient.openapi
Class ServerConfigSessionLimits
- java.lang.Object
-
- net.webpdf.wsclient.openapi.ServerConfigSessionLimits
-
public class ServerConfigSessionLimits extends Object
Defines the restrictions and limits that apply when using the REST API and user sessions on the server.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DISK_SPACE_LIMITstatic StringJSON_PROPERTY_DISK_SPACE_LIMIT_USERstatic StringJSON_PROPERTY_MAX_FILESstatic StringJSON_PROPERTY_MAX_FILES_USERstatic StringJSON_PROPERTY_UPLOAD_LIMITstatic StringJSON_PROPERTY_UPLOAD_LIMIT_USER
-
Constructor Summary
Constructors Constructor Description ServerConfigSessionLimits()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerConfigSessionLimitsdiskSpaceLimit(Integer diskSpaceLimit)ServerConfigSessionLimitsdiskSpaceLimitUser(Integer diskSpaceLimitUser)booleanequals(Object o)@Nullable IntegergetDiskSpaceLimit()Sets the overall global disk space (in bytes) the server may use (set to 0 to disable this limitation).@Nullable IntegergetDiskSpaceLimitUser()Sets the maximum disk space (in bytes) a single user may use (set to 0 to disable this limitation).@Nullable IntegergetMaxFiles()Sets the maximum number of files that may be uploaded to the server (set to 0 to disable this limitation).@Nullable IntegergetMaxFilesUser()Sets the maximum number of files a single user may upload to the server (set to 0 to disable this limitation).@Nullable IntegergetUploadLimit()Sets the maximum size (in bytes) a file uploaded to the server may have (set to 0 to disable this limitation).@Nullable IntegergetUploadLimitUser()Sets the maximum size (in bytes) a file uploaded by a single user may have (set to 0 to disable this limitation).inthashCode()ServerConfigSessionLimitsmaxFiles(Integer maxFiles)ServerConfigSessionLimitsmaxFilesUser(Integer maxFilesUser)voidsetDiskSpaceLimit(Integer diskSpaceLimit)voidsetDiskSpaceLimitUser(Integer diskSpaceLimitUser)voidsetMaxFiles(Integer maxFiles)voidsetMaxFilesUser(Integer maxFilesUser)voidsetUploadLimit(Integer uploadLimit)voidsetUploadLimitUser(Integer uploadLimitUser)StringtoString()ServerConfigSessionLimitsuploadLimit(Integer uploadLimit)ServerConfigSessionLimitsuploadLimitUser(Integer uploadLimitUser)
-
-
-
Field Detail
-
JSON_PROPERTY_DISK_SPACE_LIMIT
public static final String JSON_PROPERTY_DISK_SPACE_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DISK_SPACE_LIMIT_USER
public static final String JSON_PROPERTY_DISK_SPACE_LIMIT_USER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_FILES
public static final String JSON_PROPERTY_MAX_FILES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MAX_FILES_USER
public static final String JSON_PROPERTY_MAX_FILES_USER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPLOAD_LIMIT
public static final String JSON_PROPERTY_UPLOAD_LIMIT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPLOAD_LIMIT_USER
public static final String JSON_PROPERTY_UPLOAD_LIMIT_USER
- See Also:
- Constant Field Values
-
-
Method Detail
-
diskSpaceLimit
public ServerConfigSessionLimits diskSpaceLimit(Integer diskSpaceLimit)
-
getDiskSpaceLimit
@Nullable public @Nullable Integer getDiskSpaceLimit()
Sets the overall global disk space (in bytes) the server may use (set to 0 to disable this limitation). minimum: 0- Returns:
- diskSpaceLimit
-
setDiskSpaceLimit
public void setDiskSpaceLimit(Integer diskSpaceLimit)
-
diskSpaceLimitUser
public ServerConfigSessionLimits diskSpaceLimitUser(Integer diskSpaceLimitUser)
-
getDiskSpaceLimitUser
@Nullable public @Nullable Integer getDiskSpaceLimitUser()
Sets the maximum disk space (in bytes) a single user may use (set to 0 to disable this limitation). minimum: 0- Returns:
- diskSpaceLimitUser
-
setDiskSpaceLimitUser
public void setDiskSpaceLimitUser(Integer diskSpaceLimitUser)
-
maxFiles
public ServerConfigSessionLimits maxFiles(Integer maxFiles)
-
getMaxFiles
@Nullable public @Nullable Integer getMaxFiles()
Sets the maximum number of files that may be uploaded to the server (set to 0 to disable this limitation). minimum: 0- Returns:
- maxFiles
-
setMaxFiles
public void setMaxFiles(Integer maxFiles)
-
maxFilesUser
public ServerConfigSessionLimits maxFilesUser(Integer maxFilesUser)
-
getMaxFilesUser
@Nullable public @Nullable Integer getMaxFilesUser()
Sets the maximum number of files a single user may upload to the server (set to 0 to disable this limitation). minimum: 0- Returns:
- maxFilesUser
-
setMaxFilesUser
public void setMaxFilesUser(Integer maxFilesUser)
-
uploadLimit
public ServerConfigSessionLimits uploadLimit(Integer uploadLimit)
-
getUploadLimit
@Nullable public @Nullable Integer getUploadLimit()
Sets the maximum size (in bytes) a file uploaded to the server may have (set to 0 to disable this limitation). minimum: 0- Returns:
- uploadLimit
-
setUploadLimit
public void setUploadLimit(Integer uploadLimit)
-
uploadLimitUser
public ServerConfigSessionLimits uploadLimitUser(Integer uploadLimitUser)
-
getUploadLimitUser
@Nullable public @Nullable Integer getUploadLimitUser()
Sets the maximum size (in bytes) a file uploaded by a single user may have (set to 0 to disable this limitation). minimum: 0- Returns:
- uploadLimitUser
-
setUploadLimitUser
public void setUploadLimitUser(Integer uploadLimitUser)
-
-