class Twilio::TranscriptionsApi

Defined in:

twilio/api/transcriptions_api.cr

Constant Summary

DELETE_TRANSCRIPTION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_TRANSCRIPTION_MAX_LENGTH_FOR_SID = 34
DELETE_TRANSCRIPTION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
DELETE_TRANSCRIPTION_MIN_LENGTH_FOR_SID = 34
DELETE_TRANSCRIPTION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
DELETE_TRANSCRIPTION_PATTERN_FOR_SID = /^TR[0-9a-fA-F]{32}$/
FETCH_TRANSCRIPTION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_TRANSCRIPTION_MAX_LENGTH_FOR_SID = 34
FETCH_TRANSCRIPTION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
FETCH_TRANSCRIPTION_MIN_LENGTH_FOR_SID = 34
FETCH_TRANSCRIPTION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/
FETCH_TRANSCRIPTION_PATTERN_FOR_SID = /^TR[0-9a-fA-F]{32}$/
LIST_TRANSCRIPTION_MAX_FOR_PAGE_SIZE = Int32.new("1000")
LIST_TRANSCRIPTION_MAX_LENGTH_FOR_ACCOUNT_SID = 34
LIST_TRANSCRIPTION_MIN_FOR_PAGE_SIZE = Int32.new("1")
LIST_TRANSCRIPTION_MIN_LENGTH_FOR_ACCOUNT_SID = 34
LIST_TRANSCRIPTION_PATTERN_FOR_ACCOUNT_SID = /^AC[0-9a-fA-F]{32}$/

Constructors

Instance Method Summary

Constructor Detail

def self.new(api_client : Twilio::ApiClient = ApiClient.default) #

[View source]

Instance Method Detail

def account_sid : String #

[View source]
def account_sid=(account_sid : String) #

[View source]
def api_client : ApiClient #

[View source]
def api_client=(api_client : ApiClient) #

[View source]
def build_api_request_for_delete_transcription(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_fetch_transcription(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def build_api_request_for_list_transcription(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Crest::Request #

@return Crest::Request


[View source]
def client_side_validation?(*args, **options) #

[View source]
def client_side_validation?(*args, **options, &) #

[View source]
def debugging?(*args, **options) #

[View source]
def debugging?(*args, **options, &) #

[View source]
def delete_transcription(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Nil #

Delete a transcription from the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Transcription resources to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Transcription resource to delete. @return [Nil]


[View source]
def delete_transcription(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Delete a transcription from the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Transcription resources to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Transcription resource to delete. @return nil


[View source]
def delete_transcription_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Nil, Int32, Hash(String, Array(String) | String)) #

Delete a transcription from the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Transcription resources to delete. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Transcription resource to delete. @return [Tuple(Nil, Integer, Hash)] Nil, response status code and response headers


[View source]
def fetch_transcription(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Twilio::Transcription #

Fetch an instance of a Transcription @required @param account_sid [String?] The SID of the Account that created the Transcription resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Transcription resource to fetch. @return [Twilio::Transcription]


[View source]
def fetch_transcription(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil, &block : Crest::Response -> ) : Nil #

Fetch an instance of a Transcription @required @param account_sid [String?] The SID of the Account that created the Transcription resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Transcription resource to fetch. @return nil


[View source]
def fetch_transcription_with_http_info(*, account_sid : String | Nil = @account_sid, sid : String | Nil = nil) : Tuple(Twilio::Transcription, Int32, Hash(String, Array(String) | String)) #

Fetch an instance of a Transcription @required @param account_sid [String?] The SID of the Account that created the Transcription resource to fetch. @required @param sid [String?] The Twilio-provided string that uniquely identifies the Transcription resource to fetch. @return [Tuple(Twilio::Transcription, Integer, Hash)] Twilio::Transcription, response status code and response headers


[View source]
def list_transcription(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Twilio::ListTranscriptionResponse #

Retrieve a list of transcriptions belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Transcription resources to read. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListTranscriptionResponse]


[View source]
def list_transcription(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil, &block : Crest::Response -> ) : Nil #

Retrieve a list of transcriptions belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Transcription resources to read. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil


[View source]
def list_transcription_with_http_info(*, account_sid : String | Nil = @account_sid, page_size : Int32 | Nil = nil) : Tuple(Twilio::ListTranscriptionResponse, Int32, Hash(String, Array(String) | String)) #

Retrieve a list of transcriptions belonging to the account used to make the request @required @param account_sid [String?] The SID of the Account that created the Transcription resources to read. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListTranscriptionResponse, Integer, Hash)] Twilio::ListTranscriptionResponse, response status code and response headers


[View source]