io.sphere.sdk.messages.MessageImpl Maven / Gradle / Ivy
package io.sphere.sdk.messages;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.JsonNode;
import io.sphere.sdk.models.Reference;
import java.time.ZonedDateTime;
public class MessageImpl extends GenericMessageImpl {
@JsonCreator
public MessageImpl(final String id, final Long version, final ZonedDateTime createdAt, final ZonedDateTime lastModifiedAt, final JsonNode resource, final Long sequenceNumber, final Long resourceVersion, final String type) {
super(id, version, createdAt, lastModifiedAt, resource, sequenceNumber, resourceVersion, type, new TypeReference>() {
});
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy