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 newFileReferenceinstance. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe file id for attachment.The file content for attachment.getName()The display name of the file of this attachment.inthashCode()voidThe file id for attachment.voidsetFileStream(InputStream fileStream) The file content for attachment.voidThe display name of the file of this attachment.toString()
-
Constructor Details
-
FileReference
-
FileReference
public FileReference() -
FileReference
Creates a newFileReferenceinstance.- 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
-