Package com.bandwidth.sdk.model
Class MultiChannelChannelListObject
java.lang.Object
com.bandwidth.sdk.model.MultiChannelChannelListObject
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.10.0")
public class MultiChannelChannelListObject
extends Object
MultiChannelChannelListObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId
(String applicationId) channel
(MultiChannelMessageChannelEnum channel) boolean
Create an instance of MultiChannelChannelListObject given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard.Get channelGet contentgetFrom()
The sender ID of the message.int
hashCode()
putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.void
setApplicationId
(String applicationId) void
setChannel
(MultiChannelMessageChannelEnum channel) void
void
toJson()
Convert an instance of MultiChannelChannelListObject to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_APPLICATION_ID
- See Also:
-
SERIALIZED_NAME_CHANNEL
- See Also:
-
SERIALIZED_NAME_CONTENT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MultiChannelChannelListObject
public MultiChannelChannelListObject()
-
-
Method Details
-
from
-
getFrom
The sender ID of the message. This could be an alphanumeric sender ID.- Returns:
- from
-
setFrom
-
applicationId
-
getApplicationId
The ID of the Application your from number or senderId is associated with in the Bandwidth Phone Number Dashboard.- Returns:
- applicationId
-
setApplicationId
-
channel
-
getChannel
Get channel- Returns:
- channel
-
setChannel
-
content
-
getContent
Get content- Returns:
- content
-
setContent
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key
- name of the propertyvalue
- value of the property- Returns:
- the MultiChannelChannelListObject instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key
- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
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 MultiChannelChannelListObject
-
fromJson
Create an instance of MultiChannelChannelListObject given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MultiChannelChannelListObject
- Throws:
IOException
- if the JSON string is invalid with respect to MultiChannelChannelListObject
-
toJson
Convert an instance of MultiChannelChannelListObject to an JSON string- Returns:
- JSON string
-