Class MsTeamsChannelProperties

java.lang.Object
com.azure.resourcemanager.botservice.models.MsTeamsChannelProperties

public final class MsTeamsChannelProperties extends Object
The parameters to provide for the Microsoft Teams channel.
  • Constructor Details

    • MsTeamsChannelProperties

      public MsTeamsChannelProperties()
  • Method Details

    • enableCalling

      public Boolean enableCalling()
      Get the enableCalling property: Enable calling for Microsoft Teams channel.
      Returns:
      the enableCalling value.
    • withEnableCalling

      public MsTeamsChannelProperties withEnableCalling(Boolean enableCalling)
      Set the enableCalling property: Enable calling for Microsoft Teams channel.
      Parameters:
      enableCalling - the enableCalling value to set.
      Returns:
      the MsTeamsChannelProperties object itself.
    • callingWebhook

      public String callingWebhook()
      Get the callingWebhook property: Webhook for Microsoft Teams channel calls.
      Returns:
      the callingWebhook value.
    • withCallingWebhook

      public MsTeamsChannelProperties withCallingWebhook(String callingWebhook)
      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

      public MsTeamsChannelProperties withIsEnabled(boolean isEnabled)
      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

      public String incomingCallRoute()
      Get the incomingCallRoute property: Webhook for Microsoft Teams channel calls.
      Returns:
      the incomingCallRoute value.
    • withIncomingCallRoute

      public MsTeamsChannelProperties withIncomingCallRoute(String incomingCallRoute)
      Set the incomingCallRoute property: Webhook for Microsoft Teams channel calls.
      Parameters:
      incomingCallRoute - the incomingCallRoute value to set.
      Returns:
      the MsTeamsChannelProperties object itself.
    • deploymentEnvironment

      public String deploymentEnvironment()
      Get the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.
      Returns:
      the deploymentEnvironment value.
    • withDeploymentEnvironment

      public MsTeamsChannelProperties withDeploymentEnvironment(String deploymentEnvironment)
      Set the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.
      Parameters:
      deploymentEnvironment - the deploymentEnvironment value to set.
      Returns:
      the MsTeamsChannelProperties object itself.
    • acceptedTerms

      public Boolean acceptedTerms()
      Get the acceptedTerms property: Whether this channel accepted terms.
      Returns:
      the acceptedTerms value.
    • withAcceptedTerms

      public MsTeamsChannelProperties withAcceptedTerms(Boolean acceptedTerms)
      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.