package com.github.dockerjava.api.model;

import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * Representation of a Docker event.
 */
public class Event {
    private String status;

    private String id;

    private String from;

    private long time;

    public String getStatus() {
        return status;
    }

    public String getId() {
        return id;
    }

    public String getFrom() {
        return from;
    }

    public long getTime() {
        return time;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}

@@ -268,177 +268,1532 @@
     
-public String getStatus() %7B%0A        return status;%0A    %7D%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public String getFrom() %7B%0A        return from;%0A    %7D%0A
+/**%0A     * Default constructor for the deserialization.%0A     */%0A    public Event() %7B%0A    %7D%0A%0A    /**%0A     * Constructor.%0A     * @param id Container ID%0A     * @param status Status string. %0A     *        List of statuses is available in %3Ca href=%22https://docs.docker.com/reference/api/docker_remote_api_v1.16/#monitor-dockers-events%22%3EDocker API v.1.16%3C/a%3E%0A     * @param from Image, from which the container has been created%0A     * @param time Event time%0A     *      The time is specified in milliseconds since January 1, 1970, 00:00:00 GMT%0A     * @since TODO%0A     */%0A    public Event(String status, String id, String from, long time) %7B%0A        this.status = status;%0A        this.id = id;%0A        this.from = from;%0A        this.time = time;%0A    %7D%0A    %0A    /**%0A     * Status of docker image or container. %0A     * List of statuses is available in %3Ca href=%22https://docs.docker.com/reference/api/docker_remote_api_v1.16/#monitor-dockers-events%22%3EDocker API v.1.16%3C/a%3E%0A     * @return Status string%0A     */%0A    public String getStatus() %7B%0A        return status;%0A    %7D%0A%0A    /**%0A     * Get ID of docker container.%0A     * @return Container ID%0A     */%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    /**%0A     * Get source image of the container.%0A     * @return Name of the parent container%0A     */%0A    public String getFrom() %7B%0A        return from;%0A    %7D%0A%0A    /**%0A     * Get the event time.%0A     * The time is specified in milliseconds since January 1, 1970, 00:00:00 GMT%0A     * @return Event time in the specified format.%0A     */
 %0A   

Add public constructor and Javadoc to api.model.Event