Class UnbindRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.identity.model.validation.UnbindRequest
-
public class UnbindRequest extends Object
Unbind request.
-
-
Constructor Summary
Constructors Constructor Description UnbindRequest()
-
Method Summary
Modifier and Type Method Description StringgetClientSecret()StringgetMxid()StringgetSid()ThreePidgetThreepid()voidsetClientSecret(String clientSecret)voidsetMxid(String mxid)voidsetSid(String sid)voidsetThreepid(ThreePid threepid)
-
-
-
Field Detail
-
sid
private String sid
The Session ID generated by the requestToken call.
-
clientSecret
private String clientSecret
The client secret passed to the requestToken call.
-
mxid
private String mxid
Required. The Matrix user ID to remove from the 3pids.
-
threepid
private ThreePid threepid
Required. The 3PID to remove. Must match the 3PID used to generate the session if using sid and client_secret to authenticate this request.
-
-
Method Detail
-
getSid
public String getSid()
-
setSid
public void setSid(String sid)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
public void setClientSecret(String clientSecret)
-
getMxid
public String getMxid()
-
setMxid
public void setMxid(String mxid)
-
getThreepid
public ThreePid getThreepid()
-
setThreepid
public void setThreepid(ThreePid threepid)
-
-