Class MultipartFile
java.lang.Object
io.github.primelib.jira4j.restv3.model.MultipartFile
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class MultipartFile
extends Object
MultipartFile
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
MultipartFile
(Consumer<MultipartFile> spec) Constructs a validated instance ofMultipartFile
.MultipartFile
(List<byte[]> bytes, String contentType, Boolean empty, Object inputStream, String name, String originalFilename, Resource resource, Long size) Constructs a validated instance ofMultipartFile
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
List<byte[]>
bytes()
protected boolean
contentType
(String contentType) empty()
boolean
int
hashCode()
inputStream
(Object inputStream) name()
originalFilename
(String originalFilename) resource()
size()
toString()
-
Field Details
-
bytes
-
contentType
-
empty
-
inputStream
-
name
-
originalFilename
-
resource
-
size
-
-
Constructor Details
-
MultipartFile
Constructs a validated instance ofMultipartFile
.- Parameters:
spec
- the specification to process
-
MultipartFile
@Internal public MultipartFile(List<byte[]> bytes, String contentType, Boolean empty, Object inputStream, String name, String originalFilename, Resource resource, Long size) Constructs a validated instance ofMultipartFile
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
MultipartFile(Consumer)
instead.- Parameters:
bytes
- bytescontentType
- contentTypeempty
- emptyinputStream
- inputStreamname
- nameoriginalFilename
- originalFilenameresource
- resourcesize
- size
-
MultipartFile
protected MultipartFile()
-
-
Method Details
-
builder
-
bytes
-
contentType
-
empty
-
inputStream
-
name
-
originalFilename
-
resource
-
size
-
bytes
- Returns:
this
.
-
contentType
- Returns:
this
.
-
empty
- Returns:
this
.
-
inputStream
- Returns:
this
.
-
name
- Returns:
this
.
-
originalFilename
- Returns:
this
.
-
resource
- Returns:
this
.
-
size
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-