1 package org.openkilda.model;
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;
8 import java.io.Serializable;
17 @JsonInclude(JsonInclude.Include.NON_NULL)
18 @JsonIgnoreProperties(ignoreUnknown =
true)
19 @JsonPropertyOrder({
"switches",
"switchrelation",
"flows"})
23 @JsonProperty(
"switches")
24 private List<SwitchInfo> switches = null;
27 @JsonProperty(
"switchrelation")
28 private List<IslLinkInfo> flows = null;
31 @JsonProperty(
"flows")
32 private List<FlowInfo> flowResponse = null;
35 @JsonProperty(
"ports")
36 private List<PortInfo> portInfo = null;
39 private final static long serialVersionUID = -2510847461885912823L;
58 this.switches = switches;
77 public void setFlows(
final List<IslLinkInfo> switchrelation) {
78 flows = switchrelation;
98 this.portInfo = portInfo;
118 this.flowResponse = flowResponse;
void setPortInfo(final List< PortInfo > portInfo)
List< PortInfo > getPortInfo()
void setFlows(final List< IslLinkInfo > switchrelation)
void setSwitches(final List< SwitchInfo > switches)
List< SwitchInfo > getSwitches()
List< IslLinkInfo > getFlows()
List< FlowInfo > getFlowResponse()
void setFlowResponse(final List< FlowInfo > flowResponse)