com.kpelykh.docker.client.model.SearchItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.kpelykh.docker.client.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
*
* @author Konstantin Pelykh ([email protected])
*
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class SearchItem {
@JsonProperty("star_count")
private int starCount;
@JsonProperty("is_official")
private boolean isOfficial;
@JsonProperty("is_trusted")
private boolean isTrusted;
@JsonProperty("name")
private String name;
@JsonProperty("description")
private String description;
public int 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 "name='" + name + '\'' +
", description='" + description + '\'' + '}';
}
}