github.com/twilio/twilio-go@v1.20.1/rest/intelligence/v2/model_intelligence_v2_service.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  // IntelligenceV2Service struct for IntelligenceV2Service
    22  type IntelligenceV2Service struct {
    23  	// The unique SID identifier of the Account the Service belongs to.
    24  	AccountSid *string `json:"account_sid,omitempty"`
    25  	// Instructs the Speech Recognition service to automatically redact PII from all transcripts made on this service.
    26  	AutoRedaction *bool `json:"auto_redaction,omitempty"`
    27  	// Instructs the Speech Recognition service to automatically redact PII from all transcripts media made on this service. The auto_redaction flag must be enabled, results in error otherwise.
    28  	MediaRedaction *bool `json:"media_redaction,omitempty"`
    29  	// Instructs the Speech Recognition service to automatically transcribe all recordings made on the account.
    30  	AutoTranscribe *bool `json:"auto_transcribe,omitempty"`
    31  	// 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.
    32  	DataLogging *bool `json:"data_logging,omitempty"`
    33  	// The date that this Service was created, given in ISO 8601 format.
    34  	DateCreated *time.Time `json:"date_created,omitempty"`
    35  	// The date that this Service was updated, given in ISO 8601 format.
    36  	DateUpdated *time.Time `json:"date_updated,omitempty"`
    37  	// A human readable description of this resource, up to 64 characters.
    38  	FriendlyName *string `json:"friendly_name,omitempty"`
    39  	// The default language code of the audio.
    40  	LanguageCode *string `json:"language_code,omitempty"`
    41  	// A 34 character string that uniquely identifies this Service.
    42  	Sid *string `json:"sid,omitempty"`
    43  	// Provides a unique and addressable name to be assigned to this Service, assigned by the developer, to be optionally used in addition to SID.
    44  	UniqueName *string `json:"unique_name,omitempty"`
    45  	// The URL of this resource.
    46  	Url *string `json:"url,omitempty"`
    47  	// The URL Twilio will request when executing the Webhook.
    48  	WebhookUrl        *string `json:"webhook_url,omitempty"`
    49  	WebhookHttpMethod *string `json:"webhook_http_method,omitempty"`
    50  	// The version number of this Service.
    51  	Version *int `json:"version,omitempty"`
    52  }