Package com.datadog.api.client.v2.model
Class Trigger
java.lang.Object
com.datadog.api.client.AbstractOpenApiSchema
com.datadog.api.client.v2.model.Trigger
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class Trigger
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actual instance, which can be the following: AgentTriggerWrapper, APITriggerWrapper, AppTriggerWrapper, CaseTriggerWrapper, ChangeEventTriggerWrapper, DatabaseMonitoringTriggerWrapper, DatastoreTriggerWrapper, DashboardTriggerWrapper, FormTriggerWrapper, GithubWebhookTriggerWrapper, IncidentCreatedTriggerWrapper, IncidentImpactCreatedTriggerWrapper, IncidentImpactUpdatedTriggerWrapper, IncidentPostmortemUpdatedTriggerWrapper, IncidentResponderCreatedTriggerWrapper, IncidentSavedTriggerWrapper, IncidentScheduleTriggerWrapper, IncidentTriggerWrapper, MonitorTriggerWrapper, NotebookTriggerWrapper, OnCallTriggerWrapper, ScheduleTriggerWrapper, SecurityTriggerWrapper, SelfServiceTriggerWrapper, SlackTriggerWrapper, SoftwareCatalogTriggerWrapper, WorkflowTriggerWrapperGet the actual instance of `AgentTriggerWrapper`.Get the actual instance of `APITriggerWrapper`.Get the actual instance of `AppTriggerWrapper`.Get the actual instance of `CaseTriggerWrapper`.Get the actual instance of `ChangeEventTriggerWrapper`.Get the actual instance of `DashboardTriggerWrapper`.Get the actual instance of `DatabaseMonitoringTriggerWrapper`.Get the actual instance of `DatastoreTriggerWrapper`.Get the actual instance of `FormTriggerWrapper`.Get the actual instance of `GithubWebhookTriggerWrapper`.Get the actual instance of `IncidentCreatedTriggerWrapper`.Get the actual instance of `IncidentImpactCreatedTriggerWrapper`.Get the actual instance of `IncidentImpactUpdatedTriggerWrapper`.Get the actual instance of `IncidentPostmortemUpdatedTriggerWrapper`.Get the actual instance of `IncidentResponderCreatedTriggerWrapper`.Get the actual instance of `IncidentSavedTriggerWrapper`.Get the actual instance of `IncidentScheduleTriggerWrapper`.Get the actual instance of `IncidentTriggerWrapper`.Get the actual instance of `MonitorTriggerWrapper`.Get the actual instance of `NotebookTriggerWrapper`.Get the actual instance of `OnCallTriggerWrapper`.Get the actual instance of `ScheduleTriggerWrapper`.Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectGet the actual instance of `SecurityTriggerWrapper`.Get the actual instance of `SelfServiceTriggerWrapper`.Get the actual instance of `SlackTriggerWrapper`.Get the actual instance of `SoftwareCatalogTriggerWrapper`.Get the actual instance of `WorkflowTriggerWrapper`.voidsetActualInstance(Object instance) Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: AgentTriggerWrapper, APITriggerWrapper, AppTriggerWrapper, CaseTriggerWrapper, ChangeEventTriggerWrapper, DatabaseMonitoringTriggerWrapper, DatastoreTriggerWrapper, DashboardTriggerWrapper, FormTriggerWrapper, GithubWebhookTriggerWrapper, IncidentCreatedTriggerWrapper, IncidentImpactCreatedTriggerWrapper, IncidentImpactUpdatedTriggerWrapper, IncidentPostmortemUpdatedTriggerWrapper, IncidentResponderCreatedTriggerWrapper, IncidentSavedTriggerWrapper, IncidentScheduleTriggerWrapper, IncidentTriggerWrapper, MonitorTriggerWrapper, NotebookTriggerWrapper, OnCallTriggerWrapper, ScheduleTriggerWrapper, SecurityTriggerWrapper, SelfServiceTriggerWrapper, SlackTriggerWrapper, SoftwareCatalogTriggerWrapper, WorkflowTriggerWrapperMethods inherited from class com.datadog.api.client.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
Field Details
-
unparsed
public boolean unparsed -
schemas
-
-
Constructor Details
-
Trigger
public Trigger() -
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
Trigger
-
-
Method Details
-
getSchemas
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: AgentTriggerWrapper, APITriggerWrapper, AppTriggerWrapper, CaseTriggerWrapper, ChangeEventTriggerWrapper, DatabaseMonitoringTriggerWrapper, DatastoreTriggerWrapper, DashboardTriggerWrapper, FormTriggerWrapper, GithubWebhookTriggerWrapper, IncidentCreatedTriggerWrapper, IncidentImpactCreatedTriggerWrapper, IncidentImpactUpdatedTriggerWrapper, IncidentPostmortemUpdatedTriggerWrapper, IncidentResponderCreatedTriggerWrapper, IncidentSavedTriggerWrapper, IncidentScheduleTriggerWrapper, IncidentTriggerWrapper, MonitorTriggerWrapper, NotebookTriggerWrapper, OnCallTriggerWrapper, ScheduleTriggerWrapper, SecurityTriggerWrapper, SelfServiceTriggerWrapper, SlackTriggerWrapper, SoftwareCatalogTriggerWrapper, WorkflowTriggerWrapperIt could be an instance of the 'oneOf' schemas. The oneOf child schemas may themselves be a composed schema (allOf, anyOf, oneOf).
- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
Get the actual instance, which can be the following: AgentTriggerWrapper, APITriggerWrapper, AppTriggerWrapper, CaseTriggerWrapper, ChangeEventTriggerWrapper, DatabaseMonitoringTriggerWrapper, DatastoreTriggerWrapper, DashboardTriggerWrapper, FormTriggerWrapper, GithubWebhookTriggerWrapper, IncidentCreatedTriggerWrapper, IncidentImpactCreatedTriggerWrapper, IncidentImpactUpdatedTriggerWrapper, IncidentPostmortemUpdatedTriggerWrapper, IncidentResponderCreatedTriggerWrapper, IncidentSavedTriggerWrapper, IncidentScheduleTriggerWrapper, IncidentTriggerWrapper, MonitorTriggerWrapper, NotebookTriggerWrapper, OnCallTriggerWrapper, ScheduleTriggerWrapper, SecurityTriggerWrapper, SelfServiceTriggerWrapper, SlackTriggerWrapper, SoftwareCatalogTriggerWrapper, WorkflowTriggerWrapper- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (AgentTriggerWrapper, APITriggerWrapper, AppTriggerWrapper, CaseTriggerWrapper, ChangeEventTriggerWrapper, DatabaseMonitoringTriggerWrapper, DatastoreTriggerWrapper, DashboardTriggerWrapper, FormTriggerWrapper, GithubWebhookTriggerWrapper, IncidentCreatedTriggerWrapper, IncidentImpactCreatedTriggerWrapper, IncidentImpactUpdatedTriggerWrapper, IncidentPostmortemUpdatedTriggerWrapper, IncidentResponderCreatedTriggerWrapper, IncidentSavedTriggerWrapper, IncidentScheduleTriggerWrapper, IncidentTriggerWrapper, MonitorTriggerWrapper, NotebookTriggerWrapper, OnCallTriggerWrapper, ScheduleTriggerWrapper, SecurityTriggerWrapper, SelfServiceTriggerWrapper, SlackTriggerWrapper, SoftwareCatalogTriggerWrapper, WorkflowTriggerWrapper)
-
getAgentTriggerWrapper
Get the actual instance of `AgentTriggerWrapper`. If the actual instance is not `AgentTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `AgentTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `AgentTriggerWrapper`
-
getAPITriggerWrapper
Get the actual instance of `APITriggerWrapper`. If the actual instance is not `APITriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `APITriggerWrapper`
- Throws:
ClassCastException- if the instance is not `APITriggerWrapper`
-
getAppTriggerWrapper
Get the actual instance of `AppTriggerWrapper`. If the actual instance is not `AppTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `AppTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `AppTriggerWrapper`
-
getCaseTriggerWrapper
Get the actual instance of `CaseTriggerWrapper`. If the actual instance is not `CaseTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `CaseTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `CaseTriggerWrapper`
-
getChangeEventTriggerWrapper
Get the actual instance of `ChangeEventTriggerWrapper`. If the actual instance is not `ChangeEventTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `ChangeEventTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `ChangeEventTriggerWrapper`
-
getDatabaseMonitoringTriggerWrapper
public DatabaseMonitoringTriggerWrapper getDatabaseMonitoringTriggerWrapper() throws ClassCastExceptionGet the actual instance of `DatabaseMonitoringTriggerWrapper`. If the actual instance is not `DatabaseMonitoringTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DatabaseMonitoringTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `DatabaseMonitoringTriggerWrapper`
-
getDatastoreTriggerWrapper
Get the actual instance of `DatastoreTriggerWrapper`. If the actual instance is not `DatastoreTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DatastoreTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `DatastoreTriggerWrapper`
-
getDashboardTriggerWrapper
Get the actual instance of `DashboardTriggerWrapper`. If the actual instance is not `DashboardTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `DashboardTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `DashboardTriggerWrapper`
-
getFormTriggerWrapper
Get the actual instance of `FormTriggerWrapper`. If the actual instance is not `FormTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `FormTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `FormTriggerWrapper`
-
getGithubWebhookTriggerWrapper
Get the actual instance of `GithubWebhookTriggerWrapper`. If the actual instance is not `GithubWebhookTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `GithubWebhookTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `GithubWebhookTriggerWrapper`
-
getIncidentCreatedTriggerWrapper
Get the actual instance of `IncidentCreatedTriggerWrapper`. If the actual instance is not `IncidentCreatedTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentCreatedTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentCreatedTriggerWrapper`
-
getIncidentImpactCreatedTriggerWrapper
public IncidentImpactCreatedTriggerWrapper getIncidentImpactCreatedTriggerWrapper() throws ClassCastExceptionGet the actual instance of `IncidentImpactCreatedTriggerWrapper`. If the actual instance is not `IncidentImpactCreatedTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentImpactCreatedTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentImpactCreatedTriggerWrapper`
-
getIncidentImpactUpdatedTriggerWrapper
public IncidentImpactUpdatedTriggerWrapper getIncidentImpactUpdatedTriggerWrapper() throws ClassCastExceptionGet the actual instance of `IncidentImpactUpdatedTriggerWrapper`. If the actual instance is not `IncidentImpactUpdatedTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentImpactUpdatedTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentImpactUpdatedTriggerWrapper`
-
getIncidentPostmortemUpdatedTriggerWrapper
public IncidentPostmortemUpdatedTriggerWrapper getIncidentPostmortemUpdatedTriggerWrapper() throws ClassCastExceptionGet the actual instance of `IncidentPostmortemUpdatedTriggerWrapper`. If the actual instance is not `IncidentPostmortemUpdatedTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentPostmortemUpdatedTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentPostmortemUpdatedTriggerWrapper`
-
getIncidentResponderCreatedTriggerWrapper
public IncidentResponderCreatedTriggerWrapper getIncidentResponderCreatedTriggerWrapper() throws ClassCastExceptionGet the actual instance of `IncidentResponderCreatedTriggerWrapper`. If the actual instance is not `IncidentResponderCreatedTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentResponderCreatedTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentResponderCreatedTriggerWrapper`
-
getIncidentSavedTriggerWrapper
Get the actual instance of `IncidentSavedTriggerWrapper`. If the actual instance is not `IncidentSavedTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentSavedTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentSavedTriggerWrapper`
-
getIncidentScheduleTriggerWrapper
Get the actual instance of `IncidentScheduleTriggerWrapper`. If the actual instance is not `IncidentScheduleTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentScheduleTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentScheduleTriggerWrapper`
-
getIncidentTriggerWrapper
Get the actual instance of `IncidentTriggerWrapper`. If the actual instance is not `IncidentTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `IncidentTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `IncidentTriggerWrapper`
-
getMonitorTriggerWrapper
Get the actual instance of `MonitorTriggerWrapper`. If the actual instance is not `MonitorTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `MonitorTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `MonitorTriggerWrapper`
-
getNotebookTriggerWrapper
Get the actual instance of `NotebookTriggerWrapper`. If the actual instance is not `NotebookTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `NotebookTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `NotebookTriggerWrapper`
-
getOnCallTriggerWrapper
Get the actual instance of `OnCallTriggerWrapper`. If the actual instance is not `OnCallTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `OnCallTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `OnCallTriggerWrapper`
-
getScheduleTriggerWrapper
Get the actual instance of `ScheduleTriggerWrapper`. If the actual instance is not `ScheduleTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `ScheduleTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `ScheduleTriggerWrapper`
-
getSecurityTriggerWrapper
Get the actual instance of `SecurityTriggerWrapper`. If the actual instance is not `SecurityTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SecurityTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `SecurityTriggerWrapper`
-
getSelfServiceTriggerWrapper
Get the actual instance of `SelfServiceTriggerWrapper`. If the actual instance is not `SelfServiceTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SelfServiceTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `SelfServiceTriggerWrapper`
-
getSlackTriggerWrapper
Get the actual instance of `SlackTriggerWrapper`. If the actual instance is not `SlackTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SlackTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `SlackTriggerWrapper`
-
getSoftwareCatalogTriggerWrapper
Get the actual instance of `SoftwareCatalogTriggerWrapper`. If the actual instance is not `SoftwareCatalogTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `SoftwareCatalogTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `SoftwareCatalogTriggerWrapper`
-
getWorkflowTriggerWrapper
Get the actual instance of `WorkflowTriggerWrapper`. If the actual instance is not `WorkflowTriggerWrapper`, the ClassCastException will be thrown.- Returns:
- The actual instance of `WorkflowTriggerWrapper`
- Throws:
ClassCastException- if the instance is not `WorkflowTriggerWrapper`
-