Interface MsTeamsChannelData.Connection.Visitor
-
- All Implemented Interfaces:
public interface MsTeamsChannelData.Connection.Visitor<T extends Object>An interface that defines how to map each variant of Connection to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitMsTeamsToken(MsTeamsChannelData.Connection.MsTeamsTokenConnection msTeamsToken)Microsoft Teams token connection. abstract TvisitMsTeamsIncomingWebhook(MsTeamsChannelData.Connection.MsTeamsIncomingWebhookConnection msTeamsIncomingWebhook)Microsoft Teams incoming webhook connection. Tunknown(JsonValue json)Maps an unknown variant of Connection to a value of type T. -
-
Method Detail
-
visitMsTeamsToken
abstract T visitMsTeamsToken(MsTeamsChannelData.Connection.MsTeamsTokenConnection msTeamsToken)
Microsoft Teams token connection.
-
visitMsTeamsIncomingWebhook
abstract T visitMsTeamsIncomingWebhook(MsTeamsChannelData.Connection.MsTeamsIncomingWebhookConnection msTeamsIncomingWebhook)
Microsoft Teams incoming webhook connection.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Connection to a value of type T.
An instance of Connection can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-