io.sphere.sdk.apiclient.ApiClientDraft Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.apiclient;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.annotations.FactoryMethod;
import io.sphere.sdk.annotations.ResourceDraftValue;
import javax.annotation.Nullable;
@JsonDeserialize(as = ApiClientDraftDsl.class)
@ResourceDraftValue(factoryMethods = @FactoryMethod(parameterNames = {"name", "scope"}),abstractBuilderClass = true)
public interface ApiClientDraft {
String getName();
String getScope();
@Nullable
Integer getDeleteDaysAfterCreation();
@Nullable
Long getAccessTokenValiditySeconds();
@Nullable
Long getRefreshTokenValiditySeconds();
}