package com.ss.android.ugc.aweme.edit;

import X.2HN;
import X.C42536l9;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;
import java.util.Objects;

public final class TTStoryUploadModel implements Parcelable, Serializable {
    public static final Parcelable.Creator<TTStoryUploadModel> CREATOR = new C42536l9();
    @c(LIZ = "contentType", LIZIZ = {"c"})
    public final int contentType;
    @c(LIZ = "index", LIZIZ = {"a"})
    public final int index;
    @c(LIZ = "totalCount", LIZIZ = {"b"})
    public final int totalCount;

    static {
        Covode.recordClassIndex(73401);
    }

    public TTStoryUploadModel() {
        this(0, 0, 0, 7, (2HN) null);
    }

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

    private Object[] LIZ() {
        return new Object[]{Integer.valueOf(this.index), Integer.valueOf(this.totalCount), Integer.valueOf(this.contentType)};
    }

    public static /* synthetic */ TTStoryUploadModel copy$default(TTStoryUploadModel tTStoryUploadModel, int i, int i2, int i3, int i4, Object obj) {
        if ((i4 & 1) != 0) {
            i = tTStoryUploadModel.index;
        }
        if ((i4 & 2) != 0) {
            i2 = tTStoryUploadModel.totalCount;
        }
        if ((i4 & 4) != 0) {
            i3 = tTStoryUploadModel.contentType;
        }
        return tTStoryUploadModel.copy(i, i2, i3);
    }

    public final TTStoryUploadModel copy(int i, int i2, int i3) {
        return new TTStoryUploadModel(i, i2, i3);
    }

    public final int describeContents() {
        return 0;
    }

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

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

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

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeInt(this.index);
        parcel.writeInt(this.totalCount);
        parcel.writeInt(this.contentType);
    }

    public final int getContentType() {
        return this.contentType;
    }

    public final int getIndex() {
        return this.index;
    }

    public final int getTotalCount() {
        return this.totalCount;
    }

    public TTStoryUploadModel(int i, int i2, int i3) {
        this.index = i;
        this.totalCount = i2;
        this.contentType = i3;
    }

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