Class AddAttachmentRequest.FileReference
Object
FileReference
- All Implemented Interfaces:
Serializable
- Enclosing class:
AddAttachmentRequest
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFileReference
(String name, InputStream fileStream) FileReference
(String name, InputStream fileStream, UUID fileId) Creates a newFileReference
instance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The file id for attachment.The file content for attachment.getName()
The display name of the file of this attachment.int
hashCode()
void
The file id for attachment.void
setFileStream
(InputStream fileStream) The file content for attachment.void
The display name of the file of this attachment.toString()
-
Constructor Details
-
FileReference
-
FileReference
public FileReference() -
FileReference
Creates a newFileReference
instance.- Parameters:
name
- The display name of the file of this attachment.fileStream
- The file content for attachment. It could not be used together withfileId
.fileId
- The file id for attachment. It could not be used together withfileStream
.
-
-
Method Details
-
builder
-
getName
The display name of the file of this attachment. -
getFileStream
The file content for attachment. It could not be used together withfileId
. -
getFileId
The file id for attachment. It could not be used together withfileStream
. -
setName
The display name of the file of this attachment. -
setFileStream
The file content for attachment. It could not be used together withfileId
. -
setFileId
The file id for attachment. It could not be used together withfileStream
. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-