Package com.bandwidth.sdk.model
Class MultiChannelAction
java.lang.Object
com.bandwidth.sdk.model.AbstractOpenApiSchema
com.bandwidth.sdk.model.MultiChannelAction
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.10.0")
public class MultiChannelAction
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MultiChannelAction
Create an instance of MultiChannelAction given an JSON stringGet the actual instance, which can be the following: MultiChannelActionCalendarEvent, RbmActionBase, RbmActionDial, RbmActionOpenUrl, RbmActionViewLocationGet the actual instance of `MultiChannelActionCalendarEvent`.Get the actual instance of `RbmActionBase`.Get the actual instance of `RbmActionDial`.Get the actual instance of `RbmActionOpenUrl`.Get the actual instance of `RbmActionViewLocation`.Get the list of oneOf/anyOf composed schemas allowed to be stored in this objectvoid
setActualInstance
(Object instance) Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: MultiChannelActionCalendarEvent, RbmActionBase, RbmActionDial, RbmActionOpenUrl, RbmActionViewLocation It could be an instance of the 'oneOf' schemas.toJson()
Convert an instance of MultiChannelAction to an JSON stringstatic void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundMethods inherited from class com.bandwidth.sdk.model.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
Field Details
-
schemas
-
-
Constructor Details
-
MultiChannelAction
public MultiChannelAction() -
MultiChannelAction
-
-
Method Details
-
getSchemas
Description copied from class:AbstractOpenApiSchema
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemas
in 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: MultiChannelActionCalendarEvent, RbmActionBase, RbmActionDial, RbmActionOpenUrl, RbmActionViewLocation It could be an instance of the 'oneOf' schemas.- Overrides:
setActualInstance
in classAbstractOpenApiSchema
- Parameters:
instance
- the actual instance of the schema/object
-
getActualInstance
Get the actual instance, which can be the following: MultiChannelActionCalendarEvent, RbmActionBase, RbmActionDial, RbmActionOpenUrl, RbmActionViewLocation- Overrides:
getActualInstance
in classAbstractOpenApiSchema
- Returns:
- The actual instance (MultiChannelActionCalendarEvent, RbmActionBase, RbmActionDial, RbmActionOpenUrl, RbmActionViewLocation)
-
getRbmActionBase
Get the actual instance of `RbmActionBase`. If the actual instance is not `RbmActionBase`, the ClassCastException will be thrown.- Returns:
- The actual instance of `RbmActionBase`
- Throws:
ClassCastException
- if the instance is not `RbmActionBase`
-
getRbmActionDial
Get the actual instance of `RbmActionDial`. If the actual instance is not `RbmActionDial`, the ClassCastException will be thrown.- Returns:
- The actual instance of `RbmActionDial`
- Throws:
ClassCastException
- if the instance is not `RbmActionDial`
-
getRbmActionViewLocation
Get the actual instance of `RbmActionViewLocation`. If the actual instance is not `RbmActionViewLocation`, the ClassCastException will be thrown.- Returns:
- The actual instance of `RbmActionViewLocation`
- Throws:
ClassCastException
- if the instance is not `RbmActionViewLocation`
-
getMultiChannelActionCalendarEvent
public MultiChannelActionCalendarEvent getMultiChannelActionCalendarEvent() throws ClassCastExceptionGet the actual instance of `MultiChannelActionCalendarEvent`. If the actual instance is not `MultiChannelActionCalendarEvent`, the ClassCastException will be thrown.- Returns:
- The actual instance of `MultiChannelActionCalendarEvent`
- Throws:
ClassCastException
- if the instance is not `MultiChannelActionCalendarEvent`
-
getRbmActionOpenUrl
Get the actual instance of `RbmActionOpenUrl`. If the actual instance is not `RbmActionOpenUrl`, the ClassCastException will be thrown.- Returns:
- The actual instance of `RbmActionOpenUrl`
- Throws:
ClassCastException
- if the instance is not `RbmActionOpenUrl`
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to MultiChannelAction
-
fromJson
Create an instance of MultiChannelAction given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MultiChannelAction
- Throws:
IOException
- if the JSON string is invalid with respect to MultiChannelAction
-
toJson
Convert an instance of MultiChannelAction to an JSON string- Returns:
- JSON string
-