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

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class DraftFileCheckResult {
    public final int errorCode;
    public final String existPath;
    public final String originPath;

    static {
        Covode.recordClassIndex(66515);
    }

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

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

    public static /* synthetic */ DraftFileCheckResult copy$default(DraftFileCheckResult draftFileCheckResult, int i, String str, String str2, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = draftFileCheckResult.errorCode;
        }
        if ((i2 & 2) != 0) {
            str = draftFileCheckResult.existPath;
        }
        if ((i2 & 4) != 0) {
            str2 = draftFileCheckResult.originPath;
        }
        return draftFileCheckResult.copy(i, str, str2);
    }

    private Object[] getObjects() {
        return new Object[]{Integer.valueOf(this.errorCode), this.existPath, this.originPath};
    }

    public final DraftFileCheckResult copy(int i, String str, String str2) {
        return new DraftFileCheckResult(i, str, str2);
    }

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

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

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

    public final int getErrorCode() {
        return this.errorCode;
    }

    public final String getExistPath() {
        return this.existPath;
    }

    public final String getOriginPath() {
        return this.originPath;
    }

    public final boolean isSuc() {
        if (this.errorCode == 0) {
            return true;
        }
        return false;
    }

    public DraftFileCheckResult(int i, String str, String str2) {
        this.errorCode = i;
        this.existPath = str;
        this.originPath = str2;
    }

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