package com.ss.android.ugc.aweme.shortvideo.duet;

import X.2HN;
import X.5Am;
import X.5LC;
import X.5gO;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.effectmanager.effect.model.Effect;
import java.util.Objects;

public final class ChangeDuetLayoutState implements 5Am {
    public final 5gO<Effect> effect;
    public final 5LC exitDuetMode;
    public final 5gO<Integer> layoutDirection;

    static {
        Covode.recordClassIndex(109174);
    }

    public ChangeDuetLayoutState() {
        this((5gO) null, (5gO) null, (5LC) null, 7, (2HN) null);
    }

    public static /* synthetic */ ChangeDuetLayoutState copy$default(ChangeDuetLayoutState changeDuetLayoutState, 5gO<Effect> r2, 5gO<Integer> r3, 5LC r4, int i, Object obj) {
        if ((i & 1) != 0) {
            r2 = changeDuetLayoutState.effect;
        }
        if ((i & 2) != 0) {
            r3 = changeDuetLayoutState.layoutDirection;
        }
        if ((i & 4) != 0) {
            r4 = changeDuetLayoutState.exitDuetMode;
        }
        return changeDuetLayoutState.copy(r2, r3, r4);
    }

    private Object[] getObjects() {
        return new Object[]{this.effect, this.layoutDirection, this.exitDuetMode};
    }

    public final ChangeDuetLayoutState copy(5gO<? extends Effect> r2, 5gO<Integer> r3, 5LC r4) {
        return new ChangeDuetLayoutState(r2, r3, r4);
    }

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

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

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

    public final 5gO<Effect> getEffect() {
        return this.effect;
    }

    public final 5LC getExitDuetMode() {
        return this.exitDuetMode;
    }

    public final 5gO<Integer> getLayoutDirection() {
        return this.layoutDirection;
    }

    public ChangeDuetLayoutState(5gO<? extends Effect> r1, 5gO<Integer> r2, 5LC r3) {
        this.effect = r1;
        this.layoutDirection = r2;
        this.exitDuetMode = r3;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ChangeDuetLayoutState(5gO r3, 5gO r4, 5LC r5, int i, 2HN r7) {
        this((i & 1) != 0 ? null : r3, (i & 2) != 0 ? null : r4, (i & 4) != 0 ? null : r5);
    }
}
