Open Kilda Java Documentation
Tag.java
Go to the documentation of this file.
1 package org.openkilda.model;
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({"port", "switchid"})
11 public class Tag {
12 
13  @JsonProperty("port")
14  private String port;
15 
16  @JsonProperty("switchid")
17  private String switchId;
18 
19  public String getPort() {
20  return port;
21  }
22 
23  public void setPort(String port) {
24  this.port = port;
25  }
26 
27  public String getSwitchId() {
28  return switchId;
29  }
30 
31  public void setSwitchId(String switchId) {
32  this.switchId = switchId;
33  }
34 
35 
36 
37 }
void setPort(String port)
Definition: Tag.java:23
void setSwitchId(String switchId)
Definition: Tag.java:31
String getSwitchId()
Definition: Tag.java:27
String getPort()
Definition: Tag.java:19