Class PrepareFile
- java.lang.Object
-
- com.rivet.api.resources.upload.common.types.PrepareFile
-
public final class PrepareFile extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePrepareFile._FinalStagestatic classPrepareFile.Builderstatic interfacePrepareFile.ContentLengthStagestatic interfacePrepareFile.PathStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrepareFile.PathStagebuilder()booleanequals(java.lang.Object other)longgetContentLength()java.util.Optional<java.lang.String>getContentType()java.lang.StringgetPath()inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
getPath
public java.lang.String getPath()
- Returns:
- The path/filename of the file.
-
getContentType
public java.util.Optional<java.lang.String> getContentType()
- Returns:
- The MIME type of the file.
-
getContentLength
public long getContentLength()
- Returns:
- Unsigned 64 bit integer.
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static PrepareFile.PathStage builder()
-
-