package com.ss.android.ugc.aweme.comment.gift.model;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import com.ss.android.ugc.aweme.base.api.BaseResponse;
import java.util.Objects;

public final class GiftResponse extends BaseResponse {
    @c(LIZ = "data")
    public final GiftResult giftPageList;

    static {
        Covode.recordClassIndex(57061);
    }

    public static /* synthetic */ GiftResponse copy$default(GiftResponse giftResponse, GiftResult giftResult, int i, Object obj) {
        if ((i & 1) != 0) {
            giftResult = giftResponse.giftPageList;
        }
        return giftResponse.copy(giftResult);
    }

    private Object[] getObjects() {
        return new Object[]{this.giftPageList};
    }

    public final GiftResponse copy(GiftResult giftResult) {
        return new GiftResponse(giftResult);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof GiftResponse)) {
            return false;
        }
        return M12.LIZ(((GiftResponse) obj).getObjects(), getObjects());
    }

    public final int hashCode() {
        return Objects.hash(getObjects());
    }

    public final String toString() {
        return M12.LIZ("GiftResponse:%s", getObjects());
    }

    public final GiftResult getGiftPageList() {
        return this.giftPageList;
    }

    public GiftResponse(GiftResult giftResult) {
        this.giftPageList = giftResult;
    }
}
