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