Class SnapshotResponse

java.lang.Object
com.iland.core.web.rest.response.common.SnapshotResponse
All Implemented Interfaces:
Serializable

public class SnapshotResponse extends Object implements Serializable
Snapshot Response.
Author:
Nick Kasprzak
See Also:
  • Constructor Details

    • SnapshotResponse

      public SnapshotResponse(Instant creationDate, long size, boolean poweredOn)
  • Method Details

    • getCreationDate

      public Instant getCreationDate()
      Gets the creation date of the snapshot.
      Returns:
      Date the creation date of the snapshot
    • getSize

      public long getSize()
      Gets the size of the snapshot in bytes.
      Returns:
      the size of the snapshot in bytes
    • isPoweredOn

      public boolean isPoweredOn()
      Indicates whether the entity is powered on.
      Returns:
      boolean value indicating whether the entity is powered on
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object