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

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

public final class PersonalizationModel {
    @c(LIZ = "biz_name")
    public final String bizName;
    @c(LIZ = "need_personalization")
    public final boolean needPersonalization;

    static {
        Covode.recordClassIndex(104913);
    }

    public PersonalizationModel() {
        this((String) null, false, 3, (2HN) null);
    }

    public static /* synthetic */ PersonalizationModel copy$default(PersonalizationModel personalizationModel, String str, boolean z, int i, Object obj) {
        if ((i & 1) != 0) {
            str = personalizationModel.bizName;
        }
        if ((i & 2) != 0) {
            z = personalizationModel.needPersonalization;
        }
        return personalizationModel.copy(str, z);
    }

    private Object[] getObjects() {
        return new Object[]{this.bizName, Boolean.valueOf(this.needPersonalization)};
    }

    public final PersonalizationModel copy(String str, boolean z) {
        M12.LIZ(str);
        return new PersonalizationModel(str, z);
    }

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

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

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

    public final String getBizName() {
        return this.bizName;
    }

    public final boolean getNeedPersonalization() {
        return this.needPersonalization;
    }

    public PersonalizationModel(String str, boolean z) {
        M12.LIZ(str);
        this.bizName = str;
        this.needPersonalization = z;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ PersonalizationModel(String str, boolean z, int i, 2HN r5) {
        this((i & 1) != 0 ? "" : str, (i & 2) != 0 ? false : z);
    }
}
