io.sphere.sdk.messages.GenericMessage Maven / Gradle / Ivy
package io.sphere.sdk.messages;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.models.Reference;
/**
* Message for a certain Java type.
*
* @param the type of the resource the message is belonging to, like {@code } is {@link io.sphere.sdk.products.Product} for {@link io.sphere.sdk.products.messages.ProductPublishedMessage}
*
* @see io.sphere.sdk.messages.queries.MessageQuery
*/
@JsonDeserialize(as = GenericMessageImpl.class)
public interface GenericMessage extends Message {
Reference getResource();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy