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