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;
15 @JsonInclude(JsonInclude.Include.NON_NULL)
16 @JsonPropertyOrder({
"switch_id",
"address",
"hostname",
"description",
"state"})
17 @JsonIgnoreProperties(ignoreUnknown =
true)
19 @JsonProperty(
"switch_id")
20 private String switchId;
21 @JsonProperty(
"address")
22 private String address;
23 @JsonProperty(
"hostname")
24 private String hostname;
25 @JsonProperty(
"description")
30 @JsonProperty(
"state")
34 private final static long serialVersionUID = 6763064864461521069L;
41 this.switchId = switchId;
49 this.address = address;
57 this.hostname = hostname;
87 return "SwitchInfo [switchId=" + switchId +
", address=" + address +
", hostname=" 88 + hostname +
", description=" +
description +
", name=" +
name +
", state=" + state
void setState(String state)
void setName(String name)
void setAddress(String address)
void setDescription(String description)
void setHostname(String hostname)
void setSwitchId(String switchId)