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

io.sphere.sdk.customobjects.queries.CustomObjectQueryModelImpl Maven / Gradle / Ivy

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

import io.sphere.sdk.customobjects.CustomObject;
import io.sphere.sdk.queries.RootJsonQueryModel;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.ResourceQueryModelImpl;
import io.sphere.sdk.queries.StringQuerySortingModel;


final class CustomObjectQueryModelImpl> extends ResourceQueryModelImpl implements CustomObjectQueryModel {

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

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

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

    @Override
    public RootJsonQueryModel value() {
        return new CustomObjectValueRootJsonObjectQueryModelImpl<>(null, "value");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy