io.sphere.sdk.zones.queries.ZoneQueryModelImpl Maven / Gradle / Ivy
The newest version!
/*
This class has been generated by class io.sphere.sdk.annotations.processors.HasQueryModelImplementationAnnotationProcessor
induced by the annotation io.sphere.sdk.annotations.HasQueryModelImplementation.
in the source class io.sphere.sdk.zones.queries.ZoneQueryModel.
*/
package io.sphere.sdk.zones.queries;
import javax.annotation.Nullable;
import io.sphere.sdk.models.*;
import java.util.*;
import io.sphere.sdk.utils.*;
import com.fasterxml.jackson.annotation.*;
import io.sphere.sdk.queries.*;
import io.sphere.sdk.zones.*;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
final class ZoneQueryModelImpl extends CustomResourceQueryModelImpl implements ZoneQueryModel {
ZoneQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public final io.sphere.sdk.queries.StringQuerySortingModel name() {
return stringQuerySortingModel("name");
}
public final io.sphere.sdk.queries.StringQuerySortingModel key() {
return stringQuerySortingModel("key");
}
public final io.sphere.sdk.zones.queries.LocationsCollectionQueryModel locations() {
final String fieldName = "locations";
return new LocationsCollectionQueryModelImpl<>(this, fieldName);
}
}