public class UploadFileRequest
extends Object
Constructor and Description |
---|
UploadFileRequest() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
InputStream |
getContent()
The content data stream of the file (required).
|
String |
getContentType()
The MIME type of the file (required).
|
String |
getFilename()
The name of the file (required).
|
int |
hashCode() |
UploadFileRequest |
setContent(InputStream content)
The content data stream of the file (required).
|
UploadFileRequest |
setContentType(String contentType)
The MIME type of the file (required).
|
UploadFileRequest |
setFilename(String filename)
The name of the file (required).
|
String |
toString() |
public String getFilename()
public String getContentType()
public InputStream getContent()
public UploadFileRequest setFilename(String filename)
this
.public UploadFileRequest setContentType(String contentType)
this
.public UploadFileRequest setContent(InputStream content)
this
.public boolean equals(Object o)
equals
in class Object
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object