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

io.sphere.sdk.subscriptions.ResourceUpdatedPayloadImpl Maven / Gradle / Ivy

package io.sphere.sdk.subscriptions;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Reference;
import java.lang.Long;
import java.lang.String;
import javax.annotation.Generated;

@Generated(
    value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
    comments = "Generated from: io.sphere.sdk.subscriptions.ResourceUpdatedPayload"
)
final class ResourceUpdatedPayloadImpl extends Base implements ResourceUpdatedPayload {
  private String notificationType;

  private Long oldVersion;

  private String projectKey;

  private Reference resource;

  private Long version;

  @JsonCreator
  ResourceUpdatedPayloadImpl(final String notificationType, final Long oldVersion,
      final String projectKey, final Reference resource, final Long version) {
    this.notificationType = notificationType;
    this.oldVersion = oldVersion;
    this.projectKey = projectKey;
    this.resource = resource;
    this.version = version;
  }

  public String getNotificationType() {
    return notificationType;
  }

  public Long getOldVersion() {
    return oldVersion;
  }

  public String getProjectKey() {
    return projectKey;
  }

  public Reference getResource() {
    return resource;
  }

  public Long getVersion() {
    return version;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy