package
1.22.3
Repository: https://github.com/twilio/twilio-go.git
Documentation: pkg.go.dev

# README

Go API client for openapi

This is the public Twilio REST API.

Overview

This API client was generated by the OpenAPI Generator project from the OpenAPI specs located at twilio/twilio-oai. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: com.twilio.oai.TwilioGoGenerator For more information, please visit https://support.twilio.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/net/context

Put the package under your project folder and add the following in import:

import "./openapi"

Documentation for API Endpoints

All URIs are relative to https://intelligence.twilio.com

ClassMethodHTTP requestDescription
OperatorTypesApiFetchOperatorTypeGet /v2/OperatorTypes/{Sid}
OperatorTypesApiListOperatorTypeGet /v2/OperatorTypes
OperatorsApiFetchOperatorGet /v2/Operators/{Sid}
OperatorsApiListOperatorGet /v2/Operators
OperatorsCustomApiCreateCustomOperatorPost /v2/Operators/Custom
OperatorsCustomApiDeleteCustomOperatorDelete /v2/Operators/Custom/{Sid}
OperatorsCustomApiFetchCustomOperatorGet /v2/Operators/Custom/{Sid}
OperatorsCustomApiListCustomOperatorGet /v2/Operators/Custom
OperatorsCustomApiUpdateCustomOperatorPost /v2/Operators/Custom/{Sid}
OperatorsPreBuiltApiFetchPrebuiltOperatorGet /v2/Operators/PreBuilt/{Sid}
OperatorsPreBuiltApiListPrebuiltOperatorGet /v2/Operators/PreBuilt
ServicesApiCreateServicePost /v2/Services
ServicesApiDeleteServiceDelete /v2/Services/{Sid}
ServicesApiFetchServiceGet /v2/Services/{Sid}
ServicesApiListServiceGet /v2/Services
ServicesApiUpdateServicePost /v2/Services/{Sid}
ServicesOperatorsApiCreateOperatorAttachmentPost /v2/Services/{ServiceSid}/Operators/{OperatorSid}
ServicesOperatorsApiDeleteOperatorAttachmentDelete /v2/Services/{ServiceSid}/Operators/{OperatorSid}
ServicesOperatorsApiFetchOperatorAttachmentsGet /v2/Services/{ServiceSid}/Operators
TranscriptsApiCreateTranscriptPost /v2/Transcripts
TranscriptsApiDeleteTranscriptDelete /v2/Transcripts/{Sid}
TranscriptsApiFetchTranscriptGet /v2/Transcripts/{Sid}
TranscriptsApiListTranscriptGet /v2/Transcripts
TranscriptsMediaApiFetchMediaGet /v2/Transcripts/{Sid}/Media
TranscriptsOperatorResultsApiFetchOperatorResultGet /v2/Transcripts/{TranscriptSid}/OperatorResults/{OperatorSid}
TranscriptsOperatorResultsApiListOperatorResultGet /v2/Transcripts/{TranscriptSid}/OperatorResults
TranscriptsSentencesApiListSentenceGet /v2/Transcripts/{TranscriptSid}/Sentences

Documentation For Models

Documentation For Authorization

accountSid_authToken

  • Type: HTTP basic authentication

Example

auth := context.WithValue(context.Background(), sw.ContextBasicAuth, sw.BasicAuth{
    UserName: "username",
    Password: "password",
})
r, err := client.Service.Operation(auth, args)

# Functions

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
Optional parameters for the method 'CreateCustomOperator'.
Optional parameters for the method 'CreateService'.
Optional parameters for the method 'CreateTranscript'.
Optional parameters for the method 'FetchMedia'.
Optional parameters for the method 'FetchOperatorResult'.
IntelligenceV2CustomOperator struct for IntelligenceV2CustomOperator.
IntelligenceV2Media struct for IntelligenceV2Media.
IntelligenceV2Operator struct for IntelligenceV2Operator.
IntelligenceV2OperatorAttachment struct for IntelligenceV2OperatorAttachment.
IntelligenceV2OperatorAttachments struct for IntelligenceV2OperatorAttachments.
IntelligenceV2OperatorResult struct for IntelligenceV2OperatorResult.
IntelligenceV2OperatorType struct for IntelligenceV2OperatorType.
IntelligenceV2PrebuiltOperator struct for IntelligenceV2PrebuiltOperator.
IntelligenceV2Sentence struct for IntelligenceV2Sentence.
IntelligenceV2Service struct for IntelligenceV2Service.
IntelligenceV2Transcript struct for IntelligenceV2Transcript.
Optional parameters for the method 'ListCustomOperator'.
ListCustomOperatorResponse struct for ListCustomOperatorResponse.
ListCustomOperatorResponseMeta struct for ListCustomOperatorResponseMeta.
Optional parameters for the method 'ListOperator'.
ListOperatorResponse struct for ListOperatorResponse.
Optional parameters for the method 'ListOperatorResult'.
ListOperatorResultResponse struct for ListOperatorResultResponse.
Optional parameters for the method 'ListOperatorType'.
ListOperatorTypeResponse struct for ListOperatorTypeResponse.
Optional parameters for the method 'ListPrebuiltOperator'.
ListPrebuiltOperatorResponse struct for ListPrebuiltOperatorResponse.
Optional parameters for the method 'ListSentence'.
ListSentenceResponse struct for ListSentenceResponse.
Optional parameters for the method 'ListService'.
ListServiceResponse struct for ListServiceResponse.
Optional parameters for the method 'ListTranscript'.
ListTranscriptResponse struct for ListTranscriptResponse.
Optional parameters for the method 'UpdateCustomOperator'.
Optional parameters for the method 'UpdateService'.