MsTeamsChannelProperties Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. MsTeamsChannelProperties
- com.
Implements
public final class MsTeamsChannelProperties
implements JsonSerializable<MsTeamsChannelProperties>
The parameters to provide for the Microsoft Teams channel.
Constructor Summary
| Constructor | Description |
|---|---|
| MsTeamsChannelProperties() |
Creates an instance of Ms |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
acceptedTerms()
Get the accepted |
| String |
callingWebhook()
Get the calling |
| String |
deploymentEnvironment()
Get the deployment |
| Boolean |
enableCalling()
Get the enable |
|
static
Ms |
fromJson(JsonReader jsonReader)
Reads an instance of Ms |
| String |
incomingCallRoute()
Get the incoming |
| boolean |
isEnabled()
Get the is |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Ms |
withAcceptedTerms(Boolean acceptedTerms)
Set the accepted |
|
Ms |
withCallingWebhook(String callingWebhook)
Set the calling |
|
Ms |
withDeploymentEnvironment(String deploymentEnvironment)
Set the deployment |
|
Ms |
withEnableCalling(Boolean enableCalling)
Set the enable |
|
Ms |
withIncomingCallRoute(String incomingCallRoute)
Set the incoming |
|
Ms |
withIsEnabled(boolean isEnabled)
Set the is |
Methods inherited from java.lang.Object
Constructor Details
MsTeamsChannelProperties
public MsTeamsChannelProperties()
Creates an instance of MsTeamsChannelProperties class.
Method Details
acceptedTerms
public Boolean acceptedTerms()
Get the acceptedTerms property: Whether this channel accepted terms.
Returns:
callingWebhook
public String callingWebhook()
Get the callingWebhook property: Webhook for Microsoft Teams channel calls.
Returns:
deploymentEnvironment
public String deploymentEnvironment()
Get the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.
Returns:
enableCalling
public Boolean enableCalling()
Get the enableCalling property: Enable calling for Microsoft Teams channel.
Returns:
fromJson
public static MsTeamsChannelProperties fromJson(JsonReader jsonReader)
Reads an instance of MsTeamsChannelProperties from the JsonReader.
Parameters:
Returns:
Throws:
incomingCallRoute
public String incomingCallRoute()
Get the incomingCallRoute property: Webhook for Microsoft Teams channel calls.
Returns:
isEnabled
public boolean isEnabled()
Get the isEnabled property: Whether this channel is enabled for the bot.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAcceptedTerms
public MsTeamsChannelProperties withAcceptedTerms(Boolean acceptedTerms)
Set the acceptedTerms property: Whether this channel accepted terms.
Parameters:
Returns:
withCallingWebhook
public MsTeamsChannelProperties withCallingWebhook(String callingWebhook)
Set the callingWebhook property: Webhook for Microsoft Teams channel calls.
Parameters:
Returns:
withDeploymentEnvironment
public MsTeamsChannelProperties withDeploymentEnvironment(String deploymentEnvironment)
Set the deploymentEnvironment property: Deployment environment for Microsoft Teams channel calls.
Parameters:
Returns:
withEnableCalling
public MsTeamsChannelProperties withEnableCalling(Boolean enableCalling)
Set the enableCalling property: Enable calling for Microsoft Teams channel.
Parameters:
Returns:
withIncomingCallRoute
public MsTeamsChannelProperties withIncomingCallRoute(String incomingCallRoute)
Set the incomingCallRoute property: Webhook for Microsoft Teams channel calls.
Parameters:
Returns:
withIsEnabled
public MsTeamsChannelProperties withIsEnabled(boolean isEnabled)
Set the isEnabled property: Whether this channel is enabled for the bot.
Parameters:
Returns: