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

io.sphere.sdk.states.queries.StateQueryModelImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.states.queries;


import io.sphere.sdk.queries.ResourceQueryModelImpl;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.SphereEnumerationQueryModel;
import io.sphere.sdk.queries.StringQuerySortingModel;
import io.sphere.sdk.states.State;
import io.sphere.sdk.states.StateType;

final class StateQueryModelImpl extends ResourceQueryModelImpl implements StateQueryModel {

    StateQueryModelImpl(final QueryModel parent, final String pathSegment) {
        super(parent, pathSegment);
    }

    @Override
    public StringQuerySortingModel key() {
        return stringModel("key");
    }

    @Override
    public SphereEnumerationQueryModel type() {
        return enumerationQueryModel("type");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy