ady_setup
        self.allowed_to_setup = allowed_to_setup

    def to_json(self) -&gt; Dict[str, Any]:
        return {
            &#34;next&#34;: self.next_,
            &#34;alreadySetup&#34;: self.already_setup,
            &#34;allowedToSetup&#34;: self.allowed_to_setup,
        }</code></pre>
</details>
<h3>Methods</h3>
<dl>
<dt id="supertokens_python.recipe.multifactorauth.interfaces.NextFactors.to_json"><code class="name flex">
<span>def <span class="ident">to_json</span></span>(<span>self) ‑> D