github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/model_taskrouter_v1_workflow_real_time_statistics.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Taskrouter 8 * This is the public Twilio REST API. 9 * 10 * NOTE: This class is auto generated by OpenAPI Generator. 11 * https://openapi-generator.tech 12 * Do not edit the class manually. 13 */ 14 15 package openapi 16 17 // TaskrouterV1WorkflowRealTimeStatistics struct for TaskrouterV1WorkflowRealTimeStatistics 18 type TaskrouterV1WorkflowRealTimeStatistics struct { 19 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workflow resource. 20 AccountSid *string `json:"account_sid,omitempty"` 21 // The age of the longest waiting Task. 22 LongestTaskWaitingAge *int `json:"longest_task_waiting_age,omitempty"` 23 // The SID of the longest waiting Task. 24 LongestTaskWaitingSid *string `json:"longest_task_waiting_sid,omitempty"` 25 // The number of Tasks by priority. For example: `{\"0\": \"10\", \"99\": \"5\"}` shows 10 Tasks at priority 0 and 5 at priority 99. 26 TasksByPriority *interface{} `json:"tasks_by_priority,omitempty"` 27 // The number of Tasks by their current status. For example: `{\"pending\": \"1\", \"reserved\": \"3\", \"assigned\": \"2\", \"completed\": \"5\"}`. 28 TasksByStatus *interface{} `json:"tasks_by_status,omitempty"` 29 // The total number of Tasks. 30 TotalTasks *int `json:"total_tasks,omitempty"` 31 // Returns the list of Tasks that are being controlled by the Workflow with the specified SID value. 32 WorkflowSid *string `json:"workflow_sid,omitempty"` 33 // The SID of the Workspace that contains the Workflow. 34 WorkspaceSid *string `json:"workspace_sid,omitempty"` 35 // The absolute URL of the Workflow statistics resource. 36 Url *string `json:"url,omitempty"` 37 }