Twilio.Resources.Taskrouter.V1.Workspace.WorkspaceRealTimeStatistics (twilio_elixir v0.1.1)

Copy Markdown View Source

WorkspaceRealTimeStatistics resource.

Parent: /Workspaces/{Sid}

Properties

FieldDescription

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

account_sidThe SID of the Account that created the Workspace resource.
activity_statisticsThe number of current Workers by Activity.
longest_task_waiting_ageThe age of the longest waiting Task.
longest_task_waiting_sidThe SID of the longest waiting Task.

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

| tasks_by_priority | The number of Tasks by priority. For example: {"0": "10", "99": "5"} shows 10 Tasks at priority 0 and 5 at priority 99. |

credo:disable-for-next-line Credo.Check.Readability.MaxLineLength

tasks_by_statusThe number of Tasks by their current status. For example: {"pending": "1", "reserved": "3", "assigned": "2", "completed": "5"}.
total_tasksThe total number of Tasks.
total_workersThe total number of Workers in the Workspace.
urlThe absolute URL of the Workspace statistics resource.. Format: uri
workspace_sidThe SID of the Workspace.

Summary

Types

t()

@type t() :: %Twilio.Resources.Taskrouter.V1.Workspace.WorkspaceRealTimeStatistics{
  account_sid: String.t() | nil,
  activity_statistics: list() | nil,
  longest_task_waiting_age: integer(),
  longest_task_waiting_sid: String.t() | nil,
  tasks_by_priority: String.t() | nil,
  tasks_by_status: String.t() | nil,
  total_tasks: integer(),
  total_workers: integer(),
  url: String.t() | nil,
  workspace_sid: String.t() | nil
}

Functions

object_name()