/
model_taskrouter_v1_worker_reservation.go
44 lines (41 loc) · 1.94 KB
/
model_taskrouter_v1_worker_reservation.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* 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
import (
"time"
)
// TaskrouterV1WorkerReservation struct for TaskrouterV1WorkerReservation
type TaskrouterV1WorkerReservation struct {
// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the WorkerReservation resource.
AccountSid *string `json:"account_sid,omitempty"`
// The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
DateCreated *time.Time `json:"date_created,omitempty"`
// The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
DateUpdated *time.Time `json:"date_updated,omitempty"`
ReservationStatus *string `json:"reservation_status,omitempty"`
// The unique string that we created to identify the WorkerReservation resource.
Sid *string `json:"sid,omitempty"`
// The SID of the reserved Task resource.
TaskSid *string `json:"task_sid,omitempty"`
// The `friendly_name` of the Worker that is reserved.
WorkerName *string `json:"worker_name,omitempty"`
// The SID of the reserved Worker resource.
WorkerSid *string `json:"worker_sid,omitempty"`
// The SID of the Workspace that this worker is contained within.
WorkspaceSid *string `json:"workspace_sid,omitempty"`
// The absolute URL of the WorkerReservation resource.
Url *string `json:"url,omitempty"`
// The URLs of related resources.
Links *map[string]interface{} `json:"links,omitempty"`
}