Package com.contentful.java.cma.model
Class CMASnapshot
- java.lang.Object
-
- com.contentful.java.cma.model.CMAResource
-
- com.contentful.java.cma.model.CMASnapshot
-
public class CMASnapshot extends CMAResource
This model represents a snapshot of a specific resource.
-
-
Constructor Summary
Constructors Constructor Description CMASnapshot()Create a new snapshot.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CMAResourcegetSnapshot()CMASnapshotsetSnapshot(CMAResource snapshot)Update the current snapshot.-
Methods inherited from class com.contentful.java.cma.model.CMAResource
getEnvironmentId, getId, getSpaceId, getSystem, getVersion, getVisibility, isArchived, isPublished, setEnvironmentId, setId, setSpaceId, setSystem, setVersion, setVisibility, toString
-
-
-
-
Method Detail
-
getSnapshot
public CMAResource getSnapshot()
- Returns:
- the actual data of the snapshot
-
setSnapshot
public CMASnapshot setSnapshot(CMAResource snapshot)
Update the current snapshot.- Parameters:
snapshot- the value to be used.- Returns:
- the actual CMASnapshot
-
-