io.sphere.sdk.apiclient.ApiClientImplBase Maven / Gradle / Ivy
package io.sphere.sdk.apiclient;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import java.lang.Long;
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 Long accessTokenValiditySeconds;
@Nullable
private ZonedDateTime createdAt;
@Nullable
private ZonedDateTime deleteAt;
private String id;
@Nullable
private LocalDate lastUsedAt;
private String name;
@Nullable
private Long refreshTokenValiditySeconds;
private String scope;
@Nullable
private String secret;
@JsonCreator
ApiClientImplBase(@Nullable final Long accessTokenValiditySeconds,
@Nullable final ZonedDateTime createdAt, @Nullable final ZonedDateTime deleteAt,
final String id, @Nullable final LocalDate lastUsedAt, final String name,
@Nullable final Long refreshTokenValiditySeconds, final String scope,
@Nullable final String secret) {
this.accessTokenValiditySeconds = accessTokenValiditySeconds;
this.createdAt = createdAt;
this.deleteAt = deleteAt;
this.id = id;
this.lastUsedAt = lastUsedAt;
this.name = name;
this.refreshTokenValiditySeconds = refreshTokenValiditySeconds;
this.scope = scope;
this.secret = secret;
}
@Nullable
public Long getAccessTokenValiditySeconds() {
return accessTokenValiditySeconds;
}
@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;
}
@Nullable
public Long getRefreshTokenValiditySeconds() {
return refreshTokenValiditySeconds;
}
public String getScope() {
return scope;
}
@Nullable
public String getSecret() {
return secret;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy