Class Resource

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

public class Resource extends Object
Resource represent a single resource for associating/disassociating with tag on DigitalOcean.
Since:
v2.5
Author:
Jeevanandam M. (jeeva@myjeeva.com)
  • Constructor Details

  • Method Details

    • toString

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

      public String getId()
      Returns:
      the id
    • setId

      public void setId(String id)
      Parameters:
      id - the id to set
    • getType

      public ResourceType getType()
      Returns:
      the type
    • setType

      public void setType(ResourceType type)
      Parameters:
      type - the type to set