Class ParticipantCreator
- java.lang.Object
-
- com.twilio.base.Creator<Participant>
-
- com.twilio.rest.conversations.v1.service.conversation.ParticipantCreator
-
public class ParticipantCreator extends Creator<Participant>
-
-
Constructor Summary
Constructors Constructor Description ParticipantCreator(String pathChatServiceSid, String pathConversationSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Participant
create(TwilioRestClient client)
Execute a request using specified client.ParticipantCreator
setAttributes(String attributes)
ParticipantCreator
setDateCreated(ZonedDateTime dateCreated)
ParticipantCreator
setDateUpdated(ZonedDateTime dateUpdated)
ParticipantCreator
setIdentity(String identity)
ParticipantCreator
setMessagingBindingAddress(String messagingBindingAddress)
ParticipantCreator
setMessagingBindingProjectedAddress(String messagingBindingProjectedAddress)
ParticipantCreator
setMessagingBindingProxyAddress(String messagingBindingProxyAddress)
ParticipantCreator
setRoleSid(String roleSid)
ParticipantCreator
setXTwilioWebhookEnabled(Participant.WebhookEnabledType xTwilioWebhookEnabled)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setXTwilioWebhookEnabled
public ParticipantCreator setXTwilioWebhookEnabled(Participant.WebhookEnabledType xTwilioWebhookEnabled)
-
setIdentity
public ParticipantCreator setIdentity(String identity)
-
setMessagingBindingAddress
public ParticipantCreator setMessagingBindingAddress(String messagingBindingAddress)
-
setMessagingBindingProxyAddress
public ParticipantCreator setMessagingBindingProxyAddress(String messagingBindingProxyAddress)
-
setDateCreated
public ParticipantCreator setDateCreated(ZonedDateTime dateCreated)
-
setDateUpdated
public ParticipantCreator setDateUpdated(ZonedDateTime dateUpdated)
-
setAttributes
public ParticipantCreator setAttributes(String attributes)
-
setMessagingBindingProjectedAddress
public ParticipantCreator setMessagingBindingProjectedAddress(String messagingBindingProjectedAddress)
-
setRoleSid
public ParticipantCreator setRoleSid(String roleSid)
-
create
public Participant create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<Participant>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-