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

io.sphere.sdk.messages.MessageImpl Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
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