io.sphere.sdk.subscriptions.MessageSubscriptionPayloadImpl Maven / Gradle / Ivy
package io.sphere.sdk.subscriptions;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.sphere.sdk.messages.Message;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Reference;
import java.lang.String;
import javax.annotation.Generated;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.subscriptions.MessageSubscriptionPayload"
)
final class MessageSubscriptionPayloadImpl extends Base implements MessageSubscriptionPayload {
@JsonProperty("message")
private Message message;
private String notificationType;
private String projectKey;
private Reference resource;
@JsonCreator
MessageSubscriptionPayloadImpl(@JsonProperty("message") final Message message,
final String notificationType, final String projectKey, final Reference resource) {
this.message = message;
this.notificationType = notificationType;
this.projectKey = projectKey;
this.resource = resource;
}
@JsonProperty("message")
public Message getMessage() {
return message;
}
public String getNotificationType() {
return notificationType;
}
public String getProjectKey() {
return projectKey;
}
public Reference getResource() {
return resource;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy