Android Open Source - digital-ocean-swimmer Network

From Project

Back to project page digital-ocean-swimmer.


The source code is released under:

MIT License

If you think the Android project digital-ocean-swimmer listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.yassirh.digitalocean.model;
//w ww. j  a v a  2 s.c o m
public class Network {
  private long id;
  private String ipAddress;
  private String gateway;
  private String type;
  private String cidr;
  private String netmask;
  private Droplet droplet;

  public long getId() {
    return id;
  public void setId(long id) { = id;
  public String getIpAddress() {
    return ipAddress;
  public void setIpAddress(String ipAddress) {
    this.ipAddress = ipAddress;
  public String getGateway() {
    return gateway;
  public void setGateway(String gateway) {
    this.gateway = gateway;
  public String getType() {
    return type;
  public void setType(String type) {
    this.type = type;
  public String getCidr() {
    return cidr;
  public void setCidr(String cidr) {
    this.cidr = cidr;
  public String getNetmask() {
    return netmask;
  public void setNetmask(String netmask) {
    this.netmask = netmask;
  public Droplet getDroplet() {
    return droplet;
  public void setDroplet(Droplet droplet) {
    this.droplet = droplet;

Java Source Code List