Class Network

All Implemented Interfaces:
Serializable

public class Network extends Base
Represents DigitalOcean Network attributes
Since:
v2.0
Author:
Jeevanandam M. (jeeva@myjeeva.com)
See Also:
  • Constructor Details

    • Network

      public Network()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Base
    • getIpAddress

      public String getIpAddress()
      Returns:
      the ipAddress
    • setIpAddress

      public void setIpAddress(String ipAddress)
      Parameters:
      ipAddress - the ipAddress to set
    • getNetmask

      public String getNetmask()
      Returns:
      the netmask
    • setNetmask

      public void setNetmask(String netmask)
      Parameters:
      netmask - the netmask to set
    • getGateway

      public String getGateway()
      Returns:
      the gateway
    • setGateway

      public void setGateway(String gateway)
      Parameters:
      gateway - the gateway to set
    • getType

      public String getType()
      Returns:
      the type
    • setType

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