Documentation
¶
Overview ¶
Package recording_settings contains auto-generated files. DO NOT MODIFY
Package recording_settings contains auto-generated files. DO NOT MODIFY
Package recording_settings contains auto-generated files. DO NOT MODIFY
Index ¶
- type Client
- func (c Client) Fetch() (*FetchRecordingSettingsResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchRecordingSettingsResponse, error)
- func (c Client) Update(input *UpdateRecordingSettingsInput) (*UpdateRecordingSettingsResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateRecordingSettingsInput) (*UpdateRecordingSettingsResponse, error)
- type FetchRecordingSettingsResponse
- type UpdateRecordingSettingsInput
- type UpdateRecordingSettingsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for managing the default recording settings See https://www.twilio.com/docs/video/api/encrypted-recordings for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchRecordingSettingsResponse, error)
Fetch retrieves the default recording settings See https://www.twilio.com/docs/video/api/encrypted-recordings#http-get for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) FetchWithContext ¶
func (c Client) FetchWithContext(context context.Context) (*FetchRecordingSettingsResponse, error)
FetchWithContext retrieves the default recording settings See https://www.twilio.com/docs/video/api/encrypted-recordings#http-get for more details
func (Client) Update ¶
func (c Client) Update(input *UpdateRecordingSettingsInput) (*UpdateRecordingSettingsResponse, error)
Update modifies default recording settings See https://www.twilio.com/docs/video/api/encrypted-recordings#http-post for more details Context is defaulted to Background. See https://golang.org/pkg/context/#Background for more information
func (Client) UpdateWithContext ¶
func (c Client) UpdateWithContext(context context.Context, input *UpdateRecordingSettingsInput) (*UpdateRecordingSettingsResponse, error)
UpdateWithContext modifies default recording settings See https://www.twilio.com/docs/video/api/encrypted-recordings#http-post for more details
type FetchRecordingSettingsResponse ¶
type FetchRecordingSettingsResponse struct { AWSCredentialSid *string `json:"aws_credentials_sid,omitempty"` AWSS3URL *string `json:"aws_s3_url,omitempty"` AWSStorageEnabled *bool `json:"aws_storage_enabled,omitempty"` AccountSid string `json:"account_sid"` EncryptionEnabled *bool `json:"encryption_enabled,omitempty"` EncryptionKeySid *string `json:"encryption_key_sid,omitempty"` FriendlyName string `json:"friendly_name"` URL string `json:"url"` }
FetchRecordingSettingsResponse defines the response fields for the retrieved recording settings
type UpdateRecordingSettingsInput ¶
type UpdateRecordingSettingsInput struct { AWSCredentialSid *string `form:"AwsCredentialsSid,omitempty"` AWSS3URL *string `form:"AwsS3Url,omitempty"` AWSStorageEnabled *bool `form:"AwsStorageEnabled,omitempty"` EncryptionEnabled *bool `form:"EncryptionEnabled,omitempty"` EncryptionKeySid *string `form:"EncryptionKeySid,omitempty"` FriendlyName string `form:"FriendlyName"` }
UpdateRecordingSettingsInput defines input fields for updating recording settings
type UpdateRecordingSettingsResponse ¶
type UpdateRecordingSettingsResponse struct { AWSCredentialSid *string `json:"aws_credentials_sid,omitempty"` AWSS3URL *string `json:"aws_s3_url,omitempty"` AWSStorageEnabled *bool `json:"aws_storage_enabled,omitempty"` AccountSid string `json:"account_sid"` EncryptionEnabled *bool `json:"encryption_enabled,omitempty"` EncryptionKeySid *string `json:"encryption_key_sid,omitempty"` FriendlyName string `json:"friendly_name"` URL string `json:"url"` }
UpdateRecordingSettingsResponse defines the response fields for the updated recording settings