@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SendSlackMessageAction extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CHANNEL |
static String |
JSON_PROPERTY_TYPE |
static String |
JSON_PROPERTY_WORKSPACE |
boolean |
unparsed |
| Constructor and Description |
|---|
SendSlackMessageAction() |
SendSlackMessageAction(String channel,
SendSlackMessageActionType type,
String workspace) |
| Modifier and Type | Method and Description |
|---|---|
SendSlackMessageAction |
channel(String channel) |
boolean |
equals(Object o)
Return true if this SendSlackMessageAction object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getChannel()
The channel ID.
|
SendSlackMessageActionType |
getType()
Indicates that the action is a send Slack message action.
|
String |
getWorkspace()
The workspace ID.
|
int |
hashCode() |
SendSlackMessageAction |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setChannel(String channel) |
void |
setType(SendSlackMessageActionType type) |
void |
setWorkspace(String workspace) |
String |
toString() |
SendSlackMessageAction |
type(SendSlackMessageActionType type) |
SendSlackMessageAction |
workspace(String workspace) |
public boolean unparsed
public static final String JSON_PROPERTY_CHANNEL
public static final String JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_WORKSPACE
public SendSlackMessageAction()
public SendSlackMessageAction(String channel, SendSlackMessageActionType type, String workspace)
public SendSlackMessageAction channel(String channel)
public String getChannel()
public void setChannel(String channel)
public SendSlackMessageAction type(SendSlackMessageActionType type)
public SendSlackMessageActionType getType()
public void setType(SendSlackMessageActionType type)
public SendSlackMessageAction workspace(String workspace)
public String getWorkspace()
public void setWorkspace(String workspace)
public SendSlackMessageAction putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.