package com.ss.android.ugc.aweme.feed.model;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.Objects;

public final class UpvotePreloadStruct implements Serializable {
    @c(LIZ = "need_pull_upvote_info")
    public boolean needPullUpvoteInfo;

    static {
        Covode.recordClassIndex(79001);
    }

    public UpvotePreloadStruct() {
    }

    public static /* synthetic */ UpvotePreloadStruct copy$default(UpvotePreloadStruct upvotePreloadStruct, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            z = upvotePreloadStruct.needPullUpvoteInfo;
        }
        return upvotePreloadStruct.copy(z);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.needPullUpvoteInfo)};
    }

    public final UpvotePreloadStruct copy(boolean z) {
        return new UpvotePreloadStruct(z);
    }

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

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

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

    public final boolean getNeedPullUpvoteInfo() {
        return this.needPullUpvoteInfo;
    }

    public UpvotePreloadStruct(boolean z) {
        this.needPullUpvoteInfo = z;
    }
}
