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