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