Package com.twilio.rest.taskrouter.v1
Class Workspace
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.taskrouter.v1.Workspace
-
- All Implemented Interfaces:
Serializable
public class Workspace extends Resource
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Workspace.QueueOrder
-
Method Summary
-
-
-
Method Detail
-
creator
public static WorkspaceCreator creator(String friendlyName)
-
deleter
public static WorkspaceDeleter deleter(String pathSid)
-
fetcher
public static WorkspaceFetcher fetcher(String pathSid)
-
reader
public static WorkspaceReader reader()
-
updater
public static WorkspaceUpdater updater(String pathSid)
-
fromJson
public static Workspace fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Workspace object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Workspace object represented by the provided JSON
-
fromJson
public static Workspace fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Workspace object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Workspace object represented by the provided JSON
-
getAccountSid
public final String getAccountSid()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getDefaultActivityName
public final String getDefaultActivityName()
-
getDefaultActivitySid
public final String getDefaultActivitySid()
-
getEventCallbackUrl
public final URI getEventCallbackUrl()
-
getEventsFilter
public final String getEventsFilter()
-
getFriendlyName
public final String getFriendlyName()
-
getMultiTaskEnabled
public final Boolean getMultiTaskEnabled()
-
getSid
public final String getSid()
-
getTimeoutActivityName
public final String getTimeoutActivityName()
-
getTimeoutActivitySid
public final String getTimeoutActivitySid()
-
getPrioritizeQueueOrder
public final Workspace.QueueOrder getPrioritizeQueueOrder()
-
getUrl
public final URI getUrl()
-
-