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

import X.2HN;
import X.4OS;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.music.model.PinnedMusicList;
import java.util.Objects;

public final class SearchMusicArg implements 4OS {
    public final boolean isMe;
    public final PinnedMusicList pinnedMusicList;
    public final String previousPage;
    public final String secUserID;
    public final String userId;

    static {
        Covode.recordClassIndex(93964);
    }

    public SearchMusicArg() {
        this(false, (String) null, (String) null, (String) null, (PinnedMusicList) null, 31, (2HN) null);
    }

    public SearchMusicArg(boolean z) {
        this(z, (String) null, (String) null, (String) null, (PinnedMusicList) null, 30, (2HN) null);
    }

    public SearchMusicArg(boolean z, String str) {
        this(z, str, (String) null, (String) null, (PinnedMusicList) null, 28, (2HN) null);
    }

    public SearchMusicArg(boolean z, String str, String str2) {
        this(z, str, str2, (String) null, (PinnedMusicList) null, 24, (2HN) null);
    }

    public SearchMusicArg(boolean z, String str, String str2, String str3) {
        this(z, str, str2, str3, (PinnedMusicList) null, 16, (2HN) null);
    }

    public static /* synthetic */ SearchMusicArg copy$default(SearchMusicArg searchMusicArg, boolean z, String str, String str2, String str3, PinnedMusicList pinnedMusicList2, int i, Object obj) {
        if ((i & 1) != 0) {
            z = searchMusicArg.isMe;
        }
        if ((i & 2) != 0) {
            str = searchMusicArg.userId;
        }
        if ((i & 4) != 0) {
            str2 = searchMusicArg.secUserID;
        }
        if ((i & 8) != 0) {
            str3 = searchMusicArg.previousPage;
        }
        if ((i & 16) != 0) {
            pinnedMusicList2 = searchMusicArg.pinnedMusicList;
        }
        return searchMusicArg.copy(z, str, str2, str3, pinnedMusicList2);
    }

    private Object[] getObjects() {
        return new Object[]{Boolean.valueOf(this.isMe), this.userId, this.secUserID, this.previousPage, this.pinnedMusicList};
    }

    public final SearchMusicArg copy(boolean z, String str, String str2, String str3, PinnedMusicList pinnedMusicList2) {
        return new SearchMusicArg(z, str, str2, str3, pinnedMusicList2);
    }

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

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

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

    public final PinnedMusicList getPinnedMusicList() {
        return this.pinnedMusicList;
    }

    public final String getPreviousPage() {
        return this.previousPage;
    }

    public final String getSecUserID() {
        return this.secUserID;
    }

    public final String getUserId() {
        return this.userId;
    }

    public final boolean isMe() {
        return this.isMe;
    }

    public SearchMusicArg(boolean z, String str, String str2, String str3, PinnedMusicList pinnedMusicList2) {
        this.isMe = z;
        this.userId = str;
        this.secUserID = str2;
        this.previousPage = str3;
        this.pinnedMusicList = pinnedMusicList2;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ SearchMusicArg(boolean z, String str, String str2, String str3, PinnedMusicList pinnedMusicList2, int i, 2HN r13) {
        this((i & 1) != 0 ? false : z, (i & 2) != 0 ? null : str, (i & 4) != 0 ? null : str2, (i & 8) != 0 ? null : str3, (i & 16) == 0 ? pinnedMusicList2 : null);
    }
}
