Class SkypeChannelProperties
java.lang.Object
com.azure.resourcemanager.botservice.models.SkypeChannelProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SkypeChannelProperties>
public final class SkypeChannelProperties
extends Object
implements com.azure.json.JsonSerializable<SkypeChannelProperties>
The parameters to provide for the Microsoft Teams channel.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SkypeChannelProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the callingWebhook property: Calling web hook for Skype channel.Get the enableCalling property: Enable calling for Skype channel.Get the enableGroups property: Enable groups for Skype channel.Get the enableMediaCards property: Enable media cards for Skype channel.Get the enableMessaging property: Enable messaging for Skype channel.Get the enableScreenSharing property: Enable screen sharing for Skype channel.Get the enableVideo property: Enable video for Skype channel.static SkypeChannelPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SkypeChannelProperties from the JsonReader.Get the groupsMode property: Group mode for Skype channel.Get the incomingCallRoute property: Incoming call route for Skype channel.booleanGet the isEnabled property: Whether this channel is enabled for the bot.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCallingWebhook(String callingWebhook) Set the callingWebhook property: Calling web hook for Skype channel.withEnableCalling(Boolean enableCalling) Set the enableCalling property: Enable calling for Skype channel.withEnableGroups(Boolean enableGroups) Set the enableGroups property: Enable groups for Skype channel.withEnableMediaCards(Boolean enableMediaCards) Set the enableMediaCards property: Enable media cards for Skype channel.withEnableMessaging(Boolean enableMessaging) Set the enableMessaging property: Enable messaging for Skype channel.withEnableScreenSharing(Boolean enableScreenSharing) Set the enableScreenSharing property: Enable screen sharing for Skype channel.withEnableVideo(Boolean enableVideo) Set the enableVideo property: Enable video for Skype channel.withGroupsMode(String groupsMode) Set the groupsMode property: Group mode for Skype channel.withIncomingCallRoute(String incomingCallRoute) Set the incomingCallRoute property: Incoming call route for Skype channel.withIsEnabled(boolean isEnabled) Set the isEnabled property: Whether this channel is enabled for the bot.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SkypeChannelProperties
public SkypeChannelProperties()Creates an instance of SkypeChannelProperties class.
-
-
Method Details
-
enableMessaging
Get the enableMessaging property: Enable messaging for Skype channel.- Returns:
- the enableMessaging value.
-
withEnableMessaging
Set the enableMessaging property: Enable messaging for Skype channel.- Parameters:
enableMessaging- the enableMessaging value to set.- Returns:
- the SkypeChannelProperties object itself.
-
enableMediaCards
Get the enableMediaCards property: Enable media cards for Skype channel.- Returns:
- the enableMediaCards value.
-
withEnableMediaCards
Set the enableMediaCards property: Enable media cards for Skype channel.- Parameters:
enableMediaCards- the enableMediaCards value to set.- Returns:
- the SkypeChannelProperties object itself.
-
enableVideo
Get the enableVideo property: Enable video for Skype channel.- Returns:
- the enableVideo value.
-
withEnableVideo
Set the enableVideo property: Enable video for Skype channel.- Parameters:
enableVideo- the enableVideo value to set.- Returns:
- the SkypeChannelProperties object itself.
-
enableCalling
Get the enableCalling property: Enable calling for Skype channel.- Returns:
- the enableCalling value.
-
withEnableCalling
Set the enableCalling property: Enable calling for Skype channel.- Parameters:
enableCalling- the enableCalling value to set.- Returns:
- the SkypeChannelProperties object itself.
-
enableScreenSharing
Get the enableScreenSharing property: Enable screen sharing for Skype channel.- Returns:
- the enableScreenSharing value.
-
withEnableScreenSharing
Set the enableScreenSharing property: Enable screen sharing for Skype channel.- Parameters:
enableScreenSharing- the enableScreenSharing value to set.- Returns:
- the SkypeChannelProperties object itself.
-
enableGroups
Get the enableGroups property: Enable groups for Skype channel.- Returns:
- the enableGroups value.
-
withEnableGroups
Set the enableGroups property: Enable groups for Skype channel.- Parameters:
enableGroups- the enableGroups value to set.- Returns:
- the SkypeChannelProperties object itself.
-
groupsMode
Get the groupsMode property: Group mode for Skype channel.- Returns:
- the groupsMode value.
-
withGroupsMode
Set the groupsMode property: Group mode for Skype channel.- Parameters:
groupsMode- the groupsMode value to set.- Returns:
- the SkypeChannelProperties object itself.
-
callingWebhook
Get the callingWebhook property: Calling web hook for Skype channel.- Returns:
- the callingWebhook value.
-
withCallingWebhook
Set the callingWebhook property: Calling web hook for Skype channel.- Parameters:
callingWebhook- the callingWebhook value to set.- Returns:
- the SkypeChannelProperties object itself.
-
incomingCallRoute
Get the incomingCallRoute property: Incoming call route for Skype channel.- Returns:
- the incomingCallRoute value.
-
withIncomingCallRoute
Set the incomingCallRoute property: Incoming call route for Skype channel.- Parameters:
incomingCallRoute- the incomingCallRoute value to set.- Returns:
- the SkypeChannelProperties 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 SkypeChannelProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SkypeChannelProperties>- Throws:
IOException
-
fromJson
public static SkypeChannelProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SkypeChannelProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SkypeChannelProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the SkypeChannelProperties.
-