io.sphere.sdk.zones.queries.ZoneByIdGet Maven / Gradle / Ivy
package io.sphere.sdk.zones.queries;
import io.sphere.sdk.models.Identifiable;
import io.sphere.sdk.expansion.ExpansionPath;
import io.sphere.sdk.queries.MetaModelGetDsl;
import io.sphere.sdk.zones.Zone;
import io.sphere.sdk.zones.expansion.ZoneExpansionModel;
import java.util.List;
import java.util.function.Function;
/**
Gets a zone by ID.
{@include.example io.sphere.sdk.zones.queries.ZoneByIdGetTest#fetchById()}
*/
public interface ZoneByIdGet extends MetaModelGetDsl> {
static ZoneByIdGet of(final Identifiable zone) {
return of(zone.getId());
}
static ZoneByIdGet of(final String id) {
return new ZoneByIdGetImpl(id);
}
@Override
ZoneByIdGet withExpansionPaths(final Function, ExpansionPath> m);
@Override
ZoneByIdGet plusExpansionPaths(final Function, ExpansionPath> m);
@Override
List> expansionPaths();
@Override
ZoneByIdGet plusExpansionPaths(final ExpansionPath expansionPath);
@Override
ZoneByIdGet withExpansionPaths(final ExpansionPath expansionPath);
@Override
ZoneByIdGet withExpansionPaths(final List> expansionPaths);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy