Documentation
¶
Overview ¶
Package composition_settings contains auto-generated files. DO NOT MODIFY
Package composition_settings contains auto-generated files. DO NOT MODIFY
Package composition_settings contains auto-generated files. DO NOT MODIFY
Index ¶
- type Client
- func (c Client) Fetch() (*FetchCompositionSettingsResponse, error)
- func (c Client) FetchWithContext(context context.Context) (*FetchCompositionSettingsResponse, error)
- func (c Client) Update(input *UpdateCompositionSettingsInput) (*UpdateCompositionSettingsResponse, error)
- func (c Client) UpdateWithContext(context context.Context, input *UpdateCompositionSettingsInput) (*UpdateCompositionSettingsResponse, error)
- type FetchCompositionSettingsResponse
- type UpdateCompositionSettingsInput
- type UpdateCompositionSettingsResponse
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 composition settings See https://www.twilio.com/docs/video/api/encrypted-compositions for more details
func (Client) Fetch ¶
func (c Client) Fetch() (*FetchCompositionSettingsResponse, error)
Fetch retrieves the default composition settings See https://www.twilio.com/docs/video/api/encrypted-compositions#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) (*FetchCompositionSettingsResponse, error)
FetchWithContext retrieves the default composition settings See https://www.twilio.com/docs/video/api/encrypted-compositions#http-get for more details
func (Client) Update ¶
func (c Client) Update(input *UpdateCompositionSettingsInput) (*UpdateCompositionSettingsResponse, error)
Update modifies default composition settings See https://www.twilio.com/docs/video/api/encrypted-compositions#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 *UpdateCompositionSettingsInput) (*UpdateCompositionSettingsResponse, error)
UpdateWithContext modifies default composition settings See https://www.twilio.com/docs/video/api/encrypted-compositions#http-post for more details
type FetchCompositionSettingsResponse ¶
type FetchCompositionSettingsResponse 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"` }
FetchCompositionSettingsResponse defines the response fields for the retrieved composition settings
type UpdateCompositionSettingsInput ¶
type UpdateCompositionSettingsInput 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"` }
UpdateCompositionSettingsInput defines input fields for updating composition settings
type UpdateCompositionSettingsResponse ¶
type UpdateCompositionSettingsResponse 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"` }
UpdateCompositionSettingsResponse defines the response fields for the updated composition settings