@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-12T14:56:03.264844-05:00[America/New_York]") public class ChannelSubscriptionNotificationMethodsInner extends AbstractOpenApiSchema
Modifier and Type | Class and Description |
---|---|
static class |
ChannelSubscriptionNotificationMethodsInner.ChannelSubscriptionNotificationMethodsInnerDeserializer |
static class |
ChannelSubscriptionNotificationMethodsInner.ChannelSubscriptionNotificationMethodsInnerSerializer |
Modifier and Type | Field and Description |
---|---|
static Map<String,GenericType> |
schemas |
Modifier and Type | Method and Description |
---|---|
Object |
getActualInstance()
Get the actual instance, which can be the following:
MailNotificationMethod, PortalNotificationMethod, ThirdPartyNotificationMethod
|
MailNotificationMethod |
getMailNotificationMethod()
Get the actual instance of `MailNotificationMethod`.
|
PortalNotificationMethod |
getPortalNotificationMethod()
Get the actual instance of `PortalNotificationMethod`.
|
Map<String,GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
ThirdPartyNotificationMethod |
getThirdPartyNotificationMethod()
Get the actual instance of `ThirdPartyNotificationMethod`.
|
void |
setActualInstance(Object instance)
Set the instance that matches the oneOf child schema, check
the instance parameter is valid against the oneOf child schemas:
MailNotificationMethod, PortalNotificationMethod, ThirdPartyNotificationMethod
It could be an instance of the 'oneOf' schemas.
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
public static final Map<String,GenericType> schemas
public ChannelSubscriptionNotificationMethodsInner()
public ChannelSubscriptionNotificationMethodsInner(MailNotificationMethod o)
public ChannelSubscriptionNotificationMethodsInner(PortalNotificationMethod o)
public ChannelSubscriptionNotificationMethodsInner(ThirdPartyNotificationMethod o)
public Map<String,GenericType> getSchemas()
AbstractOpenApiSchema
getSchemas
in class AbstractOpenApiSchema
public void setActualInstance(Object instance)
setActualInstance
in class AbstractOpenApiSchema
instance
- the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance
in class AbstractOpenApiSchema
public MailNotificationMethod getMailNotificationMethod() throws ClassCastException
ClassCastException
- if the instance is not `MailNotificationMethod`public PortalNotificationMethod getPortalNotificationMethod() throws ClassCastException
ClassCastException
- if the instance is not `PortalNotificationMethod`public ThirdPartyNotificationMethod getThirdPartyNotificationMethod() throws ClassCastException
ClassCastException
- if the instance is not `ThirdPartyNotificationMethod`