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

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

There is a newer version: 2.16.0
Show 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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy