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

import X.AnonymousClass2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.io.Serializable;
import java.util.Objects;

public final class ChallengeBillboard implements Serializable {
    public int rank;
    public String schema;
    public int version;

    static {
        Covode.recordClassIndex(65124);
    }

    public ChallengeBillboard() {
        this(0, 0, (String) null, 7, (AnonymousClass2HN) null);
    }

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

    public static /* synthetic */ ChallengeBillboard copy$default(ChallengeBillboard challengeBillboard, int i, int i2, String str, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            i = challengeBillboard.rank;
        }
        if ((i3 & 2) != 0) {
            i2 = challengeBillboard.version;
        }
        if ((i3 & 4) != 0) {
            str = challengeBillboard.schema;
        }
        return challengeBillboard.copy(i, i2, str);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.rank), Integer.valueOf(this.version), this.schema};
    }

    public final ChallengeBillboard copy(int i, int i2, String str) {
        M12.LIZ(str);
        return new ChallengeBillboard(i, i2, str);
    }

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

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

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

    public final int getRank() {
        return this.rank;
    }

    public final String getSchema() {
        return this.schema;
    }

    public final int getVersion() {
        return this.version;
    }

    public final void setRank(int i) {
        this.rank = i;
    }

    public final void setVersion(int i) {
        this.version = i;
    }

    public final void setSchema(String str) {
        M12.LIZ(str);
        this.schema = str;
    }

    public ChallengeBillboard(int i, int i2, String str) {
        M12.LIZ(str);
        this.rank = i;
        this.version = i2;
        this.schema = str;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ChallengeBillboard(int i, int i2, String str, int i3, AnonymousClass2HN r7) {
        this((i3 & 1) != 0 ? 0 : i, (i3 & 2) != 0 ? 0 : i2, (i3 & 4) != 0 ? "" : str);
    }
}
