forked from vagabond-systems/hoen-scanner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SearchResult.java
46 lines (34 loc) · 875 Bytes
/
SearchResult.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package com.skyscanner;
import com.fasterxml.jackson.annotation.JsonProperty;
public class SearchResult {
@JsonProperty("city")
private String city;
@JsonProperty("kind")
private String kind;
@JsonProperty("title")
private String title;
public SearchResult(String city, String kind, String title) {
this.city = city;
this.kind = kind;
this.title = title;
}
// Getters and setters (optional, based on your needs)
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getKind() {
return kind;
}
public void setKind(String kind) {
this.kind = kind;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
}