package com.amplifyframework.core.model;

import com.amplifyframework.api.aws.LazyTypeDeserializersKt;
import com.amplifyframework.core.model.Model;
import java.util.List;
import kotlin.Metadata;

@Metadata(d1 = {"\u0000(\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\bf\u0018\u0000*\n\b\u0000\u0010\u0001 \u0001*\u00020\u00022\u00020\u0003R\u0014\u0010\u0004\u001a\u00020\u00058VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\u0006\u0010\u0007R\u0018\u0010\b\u001a\b\u0012\u0004\u0012\u00028\u00000\tX¦\u0004¢\u0006\u0006\u001a\u0004\b\n\u0010\u000bR\u0014\u0010\f\u001a\u0004\u0018\u00010\rX¦\u0004¢\u0006\u0006\u001a\u0004\b\u000e\u0010\u000f¨\u0006\u0010"}, d2 = {"Lcom/amplifyframework/core/model/ModelPage;", "M", "Lcom/amplifyframework/core/model/Model;", "", "hasNextPage", "", "getHasNextPage", "()Z", "items", "", "getItems", "()Ljava/util/List;", LazyTypeDeserializersKt.NEXT_TOKEN_KEY, "Lcom/amplifyframework/core/model/PaginationToken;", "getNextToken", "()Lcom/amplifyframework/core/model/PaginationToken;", "com.amplifyframework.core_release"}, k = 1, mv = {1, 9, 0}, xi = 48)
/* loaded from: classes4.dex */
public interface ModelPage<M extends Model> {

    @Metadata(k = 3, mv = {1, 9, 0}, xi = 48)
    /* loaded from: classes4.dex */
    public static final class DefaultImpls {
        public static <M extends Model> boolean getHasNextPage(ModelPage<? extends M> modelPage) {
            return modelPage.getNextToken() != null;
        }
    }

    boolean getHasNextPage();

    List<M> getItems();

    PaginationToken getNextToken();
}
