Package com.morpheusdata.model
Class Snapshot
- java.lang.Object
-
- com.morpheusdata.model.MorpheusModel
-
- com.morpheusdata.model.projection.SnapshotIdentityProjection
-
- com.morpheusdata.model.Snapshot
-
public class Snapshot extends SnapshotIdentityProjection
Represents snapshots available on ComputeServers, StorageVolumes, etc
-
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected CloudIdentityProjection
cloud
protected java.lang.Boolean
currentlyActive
protected java.lang.String
description
protected SnapshotIdentityProjection
parentSnapshot
protected java.util.Date
snapshotCreated
-
Fields inherited from class com.morpheusdata.model.projection.SnapshotIdentityProjection
externalId, name
-
Fields inherited from class com.morpheusdata.model.MorpheusModel
config, id
-
-
Constructor Summary
Constructors Constructor Description Snapshot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account
getAccount()
CloudIdentityProjection
getCloud()
java.lang.Boolean
getCurrentlyActive()
java.lang.String
getDescription()
SnapshotIdentityProjection
getParentSnapshot()
java.util.Date
getSnapshotCreated()
void
setAccount(Account account)
void
setCloud(CloudIdentityProjection cloud)
void
setCurrentlyActive(java.lang.Boolean currentlyActive)
void
setDescription(java.lang.String description)
void
setParentSnapshot(SnapshotIdentityProjection parentSnapshot)
void
setSnapshotCreated(java.util.Date snapshotCreated)
-
Methods inherited from class com.morpheusdata.model.projection.SnapshotIdentityProjection
getExternalId, getName, setExternalId, setName
-
Methods inherited from class com.morpheusdata.model.MorpheusModel
getConfig, getConfigMap, getConfigProperty, getDirtyProperties, getDirtyPropertyValues, getId, getProperties, isDirty, markClean, markDirty, markDirty, setConfig, setConfigMap, setConfigProperty, setId
-
-
-
-
Field Detail
-
account
protected Account account
-
cloud
protected CloudIdentityProjection cloud
-
description
protected java.lang.String description
-
snapshotCreated
protected java.util.Date snapshotCreated
-
currentlyActive
protected java.lang.Boolean currentlyActive
-
parentSnapshot
protected SnapshotIdentityProjection parentSnapshot
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCloud
public CloudIdentityProjection getCloud()
-
setCloud
public void setCloud(CloudIdentityProjection cloud)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
getSnapshotCreated
public java.util.Date getSnapshotCreated()
-
setSnapshotCreated
public void setSnapshotCreated(java.util.Date snapshotCreated)
-
getCurrentlyActive
public java.lang.Boolean getCurrentlyActive()
-
setCurrentlyActive
public void setCurrentlyActive(java.lang.Boolean currentlyActive)
-
getParentSnapshot
public SnapshotIdentityProjection getParentSnapshot()
-
setParentSnapshot
public void setParentSnapshot(SnapshotIdentityProjection parentSnapshot)
-
-