Class ThreePidRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.account.ThreePidRequest
-
public class ThreePidRequest extends Object
Request for adds contact information to the user's account.
-
-
Field Summary
Fields Modifier and Type Field Description private Boolean
bind
Whether the homeserver should also bind this third party identifier to the account's Matrix ID with the passed identity server.private ThreePidCred
threePidCreds
Required.
-
Constructor Summary
Constructors Constructor Description ThreePidRequest()
-
Method Summary
Modifier and Type Method Description Boolean
getBind()
ThreePidCred
getThreePidCreds()
void
setBind(Boolean bind)
void
setThreePidCreds(ThreePidCred threePidCreds)
-
-
-
Field Detail
-
threePidCreds
private ThreePidCred threePidCreds
Required. The third party credentials to associate with the account.
-
bind
private Boolean bind
Whether the homeserver should also bind this third party identifier to the account's Matrix ID with the passed identity server. Default: false.
-
-
Method Detail
-
getThreePidCreds
public ThreePidCred getThreePidCreds()
-
setThreePidCreds
public void setThreePidCreds(ThreePidCred threePidCreds)
-
getBind
public Boolean getBind()
-
setBind
public void setBind(Boolean bind)
-
-