-
public final class StorageObjectModelRepresents a storage object containing file details for a video.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringguidprivate final StringstorageZoneNameprivate final Stringpathprivate final StringobjectNameprivate final Longlengthprivate final StringlastChangedprivate final IntegerserverIdprivate final BooleanisDirectoryprivate final StringuserIdprivate final StringcontentTypeprivate final StringdateCreatedprivate final LongstorageZoneIdprivate final Stringchecksumprivate final StringreplicatedZones
-
Constructor Summary
Constructors Constructor Description StorageObjectModel(String guid, String storageZoneName, String path, String objectName, Long length, String lastChanged, Integer serverId, Boolean isDirectory, String userId, String contentType, String dateCreated, Long storageZoneId, String checksum, String replicatedZones)
-
Method Summary
Modifier and Type Method Description final StringgetGuid()final StringgetStorageZoneName()final StringgetPath()final StringgetObjectName()final LonggetLength()final StringgetLastChanged()final IntegergetServerId()final BooleangetIsDirectory()final StringgetUserId()final StringgetContentType()final StringgetDateCreated()final LonggetStorageZoneId()final StringgetChecksum()final StringgetReplicatedZones()-
-
Constructor Detail
-
StorageObjectModel
StorageObjectModel(String guid, String storageZoneName, String path, String objectName, Long length, String lastChanged, Integer serverId, Boolean isDirectory, String userId, String contentType, String dateCreated, Long storageZoneId, String checksum, String replicatedZones)
- Parameters:
guid- The unique identifier of the storage object.storageZoneName- The name of the storage zone where the file is kept.path- The file path of the storage object.objectName- The name of the object in storage.length- The length of the file in bytes.lastChanged- The date and time when the file was last modified.serverId- The identifier of the server storing the file.isDirectory- Indicates if the storage object is a directory.userId- The user ID associated with the storage object.contentType- The MIME type of the file.dateCreated- The date and time when the file was created.storageZoneId- The identifier of the storage zone.checksum- A checksum value for file integrity verification.replicatedZones- A list of storage zones where the file is replicated.
-
-
Method Detail
-
getStorageZoneName
final String getStorageZoneName()
-
getObjectName
final String getObjectName()
-
getLastChanged
final String getLastChanged()
-
getServerId
final Integer getServerId()
-
getIsDirectory
final Boolean getIsDirectory()
-
getContentType
final String getContentType()
-
getDateCreated
final String getDateCreated()
-
getStorageZoneId
final Long getStorageZoneId()
-
getChecksum
final String getChecksum()
-
getReplicatedZones
final String getReplicatedZones()
-
-
-
-