io.sphere.sdk.discountcodes.queries.DiscountCodeQueryModelImpl 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.discountcodes.queries.DiscountCodeQueryModel.
*/
package io.sphere.sdk.discountcodes.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.discountcodes.*;
import io.sphere.sdk.types.queries.CustomResourceQueryModelImpl;
final class DiscountCodeQueryModelImpl extends CustomResourceQueryModelImpl implements DiscountCodeQueryModel {
DiscountCodeQueryModelImpl(final QueryModel parent, final String pathSegment) {
super(parent, pathSegment);
}
public final io.sphere.sdk.queries.StringQuerySortingModel code() {
return stringQuerySortingModel("code");
}
public final io.sphere.sdk.queries.StringCollectionQueryModel groups() {
return stringCollectionQueryModel("groups");
}
}