Class LookupResponse
- java.lang.Object
-
- io.github.ma1uta.matrix.identity.model.lookup.LookupResponse
-
public class LookupResponse extends Object
Look up response the Matrix user ID for a 3pid.
-
-
Constructor Summary
Constructors Constructor Description LookupResponse()
-
Method Summary
Modifier and Type Method Description String
getAddress()
String
getMedium()
String
getMxid()
Long
getNotAfter()
Long
getNotBefore()
Map<String,Map<String,String>>
getSignatures()
Long
getTs()
void
setAddress(String address)
void
setMedium(String medium)
void
setMxid(String mxid)
void
setNotAfter(Long notAfter)
void
setNotBefore(Long notBefore)
void
setSignatures(Map<String,Map<String,String>> signatures)
void
setTs(Long ts)
-
-
-
Field Detail
-
address
private String address
Required. The 3pid address of the user being looked up, matching the address requested.
-
medium
private String medium
Required. A medium from the 3PID Types Appendix, matching the medium requested.
-
mxid
private String mxid
Required. The Matrix user ID associated with the 3pid.
-
notBefore
private Long notBefore
Required. A unix timestamp before which the association is not known to be valid.
-
notAfter
private Long notAfter
Required. A unix timestamp after which the association is not known to be valid.
-
ts
private Long ts
Required. The unix timestamp at which the association was verified.
-
-
Method Detail
-
getAddress
public String getAddress()
-
setAddress
public void setAddress(String address)
-
getMedium
public String getMedium()
-
setMedium
public void setMedium(String medium)
-
getMxid
public String getMxid()
-
setMxid
public void setMxid(String mxid)
-
getNotBefore
public Long getNotBefore()
-
setNotBefore
public void setNotBefore(Long notBefore)
-
getNotAfter
public Long getNotAfter()
-
setNotAfter
public void setNotAfter(Long notAfter)
-
getTs
public Long getTs()
-
setTs
public void setTs(Long ts)
-
-