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

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

public final class MusicCategory {
    public final String categoryId;
    public final String categoryName;

    static {
        Covode.recordClassIndex(93862);
    }

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

    public MusicCategory(String str) {
        this(str, (String) null, 2, (2HN) null);
    }

    public static /* synthetic */ MusicCategory copy$default(MusicCategory musicCategory, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            str = musicCategory.categoryName;
        }
        if ((i & 2) != 0) {
            str2 = musicCategory.categoryId;
        }
        return musicCategory.copy(str, str2);
    }

    private Object[] getObjects() {
        return new Object[]{this.categoryName, this.categoryId};
    }

    public final MusicCategory copy(String str, String str2) {
        return new MusicCategory(str, str2);
    }

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

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

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

    public MusicCategory(String str, String str2) {
        this.categoryName = str;
        this.categoryId = str2;
    }

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