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

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

The newest version!
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.String;
import javax.annotation.Generated;
import javax.annotation.Nullable;

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

  private String projectKey;

  private Reference resource;

  @Nullable
  private UserProvidedIdentifiers resourceUserProvidedIdentifiers;

  @JsonCreator
  PayloadImpl(final String notificationType, final String projectKey, final Reference resource,
      @Nullable final UserProvidedIdentifiers resourceUserProvidedIdentifiers) {
    this.notificationType = notificationType;
    this.projectKey = projectKey;
    this.resource = resource;
    this.resourceUserProvidedIdentifiers = resourceUserProvidedIdentifiers;
  }

  public String getNotificationType() {
    return notificationType;
  }

  public String getProjectKey() {
    return projectKey;
  }

  public Reference getResource() {
    return resource;
  }

  @Nullable
  public UserProvidedIdentifiers getResourceUserProvidedIdentifiers() {
    return resourceUserProvidedIdentifiers;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy