SlackChannel Class
- java.
lang. Object - com.
azure. resourcemanager. botservice. models. Channel - com.
azure. resourcemanager. botservice. models. SlackChannel
- com.
- com.
public final class SlackChannel
extends Channel
Slack channel definition.
Constructor Summary
| Constructor | Description |
|---|---|
| SlackChannel() |
Creates an instance of Slack |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
channelName()
Get the channel |
|
static
Slack |
fromJson(JsonReader jsonReader)
Reads an instance of Slack |
|
Slack |
properties()
Get the properties property: The set of properties specific to Slack channel resource. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Slack |
withEtag(String etag)
Set the etag property: Entity Tag of the resource. |
|
Slack |
withLocation(String location)
Set the location property: Specifies the location of the resource. |
|
Slack |
withProperties(SlackChannelProperties properties)
Set the properties property: The set of properties specific to Slack channel resource. |
Methods inherited from Channel
Methods inherited from java.lang.Object
Constructor Details
SlackChannel
public SlackChannel()
Creates an instance of SlackChannel class.
Method Details
channelName
public String channelName()
Get the channelName property: The channel name.
Overrides:
SlackChannel.channelName()Returns:
fromJson
public static SlackChannel fromJson(JsonReader jsonReader)
Reads an instance of SlackChannel from the JsonReader.
Parameters:
Returns:
Throws:
properties
public SlackChannelProperties properties()
Get the properties property: The set of properties specific to Slack channel resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SlackChannel.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
SlackChannel.validate()withEtag
public SlackChannel withEtag(String etag)
Set the etag property: Entity Tag of the resource.
Overrides:
SlackChannel.withEtag(String etag)Parameters:
withLocation
public SlackChannel withLocation(String location)
Set the location property: Specifies the location of the resource.
Overrides:
SlackChannel.withLocation(String location)Parameters:
withProperties
public SlackChannel withProperties(SlackChannelProperties properties)
Set the properties property: The set of properties specific to Slack channel resource.
Parameters:
Returns: