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

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

Go to download

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

There is a newer version: 2.3.5
Show 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.submission.SubmissionForPickup;

import java.util.List;

/**
 * DTO for the callback event body for new-submissions.
 *
 * @see New Submission Callback Event
 */
public class NewSubmissionsCallback {

    private final String callbackType;

    private final List submissions;

    @JsonCreator
    public NewSubmissionsCallback(@JsonProperty("type") final String callbackType, @JsonProperty("submissions") final List submissions) {
        this.callbackType = callbackType;
        this.submissions = submissions;
    }

    public String getCallbackType() {
        return callbackType;
    }

    public List getSubmissions() {
        return submissions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy