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

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.feed.model.Aweme;
import java.io.Serializable;
import java.util.Objects;

public final class UserStoryCurrentInfo implements Serializable {
    public final Integer currentIndex;
    public final Aweme currentStory;

    static {
        Covode.recordClassIndex(79087);
    }

    public UserStoryCurrentInfo() {
        this((Integer) null, (Aweme) null, 3, (2HN) null);
    }

    public static /* synthetic */ UserStoryCurrentInfo copy$default(UserStoryCurrentInfo userStoryCurrentInfo, Integer num, Aweme aweme, int i, Object obj) {
        if ((i & 1) != 0) {
            num = userStoryCurrentInfo.currentIndex;
        }
        if ((i & 2) != 0) {
            aweme = userStoryCurrentInfo.currentStory;
        }
        return userStoryCurrentInfo.copy(num, aweme);
    }

    private Object[] getObjects() {
        return new Object[]{this.currentIndex, this.currentStory};
    }

    public final UserStoryCurrentInfo copy(Integer num, Aweme aweme) {
        return new UserStoryCurrentInfo(num, aweme);
    }

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

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

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

    public final Integer getCurrentIndex() {
        return this.currentIndex;
    }

    public final Aweme getCurrentStory() {
        return this.currentStory;
    }

    public UserStoryCurrentInfo(Integer num, Aweme aweme) {
        this.currentIndex = num;
        this.currentStory = aweme;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ UserStoryCurrentInfo(Integer num, Aweme aweme, int i, 2HN r6) {
        this((i & 1) != 0 ? null : num, (i & 2) != 0 ? null : aweme);
    }
}
