Class PhoneIdentifier
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.auth.Identifier
-
- io.github.ma1uta.matrix.client.model.auth.PhoneIdentifier
-
public class PhoneIdentifier extends Identifier
The user is identified by a phone number.
-
-
Constructor Summary
Constructors Constructor Description PhoneIdentifier()
-
Method Summary
Modifier and Type Method Description StringgetCountry()StringgetPhone()StringgetType()The identifier type.voidsetCountry(String country)voidsetPhone(String phone)
-
-
-
Method Detail
-
getCountry
public String getCountry()
-
setCountry
public void setCountry(String country)
-
getPhone
public String getPhone()
-
setPhone
public void setPhone(String phone)
-
getType
public String getType()
Description copied from class:IdentifierThe identifier type.- Specified by:
getTypein classIdentifier- Returns:
- The identifier type.
-
-