16 package org.openkilda.messaging.info.switches;
21 import com.fasterxml.jackson.annotation.JsonCreator;
22 import com.fasterxml.jackson.annotation.JsonInclude;
23 import com.fasterxml.jackson.annotation.JsonProperty;
25 import lombok.EqualsAndHashCode;
26 import lombok.NonNull;
28 @JsonInclude(JsonInclude.Include.NON_NULL)
30 @EqualsAndHashCode(callSuper =
true)
33 private static final long serialVersionUID = 7332950619136252164L;
36 @JsonProperty(
"switch_id")
39 @JsonProperty(
"port_no")
44 @JsonProperty(
"port_no")
int portNo) {
45 this.switchId = switchId;
PortConfigurationResponse(@JsonProperty("switch_id") SwitchId switchId, @JsonProperty("port_no") int portNo)