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

import X.AnonymousClass2HN;
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 BoxData implements Serializable {
    @c(LIZ = "box")
    public final Coordinate box;
    @c(LIZ = "timestamp_MS")
    public final int timestampMS;

    static {
        Covode.recordClassIndex(78888);
    }

    public BoxData() {
        this((Coordinate) null, 0, 3, (AnonymousClass2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_BoxData_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static /* synthetic */ BoxData copy$default(BoxData boxData, Coordinate coordinate, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            coordinate = boxData.box;
        }
        if ((i2 & 2) != 0) {
            i = boxData.timestampMS;
        }
        return boxData.copy(coordinate, i);
    }

    private Object[] getObjects() {
        return new Object[]{this.box, Integer.valueOf(this.timestampMS)};
    }

    public final BoxData copy(Coordinate coordinate, int i) {
        return new BoxData(coordinate, i);
    }

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

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

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

    public final Coordinate getBox() {
        return this.box;
    }

    public final int getTimestampMS() {
        return this.timestampMS;
    }

    public BoxData(Coordinate coordinate, int i) {
        this.box = coordinate;
        this.timestampMS = i;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ BoxData(Coordinate coordinate, int i, int i2, AnonymousClass2HN r5) {
        this((i2 & 1) != 0 ? null : coordinate, (i2 & 2) != 0 ? 0 : i);
    }
}
