Documentation
¶
Index ¶
- func CreateRecordResponsePostRequestBodyFromDiscriminatorValue(...) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, ...)
- type RecordResponsePostRequestBody
- func (m *RecordResponsePostRequestBody) GetAdditionalData() map[string]interface{}
- func (m *RecordResponsePostRequestBody) GetBargeInAllowed() *bool
- func (m *RecordResponsePostRequestBody) GetClientContext() *string
- func (m *RecordResponsePostRequestBody) GetFieldDeserializers() ...
- func (m *RecordResponsePostRequestBody) GetInitialSilenceTimeoutInSeconds() *int32
- func (m *RecordResponsePostRequestBody) GetMaxRecordDurationInSeconds() *int32
- func (m *RecordResponsePostRequestBody) GetMaxSilenceTimeoutInSeconds() *int32
- func (m *RecordResponsePostRequestBody) GetPlayBeep() *bool
- func (m *RecordResponsePostRequestBody) GetPrompts() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Promptable
- func (m *RecordResponsePostRequestBody) GetStopTones() []string
- func (m *RecordResponsePostRequestBody) Serialize(...) error
- func (m *RecordResponsePostRequestBody) SetAdditionalData(value map[string]interface{})
- func (m *RecordResponsePostRequestBody) SetBargeInAllowed(value *bool)
- func (m *RecordResponsePostRequestBody) SetClientContext(value *string)
- func (m *RecordResponsePostRequestBody) SetInitialSilenceTimeoutInSeconds(value *int32)
- func (m *RecordResponsePostRequestBody) SetMaxRecordDurationInSeconds(value *int32)
- func (m *RecordResponsePostRequestBody) SetMaxSilenceTimeoutInSeconds(value *int32)
- func (m *RecordResponsePostRequestBody) SetPlayBeep(value *bool)
- func (m *RecordResponsePostRequestBody) SetPrompts(...)
- func (m *RecordResponsePostRequestBody) SetStopTones(value []string)
- type RecordResponsePostRequestBodyable
- type RecordResponseRequestBuilder
- type RecordResponseRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRecordResponsePostRequestBodyFromDiscriminatorValue ¶ added in v0.24.0
func CreateRecordResponsePostRequestBodyFromDiscriminatorValue(parseNode i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) (i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.Parsable, error)
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
func (m *RecordResponsePostRequestBody) GetFieldDeserializers() map[string]func(i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.ParseNode) error
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
func (m *RecordResponsePostRequestBody) GetPrompts() []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Promptable
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
func (m *RecordResponsePostRequestBody) Serialize(writer i878a80d2330e89d26896388a3f487eef27b0a0e6c010c493bf80be1452208f91.SerializationWriter) error
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
func (m *RecordResponsePostRequestBody) SetPrompts(value []iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.Promptable)
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 ¶
func NewRecordResponseRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *RecordResponseRequestBuilder
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 ¶
func (m *RecordResponseRequestBuilder) CreatePostRequestInformation(ctx context.Context, body RecordResponsePostRequestBodyable, requestConfiguration *RecordResponseRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
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 ¶
func (m *RecordResponseRequestBuilder) Post(ctx context.Context, body RecordResponsePostRequestBodyable, requestConfiguration *RecordResponseRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.RecordOperationable, error)
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.