Class B2Part
- java.lang.Object
-
- com.backblaze.b2.client.structures.B2Part
-
public class B2Part extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description B2Part(java.lang.String fileId, int partNumber, long contentLength, java.lang.String contentSha1, java.lang.String contentMd5, long uploadTimestamp, B2FileSseForResponse serverSideEncryption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getContentLength()
java.lang.String
getContentMd5()
java.lang.String
getContentSha1()
java.lang.String
getFileId()
int
getPartNumber()
B2FileSseForResponse
getServerSideEncryption()
long
getUploadTimestamp()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
B2Part
public B2Part(java.lang.String fileId, int partNumber, long contentLength, java.lang.String contentSha1, java.lang.String contentMd5, long uploadTimestamp, B2FileSseForResponse serverSideEncryption)
-
-
Method Detail
-
getFileId
public java.lang.String getFileId()
-
getPartNumber
public int getPartNumber()
-
getContentLength
public long getContentLength()
-
getContentSha1
public java.lang.String getContentSha1()
-
getContentMd5
public java.lang.String getContentMd5()
-
getUploadTimestamp
public long getUploadTimestamp()
-
getServerSideEncryption
public B2FileSseForResponse getServerSideEncryption()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-