github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/model_taskrouter_v1_workspace_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  // TaskrouterV1WorkspaceRealTimeStatistics struct for TaskrouterV1WorkspaceRealTimeStatistics
    18  type TaskrouterV1WorkspaceRealTimeStatistics struct {
    19  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Workspace resource.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The number of current Workers by Activity.
    22  	ActivityStatistics *[]interface{} `json:"activity_statistics,omitempty"`
    23  	// The age of the longest waiting Task.
    24  	LongestTaskWaitingAge *int `json:"longest_task_waiting_age,omitempty"`
    25  	// The SID of the longest waiting Task.
    26  	LongestTaskWaitingSid *string `json:"longest_task_waiting_sid,omitempty"`
    27  	// The number of Tasks by priority. For example: `{\"0\": \"10\", \"99\": \"5\"}` shows 10 Tasks at priority 0 and 5 at priority 99.
    28  	TasksByPriority *interface{} `json:"tasks_by_priority,omitempty"`
    29  	// The number of Tasks by their current status. For example: `{\"pending\": \"1\", \"reserved\": \"3\", \"assigned\": \"2\", \"completed\": \"5\"}`.
    30  	TasksByStatus *interface{} `json:"tasks_by_status,omitempty"`
    31  	// The total number of Tasks.
    32  	TotalTasks *int `json:"total_tasks,omitempty"`
    33  	// The total number of Workers in the Workspace.
    34  	TotalWorkers *int `json:"total_workers,omitempty"`
    35  	// The SID of the Workspace.
    36  	WorkspaceSid *string `json:"workspace_sid,omitempty"`
    37  	// The absolute URL of the Workspace statistics resource.
    38  	Url *string `json:"url,omitempty"`
    39  }