Package com.datadog.api.client.v2.model
Class SendTeamsMessageAction
java.lang.Object
com.datadog.api.client.v2.model.SendTeamsMessageAction
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SendTeamsMessageAction
extends Object
Sends a message to a Microsoft Teams channel.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSendTeamsMessageAction(String channel, String team, String tenant, SendTeamsMessageActionType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SendTeamsMessageAction object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The channel ID.getTeam()The team ID.The tenant ID.getType()Indicates that the action is a send Microsoft Teams message action.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetChannel(String channel) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHANNEL
- See Also:
-
JSON_PROPERTY_TEAM
- See Also:
-
JSON_PROPERTY_TENANT
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
SendTeamsMessageAction
public SendTeamsMessageAction() -
SendTeamsMessageAction
public SendTeamsMessageAction(String channel, String team, String tenant, SendTeamsMessageActionType type)
-
-
Method Details
-
channel
-
getChannel
The channel ID.- Returns:
- channel
-
setChannel
-
team
-
getTeam
The team ID.- Returns:
- team
-
setTeam
-
tenant
-
getTenant
The tenant ID.- Returns:
- tenant
-
setTenant
-
type
-
getType
Indicates that the action is a send Microsoft Teams message action.- Returns:
- type
-
setType
-
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:
- SendTeamsMessageAction
-
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 SendTeamsMessageAction object is equal to o. -
hashCode
public int hashCode() -
toString
-