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

io.sphere.sdk.extensions.ExtensionImpl Maven / Gradle / Ivy

The newest version!
package io.sphere.sdk.extensions;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import java.lang.Long;
import java.lang.String;
import java.time.ZonedDateTime;
import java.util.List;
import javax.annotation.Generated;
import javax.annotation.Nullable;

@Generated(
    value = "io.sphere.sdk.annotations.processors.generators.ResourceValueImplGenerator",
    comments = "Generated from: io.sphere.sdk.extensions.Extension"
)
final class ExtensionImpl extends Base implements Extension {
  private ZonedDateTime createdAt;

  private Destination destination;

  private String id;

  @Nullable
  private String key;

  private ZonedDateTime lastModifiedAt;

  @Nullable
  private Long timeoutInMs;

  private List triggers;

  private Long version;

  @JsonCreator
  ExtensionImpl(final ZonedDateTime createdAt, final Destination destination, final String id,
      @Nullable final String key, final ZonedDateTime lastModifiedAt,
      @Nullable final Long timeoutInMs, final List triggers, final Long version) {
    this.createdAt = createdAt;
    this.destination = destination;
    this.id = id;
    this.key = key;
    this.lastModifiedAt = lastModifiedAt;
    this.timeoutInMs = timeoutInMs;
    this.triggers = triggers;
    this.version = version;
  }

  public ZonedDateTime getCreatedAt() {
    return createdAt;
  }

  public Destination getDestination() {
    return destination;
  }

  public String getId() {
    return id;
  }

  @Nullable
  public String getKey() {
    return key;
  }

  public ZonedDateTime getLastModifiedAt() {
    return lastModifiedAt;
  }

  @Nullable
  public Long getTimeoutInMs() {
    return timeoutInMs;
  }

  public List getTriggers() {
    return triggers;
  }

  public Long getVersion() {
    return version;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy