Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.nirima.docker.client.model;
 
 
 import java.util.List;
 
@JsonIgnoreProperties(ignoreUnknown = true)
public class SearchResult implements Serializable {
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class SearchResultItem implements Serializable
    {
        @JsonProperty("description")
        public String description;
        @JsonProperty("name")
        public String name;
        @Override
        public String toString() {
            return Objects.toStringHelper(this)
                    .add("description")
                    .add("name")
                    .toString();
        }
    }
    @JsonProperty("num_results")
    public int numResults;
    @JsonProperty("query")
    public String query;
    @JsonProperty("results")
    public List<SearchResultItemresults;
    @Override
    public String toString() {
        return Objects.toStringHelper(this)
                .add("query")
                .add("results")
                .toString();
    }
New to GrepCode? Check out our FAQ X