com.github.dockerjava.api.model.EventActor Maven / Gradle / Ivy
package com.github.dockerjava.api.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import javax.annotation.CheckForNull;
import java.io.Serializable;
import java.util.Map;
/**
* @author Kanstantsin Shautsou
* @since 1.22
*/
@EqualsAndHashCode
@ToString
public class EventActor extends DockerObject implements Serializable {
private static final long serialVersionUID = 1L;
/**
* @since 1.22
*/
@JsonProperty("ID")
private String id;
/**
* @since 1.22
*/
@JsonProperty("Attributes")
private Map attributes;
/**
* @see #id
*/
@CheckForNull
public String getId() {
return id;
}
/**
* @see #id
*/
public EventActor withId(String id) {
this.id = id;
return this;
}
/**
* @see #attributes
*/
@CheckForNull
public Map getAttributes() {
return attributes;
}
/**
* @see #attributes
*/
public EventActor withAttributes(Map attributes) {
this.attributes = attributes;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy