io.sphere.sdk.producttypes.queries.AttributeTypeQueryModel Maven / Gradle / Ivy
package io.sphere.sdk.producttypes.queries;
import io.sphere.sdk.queries.QueryModel;
import io.sphere.sdk.queries.QueryModelImpl;
import io.sphere.sdk.queries.StringQueryModel;
public final class AttributeTypeQueryModel extends QueryModelImpl {
AttributeTypeQueryModel(QueryModel parent, String pathSegment) {
super(parent, pathSegment);
}
public StringQueryModel name() {
return stringModel("name");
}
public AttributeTypeQueryModel type() {
return new AttributeTypeQueryModel<>(this, "elementType");
}
}