forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSearchItem.java
More file actions
58 lines (43 loc) · 1.18 KB
/
Copy pathSearchItem.java
File metadata and controls
58 lines (43 loc) · 1.18 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
package com.github.dockerjava.api.model;
import org.apache.commons.lang.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.io.Serializable;
/**
*
* @author Konstantin Pelykh (kpelykh@gmail.com)
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class SearchItem implements Serializable {
private static final long serialVersionUID = 1L;
@JsonProperty("star_count")
private Integer starCount;
@JsonProperty("is_official")
private Boolean isOfficial;
@JsonProperty("is_trusted")
private Boolean isTrusted;
@JsonProperty("name")
private String name;
@JsonProperty("description")
private String description;
public Integer getStarCount() {
return starCount;
}
public Boolean isOfficial() {
return isOfficial;
}
public Boolean isTrusted() {
return isTrusted;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}