Class DropletAction

java.lang.Object
com.myjeeva.digitalocean.pojo.DropletAction

public class DropletAction extends Object
Represents Droplet Actions like reboot, powercycle, power on , power off, etc.
Since:
v2.0
Author:
Jeevanandam M. (jeeva@myjeeva.com)
  • Constructor Details

    • DropletAction

      public DropletAction()
    • DropletAction

      public DropletAction(ActionType type)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getType

      public ActionType getType()
      Returns:
      the type
    • setType

      public void setType(ActionType type)
      Parameters:
      type - the type to set
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Parameters:
      name - the name to set
    • getImage

      public Integer getImage()
      Returns:
      the image
    • setImage

      public void setImage(Integer image)
      Parameters:
      image - the image to set
    • getKernel

      public Integer getKernel()
      Returns:
      the kernel
    • setKernel

      public void setKernel(Integer kernel)
      Parameters:
      kernel - the kernel to set
    • getSize

      public String getSize()
      Returns:
      the size
    • setSize

      public void setSize(String size)
      Parameters:
      size - the size to set
    • getDisk

      public Boolean getDisk()
      Returns:
      the disk
    • setDisk

      public void setDisk(Boolean disk)
      Parameters:
      disk - the size to set