Package com.datadog.api.client.v2.model
Class SendSlackMessageAction
java.lang.Object
com.datadog.api.client.v2.model.SendSlackMessageAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SendSlackMessageAction
extends Object
Sends a message to a Slack channel.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSendSlackMessageAction(String channel, SendSlackMessageActionType type, String workspace) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SendSlackMessageAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The channel ID.getType()Indicates that the action is a send Slack message action.The workspace ID.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetChannel(String channel) voidvoidsetWorkspace(String workspace) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHANNEL
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_WORKSPACE
- See Also:
-
-
Constructor Details
-
SendSlackMessageAction
public SendSlackMessageAction() -
SendSlackMessageAction
-
-
Method Details
-
channel
-
getChannel
The channel ID.- Returns:
- channel
-
setChannel
-
type
-
getType
Indicates that the action is a send Slack message action.- Returns:
- type
-
setType
-
workspace
-
getWorkspace
The workspace ID.- Returns:
- workspace
-
setWorkspace
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SendSlackMessageAction
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SendSlackMessageAction object is equal to o. -
hashCode
public int hashCode() -
toString
-