dev.fitko.fitconnect.api.domain.model.callback.NewSubmissionsCallback Maven / Gradle / Ivy
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 - 2025 Weber Informatics LLC | Privacy Policy