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 String
getCountry()
String
getPhone()
String
getType()
The identifier type.void
setCountry(String country)
void
setPhone(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:Identifier
The identifier type.- Specified by:
getType
in classIdentifier
- Returns:
- The identifier type.
-
-