public class FileMetadataResource
extends Object
Constructor and Description |
---|
FileMetadataResource() |
Modifier and Type | Method and Description |
---|---|
FileMetadataResource |
description(String description)
Returns a FileMetadataResource instance initialized with provided description
|
boolean |
equals(Object o) |
FileMetadataResource |
etag(Integer etag)
Returns a FileMetadataResource instance initialized with provided etag
|
String |
getDescription()
File description
|
Integer |
getEtag()
Get etag
|
String |
getId()
Get File id
|
OffsetDateTime |
getLastModified()
The time of the latest modification of the file
|
String |
getLastModifiedAsString()
The time of the latest modification of the file as a String
|
FileMetadataResourceLinks |
getLinks()
Get links
|
String |
getName()
File name given by the user
|
String |
getOriginalFileName()
Original filename of the file
|
String |
getT2Tenant()
The id of the end-customer
|
String |
getTenantId()
Get tenantId
|
OffsetDateTime |
getUploaded()
The time of the file upload
|
String |
getUploadedAsString()
The time of the file upload as a String
|
int |
hashCode() |
FileMetadataResource |
id(String id)
Returns a FileMetadataResource instance initialized with provided id
|
FileMetadataResource |
lastModified(OffsetDateTime lastModified)
Returns a FileMetadataResource instance initialized with provided lastModified time
|
FileMetadataResource |
links(FileMetadataResourceLinks links)
Returns a FileMetadataResource instance initialized with provided FileMetadataResourceLinks instance
|
FileMetadataResource |
name(String name)
Returns a FileMetadataResource instance initialized with provided name
|
FileMetadataResource |
originalFileName(String originalFileName)
Returns a FileMetadataResource instance initialized with provided originalFileName
|
void |
setDescription(String description) |
void |
setEtag(Integer etag) |
void |
setId(String id) |
void |
setLastModified(OffsetDateTime lastModified) |
void |
setLastModified(String lastModified) |
void |
setLinks(FileMetadataResourceLinks links) |
void |
setName(String name) |
void |
setOriginalFileName(String originalFileName) |
void |
setT2Tenant(String t2Tenant) |
void |
setTenantId(String tenantId) |
void |
setUploaded(OffsetDateTime uploaded) |
void |
setUploaded(String uploaded) |
FileMetadataResource |
t2Tenant(String t2Tenant)
Returns a FileMetadataResource instance initialized with provided t2Tenant
|
FileMetadataResource |
tenantId(String tenantId)
Returns a FileMetadataResource instance initialized with provided tenantId
|
String |
toString() |
FileMetadataResource |
uploaded(OffsetDateTime uploaded)
Returns a FileMetadataResource instance initialized with provided uploaded time
|
public FileMetadataResource id(String id)
id
- file idpublic String getId()
public void setId(String id)
public FileMetadataResource name(String name)
name
- file namepublic String getName()
public void setName(String name)
public FileMetadataResource originalFileName(String originalFileName)
originalFileName
- original file namepublic String getOriginalFileName()
public void setOriginalFileName(String originalFileName)
public FileMetadataResource description(String description)
description
- file descriptionpublic String getDescription()
public void setDescription(String description)
public FileMetadataResource tenantId(String tenantId)
tenantId
- tenantIdpublic String getTenantId()
public void setTenantId(String tenantId)
public FileMetadataResource t2Tenant(String t2Tenant)
t2Tenant
- t2Tenant valuepublic String getT2Tenant()
public void setT2Tenant(String t2Tenant)
public FileMetadataResource uploaded(OffsetDateTime uploaded)
uploaded
- uploaded time as an instance of OffsetDateTimepublic OffsetDateTime getUploaded()
public void setUploaded(OffsetDateTime uploaded)
public String getUploadedAsString()
public void setUploaded(String uploaded)
public FileMetadataResource lastModified(OffsetDateTime lastModified)
lastModified
- lastModified time as an instance of OffsetDateTimepublic OffsetDateTime getLastModified()
public void setLastModified(OffsetDateTime lastModified)
public String getLastModifiedAsString()
public void setLastModified(String lastModified)
public FileMetadataResource etag(Integer etag)
etag
- etag indicating the current state of the filepublic Integer getEtag()
public void setEtag(Integer etag)
public FileMetadataResource links(FileMetadataResourceLinks links)
links
- file metadata links instancepublic FileMetadataResourceLinks getLinks()
public void setLinks(FileMetadataResourceLinks links)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object