github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/model_taskrouter_v1_workers_cumulative_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  import (
    18  	"time"
    19  )
    20  
    21  // TaskrouterV1WorkersCumulativeStatistics struct for TaskrouterV1WorkersCumulativeStatistics
    22  type TaskrouterV1WorkersCumulativeStatistics struct {
    23  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Worker resource.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// The beginning of the interval during which these statistics were calculated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    26  	StartTime *time.Time `json:"start_time,omitempty"`
    27  	// The end of the interval during which these statistics were calculated, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
    28  	EndTime *time.Time `json:"end_time,omitempty"`
    29  	// The minimum, average, maximum, and total time (in seconds) that Workers spent in each Activity.
    30  	ActivityDurations *[]interface{} `json:"activity_durations,omitempty"`
    31  	// The total number of Reservations that were created.
    32  	ReservationsCreated *int `json:"reservations_created,omitempty"`
    33  	// The total number of Reservations that were accepted.
    34  	ReservationsAccepted *int `json:"reservations_accepted,omitempty"`
    35  	// The total number of Reservations that were rejected.
    36  	ReservationsRejected *int `json:"reservations_rejected,omitempty"`
    37  	// The total number of Reservations that were timed out.
    38  	ReservationsTimedOut *int `json:"reservations_timed_out,omitempty"`
    39  	// The total number of Reservations that were canceled.
    40  	ReservationsCanceled *int `json:"reservations_canceled,omitempty"`
    41  	// The total number of Reservations that were rescinded.
    42  	ReservationsRescinded *int `json:"reservations_rescinded,omitempty"`
    43  	// The SID of the Workspace that contains the Workers.
    44  	WorkspaceSid *string `json:"workspace_sid,omitempty"`
    45  	// The absolute URL of the Workers statistics resource.
    46  	Url *string `json:"url,omitempty"`
    47  }