All Downloads are FREE. Search and download functionalities are using the official Maven repository.

es.tid.topologyModuleBase.IETFTopoModel.model.NetworksSchema Maven / Gradle / Ivy

The newest version!
package es.tid.topologyModuleBase.IETFTopoModel.model;

import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import es.tid.topologyModuleBase.IETFTopoModel.model.NetworksSchemaNetwork;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;



/**
 * Serves as top-level container for a list of networks.
 **/

@ApiModel(description = "Serves as top-level container for a list of networks.")
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2016-07-18T18:59:38.916+02:00")
public class NetworksSchema   {
  
  private List network = new ArrayList();

  /**
   * Describes a network.\nA network typically contains an inventory of nodes,\ntopological information (augmented through\nnetwork-topology model), as well as layering\ninformation.
   **/
  public NetworksSchema network(List network) {
    this.network = network;
    return this;
  }

  
  @ApiModelProperty(value = "Describes a network.\nA network typically contains an inventory of nodes,\ntopological information (augmented through\nnetwork-topology model), as well as layering\ninformation.")
  @JsonProperty("network")
  public List getNetwork() {
    return network;
  }
  public void setNetwork(List network) {
    this.network = network;
  }


  @Override
  public boolean equals(Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    NetworksSchema networksSchema = (NetworksSchema) o;
    return Objects.equals(network, networksSchema.network);
  }

  @Override
  public int hashCode() {
    return Objects.hash(network);
  }

  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class NetworksSchema {\n");
    
    sb.append("    network: ").append(toIndentedString(network)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy