Package com.docusign.esign.model
Class LockInformation
- java.lang.Object
-
- com.docusign.esign.model.LockInformation
-
- All Implemented Interfaces:
Serializable
public class LockInformation extends Object implements Serializable
LockInformation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LockInformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Compares objects.LockInformation
errorDetails(ErrorDetails errorDetails)
errorDetails.ErrorDetails
getErrorDetails()
Array or errors..String
getLockDurationInSeconds()
Sets the time, in seconds, until the lock expires when there is no activity on the envelope.String
getLockedByApp()
Specifies the friendly name of the application that is locking the envelope..UserInfo
getLockedByUser()
A complex type containing information about the user that has the envelope or template locked..String
getLockedUntilDateTime()
The datetime until the envelope lock expires..String
getLockToken()
A unique identifier provided to the owner of the envelope lock.String
getLockType()
The type of envelope lock.String
getUseScratchPad()
Reserved for future use.int
hashCode()
Returns the HashCode.LockInformation
lockDurationInSeconds(String lockDurationInSeconds)
lockDurationInSeconds.LockInformation
lockedByApp(String lockedByApp)
lockedByApp.LockInformation
lockedByUser(UserInfo lockedByUser)
lockedByUser.LockInformation
lockedUntilDateTime(String lockedUntilDateTime)
lockedUntilDateTime.LockInformation
lockToken(String lockToken)
lockToken.LockInformation
lockType(String lockType)
lockType.void
setErrorDetails(ErrorDetails errorDetails)
setErrorDetails.void
setLockDurationInSeconds(String lockDurationInSeconds)
setLockDurationInSeconds.void
setLockedByApp(String lockedByApp)
setLockedByApp.void
setLockedByUser(UserInfo lockedByUser)
setLockedByUser.void
setLockedUntilDateTime(String lockedUntilDateTime)
setLockedUntilDateTime.void
setLockToken(String lockToken)
setLockToken.void
setLockType(String lockType)
setLockType.void
setUseScratchPad(String useScratchPad)
setUseScratchPad.String
toString()
Converts the given object to string.LockInformation
useScratchPad(String useScratchPad)
useScratchPad.
-
-
-
Method Detail
-
errorDetails
public LockInformation errorDetails(ErrorDetails errorDetails)
errorDetails.- Returns:
- LockInformation
-
getErrorDetails
public ErrorDetails getErrorDetails()
Array or errors..- Returns:
- errorDetails
-
setErrorDetails
public void setErrorDetails(ErrorDetails errorDetails)
setErrorDetails.
-
lockDurationInSeconds
public LockInformation lockDurationInSeconds(String lockDurationInSeconds)
lockDurationInSeconds.- Returns:
- LockInformation
-
getLockDurationInSeconds
public String getLockDurationInSeconds()
Sets the time, in seconds, until the lock expires when there is no activity on the envelope. If no value is entered, then the default value of 300 seconds is used. The maximum value is 1,800 seconds. The lock duration can be extended. .- Returns:
- lockDurationInSeconds
-
setLockDurationInSeconds
public void setLockDurationInSeconds(String lockDurationInSeconds)
setLockDurationInSeconds.
-
lockedByApp
public LockInformation lockedByApp(String lockedByApp)
lockedByApp.- Returns:
- LockInformation
-
getLockedByApp
public String getLockedByApp()
Specifies the friendly name of the application that is locking the envelope..- Returns:
- lockedByApp
-
setLockedByApp
public void setLockedByApp(String lockedByApp)
setLockedByApp.
-
lockedByUser
public LockInformation lockedByUser(UserInfo lockedByUser)
lockedByUser.- Returns:
- LockInformation
-
getLockedByUser
public UserInfo getLockedByUser()
A complex type containing information about the user that has the envelope or template locked..- Returns:
- lockedByUser
-
setLockedByUser
public void setLockedByUser(UserInfo lockedByUser)
setLockedByUser.
-
lockedUntilDateTime
public LockInformation lockedUntilDateTime(String lockedUntilDateTime)
lockedUntilDateTime.- Returns:
- LockInformation
-
getLockedUntilDateTime
public String getLockedUntilDateTime()
The datetime until the envelope lock expires..- Returns:
- lockedUntilDateTime
-
setLockedUntilDateTime
public void setLockedUntilDateTime(String lockedUntilDateTime)
setLockedUntilDateTime.
-
lockToken
public LockInformation lockToken(String lockToken)
lockToken.- Returns:
- LockInformation
-
getLockToken
public String getLockToken()
A unique identifier provided to the owner of the envelope lock. Used to prove ownership of the lock..- Returns:
- lockToken
-
setLockToken
public void setLockToken(String lockToken)
setLockToken.
-
lockType
public LockInformation lockType(String lockType)
lockType.- Returns:
- LockInformation
-
getLockType
public String getLockType()
The type of envelope lock. Currently \"edit\" is the only supported type..- Returns:
- lockType
-
setLockType
public void setLockType(String lockType)
setLockType.
-
useScratchPad
public LockInformation useScratchPad(String useScratchPad)
useScratchPad.- Returns:
- LockInformation
-
getUseScratchPad
public String getUseScratchPad()
Reserved for future use. Indicates whether a scratchpad is used for editing information. .- Returns:
- useScratchPad
-
setUseScratchPad
public void setUseScratchPad(String useScratchPad)
setUseScratchPad.
-
equals
public boolean equals(Object o)
Compares objects.
-
-