tis

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package tisiface provides an interface to enable mocking the TIS service client for testing your code.

It is important to note that this interface will have breaking changes when the service model is updated and adds new API operations, paginators, and waiters.

Index

Constants

View Source
const (
	// EnumOfTypeForGetSpeakerListInputDefault is a EnumOfTypeForGetSpeakerListInput enum value
	EnumOfTypeForGetSpeakerListInputDefault = "default"

	// EnumOfTypeForGetSpeakerListInputPrivate is a EnumOfTypeForGetSpeakerListInput enum value
	EnumOfTypeForGetSpeakerListInputPrivate = "private"
)
View Source
const (
	ServiceName = "tis"       // Name of service.
	EndpointsID = ServiceName // ID to lookup a service endpoint with.
	ServiceID   = "tis"       // ServiceID is a unique identifer of a specific service.
)

Service information constants

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentForGetAgentListOutput added in v1.1.18

type AgentForGetAgentListOutput struct {
	AsrLang *string `type:"string" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	ID *string `type:"string" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	SpeakerID *string `type:"string" json:",omitempty"`

	SpeakerType *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (AgentForGetAgentListOutput) GoString added in v1.1.18

func (s AgentForGetAgentListOutput) GoString() string

GoString returns the string representation

func (*AgentForGetAgentListOutput) SetAsrLang added in v1.1.52

SetAsrLang sets the AsrLang field's value.

func (*AgentForGetAgentListOutput) SetDescription added in v1.1.52

SetDescription sets the Description field's value.

func (*AgentForGetAgentListOutput) SetID added in v1.1.18

SetID sets the ID field's value.

func (*AgentForGetAgentListOutput) SetName added in v1.1.18

SetName sets the Name field's value.

func (*AgentForGetAgentListOutput) SetSpeakerID added in v1.1.18

SetSpeakerID sets the SpeakerID field's value.

func (*AgentForGetAgentListOutput) SetSpeakerType added in v1.1.18

SetSpeakerType sets the SpeakerType field's value.

func (AgentForGetAgentListOutput) String added in v1.1.18

String returns the string representation

type BuyResourcePackageInput

type BuyResourcePackageInput struct {

	// DeviceName is a required field
	DeviceName *string `type:"string" json:"deviceName,omitempty" required:"true"`

	// Item is a required field
	Item *string `type:"string" json:"item,omitempty" required:"true"`

	// ProductKey is a required field
	ProductKey *string `type:"string" json:"productKey,omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (BuyResourcePackageInput) GoString

func (s BuyResourcePackageInput) GoString() string

GoString returns the string representation

func (*BuyResourcePackageInput) SetDeviceName

SetDeviceName sets the DeviceName field's value.

func (*BuyResourcePackageInput) SetItem

SetItem sets the Item field's value.

func (*BuyResourcePackageInput) SetProductKey

SetProductKey sets the ProductKey field's value.

func (BuyResourcePackageInput) String

func (s BuyResourcePackageInput) String() string

String returns the string representation

func (*BuyResourcePackageInput) Validate

func (s *BuyResourcePackageInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type BuyResourcePackageOutput

type BuyResourcePackageOutput struct {
	Metadata *response.ResponseMetadata

	OrderNo *string `type:"string" json:"orderNo,omitempty"`

	Success *bool `type:"boolean" json:"success,omitempty"`
	// contains filtered or unexported fields
}

func (BuyResourcePackageOutput) GoString

func (s BuyResourcePackageOutput) GoString() string

GoString returns the string representation

func (*BuyResourcePackageOutput) SetOrderNo

SetOrderNo sets the OrderNo field's value.

func (*BuyResourcePackageOutput) SetSuccess

SetSuccess sets the Success field's value.

func (BuyResourcePackageOutput) String

func (s BuyResourcePackageOutput) String() string

String returns the string representation

type CategoryForGetSpeakerListOutput added in v1.1.52

type CategoryForGetSpeakerListOutput struct {
	Level1 *string `type:"string" json:",omitempty"`

	Level2 *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (CategoryForGetSpeakerListOutput) GoString added in v1.1.52

GoString returns the string representation

func (*CategoryForGetSpeakerListOutput) SetLevel1 added in v1.1.52

SetLevel1 sets the Level1 field's value.

func (*CategoryForGetSpeakerListOutput) SetLevel2 added in v1.1.52

SetLevel2 sets the Level2 field's value.

func (CategoryForGetSpeakerListOutput) String added in v1.1.52

String returns the string representation

type ClearDeviceLongMemoryInput added in v1.1.18

type ClearDeviceLongMemoryInput struct {

	// DeviceName is a required field
	DeviceName *string `type:"string" json:",omitempty" required:"true"`

	// ProductKey is a required field
	ProductKey *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (ClearDeviceLongMemoryInput) GoString added in v1.1.18

func (s ClearDeviceLongMemoryInput) GoString() string

GoString returns the string representation

func (*ClearDeviceLongMemoryInput) SetDeviceName added in v1.1.18

SetDeviceName sets the DeviceName field's value.

func (*ClearDeviceLongMemoryInput) SetProductKey added in v1.1.18

SetProductKey sets the ProductKey field's value.

func (ClearDeviceLongMemoryInput) String added in v1.1.18

String returns the string representation

func (*ClearDeviceLongMemoryInput) Validate added in v1.1.18

func (s *ClearDeviceLongMemoryInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type ClearDeviceLongMemoryOutput added in v1.1.18

type ClearDeviceLongMemoryOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (ClearDeviceLongMemoryOutput) GoString added in v1.1.18

func (s ClearDeviceLongMemoryOutput) GoString() string

GoString returns the string representation

func (ClearDeviceLongMemoryOutput) String added in v1.1.18

String returns the string representation

type DeviceInfoListForGetQuotaInfoOutput added in v1.1.22

type DeviceInfoListForGetQuotaInfoOutput struct {
	FieldName *string `type:"string" json:"fieldName,omitempty"`

	FieldValue *string `type:"string" json:"fieldValue,omitempty"`
	// contains filtered or unexported fields
}

func (DeviceInfoListForGetQuotaInfoOutput) GoString added in v1.1.22

GoString returns the string representation

func (*DeviceInfoListForGetQuotaInfoOutput) SetFieldName added in v1.1.22

SetFieldName sets the FieldName field's value.

func (*DeviceInfoListForGetQuotaInfoOutput) SetFieldValue added in v1.1.22

SetFieldValue sets the FieldValue field's value.

func (DeviceInfoListForGetQuotaInfoOutput) String added in v1.1.22

String returns the string representation

type GetAgentListInput added in v1.1.18

type GetAgentListInput struct {
	AgentID *string `type:"string" json:",omitempty"`

	AppID *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetAgentListInput) GoString added in v1.1.18

func (s GetAgentListInput) GoString() string

GoString returns the string representation

func (*GetAgentListInput) SetAgentID added in v1.1.52

func (s *GetAgentListInput) SetAgentID(v string) *GetAgentListInput

SetAgentID sets the AgentID field's value.

func (*GetAgentListInput) SetAppID added in v1.1.18

func (s *GetAgentListInput) SetAppID(v string) *GetAgentListInput

SetAppID sets the AppID field's value.

func (GetAgentListInput) String added in v1.1.18

func (s GetAgentListInput) String() string

String returns the string representation

type GetAgentListOutput added in v1.1.18

type GetAgentListOutput struct {
	Metadata *response.ResponseMetadata

	Agents []*AgentForGetAgentListOutput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetAgentListOutput) GoString added in v1.1.18

func (s GetAgentListOutput) GoString() string

GoString returns the string representation

func (*GetAgentListOutput) SetAgents added in v1.1.18

SetAgents sets the Agents field's value.

func (GetAgentListOutput) String added in v1.1.18

func (s GetAgentListOutput) String() string

String returns the string representation

type GetQuotaInfoInput

type GetQuotaInfoInput struct {

	// DeviceName is a required field
	DeviceName *string `type:"string" json:"deviceName,omitempty" required:"true"`

	// ProductKey is a required field
	ProductKey *string `type:"string" json:"productKey,omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (GetQuotaInfoInput) GoString

func (s GetQuotaInfoInput) GoString() string

GoString returns the string representation

func (*GetQuotaInfoInput) SetDeviceName

func (s *GetQuotaInfoInput) SetDeviceName(v string) *GetQuotaInfoInput

SetDeviceName sets the DeviceName field's value.

func (*GetQuotaInfoInput) SetProductKey

func (s *GetQuotaInfoInput) SetProductKey(v string) *GetQuotaInfoInput

SetProductKey sets the ProductKey field's value.

func (GetQuotaInfoInput) String

func (s GetQuotaInfoInput) String() string

String returns the string representation

func (*GetQuotaInfoInput) Validate

func (s *GetQuotaInfoInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type GetQuotaInfoOutput

type GetQuotaInfoOutput struct {
	Metadata *response.ResponseMetadata

	DeviceInfoList []*DeviceInfoListForGetQuotaInfoOutput `type:"list" json:"deviceInfoList,omitempty"`

	QuotaInfoList []*QuotaInfoListForGetQuotaInfoOutput `type:"list" json:"quotaInfoList,omitempty"`
	// contains filtered or unexported fields
}

func (GetQuotaInfoOutput) GoString

func (s GetQuotaInfoOutput) GoString() string

GoString returns the string representation

func (*GetQuotaInfoOutput) SetDeviceInfoList added in v1.1.22

SetDeviceInfoList sets the DeviceInfoList field's value.

func (*GetQuotaInfoOutput) SetQuotaInfoList

SetQuotaInfoList sets the QuotaInfoList field's value.

func (GetQuotaInfoOutput) String

func (s GetQuotaInfoOutput) String() string

String returns the string representation

type GetSpeakerListInput added in v1.1.18

type GetSpeakerListInput struct {
	Type *string `type:"string" json:",omitempty" enum:"EnumOfTypeForGetSpeakerListInput"`
	// contains filtered or unexported fields
}

func (GetSpeakerListInput) GoString added in v1.1.18

func (s GetSpeakerListInput) GoString() string

GoString returns the string representation

func (*GetSpeakerListInput) SetType added in v1.1.18

SetType sets the Type field's value.

func (GetSpeakerListInput) String added in v1.1.18

func (s GetSpeakerListInput) String() string

String returns the string representation

type GetSpeakerListOutput added in v1.1.18

type GetSpeakerListOutput struct {
	Metadata *response.ResponseMetadata

	Speakers []*SpeakerForGetSpeakerListOutput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (GetSpeakerListOutput) GoString added in v1.1.18

func (s GetSpeakerListOutput) GoString() string

GoString returns the string representation

func (*GetSpeakerListOutput) SetSpeakers added in v1.1.18

SetSpeakers sets the Speakers field's value.

func (GetSpeakerListOutput) String added in v1.1.18

func (s GetSpeakerListOutput) String() string

String returns the string representation

type LanguageForGetSpeakerListOutput added in v1.1.52

type LanguageForGetSpeakerListOutput struct {
	Name *string `type:"string" json:",omitempty"`

	Value *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (LanguageForGetSpeakerListOutput) GoString added in v1.1.52

GoString returns the string representation

func (*LanguageForGetSpeakerListOutput) SetName added in v1.1.54

SetName sets the Name field's value.

func (*LanguageForGetSpeakerListOutput) SetValue added in v1.1.54

SetValue sets the Value field's value.

func (LanguageForGetSpeakerListOutput) String added in v1.1.52

String returns the string representation

type PushMsgToDeviceInput added in v1.1.18

type PushMsgToDeviceInput struct {

	// DeviceName is a required field
	DeviceName *string `type:"string" json:",omitempty" required:"true"`

	// MsgContent is a required field
	MsgContent *string `type:"string" json:",omitempty" required:"true"`

	// ProductKey is a required field
	ProductKey *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (PushMsgToDeviceInput) GoString added in v1.1.18

func (s PushMsgToDeviceInput) GoString() string

GoString returns the string representation

func (*PushMsgToDeviceInput) SetDeviceName added in v1.1.18

func (s *PushMsgToDeviceInput) SetDeviceName(v string) *PushMsgToDeviceInput

SetDeviceName sets the DeviceName field's value.

func (*PushMsgToDeviceInput) SetMsgContent added in v1.1.18

func (s *PushMsgToDeviceInput) SetMsgContent(v string) *PushMsgToDeviceInput

SetMsgContent sets the MsgContent field's value.

func (*PushMsgToDeviceInput) SetProductKey added in v1.1.18

func (s *PushMsgToDeviceInput) SetProductKey(v string) *PushMsgToDeviceInput

SetProductKey sets the ProductKey field's value.

func (PushMsgToDeviceInput) String added in v1.1.18

func (s PushMsgToDeviceInput) String() string

String returns the string representation

func (*PushMsgToDeviceInput) Validate added in v1.1.18

func (s *PushMsgToDeviceInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type PushMsgToDeviceOutput added in v1.1.18

type PushMsgToDeviceOutput struct {
	Metadata *response.ResponseMetadata
	// contains filtered or unexported fields
}

func (PushMsgToDeviceOutput) GoString added in v1.1.18

func (s PushMsgToDeviceOutput) GoString() string

GoString returns the string representation

func (PushMsgToDeviceOutput) String added in v1.1.18

func (s PushMsgToDeviceOutput) String() string

String returns the string representation

type QuotaInfoListForGetQuotaInfoOutput

type QuotaInfoListForGetQuotaInfoOutput struct {
	AvailableAmount *int32 `type:"int32" json:"availableAmount,omitempty"`

	ConfigurationCode *string `type:"string" json:"configurationCode,omitempty"`

	PackageName *string `type:"string" json:"packageName,omitempty"`

	TotalAmount *int32 `type:"int32" json:"totalAmount,omitempty"`
	// contains filtered or unexported fields
}

func (QuotaInfoListForGetQuotaInfoOutput) GoString

GoString returns the string representation

func (*QuotaInfoListForGetQuotaInfoOutput) SetAvailableAmount

SetAvailableAmount sets the AvailableAmount field's value.

func (*QuotaInfoListForGetQuotaInfoOutput) SetConfigurationCode added in v1.1.4

SetConfigurationCode sets the ConfigurationCode field's value.

func (*QuotaInfoListForGetQuotaInfoOutput) SetPackageName

SetPackageName sets the PackageName field's value.

func (*QuotaInfoListForGetQuotaInfoOutput) SetTotalAmount

SetTotalAmount sets the TotalAmount field's value.

func (QuotaInfoListForGetQuotaInfoOutput) String

String returns the string representation

type SpeakerForGetSpeakerListOutput added in v1.1.18

type SpeakerForGetSpeakerListOutput struct {
	Avatar *string `type:"string" json:",omitempty"`

	Category []*CategoryForGetSpeakerListOutput `type:"list" json:",omitempty"`

	Description *string `type:"string" json:",omitempty"`

	Gender *string `type:"string" json:",omitempty"`

	ID *string `type:"string" json:",omitempty"`

	Labels []*string `type:"list" json:",omitempty"`

	Language *string `type:"string" json:",omitempty"`

	Languages []*LanguageForGetSpeakerListOutput `type:"list" json:",omitempty"`

	Name *string `type:"string" json:",omitempty"`

	Type *string `type:"string" json:",omitempty"`

	VoiceConfigs []*VoiceConfigForGetSpeakerListOutput `type:"list" json:",omitempty"`
	// contains filtered or unexported fields
}

func (SpeakerForGetSpeakerListOutput) GoString added in v1.1.18

GoString returns the string representation

func (*SpeakerForGetSpeakerListOutput) SetAvatar added in v1.1.52

SetAvatar sets the Avatar field's value.

func (*SpeakerForGetSpeakerListOutput) SetCategory added in v1.1.52

SetCategory sets the Category field's value.

func (*SpeakerForGetSpeakerListOutput) SetDescription added in v1.1.18

SetDescription sets the Description field's value.

func (*SpeakerForGetSpeakerListOutput) SetGender added in v1.1.52

SetGender sets the Gender field's value.

func (*SpeakerForGetSpeakerListOutput) SetID added in v1.1.18

SetID sets the ID field's value.

func (*SpeakerForGetSpeakerListOutput) SetLabels added in v1.1.52

SetLabels sets the Labels field's value.

func (*SpeakerForGetSpeakerListOutput) SetLanguage added in v1.1.18

SetLanguage sets the Language field's value.

func (*SpeakerForGetSpeakerListOutput) SetLanguages added in v1.1.52

SetLanguages sets the Languages field's value.

func (*SpeakerForGetSpeakerListOutput) SetName added in v1.1.18

SetName sets the Name field's value.

func (*SpeakerForGetSpeakerListOutput) SetType added in v1.1.18

SetType sets the Type field's value.

func (*SpeakerForGetSpeakerListOutput) SetVoiceConfigs added in v1.1.52

SetVoiceConfigs sets the VoiceConfigs field's value.

func (SpeakerForGetSpeakerListOutput) String added in v1.1.18

String returns the string representation

type TIS

type TIS struct {
	*client.Client
}

TIS provides the API operation methods for making requests to TIS. See this package's package overview docs for details on the service.

TIS methods are safe to use concurrently. It is not safe to modify mutate any of the struct's properties though.

func New

func New(p client.ConfigProvider, cfgs ...*volcengine.Config) *TIS

New create int can support ssl or region locate set

func (*TIS) BuyResourcePackage

func (c *TIS) BuyResourcePackage(input *BuyResourcePackageInput) (*BuyResourcePackageOutput, error)

BuyResourcePackage API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation BuyResourcePackage for usage and error information.

func (*TIS) BuyResourcePackageCommon

func (c *TIS) BuyResourcePackageCommon(input *map[string]interface{}) (*map[string]interface{}, error)

BuyResourcePackageCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation BuyResourcePackageCommon for usage and error information.

func (*TIS) BuyResourcePackageCommonRequest

func (c *TIS) BuyResourcePackageCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

BuyResourcePackageCommonRequest generates a "volcengine/request.Request" representing the client's request for the BuyResourcePackageCommon operation. The "output" return value will be populated with the BuyResourcePackageCommon request's response once the request completes successfully.

Use "Send" method on the returned BuyResourcePackageCommon Request to send the API call to the service. the "output" return value is not valid until after BuyResourcePackageCommon Send returns without error.

See BuyResourcePackageCommon for more information on using the BuyResourcePackageCommon API call, and error handling.

// Example sending a request using the BuyResourcePackageCommonRequest method.
req, resp := client.BuyResourcePackageCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) BuyResourcePackageCommonWithContext

func (c *TIS) BuyResourcePackageCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

BuyResourcePackageCommonWithContext is the same as BuyResourcePackageCommon with the addition of the ability to pass a context and additional request options.

See BuyResourcePackageCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) BuyResourcePackageRequest

func (c *TIS) BuyResourcePackageRequest(input *BuyResourcePackageInput) (req *request.Request, output *BuyResourcePackageOutput)

BuyResourcePackageRequest generates a "volcengine/request.Request" representing the client's request for the BuyResourcePackage operation. The "output" return value will be populated with the BuyResourcePackageCommon request's response once the request completes successfully.

Use "Send" method on the returned BuyResourcePackageCommon Request to send the API call to the service. the "output" return value is not valid until after BuyResourcePackageCommon Send returns without error.

See BuyResourcePackage for more information on using the BuyResourcePackage API call, and error handling.

// Example sending a request using the BuyResourcePackageRequest method.
req, resp := client.BuyResourcePackageRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) BuyResourcePackageWithContext

func (c *TIS) BuyResourcePackageWithContext(ctx volcengine.Context, input *BuyResourcePackageInput, opts ...request.Option) (*BuyResourcePackageOutput, error)

BuyResourcePackageWithContext is the same as BuyResourcePackage with the addition of the ability to pass a context and additional request options.

See BuyResourcePackage for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) ClearDeviceLongMemory added in v1.1.18

func (c *TIS) ClearDeviceLongMemory(input *ClearDeviceLongMemoryInput) (*ClearDeviceLongMemoryOutput, error)

ClearDeviceLongMemory API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation ClearDeviceLongMemory for usage and error information.

func (*TIS) ClearDeviceLongMemoryCommon added in v1.1.18

func (c *TIS) ClearDeviceLongMemoryCommon(input *map[string]interface{}) (*map[string]interface{}, error)

ClearDeviceLongMemoryCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation ClearDeviceLongMemoryCommon for usage and error information.

func (*TIS) ClearDeviceLongMemoryCommonRequest added in v1.1.18

func (c *TIS) ClearDeviceLongMemoryCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

ClearDeviceLongMemoryCommonRequest generates a "volcengine/request.Request" representing the client's request for the ClearDeviceLongMemoryCommon operation. The "output" return value will be populated with the ClearDeviceLongMemoryCommon request's response once the request completes successfully.

Use "Send" method on the returned ClearDeviceLongMemoryCommon Request to send the API call to the service. the "output" return value is not valid until after ClearDeviceLongMemoryCommon Send returns without error.

See ClearDeviceLongMemoryCommon for more information on using the ClearDeviceLongMemoryCommon API call, and error handling.

// Example sending a request using the ClearDeviceLongMemoryCommonRequest method.
req, resp := client.ClearDeviceLongMemoryCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) ClearDeviceLongMemoryCommonWithContext added in v1.1.18

func (c *TIS) ClearDeviceLongMemoryCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

ClearDeviceLongMemoryCommonWithContext is the same as ClearDeviceLongMemoryCommon with the addition of the ability to pass a context and additional request options.

See ClearDeviceLongMemoryCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) ClearDeviceLongMemoryRequest added in v1.1.18

func (c *TIS) ClearDeviceLongMemoryRequest(input *ClearDeviceLongMemoryInput) (req *request.Request, output *ClearDeviceLongMemoryOutput)

ClearDeviceLongMemoryRequest generates a "volcengine/request.Request" representing the client's request for the ClearDeviceLongMemory operation. The "output" return value will be populated with the ClearDeviceLongMemoryCommon request's response once the request completes successfully.

Use "Send" method on the returned ClearDeviceLongMemoryCommon Request to send the API call to the service. the "output" return value is not valid until after ClearDeviceLongMemoryCommon Send returns without error.

See ClearDeviceLongMemory for more information on using the ClearDeviceLongMemory API call, and error handling.

// Example sending a request using the ClearDeviceLongMemoryRequest method.
req, resp := client.ClearDeviceLongMemoryRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) ClearDeviceLongMemoryWithContext added in v1.1.18

func (c *TIS) ClearDeviceLongMemoryWithContext(ctx volcengine.Context, input *ClearDeviceLongMemoryInput, opts ...request.Option) (*ClearDeviceLongMemoryOutput, error)

ClearDeviceLongMemoryWithContext is the same as ClearDeviceLongMemory with the addition of the ability to pass a context and additional request options.

See ClearDeviceLongMemory for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) GetAgentList added in v1.1.18

func (c *TIS) GetAgentList(input *GetAgentListInput) (*GetAgentListOutput, error)

GetAgentList API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation GetAgentList for usage and error information.

func (*TIS) GetAgentListCommon added in v1.1.18

func (c *TIS) GetAgentListCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetAgentListCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation GetAgentListCommon for usage and error information.

func (*TIS) GetAgentListCommonRequest added in v1.1.18

func (c *TIS) GetAgentListCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetAgentListCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetAgentListCommon operation. The "output" return value will be populated with the GetAgentListCommon request's response once the request completes successfully.

Use "Send" method on the returned GetAgentListCommon Request to send the API call to the service. the "output" return value is not valid until after GetAgentListCommon Send returns without error.

See GetAgentListCommon for more information on using the GetAgentListCommon API call, and error handling.

// Example sending a request using the GetAgentListCommonRequest method.
req, resp := client.GetAgentListCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) GetAgentListCommonWithContext added in v1.1.18

func (c *TIS) GetAgentListCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetAgentListCommonWithContext is the same as GetAgentListCommon with the addition of the ability to pass a context and additional request options.

See GetAgentListCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) GetAgentListRequest added in v1.1.18

func (c *TIS) GetAgentListRequest(input *GetAgentListInput) (req *request.Request, output *GetAgentListOutput)

GetAgentListRequest generates a "volcengine/request.Request" representing the client's request for the GetAgentList operation. The "output" return value will be populated with the GetAgentListCommon request's response once the request completes successfully.

Use "Send" method on the returned GetAgentListCommon Request to send the API call to the service. the "output" return value is not valid until after GetAgentListCommon Send returns without error.

See GetAgentList for more information on using the GetAgentList API call, and error handling.

// Example sending a request using the GetAgentListRequest method.
req, resp := client.GetAgentListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) GetAgentListWithContext added in v1.1.18

func (c *TIS) GetAgentListWithContext(ctx volcengine.Context, input *GetAgentListInput, opts ...request.Option) (*GetAgentListOutput, error)

GetAgentListWithContext is the same as GetAgentList with the addition of the ability to pass a context and additional request options.

See GetAgentList for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) GetQuotaInfo

func (c *TIS) GetQuotaInfo(input *GetQuotaInfoInput) (*GetQuotaInfoOutput, error)

GetQuotaInfo API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation GetQuotaInfo for usage and error information.

func (*TIS) GetQuotaInfoCommon

func (c *TIS) GetQuotaInfoCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetQuotaInfoCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation GetQuotaInfoCommon for usage and error information.

func (*TIS) GetQuotaInfoCommonRequest

func (c *TIS) GetQuotaInfoCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetQuotaInfoCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetQuotaInfoCommon operation. The "output" return value will be populated with the GetQuotaInfoCommon request's response once the request completes successfully.

Use "Send" method on the returned GetQuotaInfoCommon Request to send the API call to the service. the "output" return value is not valid until after GetQuotaInfoCommon Send returns without error.

See GetQuotaInfoCommon for more information on using the GetQuotaInfoCommon API call, and error handling.

// Example sending a request using the GetQuotaInfoCommonRequest method.
req, resp := client.GetQuotaInfoCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) GetQuotaInfoCommonWithContext

func (c *TIS) GetQuotaInfoCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetQuotaInfoCommonWithContext is the same as GetQuotaInfoCommon with the addition of the ability to pass a context and additional request options.

See GetQuotaInfoCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) GetQuotaInfoRequest

func (c *TIS) GetQuotaInfoRequest(input *GetQuotaInfoInput) (req *request.Request, output *GetQuotaInfoOutput)

GetQuotaInfoRequest generates a "volcengine/request.Request" representing the client's request for the GetQuotaInfo operation. The "output" return value will be populated with the GetQuotaInfoCommon request's response once the request completes successfully.

Use "Send" method on the returned GetQuotaInfoCommon Request to send the API call to the service. the "output" return value is not valid until after GetQuotaInfoCommon Send returns without error.

See GetQuotaInfo for more information on using the GetQuotaInfo API call, and error handling.

// Example sending a request using the GetQuotaInfoRequest method.
req, resp := client.GetQuotaInfoRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) GetQuotaInfoWithContext

func (c *TIS) GetQuotaInfoWithContext(ctx volcengine.Context, input *GetQuotaInfoInput, opts ...request.Option) (*GetQuotaInfoOutput, error)

GetQuotaInfoWithContext is the same as GetQuotaInfo with the addition of the ability to pass a context and additional request options.

See GetQuotaInfo for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) GetSpeakerList added in v1.1.18

func (c *TIS) GetSpeakerList(input *GetSpeakerListInput) (*GetSpeakerListOutput, error)

GetSpeakerList API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation GetSpeakerList for usage and error information.

func (*TIS) GetSpeakerListCommon added in v1.1.18

func (c *TIS) GetSpeakerListCommon(input *map[string]interface{}) (*map[string]interface{}, error)

GetSpeakerListCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation GetSpeakerListCommon for usage and error information.

func (*TIS) GetSpeakerListCommonRequest added in v1.1.18

func (c *TIS) GetSpeakerListCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

GetSpeakerListCommonRequest generates a "volcengine/request.Request" representing the client's request for the GetSpeakerListCommon operation. The "output" return value will be populated with the GetSpeakerListCommon request's response once the request completes successfully.

Use "Send" method on the returned GetSpeakerListCommon Request to send the API call to the service. the "output" return value is not valid until after GetSpeakerListCommon Send returns without error.

See GetSpeakerListCommon for more information on using the GetSpeakerListCommon API call, and error handling.

// Example sending a request using the GetSpeakerListCommonRequest method.
req, resp := client.GetSpeakerListCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) GetSpeakerListCommonWithContext added in v1.1.18

func (c *TIS) GetSpeakerListCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

GetSpeakerListCommonWithContext is the same as GetSpeakerListCommon with the addition of the ability to pass a context and additional request options.

See GetSpeakerListCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) GetSpeakerListRequest added in v1.1.18

func (c *TIS) GetSpeakerListRequest(input *GetSpeakerListInput) (req *request.Request, output *GetSpeakerListOutput)

GetSpeakerListRequest generates a "volcengine/request.Request" representing the client's request for the GetSpeakerList operation. The "output" return value will be populated with the GetSpeakerListCommon request's response once the request completes successfully.

Use "Send" method on the returned GetSpeakerListCommon Request to send the API call to the service. the "output" return value is not valid until after GetSpeakerListCommon Send returns without error.

See GetSpeakerList for more information on using the GetSpeakerList API call, and error handling.

// Example sending a request using the GetSpeakerListRequest method.
req, resp := client.GetSpeakerListRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) GetSpeakerListWithContext added in v1.1.18

func (c *TIS) GetSpeakerListWithContext(ctx volcengine.Context, input *GetSpeakerListInput, opts ...request.Option) (*GetSpeakerListOutput, error)

GetSpeakerListWithContext is the same as GetSpeakerList with the addition of the ability to pass a context and additional request options.

See GetSpeakerList for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) PushMsgToDevice added in v1.1.18

func (c *TIS) PushMsgToDevice(input *PushMsgToDeviceInput) (*PushMsgToDeviceOutput, error)

PushMsgToDevice API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation PushMsgToDevice for usage and error information.

func (*TIS) PushMsgToDeviceCommon added in v1.1.18

func (c *TIS) PushMsgToDeviceCommon(input *map[string]interface{}) (*map[string]interface{}, error)

PushMsgToDeviceCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation PushMsgToDeviceCommon for usage and error information.

func (*TIS) PushMsgToDeviceCommonRequest added in v1.1.18

func (c *TIS) PushMsgToDeviceCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

PushMsgToDeviceCommonRequest generates a "volcengine/request.Request" representing the client's request for the PushMsgToDeviceCommon operation. The "output" return value will be populated with the PushMsgToDeviceCommon request's response once the request completes successfully.

Use "Send" method on the returned PushMsgToDeviceCommon Request to send the API call to the service. the "output" return value is not valid until after PushMsgToDeviceCommon Send returns without error.

See PushMsgToDeviceCommon for more information on using the PushMsgToDeviceCommon API call, and error handling.

// Example sending a request using the PushMsgToDeviceCommonRequest method.
req, resp := client.PushMsgToDeviceCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) PushMsgToDeviceCommonWithContext added in v1.1.18

func (c *TIS) PushMsgToDeviceCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

PushMsgToDeviceCommonWithContext is the same as PushMsgToDeviceCommon with the addition of the ability to pass a context and additional request options.

See PushMsgToDeviceCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) PushMsgToDeviceRequest added in v1.1.18

func (c *TIS) PushMsgToDeviceRequest(input *PushMsgToDeviceInput) (req *request.Request, output *PushMsgToDeviceOutput)

PushMsgToDeviceRequest generates a "volcengine/request.Request" representing the client's request for the PushMsgToDevice operation. The "output" return value will be populated with the PushMsgToDeviceCommon request's response once the request completes successfully.

Use "Send" method on the returned PushMsgToDeviceCommon Request to send the API call to the service. the "output" return value is not valid until after PushMsgToDeviceCommon Send returns without error.

See PushMsgToDevice for more information on using the PushMsgToDevice API call, and error handling.

// Example sending a request using the PushMsgToDeviceRequest method.
req, resp := client.PushMsgToDeviceRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) PushMsgToDeviceWithContext added in v1.1.18

func (c *TIS) PushMsgToDeviceWithContext(ctx volcengine.Context, input *PushMsgToDeviceInput, opts ...request.Option) (*PushMsgToDeviceOutput, error)

PushMsgToDeviceWithContext is the same as PushMsgToDevice with the addition of the ability to pass a context and additional request options.

See PushMsgToDevice for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) TopActionDispatch added in v1.1.8

func (c *TIS) TopActionDispatch(input *TopActionDispatchInput) (*TopActionDispatchOutput, error)

TopActionDispatch API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation TopActionDispatch for usage and error information.

func (*TIS) TopActionDispatchCommon added in v1.1.8

func (c *TIS) TopActionDispatchCommon(input *map[string]interface{}) (*map[string]interface{}, error)

TopActionDispatchCommon API operation for TIS.

Returns volcengineerr.Error for service API and SDK errors. Use runtime type assertions with volcengineerr.Error's Code and Message methods to get detailed information about the error.

See the VOLCENGINE API reference guide for TIS's API operation TopActionDispatchCommon for usage and error information.

func (*TIS) TopActionDispatchCommonRequest added in v1.1.8

func (c *TIS) TopActionDispatchCommonRequest(input *map[string]interface{}) (req *request.Request, output *map[string]interface{})

TopActionDispatchCommonRequest generates a "volcengine/request.Request" representing the client's request for the TopActionDispatchCommon operation. The "output" return value will be populated with the TopActionDispatchCommon request's response once the request completes successfully.

Use "Send" method on the returned TopActionDispatchCommon Request to send the API call to the service. the "output" return value is not valid until after TopActionDispatchCommon Send returns without error.

See TopActionDispatchCommon for more information on using the TopActionDispatchCommon API call, and error handling.

// Example sending a request using the TopActionDispatchCommonRequest method.
req, resp := client.TopActionDispatchCommonRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) TopActionDispatchCommonWithContext added in v1.1.8

func (c *TIS) TopActionDispatchCommonWithContext(ctx volcengine.Context, input *map[string]interface{}, opts ...request.Option) (*map[string]interface{}, error)

TopActionDispatchCommonWithContext is the same as TopActionDispatchCommon with the addition of the ability to pass a context and additional request options.

See TopActionDispatchCommon for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. If the context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

func (*TIS) TopActionDispatchRequest added in v1.1.8

func (c *TIS) TopActionDispatchRequest(input *TopActionDispatchInput) (req *request.Request, output *TopActionDispatchOutput)

TopActionDispatchRequest generates a "volcengine/request.Request" representing the client's request for the TopActionDispatch operation. The "output" return value will be populated with the TopActionDispatchCommon request's response once the request completes successfully.

Use "Send" method on the returned TopActionDispatchCommon Request to send the API call to the service. the "output" return value is not valid until after TopActionDispatchCommon Send returns without error.

See TopActionDispatch for more information on using the TopActionDispatch API call, and error handling.

// Example sending a request using the TopActionDispatchRequest method.
req, resp := client.TopActionDispatchRequest(params)

err := req.Send()
if err == nil { // resp is now filled
    fmt.Println(resp)
}

func (*TIS) TopActionDispatchWithContext added in v1.1.8

func (c *TIS) TopActionDispatchWithContext(ctx volcengine.Context, input *TopActionDispatchInput, opts ...request.Option) (*TopActionDispatchOutput, error)

TopActionDispatchWithContext is the same as TopActionDispatch with the addition of the ability to pass a context and additional request options.

See TopActionDispatch for details on how to use this API operation.

The context must be non-nil and will be used for request cancellation. Ifthe context is nil a panic will occur. In the future the SDK may create sub-contexts for http.Requests. See https://golang.org/pkg/context/ for more information on using Contexts.

type TISAPI

type TISAPI interface {
	BuyResourcePackageCommon(*map[string]interface{}) (*map[string]interface{}, error)
	BuyResourcePackageCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	BuyResourcePackageCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	BuyResourcePackage(*BuyResourcePackageInput) (*BuyResourcePackageOutput, error)
	BuyResourcePackageWithContext(volcengine.Context, *BuyResourcePackageInput, ...request.Option) (*BuyResourcePackageOutput, error)
	BuyResourcePackageRequest(*BuyResourcePackageInput) (*request.Request, *BuyResourcePackageOutput)

	ClearDeviceLongMemoryCommon(*map[string]interface{}) (*map[string]interface{}, error)
	ClearDeviceLongMemoryCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	ClearDeviceLongMemoryCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	ClearDeviceLongMemory(*ClearDeviceLongMemoryInput) (*ClearDeviceLongMemoryOutput, error)
	ClearDeviceLongMemoryWithContext(volcengine.Context, *ClearDeviceLongMemoryInput, ...request.Option) (*ClearDeviceLongMemoryOutput, error)
	ClearDeviceLongMemoryRequest(*ClearDeviceLongMemoryInput) (*request.Request, *ClearDeviceLongMemoryOutput)

	GetAgentListCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetAgentListCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetAgentListCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetAgentList(*GetAgentListInput) (*GetAgentListOutput, error)
	GetAgentListWithContext(volcengine.Context, *GetAgentListInput, ...request.Option) (*GetAgentListOutput, error)
	GetAgentListRequest(*GetAgentListInput) (*request.Request, *GetAgentListOutput)

	GetQuotaInfoCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetQuotaInfoCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetQuotaInfoCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetQuotaInfo(*GetQuotaInfoInput) (*GetQuotaInfoOutput, error)
	GetQuotaInfoWithContext(volcengine.Context, *GetQuotaInfoInput, ...request.Option) (*GetQuotaInfoOutput, error)
	GetQuotaInfoRequest(*GetQuotaInfoInput) (*request.Request, *GetQuotaInfoOutput)

	GetSpeakerListCommon(*map[string]interface{}) (*map[string]interface{}, error)
	GetSpeakerListCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	GetSpeakerListCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	GetSpeakerList(*GetSpeakerListInput) (*GetSpeakerListOutput, error)
	GetSpeakerListWithContext(volcengine.Context, *GetSpeakerListInput, ...request.Option) (*GetSpeakerListOutput, error)
	GetSpeakerListRequest(*GetSpeakerListInput) (*request.Request, *GetSpeakerListOutput)

	PushMsgToDeviceCommon(*map[string]interface{}) (*map[string]interface{}, error)
	PushMsgToDeviceCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	PushMsgToDeviceCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	PushMsgToDevice(*PushMsgToDeviceInput) (*PushMsgToDeviceOutput, error)
	PushMsgToDeviceWithContext(volcengine.Context, *PushMsgToDeviceInput, ...request.Option) (*PushMsgToDeviceOutput, error)
	PushMsgToDeviceRequest(*PushMsgToDeviceInput) (*request.Request, *PushMsgToDeviceOutput)

	TopActionDispatchCommon(*map[string]interface{}) (*map[string]interface{}, error)
	TopActionDispatchCommonWithContext(volcengine.Context, *map[string]interface{}, ...request.Option) (*map[string]interface{}, error)
	TopActionDispatchCommonRequest(*map[string]interface{}) (*request.Request, *map[string]interface{})

	TopActionDispatch(*TopActionDispatchInput) (*TopActionDispatchOutput, error)
	TopActionDispatchWithContext(volcengine.Context, *TopActionDispatchInput, ...request.Option) (*TopActionDispatchOutput, error)
	TopActionDispatchRequest(*TopActionDispatchInput) (*request.Request, *TopActionDispatchOutput)
}

TISAPI provides an interface to enable mocking the tis.TIS service client's API operation,

// volcengine sdk func uses an SDK service client to make a request to
// TIS.
func myFunc(svc TISAPI) bool {
    // Make svc.BuyResourcePackage request
}

func main() {
    sess := session.New()
    svc := tis.New(sess)

    myFunc(svc)
}

type TopActionDispatchInput added in v1.1.8

type TopActionDispatchInput struct {

	// ActionName is a required field
	ActionName *string `type:"string" json:",omitempty" required:"true"`

	// RequestJson is a required field
	RequestJson *string `type:"string" json:",omitempty" required:"true"`
	// contains filtered or unexported fields
}

func (TopActionDispatchInput) GoString added in v1.1.8

func (s TopActionDispatchInput) GoString() string

GoString returns the string representation

func (*TopActionDispatchInput) SetActionName added in v1.1.8

SetActionName sets the ActionName field's value.

func (*TopActionDispatchInput) SetRequestJson added in v1.1.8

SetRequestJson sets the RequestJson field's value.

func (TopActionDispatchInput) String added in v1.1.8

func (s TopActionDispatchInput) String() string

String returns the string representation

func (*TopActionDispatchInput) Validate added in v1.1.8

func (s *TopActionDispatchInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

type TopActionDispatchOutput added in v1.1.8

type TopActionDispatchOutput struct {
	Metadata *response.ResponseMetadata

	ResponseJson *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (TopActionDispatchOutput) GoString added in v1.1.8

func (s TopActionDispatchOutput) GoString() string

GoString returns the string representation

func (*TopActionDispatchOutput) SetResponseJson added in v1.1.8

SetResponseJson sets the ResponseJson field's value.

func (TopActionDispatchOutput) String added in v1.1.8

func (s TopActionDispatchOutput) String() string

String returns the string representation

type VoiceConfigForGetSpeakerListOutput added in v1.1.52

type VoiceConfigForGetSpeakerListOutput struct {
	Lang *string `type:"string" json:",omitempty"`

	Text *string `type:"string" json:",omitempty"`

	TrialURL *string `type:"string" json:",omitempty"`
	// contains filtered or unexported fields
}

func (VoiceConfigForGetSpeakerListOutput) GoString added in v1.1.52

GoString returns the string representation

func (*VoiceConfigForGetSpeakerListOutput) SetLang added in v1.1.52

SetLang sets the Lang field's value.

func (*VoiceConfigForGetSpeakerListOutput) SetText added in v1.1.52

SetText sets the Text field's value.

func (*VoiceConfigForGetSpeakerListOutput) SetTrialURL added in v1.1.52

SetTrialURL sets the TrialURL field's value.

func (VoiceConfigForGetSpeakerListOutput) String added in v1.1.52

String returns the string representation

Jump to

Keyboard shortcuts

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