1 package org.openkilda.messaging.info.event;
5 import com.fasterxml.jackson.annotation.JsonCreator;
6 import com.fasterxml.jackson.annotation.JsonProperty;
12 @JsonProperty(
"switch_id")
13 private final String switchId;
15 @JsonProperty(
"port_number")
16 private final int portNumber;
21 @JsonProperty(
"switch_id") String switchId,
22 @JsonProperty(
"port_number")
int portNumber) {
24 this.switchId = switchId;
25 this.portNumber = portNumber;
NetworkTopologyChangeType getType()
NetworkTopologyChange( @JsonProperty("type") NetworkTopologyChangeType type, @JsonProperty("switch_id") String switchId, @JsonProperty("port_number") int portNumber)