package com.ss.android.ugc.aweme.ftc.components.volume;

import X.2HN;
import X.C04875Ft;
import X.C04885Fu;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.bytedance.ui_component.UiState;
import kotlin.h.b.n;

public final class FTCEditVolumeState extends UiState {
    public final String musicTitle;
    public final Integer musicVolume;
    public final C04875Ft ui;
    public final String voiceTitle;

    static {
        Covode.recordClassIndex(82337);
    }

    public FTCEditVolumeState() {
        this((String) null, (String) null, (Integer) null, (C04875Ft) null, 15, (2HN) null);
    }

    public static /* synthetic */ FTCEditVolumeState copy$default(FTCEditVolumeState fTCEditVolumeState, String str, String str2, Integer num, C04875Ft r5, int i, Object obj) {
        if ((i & 1) != 0) {
            str = fTCEditVolumeState.musicTitle;
        }
        if ((i & 2) != 0) {
            str2 = fTCEditVolumeState.voiceTitle;
        }
        if ((i & 4) != 0) {
            num = fTCEditVolumeState.musicVolume;
        }
        if ((i & 8) != 0) {
            r5 = fTCEditVolumeState.getUi();
        }
        return fTCEditVolumeState.copy(str, str2, num, r5);
    }

    public final C04875Ft component4() {
        return getUi();
    }

    public final FTCEditVolumeState copy(String str, String str2, Integer num, C04875Ft r5) {
        M12.LIZ(r5);
        return new FTCEditVolumeState(str, str2, num, r5);
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof FTCEditVolumeState)) {
            return false;
        }
        FTCEditVolumeState fTCEditVolumeState = (FTCEditVolumeState) obj;
        return n.LIZ(this.musicTitle, fTCEditVolumeState.musicTitle) && n.LIZ(this.voiceTitle, fTCEditVolumeState.voiceTitle) && n.LIZ(this.musicVolume, fTCEditVolumeState.musicVolume) && n.LIZ(getUi(), fTCEditVolumeState.getUi());
    }

    public final int hashCode() {
        String str = this.musicTitle;
        int i = 0;
        int hashCode = (str != null ? str.hashCode() : 0) * 31;
        String str2 = this.voiceTitle;
        int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
        Integer num = this.musicVolume;
        int hashCode3 = (hashCode2 + (num != null ? num.hashCode() : 0)) * 31;
        C04875Ft ui2 = getUi();
        if (ui2 != null) {
            i = ui2.hashCode();
        }
        return hashCode3 + i;
    }

    public final String toString() {
        return "FTCEditVolumeState(musicTitle=" + this.musicTitle + ", voiceTitle=" + this.voiceTitle + ", musicVolume=" + this.musicVolume + ", ui=" + getUi() + ")";
    }

    public final String getMusicTitle() {
        return this.musicTitle;
    }

    public final Integer getMusicVolume() {
        return this.musicVolume;
    }

    public final C04875Ft getUi() {
        return this.ui;
    }

    public final String getVoiceTitle() {
        return this.voiceTitle;
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public FTCEditVolumeState(String str, String str2, Integer num, C04875Ft r4) {
        super(r4);
        M12.LIZ(r4);
        this.musicTitle = str;
        this.voiceTitle = str2;
        this.musicVolume = num;
        this.ui = r4;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ FTCEditVolumeState(String str, String str2, Integer num, C04875Ft r6, int i, 2HN r8) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? null : num, (i & 8) != 0 ? new C04885Fu() : r6);
    }
}
