public class PermissionsToUserJson extends BaseJson
Constructor and Description |
---|
PermissionsToUserJson() |
Modifier and Type | Method and Description |
---|---|
AccessLevel |
getAccessLevel()
Internal flag, do not send it with your request.
|
Boolean |
getComment()
Is comment on.
|
Boolean |
getCopy()
Is copy allowed.
|
Integer |
getDefaultExpirationDays()
The Amount of days to have files available for VDR default permissions.
|
Boolean |
getDownload()
Is download protected allowed.
|
Boolean |
getDownloadOriginal()
Is download original allowed.
|
Boolean |
getEdit()
Is edit allowed.
|
Date |
getExpirationDate()
Expiration date of the permission set (default: 1 month) (JSON format)
|
Date |
getLatestChangeDate()
Date of latest change
|
Date |
getMinExpirationDate()
Minimum expiration date
|
Boolean |
getNeverExpires()
Never expires
|
Boolean |
getOriginalComments()
The original value of comment permission
|
Boolean |
getPrint()
Is print allowed.
|
Boolean |
getProgAccess()
Is programmatic access allowed.
|
Boolean |
getSpotlight()
Is spotlight on.
|
Boolean |
getWatermark()
Is watermark on.
|
boolean |
isPinRequired()
Requires pin in order to view
|
void |
setAccessLevel(AccessLevel accessLevel)
Internal flag, do not send it with your request.
|
void |
setComment(Boolean comment)
Is comment on.
|
void |
setCopy(Boolean copy)
Is copy allowed.
|
void |
setDefaultExpirationDays(Integer defaultExpirationDays)
The Amount of days to have files available for VDR default permissions.
|
void |
setDownload(Boolean download)
Is download protected allowed.
|
void |
setDownloadOriginal(Boolean downloadOriginal)
Is download original allowed.
|
void |
setEdit(Boolean edit)
Is edit allowed.
|
void |
setExpirationDate(Date expirationDate)
Expiration date of the permission set (default: 1 month) (JSON format)
|
void |
setLatestChangeDate(Date latestChangeDate)
Date of latest change
|
void |
setMinExpirationDate(Date minExpirationDate)
Minimum expiration date
|
void |
setNeverExpires(Boolean neverExpires)
Never expires
|
void |
setOriginalComments(Boolean originalComments)
The original value of comment permission
|
void |
setPinRequired(boolean pinRequired)
Requires pin in order to view
|
void |
setPrint(Boolean print)
Is print allowed.
|
void |
setProgAccess(Boolean progAccess)
Is programmatic access allowed.
|
void |
setSpotlight(Boolean spotlight)
Is spotlight on.
|
void |
setWatermark(Boolean watermark)
Is watermark on.
|
getObjType, setObjType, toString
public Date getLatestChangeDate()
public void setLatestChangeDate(Date latestChangeDate)
latestChangeDate
- Date of latest changepublic Boolean getWatermark()
public void setWatermark(Boolean watermark)
watermark
- Is watermark on.public Integer getDefaultExpirationDays()
public void setDefaultExpirationDays(Integer defaultExpirationDays)
defaultExpirationDays
- The Amount of days to have files available
for VDR default permissions. In the context of VDR default permissions,
giving a specific expiration date for default permissions is not
supported. However you may decide that files uploaded will only be
available for a certain amount of days after their upload.public Boolean getDownloadOriginal()
public void setDownloadOriginal(Boolean downloadOriginal)
downloadOriginal
- Is download original allowed.public AccessLevel getAccessLevel()
public void setAccessLevel(AccessLevel accessLevel)
accessLevel
- Internal flag, do not send it with your request.public Boolean getEdit()
public void setEdit(Boolean edit)
edit
- Is edit allowed.public Boolean getOriginalComments()
public void setOriginalComments(Boolean originalComments)
originalComments
- The original value of comment permissionpublic Boolean getDownload()
public void setDownload(Boolean download)
download
- Is download protected allowed.public Boolean getPrint()
public void setPrint(Boolean print)
print
- Is print allowed.public boolean isPinRequired()
public void setPinRequired(boolean pinRequired)
pinRequired
- Requires pin in order to viewpublic Boolean getProgAccess()
public void setProgAccess(Boolean progAccess)
progAccess
- Is programmatic access allowed.public Boolean getNeverExpires()
public void setNeverExpires(Boolean neverExpires)
neverExpires
- Never expirespublic Date getMinExpirationDate()
public void setMinExpirationDate(Date minExpirationDate)
minExpirationDate
- Minimum expiration datepublic Boolean getComment()
public void setComment(Boolean comment)
comment
- Is comment on.public Boolean getCopy()
public void setCopy(Boolean copy)
copy
- Is copy allowed.public Boolean getSpotlight()
public void setSpotlight(Boolean spotlight)
spotlight
- Is spotlight on.public Date getExpirationDate()
public void setExpirationDate(Date expirationDate)
expirationDate
- Expiration date of the permission set (default: 1
month) (JSON format)Copyright © 2019. All rights reserved.