package com.bytedance.android.live_settings;

import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.Objects;

public final class LiteLiveSettingModel {
    @c(LIZ = "defaultValue")
    public final Object defaultValue;
    @c(LIZ = "settingsKey")
    public final String settingsKey;

    static {
        Covode.recordClassIndex(11179);
    }

    public static /* synthetic */ LiteLiveSettingModel copy$default(LiteLiveSettingModel liteLiveSettingModel, String str, Object obj, int i, Object obj2) {
        if ((i & 1) != 0) {
            str = liteLiveSettingModel.settingsKey;
        }
        if ((i & 2) != 0) {
            obj = liteLiveSettingModel.defaultValue;
        }
        return liteLiveSettingModel.copy(str, obj);
    }

    private Object[] getObjects() {
        return new Object[]{this.settingsKey, this.defaultValue};
    }

    public final LiteLiveSettingModel copy(String str, Object obj) {
        M12.LIZ(str);
        return new LiteLiveSettingModel(str, obj);
    }

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

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

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

    public final Object getDefaultValue() {
        return this.defaultValue;
    }

    public final String getSettingsKey() {
        return this.settingsKey;
    }

    public LiteLiveSettingModel(String str, Object obj) {
        M12.LIZ(str);
        this.settingsKey = str;
        this.defaultValue = obj;
    }
}
