Open Kilda Java Documentation
org.openkilda.integration.model.response.PathNode Class Reference
Inheritance diagram for org.openkilda.integration.model.response.PathNode:

Public Member Functions

 PathNode ()
 
 PathNode (@JsonProperty("seq_id") Integer seqId, @JsonProperty("in_port_no") Integer inPortNo, @JsonProperty("out_port_no") Integer outPortNo, @JsonProperty("switch_id") String switchId, @JsonProperty("switch_name") String switchName)
 
Integer getPortNo ()
 
void setPortNo (final Integer portNo)
 
Integer getSegmentLatency ()
 
void setSegmentLatency (final Integer segmentLatency)
 
Integer getSeqId ()
 
void setSeqId (final Integer seqId)
 
String getSwitchId ()
 
void setSwitchId (final String switchId)
 
Integer getInPortNo ()
 
void setInPortNo (final Integer inPortNo)
 
Integer getOutPortNo ()
 
void setOutPortNo (final Integer outPortNo)
 
String getSwitchName ()
 
void setSwitchName (String switchName)
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 
int compareTo (PathNode obj)
 

Detailed Description

The Class Path.

Author
Gaurav Chugh

Definition at line 19 of file PathNode.java.

Constructor & Destructor Documentation

◆ PathNode() [1/2]

org.openkilda.integration.model.response.PathNode.PathNode ( )

Definition at line 51 of file PathNode.java.

◆ PathNode() [2/2]

org.openkilda.integration.model.response.PathNode.PathNode ( @JsonProperty("seq_id") Integer  seqId,
@JsonProperty("in_port_no") Integer  inPortNo,
@JsonProperty("out_port_no") Integer  outPortNo,
@JsonProperty("switch_id") String  switchId,
@JsonProperty("switch_name") String  switchName 
)

Definition at line 56 of file PathNode.java.

Member Function Documentation

◆ compareTo()

int org.openkilda.integration.model.response.PathNode.compareTo ( PathNode  obj)

Definition at line 220 of file PathNode.java.

◆ equals()

boolean org.openkilda.integration.model.response.PathNode.equals ( Object  obj)

Definition at line 203 of file PathNode.java.

◆ getInPortNo()

Integer org.openkilda.integration.model.response.PathNode.getInPortNo ( )

Gets the in port no.

Returns
the in port no

Definition at line 148 of file PathNode.java.

◆ getOutPortNo()

Integer org.openkilda.integration.model.response.PathNode.getOutPortNo ( )

Gets the out port no.

Returns
the out port no

Definition at line 166 of file PathNode.java.

◆ getPortNo()

Integer org.openkilda.integration.model.response.PathNode.getPortNo ( )

Gets the port no.

Returns
the port no

Definition at line 76 of file PathNode.java.

◆ getSegmentLatency()

Integer org.openkilda.integration.model.response.PathNode.getSegmentLatency ( )

Gets the segment latency.

Returns
the segment latency

Definition at line 94 of file PathNode.java.

◆ getSeqId()

Integer org.openkilda.integration.model.response.PathNode.getSeqId ( )

Gets the seq id.

Returns
the seq id

Definition at line 112 of file PathNode.java.

◆ getSwitchId()

String org.openkilda.integration.model.response.PathNode.getSwitchId ( )

Gets the switch id.

Returns
the switch id

Definition at line 130 of file PathNode.java.

◆ getSwitchName()

String org.openkilda.integration.model.response.PathNode.getSwitchName ( )

Definition at line 179 of file PathNode.java.

◆ hashCode()

int org.openkilda.integration.model.response.PathNode.hashCode ( )

Definition at line 195 of file PathNode.java.

◆ setInPortNo()

void org.openkilda.integration.model.response.PathNode.setInPortNo ( final Integer  inPortNo)

Sets the in port no.

Parameters
inPortNothe new in port no

Definition at line 157 of file PathNode.java.

◆ setOutPortNo()

void org.openkilda.integration.model.response.PathNode.setOutPortNo ( final Integer  outPortNo)

Sets the out port no.

Parameters
outPortNothe new out port no

Definition at line 175 of file PathNode.java.

◆ setPortNo()

void org.openkilda.integration.model.response.PathNode.setPortNo ( final Integer  portNo)

Sets the port no.

Parameters
portNothe new port no

Definition at line 85 of file PathNode.java.

◆ setSegmentLatency()

void org.openkilda.integration.model.response.PathNode.setSegmentLatency ( final Integer  segmentLatency)

Sets the segment latency.

Parameters
segmentLatencythe new segment latency

Definition at line 103 of file PathNode.java.

◆ setSeqId()

void org.openkilda.integration.model.response.PathNode.setSeqId ( final Integer  seqId)

Sets the seq id.

Parameters
seqIdthe new seq id

Definition at line 121 of file PathNode.java.

◆ setSwitchId()

void org.openkilda.integration.model.response.PathNode.setSwitchId ( final String  switchId)

Sets the switch id.

Parameters
switchIdthe new switch id

Definition at line 139 of file PathNode.java.

◆ setSwitchName()

void org.openkilda.integration.model.response.PathNode.setSwitchName ( String  switchName)

Definition at line 183 of file PathNode.java.

◆ toString()

String org.openkilda.integration.model.response.PathNode.toString ( )

Definition at line 188 of file PathNode.java.


The documentation for this class was generated from the following file: