recordresponse

package
v0.46.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRecordResponsePostRequestBodyFromDiscriminatorValue added in v0.24.0

CreateRecordResponsePostRequestBodyFromDiscriminatorValue creates a new instance of the appropriate class based on discriminator value

Types

type RecordResponsePostRequestBody added in v0.24.0

type RecordResponsePostRequestBody struct {
	// contains filtered or unexported fields
}

RecordResponsePostRequestBody provides operations to call the recordResponse method.

func NewRecordResponsePostRequestBody added in v0.24.0

func NewRecordResponsePostRequestBody() *RecordResponsePostRequestBody

NewRecordResponsePostRequestBody instantiates a new recordResponsePostRequestBody and sets the default values.

func (*RecordResponsePostRequestBody) GetAdditionalData added in v0.24.0

func (m *RecordResponsePostRequestBody) GetAdditionalData() map[string]interface{}

GetAdditionalData gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*RecordResponsePostRequestBody) GetBargeInAllowed added in v0.24.0

func (m *RecordResponsePostRequestBody) GetBargeInAllowed() *bool

GetBargeInAllowed gets the bargeInAllowed property value. The bargeInAllowed property

func (*RecordResponsePostRequestBody) GetClientContext added in v0.24.0

func (m *RecordResponsePostRequestBody) GetClientContext() *string

GetClientContext gets the clientContext property value. The clientContext property

func (*RecordResponsePostRequestBody) GetFieldDeserializers added in v0.24.0

GetFieldDeserializers the deserialization information for the current model

func (*RecordResponsePostRequestBody) GetInitialSilenceTimeoutInSeconds added in v0.24.0

func (m *RecordResponsePostRequestBody) GetInitialSilenceTimeoutInSeconds() *int32

GetInitialSilenceTimeoutInSeconds gets the initialSilenceTimeoutInSeconds property value. The initialSilenceTimeoutInSeconds property

func (*RecordResponsePostRequestBody) GetMaxRecordDurationInSeconds added in v0.24.0

func (m *RecordResponsePostRequestBody) GetMaxRecordDurationInSeconds() *int32

GetMaxRecordDurationInSeconds gets the maxRecordDurationInSeconds property value. The maxRecordDurationInSeconds property

func (*RecordResponsePostRequestBody) GetMaxSilenceTimeoutInSeconds added in v0.24.0

func (m *RecordResponsePostRequestBody) GetMaxSilenceTimeoutInSeconds() *int32

GetMaxSilenceTimeoutInSeconds gets the maxSilenceTimeoutInSeconds property value. The maxSilenceTimeoutInSeconds property

func (*RecordResponsePostRequestBody) GetPlayBeep added in v0.24.0

func (m *RecordResponsePostRequestBody) GetPlayBeep() *bool

GetPlayBeep gets the playBeep property value. The playBeep property

func (*RecordResponsePostRequestBody) GetPrompts added in v0.24.0

GetPrompts gets the prompts property value. The prompts property

func (*RecordResponsePostRequestBody) GetStopTones added in v0.24.0

func (m *RecordResponsePostRequestBody) GetStopTones() []string

GetStopTones gets the stopTones property value. The stopTones property

func (*RecordResponsePostRequestBody) Serialize added in v0.24.0

Serialize serializes information the current object

func (*RecordResponsePostRequestBody) SetAdditionalData added in v0.24.0

func (m *RecordResponsePostRequestBody) SetAdditionalData(value map[string]interface{})

SetAdditionalData sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

func (*RecordResponsePostRequestBody) SetBargeInAllowed added in v0.24.0

func (m *RecordResponsePostRequestBody) SetBargeInAllowed(value *bool)

SetBargeInAllowed sets the bargeInAllowed property value. The bargeInAllowed property

func (*RecordResponsePostRequestBody) SetClientContext added in v0.24.0

func (m *RecordResponsePostRequestBody) SetClientContext(value *string)

SetClientContext sets the clientContext property value. The clientContext property

func (*RecordResponsePostRequestBody) SetInitialSilenceTimeoutInSeconds added in v0.24.0

func (m *RecordResponsePostRequestBody) SetInitialSilenceTimeoutInSeconds(value *int32)

SetInitialSilenceTimeoutInSeconds sets the initialSilenceTimeoutInSeconds property value. The initialSilenceTimeoutInSeconds property

func (*RecordResponsePostRequestBody) SetMaxRecordDurationInSeconds added in v0.24.0

func (m *RecordResponsePostRequestBody) SetMaxRecordDurationInSeconds(value *int32)

SetMaxRecordDurationInSeconds sets the maxRecordDurationInSeconds property value. The maxRecordDurationInSeconds property

func (*RecordResponsePostRequestBody) SetMaxSilenceTimeoutInSeconds added in v0.24.0

func (m *RecordResponsePostRequestBody) SetMaxSilenceTimeoutInSeconds(value *int32)

SetMaxSilenceTimeoutInSeconds sets the maxSilenceTimeoutInSeconds property value. The maxSilenceTimeoutInSeconds property

func (*RecordResponsePostRequestBody) SetPlayBeep added in v0.24.0

func (m *RecordResponsePostRequestBody) SetPlayBeep(value *bool)

SetPlayBeep sets the playBeep property value. The playBeep property

func (*RecordResponsePostRequestBody) SetPrompts added in v0.24.0

SetPrompts sets the prompts property value. The prompts property

func (*RecordResponsePostRequestBody) SetStopTones added in v0.24.0

func (m *RecordResponsePostRequestBody) SetStopTones(value []string)

SetStopTones sets the stopTones property value. The stopTones property

type RecordResponsePostRequestBodyable added in v0.24.0

type RecordResponsePostRequestBodyable interface {
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.AdditionalDataHolder
	i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable
	GetBargeInAllowed() *bool
	GetClientContext() *string
	GetInitialSilenceTimeoutInSeconds() *int32
	GetMaxRecordDurationInSeconds() *int32
	GetMaxSilenceTimeoutInSeconds() *int32
	GetPlayBeep() *bool
	GetPrompts() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Promptable
	GetStopTones() []string
	SetBargeInAllowed(value *bool)
	SetClientContext(value *string)
	SetInitialSilenceTimeoutInSeconds(value *int32)
	SetMaxRecordDurationInSeconds(value *int32)
	SetMaxSilenceTimeoutInSeconds(value *int32)
	SetPlayBeep(value *bool)
	SetPrompts(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Promptable)
	SetStopTones(value []string)
}

RecordResponsePostRequestBodyable

type RecordResponseRequestBuilder

type RecordResponseRequestBuilder struct {
	// contains filtered or unexported fields
}

RecordResponseRequestBuilder provides operations to call the recordResponse method.

func NewRecordResponseRequestBuilder

NewRecordResponseRequestBuilder instantiates a new RecordResponseRequestBuilder and sets the default values.

func NewRecordResponseRequestBuilderInternal

func NewRecordResponseRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RecordResponseRequestBuilder

NewRecordResponseRequestBuilderInternal instantiates a new RecordResponseRequestBuilder and sets the default values.

func (*RecordResponseRequestBuilder) CreatePostRequestInformation

CreatePostRequestInformation records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.

func (*RecordResponseRequestBuilder) Post

Post records a short audio response from the caller.A bot can utilize this to capture a voice response from a caller after they are prompted for a response. For further information on how to handle operations, please review commsOperation This action is not intended to record the entire call. The maximum length of recording is 2 minutes. The recording is not saved permanently by the Cloud Communications Platform and is discarded shortly after the call ends. The bot must download the recording promptly after the recording operation finishes by using the recordingLocation value that's given in the completed notification.

type RecordResponseRequestBuilderPostRequestConfiguration added in v0.22.0

type RecordResponseRequestBuilderPostRequestConfiguration struct {
	// Request headers
	Headers map[string]string
	// Request options
	Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}

RecordResponseRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL