
es.tid.topologyModuleBase.UnifyTopoModel.model.InfraNode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of topology Show documentation
Show all versions of topology Show documentation
Traffic Engineering Database, BGP-LS peer, Topology Module
The newest version!
package es.tid.topologyModuleBase.UnifyTopoModel.model;
import java.util.Objects;
import com.fasterxml.jackson.annotation.JsonProperty;
import es.tid.topologyModuleBase.UnifyTopoModel.model.Flowtable;
import es.tid.topologyModuleBase.UnifyTopoModel.model.FlowtableFlowtable;
import es.tid.topologyModuleBase.UnifyTopoModel.model.Nodes;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@javax.annotation.Generated(value = "class io.swagger.codegen.languages.JavaJerseyServerCodegen", date = "2016-07-26T10:14:24.517Z")
public class InfraNode {
private Object capabilities = null;
private Nodes nFInstances = null;
/**
**/
public InfraNode capabilities(Object capabilities) {
this.capabilities = capabilities;
return this;
}
@ApiModelProperty(value = "")
@JsonProperty("capabilities")
public Object getCapabilities() {
return capabilities;
}
public void setCapabilities(Object capabilities) {
this.capabilities = capabilities;
}
/**
**/
public InfraNode nFInstances(Nodes nFInstances) {
this.nFInstances = nFInstances;
return this;
}
@ApiModelProperty(value = "")
@JsonProperty("NFInstances")
public Nodes getNFInstances() {
return nFInstances;
}
public void setNFInstances(Nodes nFInstances) {
this.nFInstances = nFInstances;
}
@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
InfraNode infraNode = (InfraNode) o;
return Objects.equals(capabilities, infraNode.capabilities) &&
Objects.equals(nFInstances, infraNode.nFInstances);
}
@Override
public int hashCode() {
return Objects.hash(capabilities, nFInstances);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class InfraNode {\n");
sb.append(" capabilities: ").append(toIndentedString(capabilities)).append("\n");
sb.append(" nFInstances: ").append(toIndentedString(nFInstances)).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