/
model_taskrouter_v1_task_queue_bulk_real_time_statistics.go
29 lines (27 loc) · 2.02 KB
/
model_taskrouter_v1_task_queue_bulk_real_time_statistics.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
* This code was generated by
* ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __
* | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/
* | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \
*
* Twilio - Taskrouter
* This is the public Twilio REST API.
*
* NOTE: This class is auto generated by OpenAPI Generator.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
package openapi
// TaskrouterV1TaskQueueBulkRealTimeStatistics struct for TaskrouterV1TaskQueueBulkRealTimeStatistics
type TaskrouterV1TaskQueueBulkRealTimeStatistics struct {
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the TaskQueue resource.
AccountSid *string `json:"account_sid,omitempty"`
// The SID of the Workspace that contains the TaskQueue.
WorkspaceSid *string `json:"workspace_sid,omitempty"`
// The real-time statistics for each requested TaskQueue SID. `task_queue_data` returns the following attributes: `task_queue_sid`: The SID of the TaskQueue from which these statistics were calculated. `total_available_workers`: The total number of Workers available for Tasks in the TaskQueue. `total_eligible_workers`: The total number of Workers eligible for Tasks in the TaskQueue, regardless of their Activity state. `total_tasks`: The total number of Tasks. `longest_task_waiting_age`: The age of the longest waiting Task. `longest_task_waiting_sid`: The SID of the longest waiting Task. `tasks_by_status`: The number of Tasks grouped by their current status. `tasks_by_priority`: The number of Tasks grouped by priority. `activity_statistics`: The number of current Workers grouped by Activity.
TaskQueueData *[]interface{} `json:"task_queue_data,omitempty"`
// The number of TaskQueue statistics received in task_queue_data.
TaskQueueResponseCount *int `json:"task_queue_response_count,omitempty"`
// The absolute URL of the TaskQueue statistics resource.
Url *string `json:"url,omitempty"`
}