Open Kilda Java Documentation
IslPath.java
Go to the documentation of this file.
1 package org.openkilda.integration.model.response;
2 
3 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
4 import com.fasterxml.jackson.annotation.JsonInclude;
5 import com.fasterxml.jackson.annotation.JsonProperty;
6 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
7 
8 @JsonInclude(JsonInclude.Include.NON_NULL)
9 @JsonIgnoreProperties(ignoreUnknown = true)
10 @JsonPropertyOrder({"switch_id", "port_no", "seq_id", "segment_latency"})
11 public class IslPath {
12 
13  @JsonProperty("switch_id")
14  private String switchId;
15  @JsonProperty("port_no")
16  private Integer portNo;
17  @JsonProperty("seq_id")
18  private Integer seqId;
19  @JsonProperty("segment_latency")
20  private Integer segmentLatency;
21 
22  public String getSwitchId() {
23  return switchId;
24  }
25 
26  public void setSwitchId(final String switchId) {
27  this.switchId = switchId;
28  }
29 
30  public Integer getPortNo() {
31  return portNo;
32  }
33 
34  public void setPortNo(final Integer portNo) {
35  this.portNo = portNo;
36  }
37 
38  public Integer getSeqId() {
39  return seqId;
40  }
41 
42  public void setSeqId(final Integer seqId) {
43  this.seqId = seqId;
44  }
45 
46  public Integer getSegmentLatency() {
47  return segmentLatency;
48  }
49 
50  public void setSegmentLatency(final Integer segmentLatency) {
51  this.segmentLatency = segmentLatency;
52  }
53 
54  @Override
55  public String toString() {
56  return "IslPath [switchId=" + switchId + ", portNo=" + portNo + ", seqId=" + seqId
57  + ", segmentLatency=" + segmentLatency + "]";
58  }
59 
60 
61 }
void setSwitchId(final String switchId)
Definition: IslPath.java:26
void setSegmentLatency(final Integer segmentLatency)
Definition: IslPath.java:50