@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EscalationTarget extends AbstractOpenApiSchema
| Modifier and Type | Class and Description |
|---|---|
static class |
EscalationTarget.EscalationTargetDeserializer |
static class |
EscalationTarget.EscalationTargetSerializer |
| Modifier and Type | Field and Description |
|---|---|
static Map<String,jakarta.ws.rs.core.GenericType> |
schemas |
boolean |
unparsed |
| Constructor and Description |
|---|
EscalationTarget() |
EscalationTarget(ConfiguredScheduleTarget o) |
EscalationTarget(ScheduleTarget o) |
EscalationTarget(TeamTarget o) |
EscalationTarget(UserTarget o) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following: TeamTarget, UserTarget, ScheduleTarget,
ConfiguredScheduleTarget
|
ConfiguredScheduleTarget |
getConfiguredScheduleTarget()
Get the actual instance of `ConfiguredScheduleTarget`.
|
ScheduleTarget |
getScheduleTarget()
Get the actual instance of `ScheduleTarget`.
|
Map<String,jakarta.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
TeamTarget |
getTeamTarget()
Get the actual instance of `TeamTarget`.
|
UserTarget |
getUserTarget()
Get the actual instance of `UserTarget`.
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check the instance parameter is valid
against the oneOf child schemas: TeamTarget, UserTarget, ScheduleTarget,
ConfiguredScheduleTarget
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic EscalationTarget()
public EscalationTarget(TeamTarget o)
public EscalationTarget(UserTarget o)
public EscalationTarget(ScheduleTarget o)
public EscalationTarget(ConfiguredScheduleTarget 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 TeamTarget getTeamTarget() throws ClassCastException
ClassCastException - if the instance is not `TeamTarget`public UserTarget getUserTarget() throws ClassCastException
ClassCastException - if the instance is not `UserTarget`public ScheduleTarget getScheduleTarget() throws ClassCastException
ClassCastException - if the instance is not `ScheduleTarget`public ConfiguredScheduleTarget getConfiguredScheduleTarget() throws ClassCastException
ClassCastException - if the instance is not `ConfiguredScheduleTarget`Copyright © 2026. All rights reserved.