io.sphere.sdk.subscriptions.ResourceDeletedPayloadImpl Maven / Gradle / Ivy
package io.sphere.sdk.subscriptions;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.messages.UserProvidedIdentifiers;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Reference;
import java.lang.Boolean;
import java.lang.Long;
import java.lang.String;
import java.time.ZonedDateTime;
import javax.annotation.Generated;
import javax.annotation.Nullable;
@Generated(
value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
comments = "Generated from: io.sphere.sdk.subscriptions.ResourceDeletedPayload"
)
final class ResourceDeletedPayloadImpl extends Base implements ResourceDeletedPayload {
private Boolean dataErasure;
private ZonedDateTime modifiedAt;
private String notificationType;
private String projectKey;
private Reference resource;
@Nullable
private UserProvidedIdentifiers resourceUserProvidedIdentifiers;
private Long version;
@JsonCreator
ResourceDeletedPayloadImpl(final Boolean dataErasure, final ZonedDateTime modifiedAt,
final String notificationType, final String projectKey, final Reference resource,
@Nullable final UserProvidedIdentifiers resourceUserProvidedIdentifiers, final Long version) {
this.dataErasure = dataErasure;
this.modifiedAt = modifiedAt;
this.notificationType = notificationType;
this.projectKey = projectKey;
this.resource = resource;
this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers;
this.version = version;
}
public Boolean getDataErasure() {
return dataErasure;
}
public ZonedDateTime getModifiedAt() {
return modifiedAt;
}
public String getNotificationType() {
return notificationType;
}
public String getProjectKey() {
return projectKey;
}
public Reference getResource() {
return resource;
}
@Nullable
public UserProvidedIdentifiers getResourceUserProvidedIdentifiers() {
return resourceUserProvidedIdentifiers;
}
public Long getVersion() {
return version;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy