Package com.twilio.rest.proxy.v1.service
Class SessionCreator
- java.lang.Object
-
- com.twilio.base.Creator<Session>
-
- com.twilio.rest.proxy.v1.service.SessionCreator
-
-
Constructor Summary
Constructors Constructor Description SessionCreator(String pathServiceSid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sessioncreate(TwilioRestClient client)Execute a request using specified client.SessionCreatorsetDateExpiry(ZonedDateTime dateExpiry)SessionCreatorsetMode(Session.Mode mode)SessionCreatorsetParticipants(List<Map<String,Object>> participants)SessionCreatorsetParticipants(Map<String,Object> participants)SessionCreatorsetStatus(Session.Status status)SessionCreatorsetTtl(Integer ttl)SessionCreatorsetUniqueName(String uniqueName)-
Methods inherited from class com.twilio.base.Creator
create, createAsync, createAsync
-
-
-
-
Constructor Detail
-
SessionCreator
public SessionCreator(String pathServiceSid)
-
-
Method Detail
-
setUniqueName
public SessionCreator setUniqueName(String uniqueName)
-
setDateExpiry
public SessionCreator setDateExpiry(ZonedDateTime dateExpiry)
-
setTtl
public SessionCreator setTtl(Integer ttl)
-
setMode
public SessionCreator setMode(Session.Mode mode)
-
setStatus
public SessionCreator setStatus(Session.Status status)
-
setParticipants
public SessionCreator setParticipants(List<Map<String,Object>> participants)
-
setParticipants
public SessionCreator setParticipants(Map<String,Object> participants)
-
-