github.com/twilio/twilio-go@v1.20.1/rest/taskrouter/v1/model_taskrouter_v1_task_channel.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  // TaskrouterV1TaskChannel struct for TaskrouterV1TaskChannel
    22  type TaskrouterV1TaskChannel struct {
    23  	// The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Task Channel 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  	// The string that you assigned to describe the resource.
    30  	FriendlyName *string `json:"friendly_name,omitempty"`
    31  	// The unique string that we created to identify the Task Channel resource.
    32  	Sid *string `json:"sid,omitempty"`
    33  	// An application-defined string that uniquely identifies the Task Channel, such as `voice` or `sms`.
    34  	UniqueName *string `json:"unique_name,omitempty"`
    35  	// The SID of the Workspace that contains the Task Channel.
    36  	WorkspaceSid *string `json:"workspace_sid,omitempty"`
    37  	// Whether the Task Channel will prioritize Workers that have been idle. When `true`, Workers that have been idle the longest are prioritized.
    38  	ChannelOptimizedRouting *bool `json:"channel_optimized_routing,omitempty"`
    39  	// The absolute URL of the Task Channel resource.
    40  	Url *string `json:"url,omitempty"`
    41  	// The URLs of related resources.
    42  	Links *map[string]interface{} `json:"links,omitempty"`
    43  }