Class MsTeamsChannelProperties
java.lang.Object
com.azure.resourcemanager.botservice.models.MsTeamsChannelProperties
The parameters to provide for the Microsoft Teams channel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the acceptedTerms property: Whether this channel accepted terms.Get the callingWebhook property: Webhook for Microsoft Teams channel calls.Get the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.Get the enableCalling property: Enable calling for Microsoft Teams channel.Get the incomingCallRoute property: Webhook for Microsoft Teams channel calls.boolean
Get the isEnabled property: Whether this channel is enabled for the bot.void
validate()
Validates the instance.withAcceptedTerms
(Boolean acceptedTerms) Set the acceptedTerms property: Whether this channel accepted terms.withCallingWebhook
(String callingWebhook) Set the callingWebhook property: Webhook for Microsoft Teams channel calls.withDeploymentEnvironment
(String deploymentEnvironment) Set the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.withEnableCalling
(Boolean enableCalling) Set the enableCalling property: Enable calling for Microsoft Teams channel.withIncomingCallRoute
(String incomingCallRoute) Set the incomingCallRoute property: Webhook for Microsoft Teams channel calls.withIsEnabled
(boolean isEnabled) Set the isEnabled property: Whether this channel is enabled for the bot.
-
Constructor Details
-
MsTeamsChannelProperties
public MsTeamsChannelProperties()
-
-
Method Details
-
enableCalling
Get the enableCalling property: Enable calling for Microsoft Teams channel.- Returns:
- the enableCalling value.
-
withEnableCalling
Set the enableCalling property: Enable calling for Microsoft Teams channel.- Parameters:
enableCalling
- the enableCalling value to set.- Returns:
- the MsTeamsChannelProperties object itself.
-
callingWebhook
Get the callingWebhook property: Webhook for Microsoft Teams channel calls.- Returns:
- the callingWebhook value.
-
withCallingWebhook
Set the callingWebhook property: Webhook for Microsoft Teams channel calls.- Parameters:
callingWebhook
- the callingWebhook value to set.- Returns:
- the MsTeamsChannelProperties object itself.
-
isEnabled
public boolean isEnabled()Get the isEnabled property: Whether this channel is enabled for the bot.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Whether this channel is enabled for the bot.- Parameters:
isEnabled
- the isEnabled value to set.- Returns:
- the MsTeamsChannelProperties object itself.
-
incomingCallRoute
Get the incomingCallRoute property: Webhook for Microsoft Teams channel calls.- Returns:
- the incomingCallRoute value.
-
withIncomingCallRoute
Set the incomingCallRoute property: Webhook for Microsoft Teams channel calls.- Parameters:
incomingCallRoute
- the incomingCallRoute value to set.- Returns:
- the MsTeamsChannelProperties object itself.
-
deploymentEnvironment
Get the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.- Returns:
- the deploymentEnvironment value.
-
withDeploymentEnvironment
Set the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.- Parameters:
deploymentEnvironment
- the deploymentEnvironment value to set.- Returns:
- the MsTeamsChannelProperties object itself.
-
acceptedTerms
Get the acceptedTerms property: Whether this channel accepted terms.- Returns:
- the acceptedTerms value.
-
withAcceptedTerms
Set the acceptedTerms property: Whether this channel accepted terms.- Parameters:
acceptedTerms
- the acceptedTerms value to set.- Returns:
- the MsTeamsChannelProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-