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