Class AddFileRequest
- Object
-
- AddFileRequest
-
- All Implemented Interfaces:
Serializable
public class AddFileRequest extends Object implements Serializable
The properties of the file to be uploaded.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddFileRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddFileRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddFileRequest.Builder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
@NotNull InputStream
getFileStream()
Required. The content of the file.@NotNull String
getName()
Required. The name of the file.int
hashCode()
void
setFileStream(@NotNull InputStream fileStream)
Required. The content of the file.void
setName(@NotNull String name)
Required. The name of the file.String
toString()
-
-
-
Method Detail
-
builder
public static AddFileRequest.Builder builder()
-
getName
@NotNull public @NotNull String getName()
Required. The name of the file.
-
getFileStream
@NotNull public @NotNull InputStream getFileStream()
Required. The content of the file.
-
setName
public void setName(@NotNull @NotNull String name)
Required. The name of the file.
-
setFileStream
public void setFileStream(@NotNull @NotNull InputStream fileStream)
Required. The content of the file.
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classObject
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classObject
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-