Package com.datadog.api.client.v2.model
Class NotificationChannelAttributes
java.lang.Object
com.datadog.api.client.v2.model.NotificationChannelAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class NotificationChannelAttributes
extends Object
Attributes for an on-call notification channel.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfig(NotificationChannelConfig config) booleanReturn true if this NotificationChannelAttributes object is equal to o.Whether the notification channel is currently active.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the configuration for an On-Call notification channelinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetConfig(NotificationChannelConfig config) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ACTIVE
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
-
Constructor Details
-
NotificationChannelAttributes
public NotificationChannelAttributes()
-
-
Method Details
-
active
-
getActive
Whether the notification channel is currently active.- Returns:
- active
-
setActive
-
config
-
getConfig
Defines the configuration for an On-Call notification channel- Returns:
- config
-
setConfig
-
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:
- NotificationChannelAttributes
-
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 NotificationChannelAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-