Online Help Center > SendSafely APIs

com.sendsafely.dto

Class Confirmation

A Java Bean containing information about a Confirmation. A confirmation contains information about when a file was downloaded by a recipient. Only the Getters should be used from this object, since the server will populate the object. Updating the setters will not change any state on the server and should be avoided.

getIpAddress()
Get the IPAddress from where the file was downloaded from.
Return Type: String
Parameters: N/A

setIpAddress(IpAddress)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
IpAddress String the ipAddress to set

getTimestamp()
Get the time when the file or message was downloaded.
Return Type: Date
Parameters: N/A

setTimestamp(Timestamp)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
Timestamp Date the timestamp to set

getFile()
A File object referencing the file that was downloaded. Will be null if the confirmation refers to a message.
Return Type: File
Parameters: N/A

setFile(File)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
File File the file to set

isMessage()
A flag indicating if the confirmation referes to a message. If true, the file object will be null.
Return Type: boolean
Parameters: N/A

setMessage(IsMessage)
Set internally by the API.
Return Type: void
Parameters:
NameTypeDescription
IsMessage boolean the isMessage to set