Open Kilda Java Documentation
Filter.java
Go to the documentation of this file.
1 package org.openkilda.integration.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 import java.io.Serializable;
9 
15 @JsonInclude(JsonInclude.Include.NON_NULL)
16 @JsonIgnoreProperties(ignoreUnknown = true)
17 @JsonPropertyOrder({"tagk", "group_by", "type", "filter"})
18 public class Filter implements Serializable {
19 
20  private final static long serialVersionUID = -300223703794502712L;
21 
22  @JsonProperty("tagk")
23  private String tagk;
24 
25  @JsonProperty("group_by")
26  private boolean groupBy;
27 
28  @JsonProperty("type")
29  private String type;
30 
31  @JsonProperty("filter")
32  private String filter;
33 
39  public String getTagk() {
40  return tagk;
41  }
42 
48  public void setTagk(final String tagk) {
49  this.tagk = tagk;
50  }
51 
57  public boolean isGroupBy() {
58  return groupBy;
59  }
60 
66  public void setGroupBy(final boolean groupBy) {
67  this.groupBy = groupBy;
68  }
69 
75  public String getType() {
76  return type;
77  }
78 
84  public void setType(final String type) {
85  this.type = type;
86  }
87 
93  public String getFilter() {
94  return filter;
95  }
96 
102  public void setFilter(final String filter) {
103  this.filter = filter;
104  }
105 
106  @Override
107  public String toString() {
108  return "Filter [tagk=" + tagk + ", groupBy=" + groupBy + ", type=" + type + ", filter="
109  + filter + "]";
110  }
111 
112 }
void setType(final String type)
Definition: Filter.java:84
void setTagk(final String tagk)
Definition: Filter.java:48
void setGroupBy(final boolean groupBy)
Definition: Filter.java:66
void setFilter(final String filter)
Definition: Filter.java:102