All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.fitko.fitconnect.api.domain.model.callback.NewRepliesCallback Maven / Gradle / Ivy

Go to download

Library that provides client access to the FIT-Connect api-endpoints for sending, subscribing and routing

The newest version!
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy