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 Participantcreate(TwilioRestClient client)Execute a request using specified client.ParticipantCreatorsetAttributes(String attributes)ParticipantCreatorsetDateCreated(ZonedDateTime dateCreated)ParticipantCreatorsetDateUpdated(ZonedDateTime dateUpdated)ParticipantCreatorsetIdentity(String identity)ParticipantCreatorsetMessagingBindingAddress(String messagingBindingAddress)ParticipantCreatorsetMessagingBindingProjectedAddress(String messagingBindingProjectedAddress)ParticipantCreatorsetMessagingBindingProxyAddress(String messagingBindingProxyAddress)ParticipantCreatorsetRoleSid(String roleSid)ParticipantCreatorsetXTwilioWebhookEnabled(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:CreatorExecute a request using specified client.- Specified by:
createin classCreator<Participant>- Parameters:
client- client used to make request- Returns:
- Requested object
-
-