github.com/twilio/twilio-go@v1.20.1/rest/intelligence/v2/model_intelligence_v2_transcript.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Intelligence
     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  // IntelligenceV2Transcript struct for IntelligenceV2Transcript
    22  type IntelligenceV2Transcript struct {
    23  	// The unique SID identifier of the Account.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// The unique SID identifier of the Service.
    26  	ServiceSid *string `json:"service_sid,omitempty"`
    27  	// A 34 character string that uniquely identifies this Transcript.
    28  	Sid *string `json:"sid,omitempty"`
    29  	// The date that this Transcript was created, given in ISO 8601 format.
    30  	DateCreated *time.Time `json:"date_created,omitempty"`
    31  	// The date that this Transcript was updated, given in ISO 8601 format.
    32  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    33  	Status      *string    `json:"status,omitempty"`
    34  	// Media Channel describing Transcript Source and Participant Mapping
    35  	Channel *interface{} `json:"channel,omitempty"`
    36  	// Data logging allows Twilio to improve the quality of the speech recognition & language understanding services through using customer data to refine, fine tune and evaluate machine learning models. Note: Data logging cannot be activated via API, only via www.twilio.com, as it requires additional consent.
    37  	DataLogging *bool `json:"data_logging,omitempty"`
    38  	// The default language code of the audio.
    39  	LanguageCode *string `json:"language_code,omitempty"`
    40  	CustomerKey  *string `json:"customer_key,omitempty"`
    41  	// The date that this Transcript's media was started, given in ISO 8601 format.
    42  	MediaStartTime *time.Time `json:"media_start_time,omitempty"`
    43  	// The duration of this Transcript's source
    44  	Duration *int `json:"duration,omitempty"`
    45  	// The URL of this resource.
    46  	Url *string `json:"url,omitempty"`
    47  	// If the transcript has been redacted, a redacted alternative of the transcript will be available.
    48  	Redaction *bool                   `json:"redaction,omitempty"`
    49  	Links     *map[string]interface{} `json:"links,omitempty"`
    50  }