public class FileBody
extends Object
Constructor and Description |
---|
FileBody() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getContentType()
The MIME type of the file.
|
String |
getFileKey()
The fileKey of the file.
|
String |
getName()
The file name of the file.
|
Integer |
getSize()
The byte size of the file.
|
int |
hashCode() |
FileBody |
setContentType(String contentType)
The MIME type of the file.
|
FileBody |
setFileKey(String fileKey)
The fileKey of the file.
|
FileBody |
setName(String name)
The file name of the file.
|
FileBody |
setSize(Integer size)
The byte size of the file.
|
String |
toString() |
public String getContentType()
public String getFileKey()
public String getName()
public Integer getSize()
public FileBody setContentType(String contentType)
this
.public FileBody setFileKey(String fileKey)
this
.public FileBody setName(String name)
this
.public FileBody setSize(Integer size)
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