dev.fitko.fitconnect.api.domain.model.callback.NewRepliesCallback Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of client Show documentation
Show all versions of client Show documentation
Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and
routing
package dev.fitko.fitconnect.api.domain.model.callback;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import dev.fitko.fitconnect.api.domain.model.reply.ReplyForPickup;
import java.util.List;
/**
* DTO for the callback event body for new-events that announces new replies.
*
* @see New Events Callback
*/
public class NewRepliesCallback {
private final String callbackType;
private final List replies;
@JsonCreator
public NewRepliesCallback(@JsonProperty("type") final String callbackType, @JsonProperty("replies") final List replies) {
this.callbackType = callbackType;
this.replies = replies;
}
public String getCallbackType() {
return callbackType;
}
public List getReplies() {
return replies;
}
}