Record Class ConversationRelayRequest.Setup
java.lang.Object
java.lang.Record
dev.enola.audio.voice.twilio.relay.ConversationRelayRequest.Setup
- All Implemented Interfaces:
ConversationRelayRequest
- Enclosing interface:
ConversationRelayRequest
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.enola.audio.voice.twilio.relay.ConversationRelayRequest
ConversationRelayRequest.DTMF, ConversationRelayRequest.Error, ConversationRelayRequest.Interrupt, ConversationRelayRequest.Prompt, ConversationRelayRequest.Setup -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountSidrecord component.Returns the value of thecallerNamerecord component.callSid()Returns the value of thecallSidrecord component.Returns the value of thecustomParametersrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theforwardedFromrecord component.from()Returns the value of thefromrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparentCallSidrecord component.Returns the value of thesessionIdrecord component.to()Returns the value of thetorecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Setup
public Setup(String sessionId, String callSid, String parentCallSid, String from, String to, String forwardedFrom, String callerName, String accountSid, Map<String, Object> customParameters) Creates an instance of aSetuprecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentcallSid- the value for thecallSidrecord componentparentCallSid- the value for theparentCallSidrecord componentfrom- the value for thefromrecord componentto- the value for thetorecord componentforwardedFrom- the value for theforwardedFromrecord componentcallerName- the value for thecallerNamerecord componentaccountSid- the value for theaccountSidrecord componentcustomParameters- the value for thecustomParametersrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
callSid
Returns the value of thecallSidrecord component.- Returns:
- the value of the
callSidrecord component
-
parentCallSid
Returns the value of theparentCallSidrecord component.- Returns:
- the value of the
parentCallSidrecord component
-
from
Returns the value of thefromrecord component.- Returns:
- the value of the
fromrecord component
-
to
Returns the value of thetorecord component.- Returns:
- the value of the
torecord component
-
forwardedFrom
Returns the value of theforwardedFromrecord component.- Returns:
- the value of the
forwardedFromrecord component
-
callerName
Returns the value of thecallerNamerecord component.- Returns:
- the value of the
callerNamerecord component
-
accountSid
Returns the value of theaccountSidrecord component.- Returns:
- the value of the
accountSidrecord component
-
customParameters
Returns the value of thecustomParametersrecord component.- Returns:
- the value of the
customParametersrecord component
-