@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class NotificationChannelConfig extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
NotificationChannelConfig.NotificationChannelConfigDeserializer |
static class |
NotificationChannelConfig.NotificationChannelConfigSerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
NotificationChannelConfig() |
NotificationChannelConfig(NotificationChannelEmailConfig o) |
NotificationChannelConfig(NotificationChannelPhoneConfig o) |
NotificationChannelConfig(NotificationChannelPushConfig o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: NotificationChannelPhoneConfig,
NotificationChannelEmailConfig, NotificationChannelPushConfig
|
NotificationChannelEmailConfig |
getNotificationChannelEmailConfig()
Get the actual instance of `NotificationChannelEmailConfig`.
|
NotificationChannelPhoneConfig |
getNotificationChannelPhoneConfig()
Get the actual instance of `NotificationChannelPhoneConfig`.
|
NotificationChannelPushConfig |
getNotificationChannelPushConfig()
Get the actual instance of `NotificationChannelPushConfig`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: NotificationChannelPhoneConfig,
NotificationChannelEmailConfig, NotificationChannelPushConfig
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic NotificationChannelConfig()
public NotificationChannelConfig(NotificationChannelPhoneConfig o)
public NotificationChannelConfig(NotificationChannelEmailConfig o)
public NotificationChannelConfig(NotificationChannelPushConfig o)
public Map<String,jakarta.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchemagetSchemas in class AbstractOpenApiSchemapublic void setActualInstance(Object instance)
It could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
setActualInstance in class AbstractOpenApiSchemainstance - the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance in class AbstractOpenApiSchemapublic NotificationChannelPhoneConfig getNotificationChannelPhoneConfig() throws ClassCastException
ClassCastException - if the instance is not `NotificationChannelPhoneConfig`public NotificationChannelEmailConfig getNotificationChannelEmailConfig() throws ClassCastException
ClassCastException - if the instance is not `NotificationChannelEmailConfig`public NotificationChannelPushConfig getNotificationChannelPushConfig() throws ClassCastException
ClassCastException - if the instance is not `NotificationChannelPushConfig`Copyright © 2026. All rights reserved.