public final class MicrosoftTeamsAppIdentifier extends CommunicationIdentifier
Constructor and Description |
---|
MicrosoftTeamsAppIdentifier(java.lang.String appId)
Creates a MicrosoftTeamsAppIdentifier object
|
MicrosoftTeamsAppIdentifier(java.lang.String appId,
CommunicationCloudEnvironment cloudEnvironment)
Creates a MicrosoftTeamsAppIdentifier object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object that) |
java.lang.String |
getAppId()
Get the ID of Microsoft Teams Application.
|
CommunicationCloudEnvironment |
getCloudEnvironment()
Get cloud environment of the Microsoft Teams Application identifier.
|
int |
hashCode() |
protected MicrosoftTeamsAppIdentifier |
setRawId(java.lang.String rawId)
Set full ID of the identifier.
|
fromRawId, getRawId
public MicrosoftTeamsAppIdentifier(java.lang.String appId, CommunicationCloudEnvironment cloudEnvironment)
appId
- The unique Microsoft Teams Application ID.cloudEnvironment
- the cloud environment in which this identifier is created.java.lang.IllegalArgumentException
- thrown if appId parameter fail the validation.public MicrosoftTeamsAppIdentifier(java.lang.String appId)
appId
- The unique Microsoft Teams Application ID.java.lang.IllegalArgumentException
- thrown if appId parameter fail the validation.public java.lang.String getAppId()
public CommunicationCloudEnvironment getCloudEnvironment()
protected MicrosoftTeamsAppIdentifier setRawId(java.lang.String rawId)
setRawId
in class CommunicationIdentifier
rawId
- full ID of the identifier.public boolean equals(java.lang.Object that)
equals
in class CommunicationIdentifier
public int hashCode()
hashCode
in class CommunicationIdentifier