Class Queue
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.api.v2010.account.Queue
-
- All Implemented Interfaces:
Serializable
public class Queue extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static QueueCreator
creator(String friendlyName)
static QueueCreator
creator(String pathAccountSid, String friendlyName)
static QueueDeleter
deleter(String pathSid)
static QueueDeleter
deleter(String pathAccountSid, String pathSid)
boolean
equals(Object o)
static QueueFetcher
fetcher(String pathSid)
static QueueFetcher
fetcher(String pathAccountSid, String pathSid)
static Queue
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Queue object using the provided ObjectMapper.static Queue
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Queue object using the provided ObjectMapper.String
getAccountSid()
Integer
getAverageWaitTime()
Integer
getCurrentSize()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
Integer
getMaxSize()
String
getSid()
String
getUri()
int
hashCode()
static QueueReader
reader()
static QueueReader
reader(String pathAccountSid)
static QueueUpdater
updater(String pathSid)
static QueueUpdater
updater(String pathAccountSid, String pathSid)
-
-
-
Method Detail
-
creator
public static QueueCreator creator(String friendlyName)
-
creator
public static QueueCreator creator(String pathAccountSid, String friendlyName)
-
deleter
public static QueueDeleter deleter(String pathSid)
-
deleter
public static QueueDeleter deleter(String pathAccountSid, String pathSid)
-
fetcher
public static QueueFetcher fetcher(String pathSid)
-
fetcher
public static QueueFetcher fetcher(String pathAccountSid, String pathSid)
-
reader
public static QueueReader reader()
-
reader
public static QueueReader reader(String pathAccountSid)
-
updater
public static QueueUpdater updater(String pathSid)
-
updater
public static QueueUpdater updater(String pathAccountSid, String pathSid)
-
fromJson
public static Queue fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Queue object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Queue object represented by the provided JSON
-
fromJson
public static Queue fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Queue object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Queue object represented by the provided JSON
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getCurrentSize
public final Integer getCurrentSize()
-
getFriendlyName
public final String getFriendlyName()
-
getUri
public final String getUri()
-
getAccountSid
public final String getAccountSid()
-
getAverageWaitTime
public final Integer getAverageWaitTime()
-
getSid
public final String getSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getMaxSize
public final Integer getMaxSize()
-
-