Package com.bandwidth.messaging.models
Class BandwidthCallbackMessage
- java.lang.Object
-
- com.bandwidth.messaging.models.BandwidthCallbackMessage
-
public class BandwidthCallbackMessage extends Object
This is a model class for BandwidthCallbackMessage type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BandwidthCallbackMessage.Builder
Class to build instances ofBandwidthCallbackMessage
.
-
Constructor Summary
Constructors Constructor Description BandwidthCallbackMessage()
Default constructor.BandwidthCallbackMessage(String time, String type, String to, String errorCode, String description, BandwidthMessage message)
Initialization constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Getter for Description.String
getErrorCode()
Getter for ErrorCode.BandwidthMessage
getMessage()
Getter for Message.String
getTime()
Getter for Time.String
getTo()
Getter for To.String
getType()
Getter for Type.void
setDescription(String description)
Setter for Description.void
setErrorCode(String errorCode)
Setter for ErrorCode.void
setMessage(BandwidthMessage message)
Setter for Message.void
setTime(String time)
Setter for Time.void
setTo(String to)
Setter for To.void
setType(String type)
Setter for Type.BandwidthCallbackMessage.Builder
toBuilder()
Builds a newBandwidthCallbackMessage.Builder
object.String
toString()
Converts this BandwidthCallbackMessage into string format.
-
-
-
Constructor Detail
-
BandwidthCallbackMessage
public BandwidthCallbackMessage()
Default constructor.
-
BandwidthCallbackMessage
public BandwidthCallbackMessage(String time, String type, String to, String errorCode, String description, BandwidthMessage message)
Initialization constructor.- Parameters:
time
- String value for time.type
- String value for type.to
- String value for to.errorCode
- String value for errorCode.description
- String value for description.message
- BandwidthMessage value for message.
-
-
Method Detail
-
getTime
public String getTime()
Getter for Time.- Returns:
- Returns the String
-
setTime
public void setTime(String time)
Setter for Time.- Parameters:
time
- Value for String
-
getType
public String getType()
Getter for Type.- Returns:
- Returns the String
-
setType
public void setType(String type)
Setter for Type.- Parameters:
type
- Value for String
-
getTo
public String getTo()
Getter for To.- Returns:
- Returns the String
-
setTo
public void setTo(String to)
Setter for To.- Parameters:
to
- Value for String
-
getErrorCode
public String getErrorCode()
Getter for ErrorCode.- Returns:
- Returns the String
-
setErrorCode
public void setErrorCode(String errorCode)
Setter for ErrorCode.- Parameters:
errorCode
- Value for String
-
getDescription
public String getDescription()
Getter for Description.- Returns:
- Returns the String
-
setDescription
public void setDescription(String description)
Setter for Description.- Parameters:
description
- Value for String
-
getMessage
public BandwidthMessage getMessage()
Getter for Message.- Returns:
- Returns the BandwidthMessage
-
setMessage
public void setMessage(BandwidthMessage message)
Setter for Message.- Parameters:
message
- Value for BandwidthMessage
-
toString
public String toString()
Converts this BandwidthCallbackMessage into string format.
-
toBuilder
public BandwidthCallbackMessage.Builder toBuilder()
Builds a newBandwidthCallbackMessage.Builder
object. Creates the instance with the state of the current model.- Returns:
- a new
BandwidthCallbackMessage.Builder
object
-
-