@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotificationChannelAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ACTIVE |
static String |
JSON_PROPERTY_CONFIG |
boolean |
unparsed |
| Constructor and Description |
|---|
NotificationChannelAttributes() |
| Modifier and Type | Method and Description |
|---|---|
NotificationChannelAttributes |
active(Boolean active) |
NotificationChannelAttributes |
config(NotificationChannelConfig config) |
boolean |
equals(Object o)
Return true if this NotificationChannelAttributes object is equal to o.
|
Boolean |
getActive()
Whether the notification channel is currently active.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
NotificationChannelConfig |
getConfig()
Defines the configuration for an On-Call notification channel
|
int |
hashCode() |
NotificationChannelAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setActive(Boolean active) |
void |
setConfig(NotificationChannelConfig config) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_ACTIVE
public static final String JSON_PROPERTY_CONFIG
public NotificationChannelAttributes active(Boolean active)
@Nullable public Boolean getActive()
public void setActive(Boolean active)
public NotificationChannelAttributes config(NotificationChannelConfig config)
@Nullable public NotificationChannelConfig getConfig()
public void setConfig(NotificationChannelConfig config)
public NotificationChannelAttributes 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 © 2026. All rights reserved.