Class GetSnapshotTotalsBridgeResult
- java.lang.Object
-
- org.duracloud.snapshot.dto.BaseDTO
-
- org.duracloud.snapshot.dto.bridge.GetSnapshotTotalsBridgeResult
-
- Direct Known Subclasses:
GetSnapshotsTotalsTaskResult
public class GetSnapshotTotalsBridgeResult extends BaseDTO
- Author:
- Nicholas Woodward Date: 7/15/21
-
-
Constructor Summary
Constructors Constructor Description GetSnapshotTotalsBridgeResult()GetSnapshotTotalsBridgeResult(Long totalCount, Long totalSize, Long totalFiles)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSnapshotTotalsBridgeResultdeserialize(String bridgeResult)Parses properties from bridge result stringlonggetTotalCount()longgetTotalFiles()longgetTotalSize()Stringserialize()Creates a serialized version of bridge resultvoidsetTotalCount(Long totalCount)voidsetTotalFiles(Long totalFiles)voidsetTotalSize(Long totalSize)
-
-
-
Method Detail
-
getTotalCount
public long getTotalCount()
-
setTotalCount
public void setTotalCount(Long totalCount)
-
getTotalSize
public long getTotalSize()
-
setTotalSize
public void setTotalSize(Long totalSize)
-
getTotalFiles
public long getTotalFiles()
-
setTotalFiles
public void setTotalFiles(Long totalFiles)
-
serialize
public String serialize()
Creates a serialized version of bridge result- Returns:
- JSON formatted bridge info
-
deserialize
public static GetSnapshotTotalsBridgeResult deserialize(String bridgeResult)
Parses properties from bridge result string- Parameters:
bridgeResult- - JSON formatted set of properties
-
-