Package com.twilio.rest.conversations.v1
Class ConversationCreator
- java.lang.Object
-
- com.twilio.base.Creator<Conversation>
-
- com.twilio.rest.conversations.v1.ConversationCreator
-
public class ConversationCreator extends Creator<Conversation>
-
-
Constructor Summary
Constructors Constructor Description ConversationCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Conversation
create(TwilioRestClient client)
Execute a request using specified client.ConversationCreator
setAttributes(String attributes)
ConversationCreator
setDateCreated(ZonedDateTime dateCreated)
ConversationCreator
setDateUpdated(ZonedDateTime dateUpdated)
ConversationCreator
setFriendlyName(String friendlyName)
ConversationCreator
setMessagingServiceSid(String messagingServiceSid)
ConversationCreator
setState(Conversation.State state)
ConversationCreator
setTimersClosed(String timersClosed)
ConversationCreator
setTimersInactive(String timersInactive)
ConversationCreator
setUniqueName(String uniqueName)
ConversationCreator
setXTwilioWebhookEnabled(Conversation.WebhookEnabledType xTwilioWebhookEnabled)
-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Method Detail
-
setXTwilioWebhookEnabled
public ConversationCreator setXTwilioWebhookEnabled(Conversation.WebhookEnabledType xTwilioWebhookEnabled)
-
setFriendlyName
public ConversationCreator setFriendlyName(String friendlyName)
-
setUniqueName
public ConversationCreator setUniqueName(String uniqueName)
-
setDateCreated
public ConversationCreator setDateCreated(ZonedDateTime dateCreated)
-
setDateUpdated
public ConversationCreator setDateUpdated(ZonedDateTime dateUpdated)
-
setMessagingServiceSid
public ConversationCreator setMessagingServiceSid(String messagingServiceSid)
-
setAttributes
public ConversationCreator setAttributes(String attributes)
-
setState
public ConversationCreator setState(Conversation.State state)
-
setTimersInactive
public ConversationCreator setTimersInactive(String timersInactive)
-
setTimersClosed
public ConversationCreator setTimersClosed(String timersClosed)
-
create
public Conversation create(TwilioRestClient client)
Description copied from class:Creator
Execute a request using specified client.- Specified by:
create
in classCreator<Conversation>
- Parameters:
client
- client used to make request- Returns:
- Requested object
-
-