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 CaptionLanguage implements Serializable {
    @c(LIZ = "language_id")
    public long languageId;
    @c(LIZ = "lang")
    public String languageName;

    static {
        Covode.recordClassIndex(78891);
    }

    public CaptionLanguage() {
        this((String) null, 0, 3, (AnonymousClass2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_feed_model_CaptionLanguage_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    public static /* synthetic */ CaptionLanguage copy$default(CaptionLanguage captionLanguage, String str, long j, int i, Object obj) {
        if ((i & 1) != 0) {
            str = captionLanguage.languageName;
        }
        if ((i & 2) != 0) {
            j = captionLanguage.languageId;
        }
        return captionLanguage.copy(str, j);
    }

    private Object[] getObjects() {
        return new Object[]{this.languageName, Long.valueOf(this.languageId)};
    }

    public final CaptionLanguage copy(String str, long j) {
        M12.LIZ(str);
        return new CaptionLanguage(str, j);
    }

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

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

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

    public final long getLanguageId() {
        return this.languageId;
    }

    public final String getLanguageName() {
        return this.languageName;
    }

    public CaptionLanguage(String str, long j) {
        M12.LIZ(str);
        this.languageName = str;
        this.languageId = j;
    }

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