Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.nirima.docker.client.model;
 
 
Created by magnayn on 09/02/2014.
@JsonIgnoreProperties(ignoreUnknown=true)
public class PushEventStreamItem implements Serializable {
    @JsonProperty("status")
    private String status;
    // {"error":"Error...", "errorDetail":{"code": 123, "message": "Error..."}}
    @JsonProperty("progress")
    private String progress;
    @JsonProperty("progressDetail")
    private ProgressDetail progressDetail;
    public String getStatus() {
        return ;
    }
    public String getProgress() {
        return ;
    }
    public ProgressDetail getProgressDetail() {
        return ;
    }
    @JsonIgnoreProperties(ignoreUnknown=true)
    public static class ProgressDetail implements Serializable {
        @JsonProperty("current")
        int current;
        @Override
        public String toString() {
            return "current " + ;
        }
    }
    @Override
    public String toString() {
        return Objects.toStringHelper(this)
                .add("status")
                .add("progress")
                .add("progressDetail")
                .toString();
    }
New to GrepCode? Check out our FAQ X