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

io.sphere.sdk.apiclient.ApiClientImplBase Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import java.lang.String;
import java.time.LocalDate;
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.apiclient.ApiClient"
)
abstract class ApiClientImplBase extends Base implements ApiClient {
  @Nullable
  private ZonedDateTime createdAt;

  @Nullable
  private ZonedDateTime deleteAt;

  private String id;

  @Nullable
  private LocalDate lastUsedAt;

  private String name;

  private String scope;

  @Nullable
  private String secret;

  @JsonCreator
  ApiClientImplBase(@Nullable final ZonedDateTime createdAt, @Nullable final ZonedDateTime deleteAt,
      final String id, @Nullable final LocalDate lastUsedAt, final String name, final String scope,
      @Nullable final String secret) {
    this.createdAt = createdAt;
    this.deleteAt = deleteAt;
    this.id = id;
    this.lastUsedAt = lastUsedAt;
    this.name = name;
    this.scope = scope;
    this.secret = secret;
  }

  @Nullable
  public ZonedDateTime getCreatedAt() {
    return createdAt;
  }

  @Nullable
  public ZonedDateTime getDeleteAt() {
    return deleteAt;
  }

  public String getId() {
    return id;
  }

  @Nullable
  public LocalDate getLastUsedAt() {
    return lastUsedAt;
  }

  public String getName() {
    return name;
  }

  public String getScope() {
    return scope;
  }

  @Nullable
  public String getSecret() {
    return secret;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy