public class Member extends SidResource
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static MemberFetcher |
fetch(String accountSid,
String queueSid,
String callSid)
Create a MemberFetcher to execute fetch.
|
static Member |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Member object using the provided
ObjectMapper.
|
static Member |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Member object using the provided ObjectMapper.
|
String |
getCallSid()
Returns The Unique string that identifies this resource.
|
org.joda.time.DateTime |
getDateEnqueued()
Returns The The date the member was enqueued.
|
Integer |
getPosition()
Returns The This member's current position in the queue..
|
String |
getSid()
Returns The Unique string that identifies this resource.
|
String |
getUri()
Returns The The uri.
|
Integer |
getWaitTime()
Returns The The number of seconds the member has been in the queue..
|
int |
hashCode() |
static MemberReader |
read(String accountSid,
String queueSid)
Create a MemberReader to execute read.
|
String |
toString() |
static MemberUpdater |
update(String accountSid,
String queueSid,
String callSid,
URI url,
HttpMethod method)
Create a MemberUpdater to execute update.
|
public static MemberFetcher fetch(String accountSid, String queueSid, String callSid)
accountSid
- The account_sidqueueSid
- The Queue in which to find the memberscallSid
- The call_sidpublic static MemberUpdater update(String accountSid, String queueSid, String callSid, URI url, HttpMethod method)
accountSid
- The account_sidqueueSid
- The Queue in which to find the memberscallSid
- The call_sidurl
- The urlmethod
- The methodpublic static MemberReader read(String accountSid, String queueSid)
accountSid
- The account_sidqueueSid
- The Queue in which to find memberspublic static Member fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Member fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
getSid
in class SidResource
public final String getCallSid()
public final org.joda.time.DateTime getDateEnqueued()
public final Integer getPosition()
public final String getUri()
public final Integer getWaitTime()
Copyright © 2011 Twilio, Inc. All Rights Reserved.