io.sphere.sdk.states.queries.StateByKeyGet Maven / Gradle / Ivy
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasByKeyGetEndpointAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasByKeyGetEndpoint.
in the source class io.sphere.sdk.states.State.
To render this class the handlebars template 'queries/byFieldGetInterface.hbs' has been used.
*/
package io.sphere.sdk.states.queries;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.states.State;
import io.sphere.sdk.states.expansion.StateExpansionModel;
import io.sphere.sdk.models.Identifiable;
import java.util.List;
/**
* Fetches a state by a known key.
{@include.example io.sphere.sdk.states.queries.StateByKeyGetIntegrationTest#execution() }
*/
public interface StateByKeyGet extends MetaModelGetDsl> {
static StateByKeyGet of(final String key) {
return new StateByKeyGetImpl(key);
}
@Override
List> expansionPaths();
@Override
StateByKeyGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
StateByKeyGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
StateByKeyGet withExpansionPaths(final List> expansionPaths);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy