package com.ss.android.ugc.aweme.im.sdk.chat.data.model;

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

public final class IMFromMessageTips {
    @c(LIZ = "template")
    public List<IMActionTemplate> template;
    @c(LIZ = "tips")
    public String tips;

    static {
        Covode.recordClassIndex(84101);
    }

    public IMFromMessageTips() {
        this((String) null, (List) null, 3, (2HN) null);
    }

    public static /* synthetic */ IMFromMessageTips copy$default(IMFromMessageTips iMFromMessageTips, String str, List<IMActionTemplate> list, int i, Object obj) {
        if ((i & 1) != 0) {
            str = iMFromMessageTips.tips;
        }
        if ((i & 2) != 0) {
            list = iMFromMessageTips.template;
        }
        return iMFromMessageTips.copy(str, list);
    }

    private Object[] getObjects() {
        return new Object[]{this.tips, this.template};
    }

    public final IMFromMessageTips copy(String str, List<IMActionTemplate> list) {
        return new IMFromMessageTips(str, list);
    }

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

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

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

    public final List<IMActionTemplate> getTemplate() {
        return this.template;
    }

    public final String getTips() {
        return this.tips;
    }

    public final void setTemplate(List<IMActionTemplate> list) {
        this.template = list;
    }

    public final void setTips(String str) {
        this.tips = str;
    }

    public IMFromMessageTips(String str, List<IMActionTemplate> list) {
        this.tips = str;
        this.template = list;
    }

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