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

io.sphere.sdk.zones.ZoneImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.zones;

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.Set;
import javax.annotation.Generated;
import javax.annotation.Nullable;

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

  @Nullable
  private String description;

  private String id;

  @Nullable
  private String key;

  private ZonedDateTime lastModifiedAt;

  private Set locations;

  private String name;

  private Long version;

  @JsonCreator
  ZoneImpl(final ZonedDateTime createdAt, @Nullable final String description, final String id,
      @Nullable final String key, final ZonedDateTime lastModifiedAt, final Set locations,
      final String name, final Long version) {
    this.createdAt = createdAt;
    this.description = description;
    this.id = id;
    this.key = key;
    this.lastModifiedAt = lastModifiedAt;
    this.locations = locations;
    this.name = name;
    this.version = version;
  }

  public ZonedDateTime getCreatedAt() {
    return createdAt;
  }

  @Nullable
  public String getDescription() {
    return description;
  }

  public String getId() {
    return id;
  }

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

  public ZonedDateTime getLastModifiedAt() {
    return lastModifiedAt;
  }

  public Set getLocations() {
    return locations;
  }

  public String getName() {
    return name;
  }

  public Long getVersion() {
    return version;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy