io.sphere.sdk.extensions.ExtensionDraft Maven / Gradle / Ivy
package io.sphere.sdk.extensions;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.annotations.FactoryMethod;
import io.sphere.sdk.annotations.ResourceDraftValue;
import io.sphere.sdk.models.WithKey;
import javax.annotation.Nullable;
import java.util.List;
@JsonDeserialize(as = ExtensionDraftDsl.class)
@ResourceDraftValue(
factoryMethods = {
@FactoryMethod(parameterNames = {"key", "destination", "triggers", "timeoutInMs"}),
@FactoryMethod(parameterNames = {"key", "destination", "triggers"}),
@FactoryMethod(parameterNames = {"destination", "triggers"})})
public interface ExtensionDraft extends WithKey{
@Override
@Nullable
String getKey();
Destination getDestination();
List getTriggers();
@Nullable
Long getTimeoutInMs();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy