public final class File extends Object
Constructor and Description |
---|
File() |
Modifier and Type | Method and Description |
---|---|
String |
getEtag()
Get the etag property: File ETag.
|
String |
getFileId()
Get the fileId property: File identity, generated by server at import time.
|
String |
getFileName()
Get the fileName property: File name.
|
Map<String,String> |
getHashes()
Get the hashes property: Mapping of hashing algorithm to base64 encoded hash values.
|
String |
getMimeType()
Get the mimeType property: File MIME type.
|
long |
getSizeInBytes()
Get the sizeInBytes property: File size in number of bytes.
|
File |
setEtag(String etag)
Set the etag property: File ETag.
|
File |
setFileId(String fileId)
Set the fileId property: File identity, generated by server at import time.
|
File |
setFileName(String fileName)
Set the fileName property: File name.
|
File |
setHashes(Map<String,String> hashes)
Set the hashes property: Mapping of hashing algorithm to base64 encoded hash values.
|
File |
setMimeType(String mimeType)
Set the mimeType property: File MIME type.
|
File |
setSizeInBytes(long sizeInBytes)
Set the sizeInBytes property: File size in number of bytes.
|
public String getFileId()
public File setFileId(String fileId)
fileId
- the fileId value to set.public String getFileName()
public File setFileName(String fileName)
fileName
- the fileName value to set.public long getSizeInBytes()
public File setSizeInBytes(long sizeInBytes)
sizeInBytes
- the sizeInBytes value to set.public Map<String,String> getHashes()
public File setHashes(Map<String,String> hashes)
hashes
- the hashes value to set.public String getMimeType()
public File setMimeType(String mimeType)
mimeType
- the mimeType value to set.public String getEtag()
Copyright © 2021 Microsoft Corporation. All rights reserved.