Package com.azure.communication.common
Class UnknownIdentifier
java.lang.Object
com.azure.communication.common.CommunicationIdentifier
com.azure.communication.common.UnknownIdentifier
Catch-all for all other Communication identifiers for Communication Services
-
Field Summary
Fields inherited from class com.azure.communication.common.CommunicationIdentifier
rawId
-
Constructor Summary
-
Method Summary
Methods inherited from class com.azure.communication.common.CommunicationIdentifier
fromRawId, getRawId
-
Constructor Details
-
UnknownIdentifier
Creates an UnknownIdentifier object- Parameters:
id
- the string identifier representing the identity- Throws:
IllegalArgumentException
- thrown if id parameter fail the validation.
-
-
Method Details
-
getId
Get id of this identifier- Returns:
- id of this identifier
-
equals
- Overrides:
equals
in classCommunicationIdentifier
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCommunicationIdentifier
-