Package com.bandwidth.sdk.model
Class MessageSendingCallbackMessage
java.lang.Object
com.bandwidth.sdk.model.MessageSendingCallbackMessage
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.6.0")
public class MessageSendingCallbackMessage
extends Object
Message Sending Callback Message Schema
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddMediaItem
(URI mediaItem) applicationId
(String applicationId) direction
(MessageDirectionEnum direction) boolean
Create an instance of MessageSendingCallbackMessage given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get applicationIdGet directiongetFrom()
Get fromgetId()
Get idgetMedia()
Get mediagetOwner()
Get ownerGet priorityGet segmentCountgetTag()
Get taggetText()
Get textgetTime()
Get timegetTo()
Get toint
hashCode()
priority
(PriorityEnum priority) putAdditionalProperty
(String key, Object value) Set the additional (undeclared) property with the specified name and value.segmentCount
(Integer segmentCount) void
setApplicationId
(String applicationId) void
setDirection
(MessageDirectionEnum direction) void
void
void
void
void
setPriority
(PriorityEnum priority) void
setSegmentCount
(Integer segmentCount) void
void
void
setTime
(OffsetDateTime time) void
time
(OffsetDateTime time) toJson()
Convert an instance of MessageSendingCallbackMessage 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_ID
- See Also:
-
SERIALIZED_NAME_OWNER
- See Also:
-
SERIALIZED_NAME_APPLICATION_ID
- See Also:
-
SERIALIZED_NAME_TIME
- See Also:
-
SERIALIZED_NAME_SEGMENT_COUNT
- See Also:
-
SERIALIZED_NAME_DIRECTION
- See Also:
-
SERIALIZED_NAME_TO
- See Also:
-
SERIALIZED_NAME_FROM
- See Also:
-
SERIALIZED_NAME_TEXT
- See Also:
-
SERIALIZED_NAME_TAG
- See Also:
-
SERIALIZED_NAME_MEDIA
- See Also:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
MessageSendingCallbackMessage
public MessageSendingCallbackMessage()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
owner
-
getOwner
Get owner- Returns:
- owner
-
setOwner
-
applicationId
-
getApplicationId
Get applicationId- Returns:
- applicationId
-
setApplicationId
-
time
-
getTime
Get time- Returns:
- time
-
setTime
-
segmentCount
-
getSegmentCount
Get segmentCount- Returns:
- segmentCount
-
setSegmentCount
-
direction
-
getDirection
Get direction- Returns:
- direction
-
setDirection
-
to
-
addToItem
-
getTo
Get to- Returns:
- to
-
setTo
-
from
-
getFrom
Get from- Returns:
- from
-
setFrom
-
text
-
getText
Get text- Returns:
- text
-
setText
-
tag
-
getTag
Get tag- Returns:
- tag
-
setTag
-
media
-
addMediaItem
-
getMedia
Get media- Returns:
- media
-
setMedia
-
priority
-
getPriority
Get priority- Returns:
- priority
-
setPriority
-
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 MessageSendingCallbackMessage 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 MessageSendingCallbackMessage
-
fromJson
Create an instance of MessageSendingCallbackMessage given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of MessageSendingCallbackMessage
- Throws:
IOException
- if the JSON string is invalid with respect to MessageSendingCallbackMessage
-
toJson
Convert an instance of MessageSendingCallbackMessage to an JSON string- Returns:
- JSON string
-