tdsr

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EndpointMap map[string]string

EndpointMap Endpoint Data

View Source
var EndpointType = "regional"

EndpointType regional or central

Functions

func GetEndpointMap

func GetEndpointMap() map[string]string

GetEndpointMap Get Endpoint Data Map

func GetEndpointType

func GetEndpointType() string

GetEndpointType Get Endpoint Type Value

func SetClientProperty

func SetClientProperty(client *Client, propertyName string, propertyValue interface{})

SetClientProperty Set Property by Reflect

func SetEndpointDataToClient

func SetEndpointDataToClient(client *Client)

SetEndpointDataToClient Set EndpointMap and ENdpointType

Types

type CheckPermissionRequest

type CheckPermissionRequest struct {
	*requests.RpcRequest
	AliyunId string `position:"Query" name:"AliyunId"`
}

CheckPermissionRequest is the request struct for api CheckPermission

func CreateCheckPermissionRequest

func CreateCheckPermissionRequest() (request *CheckPermissionRequest)

CreateCheckPermissionRequest creates a request to invoke CheckPermission API

type CheckPermissionResponse

type CheckPermissionResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Success    bool   `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

CheckPermissionResponse is the response struct for api CheckPermission

func CreateCheckPermissionResponse

func CreateCheckPermissionResponse() (response *CheckPermissionResponse)

CreateCheckPermissionResponse creates a response to parse from CheckPermission response

type CheckResourceRequest

type CheckResourceRequest struct {
	*requests.RpcRequest
	Country        string           `position:"Query" name:"Country"`
	Hid            requests.Integer `position:"Query" name:"Hid"`
	Level          requests.Integer `position:"Query" name:"Level"`
	Invoker        string           `position:"Query" name:"Invoker"`
	Message        string           `position:"Query" name:"Message"`
	Url            string           `position:"Query" name:"Url"`
	Success        requests.Boolean `position:"Query" name:"Success"`
	Interrupt      requests.Boolean `position:"Query" name:"Interrupt"`
	GmtWakeup      string           `position:"Query" name:"GmtWakeup"`
	Pk             string           `position:"Query" name:"Pk"`
	Bid            string           `position:"Query" name:"Bid"`
	Prompt         string           `position:"Query" name:"Prompt"`
	TaskExtraData  string           `position:"Query" name:"TaskExtraData"`
	TaskIdentifier string           `position:"Query" name:"TaskIdentifier"`
}

CheckResourceRequest is the request struct for api CheckResource

func CreateCheckResourceRequest

func CreateCheckResourceRequest() (request *CheckResourceRequest)

CreateCheckResourceRequest creates a request to invoke CheckResource API

type CheckResourceResponse

type CheckResourceResponse struct {
	*responses.BaseResponse
	Interrupt      bool   `json:"Interrupt" xml:"Interrupt"`
	Invoker        string `json:"Invoker" xml:"Invoker"`
	Pk             string `json:"Pk" xml:"Pk"`
	Bid            string `json:"Bid" xml:"Bid"`
	Hid            int64  `json:"Hid" xml:"Hid"`
	Country        string `json:"Country" xml:"Country"`
	TaskIdentifier string `json:"TaskIdentifier" xml:"TaskIdentifier"`
	TaskExtraData  string `json:"TaskExtraData" xml:"TaskExtraData"`
	GmtWakeup      string `json:"GmtWakeup" xml:"GmtWakeup"`
	Success        bool   `json:"Success" xml:"Success"`
	Message        string `json:"Message" xml:"Message"`
	Level          int64  `json:"Level" xml:"Level"`
	Url            string `json:"Url" xml:"Url"`
	Prompt         string `json:"Prompt" xml:"Prompt"`
	RequestId      string `json:"RequestId" xml:"RequestId"`
}

CheckResourceResponse is the response struct for api CheckResource

func CreateCheckResourceResponse

func CreateCheckResourceResponse() (response *CheckResourceResponse)

CreateCheckResourceResponse creates a response to parse from CheckResource response

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

func NewClientWithAccessKey

func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)

NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithEcsRamRole

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithOptions

func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)

NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client

func NewClientWithProvider

func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)

NewClientWithProvider creates a sdk client with providers usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArn

func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRamRoleArnAndPolicy

func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error)

NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithRsaKeyPair

func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)

NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func NewClientWithStsToken

func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)

NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md

func (*Client) CheckPermission

func (client *Client) CheckPermission(request *CheckPermissionRequest) (response *CheckPermissionResponse, err error)

CheckPermission invokes the tdsr.CheckPermission API synchronously api document: https://help.aliyun.com/api/tdsr/checkpermission.html

func (*Client) CheckPermissionWithCallback

func (client *Client) CheckPermissionWithCallback(request *CheckPermissionRequest, callback func(response *CheckPermissionResponse, err error)) <-chan int

CheckPermissionWithCallback invokes the tdsr.CheckPermission API asynchronously api document: https://help.aliyun.com/api/tdsr/checkpermission.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CheckPermissionWithChan

func (client *Client) CheckPermissionWithChan(request *CheckPermissionRequest) (<-chan *CheckPermissionResponse, <-chan error)

CheckPermissionWithChan invokes the tdsr.CheckPermission API asynchronously api document: https://help.aliyun.com/api/tdsr/checkpermission.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CheckResource

func (client *Client) CheckResource(request *CheckResourceRequest) (response *CheckResourceResponse, err error)

CheckResource invokes the tdsr.CheckResource API synchronously api document: https://help.aliyun.com/api/tdsr/checkresource.html

func (*Client) CheckResourceWithCallback

func (client *Client) CheckResourceWithCallback(request *CheckResourceRequest, callback func(response *CheckResourceResponse, err error)) <-chan int

CheckResourceWithCallback invokes the tdsr.CheckResource API asynchronously api document: https://help.aliyun.com/api/tdsr/checkresource.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CheckResourceWithChan

func (client *Client) CheckResourceWithChan(request *CheckResourceRequest) (<-chan *CheckResourceResponse, <-chan error)

CheckResourceWithChan invokes the tdsr.CheckResource API asynchronously api document: https://help.aliyun.com/api/tdsr/checkresource.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateProject

func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)

CreateProject invokes the tdsr.CreateProject API synchronously api document: https://help.aliyun.com/api/tdsr/createproject.html

func (*Client) CreateProjectWithCallback

func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, callback func(response *CreateProjectResponse, err error)) <-chan int

CreateProjectWithCallback invokes the tdsr.CreateProject API asynchronously api document: https://help.aliyun.com/api/tdsr/createproject.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateProjectWithChan

func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error)

CreateProjectWithChan invokes the tdsr.CreateProject API asynchronously api document: https://help.aliyun.com/api/tdsr/createproject.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateScene

func (client *Client) CreateScene(request *CreateSceneRequest) (response *CreateSceneResponse, err error)

CreateScene invokes the tdsr.CreateScene API synchronously api document: https://help.aliyun.com/api/tdsr/createscene.html

func (*Client) CreateSceneWithCallback

func (client *Client) CreateSceneWithCallback(request *CreateSceneRequest, callback func(response *CreateSceneResponse, err error)) <-chan int

CreateSceneWithCallback invokes the tdsr.CreateScene API asynchronously api document: https://help.aliyun.com/api/tdsr/createscene.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateSceneWithChan

func (client *Client) CreateSceneWithChan(request *CreateSceneRequest) (<-chan *CreateSceneResponse, <-chan error)

CreateSceneWithChan invokes the tdsr.CreateScene API asynchronously api document: https://help.aliyun.com/api/tdsr/createscene.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFile

func (client *Client) DeleteFile(request *DeleteFileRequest) (response *DeleteFileResponse, err error)

DeleteFile invokes the tdsr.DeleteFile API synchronously api document: https://help.aliyun.com/api/tdsr/deletefile.html

func (*Client) DeleteFileWithCallback

func (client *Client) DeleteFileWithCallback(request *DeleteFileRequest, callback func(response *DeleteFileResponse, err error)) <-chan int

DeleteFileWithCallback invokes the tdsr.DeleteFile API asynchronously api document: https://help.aliyun.com/api/tdsr/deletefile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFileWithChan

func (client *Client) DeleteFileWithChan(request *DeleteFileRequest) (<-chan *DeleteFileResponse, <-chan error)

DeleteFileWithChan invokes the tdsr.DeleteFile API asynchronously api document: https://help.aliyun.com/api/tdsr/deletefile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteProject

func (client *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)

DeleteProject invokes the tdsr.DeleteProject API synchronously api document: https://help.aliyun.com/api/tdsr/deleteproject.html

func (*Client) DeleteProjectWithCallback

func (client *Client) DeleteProjectWithCallback(request *DeleteProjectRequest, callback func(response *DeleteProjectResponse, err error)) <-chan int

DeleteProjectWithCallback invokes the tdsr.DeleteProject API asynchronously api document: https://help.aliyun.com/api/tdsr/deleteproject.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteProjectWithChan

func (client *Client) DeleteProjectWithChan(request *DeleteProjectRequest) (<-chan *DeleteProjectResponse, <-chan error)

DeleteProjectWithChan invokes the tdsr.DeleteProject API asynchronously api document: https://help.aliyun.com/api/tdsr/deleteproject.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetHotspotConfig

func (client *Client) GetHotspotConfig(request *GetHotspotConfigRequest) (response *GetHotspotConfigResponse, err error)

GetHotspotConfig invokes the tdsr.GetHotspotConfig API synchronously api document: https://help.aliyun.com/api/tdsr/gethotspotconfig.html

func (*Client) GetHotspotConfigWithCallback

func (client *Client) GetHotspotConfigWithCallback(request *GetHotspotConfigRequest, callback func(response *GetHotspotConfigResponse, err error)) <-chan int

GetHotspotConfigWithCallback invokes the tdsr.GetHotspotConfig API asynchronously api document: https://help.aliyun.com/api/tdsr/gethotspotconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetHotspotConfigWithChan

func (client *Client) GetHotspotConfigWithChan(request *GetHotspotConfigRequest) (<-chan *GetHotspotConfigResponse, <-chan error)

GetHotspotConfigWithChan invokes the tdsr.GetHotspotConfig API asynchronously api document: https://help.aliyun.com/api/tdsr/gethotspotconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetHotspotTag

func (client *Client) GetHotspotTag(request *GetHotspotTagRequest) (response *GetHotspotTagResponse, err error)

GetHotspotTag invokes the tdsr.GetHotspotTag API synchronously api document: https://help.aliyun.com/api/tdsr/gethotspottag.html

func (*Client) GetHotspotTagWithCallback

func (client *Client) GetHotspotTagWithCallback(request *GetHotspotTagRequest, callback func(response *GetHotspotTagResponse, err error)) <-chan int

GetHotspotTagWithCallback invokes the tdsr.GetHotspotTag API asynchronously api document: https://help.aliyun.com/api/tdsr/gethotspottag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetHotspotTagWithChan

func (client *Client) GetHotspotTagWithChan(request *GetHotspotTagRequest) (<-chan *GetHotspotTagResponse, <-chan error)

GetHotspotTagWithChan invokes the tdsr.GetHotspotTag API asynchronously api document: https://help.aliyun.com/api/tdsr/gethotspottag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPolicy

func (client *Client) GetPolicy(request *GetPolicyRequest) (response *GetPolicyResponse, err error)

GetPolicy invokes the tdsr.GetPolicy API synchronously api document: https://help.aliyun.com/api/tdsr/getpolicy.html

func (*Client) GetPolicyWithCallback

func (client *Client) GetPolicyWithCallback(request *GetPolicyRequest, callback func(response *GetPolicyResponse, err error)) <-chan int

GetPolicyWithCallback invokes the tdsr.GetPolicy API asynchronously api document: https://help.aliyun.com/api/tdsr/getpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetPolicyWithChan

func (client *Client) GetPolicyWithChan(request *GetPolicyRequest) (<-chan *GetPolicyResponse, <-chan error)

GetPolicyWithChan invokes the tdsr.GetPolicy API asynchronously api document: https://help.aliyun.com/api/tdsr/getpolicy.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetSceneData

func (client *Client) GetSceneData(request *GetSceneDataRequest) (response *GetSceneDataResponse, err error)

GetSceneData invokes the tdsr.GetSceneData API synchronously api document: https://help.aliyun.com/api/tdsr/getscenedata.html

func (*Client) GetSceneDataWithCallback

func (client *Client) GetSceneDataWithCallback(request *GetSceneDataRequest, callback func(response *GetSceneDataResponse, err error)) <-chan int

GetSceneDataWithCallback invokes the tdsr.GetSceneData API asynchronously api document: https://help.aliyun.com/api/tdsr/getscenedata.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetSceneDataWithChan

func (client *Client) GetSceneDataWithChan(request *GetSceneDataRequest) (<-chan *GetSceneDataResponse, <-chan error)

GetSceneDataWithChan invokes the tdsr.GetSceneData API asynchronously api document: https://help.aliyun.com/api/tdsr/getscenedata.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetSceneList

func (client *Client) GetSceneList(request *GetSceneListRequest) (response *GetSceneListResponse, err error)

GetSceneList invokes the tdsr.GetSceneList API synchronously api document: https://help.aliyun.com/api/tdsr/getscenelist.html

func (*Client) GetSceneListWithCallback

func (client *Client) GetSceneListWithCallback(request *GetSceneListRequest, callback func(response *GetSceneListResponse, err error)) <-chan int

GetSceneListWithCallback invokes the tdsr.GetSceneList API asynchronously api document: https://help.aliyun.com/api/tdsr/getscenelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetSceneListWithChan

func (client *Client) GetSceneListWithChan(request *GetSceneListRequest) (<-chan *GetSceneListResponse, <-chan error)

GetSceneListWithChan invokes the tdsr.GetSceneList API asynchronously api document: https://help.aliyun.com/api/tdsr/getscenelist.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetWindowConfig

func (client *Client) GetWindowConfig(request *GetWindowConfigRequest) (response *GetWindowConfigResponse, err error)

GetWindowConfig invokes the tdsr.GetWindowConfig API synchronously api document: https://help.aliyun.com/api/tdsr/getwindowconfig.html

func (*Client) GetWindowConfigWithCallback

func (client *Client) GetWindowConfigWithCallback(request *GetWindowConfigRequest, callback func(response *GetWindowConfigResponse, err error)) <-chan int

GetWindowConfigWithCallback invokes the tdsr.GetWindowConfig API asynchronously api document: https://help.aliyun.com/api/tdsr/getwindowconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetWindowConfigWithChan

func (client *Client) GetWindowConfigWithChan(request *GetWindowConfigRequest) (<-chan *GetWindowConfigResponse, <-chan error)

GetWindowConfigWithChan invokes the tdsr.GetWindowConfig API asynchronously api document: https://help.aliyun.com/api/tdsr/getwindowconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListMainScenes

func (client *Client) ListMainScenes(request *ListMainScenesRequest) (response *ListMainScenesResponse, err error)

ListMainScenes invokes the tdsr.ListMainScenes API synchronously api document: https://help.aliyun.com/api/tdsr/listmainscenes.html

func (*Client) ListMainScenesWithCallback

func (client *Client) ListMainScenesWithCallback(request *ListMainScenesRequest, callback func(response *ListMainScenesResponse, err error)) <-chan int

ListMainScenesWithCallback invokes the tdsr.ListMainScenes API asynchronously api document: https://help.aliyun.com/api/tdsr/listmainscenes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListMainScenesWithChan

func (client *Client) ListMainScenesWithChan(request *ListMainScenesRequest) (<-chan *ListMainScenesResponse, <-chan error)

ListMainScenesWithChan invokes the tdsr.ListMainScenes API asynchronously api document: https://help.aliyun.com/api/tdsr/listmainscenes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListScenes

func (client *Client) ListScenes(request *ListScenesRequest) (response *ListScenesResponse, err error)

ListScenes invokes the tdsr.ListScenes API synchronously api document: https://help.aliyun.com/api/tdsr/listscenes.html

func (*Client) ListScenesWithCallback

func (client *Client) ListScenesWithCallback(request *ListScenesRequest, callback func(response *ListScenesResponse, err error)) <-chan int

ListScenesWithCallback invokes the tdsr.ListScenes API asynchronously api document: https://help.aliyun.com/api/tdsr/listscenes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListScenesWithChan

func (client *Client) ListScenesWithChan(request *ListScenesRequest) (<-chan *ListScenesResponse, <-chan error)

ListScenesWithChan invokes the tdsr.ListScenes API asynchronously api document: https://help.aliyun.com/api/tdsr/listscenes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) PublishHotspot

func (client *Client) PublishHotspot(request *PublishHotspotRequest) (response *PublishHotspotResponse, err error)

PublishHotspot invokes the tdsr.PublishHotspot API synchronously api document: https://help.aliyun.com/api/tdsr/publishhotspot.html

func (*Client) PublishHotspotWithCallback

func (client *Client) PublishHotspotWithCallback(request *PublishHotspotRequest, callback func(response *PublishHotspotResponse, err error)) <-chan int

PublishHotspotWithCallback invokes the tdsr.PublishHotspot API asynchronously api document: https://help.aliyun.com/api/tdsr/publishhotspot.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) PublishHotspotWithChan

func (client *Client) PublishHotspotWithChan(request *PublishHotspotRequest) (<-chan *PublishHotspotResponse, <-chan error)

PublishHotspotWithChan invokes the tdsr.PublishHotspot API asynchronously api document: https://help.aliyun.com/api/tdsr/publishhotspot.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SaveFile

func (client *Client) SaveFile(request *SaveFileRequest) (response *SaveFileResponse, err error)

SaveFile invokes the tdsr.SaveFile API synchronously api document: https://help.aliyun.com/api/tdsr/savefile.html

func (*Client) SaveFileWithCallback

func (client *Client) SaveFileWithCallback(request *SaveFileRequest, callback func(response *SaveFileResponse, err error)) <-chan int

SaveFileWithCallback invokes the tdsr.SaveFile API asynchronously api document: https://help.aliyun.com/api/tdsr/savefile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SaveFileWithChan

func (client *Client) SaveFileWithChan(request *SaveFileRequest) (<-chan *SaveFileResponse, <-chan error)

SaveFileWithChan invokes the tdsr.SaveFile API asynchronously api document: https://help.aliyun.com/api/tdsr/savefile.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SaveHotspotConfig

func (client *Client) SaveHotspotConfig(request *SaveHotspotConfigRequest) (response *SaveHotspotConfigResponse, err error)

SaveHotspotConfig invokes the tdsr.SaveHotspotConfig API synchronously api document: https://help.aliyun.com/api/tdsr/savehotspotconfig.html

func (*Client) SaveHotspotConfigWithCallback

func (client *Client) SaveHotspotConfigWithCallback(request *SaveHotspotConfigRequest, callback func(response *SaveHotspotConfigResponse, err error)) <-chan int

SaveHotspotConfigWithCallback invokes the tdsr.SaveHotspotConfig API asynchronously api document: https://help.aliyun.com/api/tdsr/savehotspotconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SaveHotspotConfigWithChan

func (client *Client) SaveHotspotConfigWithChan(request *SaveHotspotConfigRequest) (<-chan *SaveHotspotConfigResponse, <-chan error)

SaveHotspotConfigWithChan invokes the tdsr.SaveHotspotConfig API asynchronously api document: https://help.aliyun.com/api/tdsr/savehotspotconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SaveHotspotTag

func (client *Client) SaveHotspotTag(request *SaveHotspotTagRequest) (response *SaveHotspotTagResponse, err error)

SaveHotspotTag invokes the tdsr.SaveHotspotTag API synchronously api document: https://help.aliyun.com/api/tdsr/savehotspottag.html

func (*Client) SaveHotspotTagWithCallback

func (client *Client) SaveHotspotTagWithCallback(request *SaveHotspotTagRequest, callback func(response *SaveHotspotTagResponse, err error)) <-chan int

SaveHotspotTagWithCallback invokes the tdsr.SaveHotspotTag API asynchronously api document: https://help.aliyun.com/api/tdsr/savehotspottag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SaveHotspotTagWithChan

func (client *Client) SaveHotspotTagWithChan(request *SaveHotspotTagRequest) (<-chan *SaveHotspotTagResponse, <-chan error)

SaveHotspotTagWithChan invokes the tdsr.SaveHotspotTag API asynchronously api document: https://help.aliyun.com/api/tdsr/savehotspottag.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type CreateProjectRequest

type CreateProjectRequest struct {
	*requests.RpcRequest
	BusinessUserIdList string `position:"Query" name:"BusinessUserIdList"`
	BuilderUserIdList  string `position:"Query" name:"BuilderUserIdList"`
	Name               string `position:"Query" name:"Name"`
	BusinessId         string `position:"Query" name:"BusinessId"`
	GatherUserIdList   string `position:"Query" name:"GatherUserIdList"`
}

CreateProjectRequest is the request struct for api CreateProject

func CreateCreateProjectRequest

func CreateCreateProjectRequest() (request *CreateProjectRequest)

CreateCreateProjectRequest creates a request to invoke CreateProject API

type CreateProjectResponse

type CreateProjectResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Id         int64  `json:"Id" xml:"Id"`
	Name       string `json:"Name" xml:"Name"`
	Success    bool   `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

CreateProjectResponse is the response struct for api CreateProject

func CreateCreateProjectResponse

func CreateCreateProjectResponse() (response *CreateProjectResponse)

CreateCreateProjectResponse creates a response to parse from CreateProject response

type CreateSceneRequest

type CreateSceneRequest struct {
	*requests.RpcRequest
	Name      string `position:"Query" name:"Name"`
	ProjectId string `position:"Query" name:"ProjectId"`
}

CreateSceneRequest is the request struct for api CreateScene

func CreateCreateSceneRequest

func CreateCreateSceneRequest() (request *CreateSceneRequest)

CreateCreateSceneRequest creates a request to invoke CreateScene API

type CreateSceneResponse

type CreateSceneResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	SceneId      int64  `json:"SceneId" xml:"SceneId"`
	Success      bool   `json:"Success" xml:"Success"`
	ErrMessage   string `json:"ErrMessage" xml:"ErrMessage"`
	PreviewToken string `json:"PreviewToken" xml:"PreviewToken"`
}

CreateSceneResponse is the response struct for api CreateScene

func CreateCreateSceneResponse

func CreateCreateSceneResponse() (response *CreateSceneResponse)

CreateCreateSceneResponse creates a response to parse from CreateScene response

type Data

type Data struct {
	DataItem []DataItem `json:"Data" xml:"Data"`
}

Data is a nested struct in tdsr response

type DataItem

type DataItem struct {
	SceneId string `json:"SceneId" xml:"SceneId"`
}

DataItem is a nested struct in tdsr response

type DeleteFileRequest

type DeleteFileRequest struct {
	*requests.RpcRequest
	SubSceneUuid string `position:"Query" name:"SubSceneUuid"`
	ParamFile    string `position:"Query" name:"ParamFile"`
}

DeleteFileRequest is the request struct for api DeleteFile

func CreateDeleteFileRequest

func CreateDeleteFileRequest() (request *DeleteFileRequest)

CreateDeleteFileRequest creates a request to invoke DeleteFile API

type DeleteFileResponse

type DeleteFileResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Success    bool   `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

DeleteFileResponse is the response struct for api DeleteFile

func CreateDeleteFileResponse

func CreateDeleteFileResponse() (response *DeleteFileResponse)

CreateDeleteFileResponse creates a response to parse from DeleteFile response

type DeleteProjectRequest

type DeleteProjectRequest struct {
	*requests.RpcRequest
	ProjectId string `position:"Query" name:"ProjectId"`
}

DeleteProjectRequest is the request struct for api DeleteProject

func CreateDeleteProjectRequest

func CreateDeleteProjectRequest() (request *DeleteProjectRequest)

CreateDeleteProjectRequest creates a request to invoke DeleteProject API

type DeleteProjectResponse

type DeleteProjectResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Success    bool   `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

DeleteProjectResponse is the response struct for api DeleteProject

func CreateDeleteProjectResponse

func CreateDeleteProjectResponse() (response *DeleteProjectResponse)

CreateDeleteProjectResponse creates a response to parse from DeleteProject response

type GetHotspotConfigRequest

type GetHotspotConfigRequest struct {
	*requests.RpcRequest
	PreviewToken string `position:"Query" name:"PreviewToken"`
}

GetHotspotConfigRequest is the request struct for api GetHotspotConfig

func CreateGetHotspotConfigRequest

func CreateGetHotspotConfigRequest() (request *GetHotspotConfigRequest)

CreateGetHotspotConfigRequest creates a request to invoke GetHotspotConfig API

type GetHotspotConfigResponse

type GetHotspotConfigResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	Success      bool   `json:"Success" xml:"Success"`
	ErrMessage   string `json:"ErrMessage" xml:"ErrMessage"`
	Data         string `json:"Data" xml:"Data"`
	ObjectString string `json:"ObjectString" xml:"ObjectString"`
}

GetHotspotConfigResponse is the response struct for api GetHotspotConfig

func CreateGetHotspotConfigResponse

func CreateGetHotspotConfigResponse() (response *GetHotspotConfigResponse)

CreateGetHotspotConfigResponse creates a response to parse from GetHotspotConfig response

type GetHotspotTagRequest

type GetHotspotTagRequest struct {
	*requests.RpcRequest
	SubSceneUuid string `position:"Query" name:"SubSceneUuid"`
	Type         string `position:"Query" name:"Type"`
	PreviewToken string `position:"Query" name:"PreviewToken"`
}

GetHotspotTagRequest is the request struct for api GetHotspotTag

func CreateGetHotspotTagRequest

func CreateGetHotspotTagRequest() (request *GetHotspotTagRequest)

CreateGetHotspotTagRequest creates a request to invoke GetHotspotTag API

type GetHotspotTagResponse

type GetHotspotTagResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	Success      bool   `json:"Success" xml:"Success"`
	ErrMessage   string `json:"ErrMessage" xml:"ErrMessage"`
	Data         string `json:"Data" xml:"Data"`
	ObjectString string `json:"ObjectString" xml:"ObjectString"`
}

GetHotspotTagResponse is the response struct for api GetHotspotTag

func CreateGetHotspotTagResponse

func CreateGetHotspotTagResponse() (response *GetHotspotTagResponse)

CreateGetHotspotTagResponse creates a response to parse from GetHotspotTag response

type GetPolicyRequest

type GetPolicyRequest struct {
	*requests.RpcRequest
	SubSceneUuid string `position:"Query" name:"SubSceneUuid"`
	Type         string `position:"Query" name:"Type"`
}

GetPolicyRequest is the request struct for api GetPolicy

func CreateGetPolicyRequest

func CreateGetPolicyRequest() (request *GetPolicyRequest)

CreateGetPolicyRequest creates a request to invoke GetPolicy API

type GetPolicyResponse

type GetPolicyResponse struct {
	*responses.BaseResponse
	RequestId    string                 `json:"RequestId" xml:"RequestId"`
	Success      bool                   `json:"Success" xml:"Success"`
	ErrMessage   string                 `json:"ErrMessage" xml:"ErrMessage"`
	Data         map[string]interface{} `json:"Data" xml:"Data"`
	ObjectString string                 `json:"ObjectString" xml:"ObjectString"`
}

GetPolicyResponse is the response struct for api GetPolicy

func CreateGetPolicyResponse

func CreateGetPolicyResponse() (response *GetPolicyResponse)

CreateGetPolicyResponse creates a response to parse from GetPolicy response

type GetSceneDataRequest

type GetSceneDataRequest struct {
	*requests.RpcRequest
	Token string `position:"Query" name:"Token"`
}

GetSceneDataRequest is the request struct for api GetSceneData

func CreateGetSceneDataRequest

func CreateGetSceneDataRequest() (request *GetSceneDataRequest)

CreateGetSceneDataRequest creates a request to invoke GetSceneData API

type GetSceneDataResponse

type GetSceneDataResponse struct {
	*responses.BaseResponse
	RequestId    string                 `json:"RequestId" xml:"RequestId"`
	Success      bool                   `json:"Success" xml:"Success"`
	ErrMessage   string                 `json:"ErrMessage" xml:"ErrMessage"`
	Data         map[string]interface{} `json:"Data" xml:"Data"`
	ObjectString string                 `json:"ObjectString" xml:"ObjectString"`
}

GetSceneDataResponse is the response struct for api GetSceneData

func CreateGetSceneDataResponse

func CreateGetSceneDataResponse() (response *GetSceneDataResponse)

CreateGetSceneDataResponse creates a response to parse from GetSceneData response

type GetSceneListRequest

type GetSceneListRequest struct {
	*requests.RpcRequest
	AccountId string `position:"Query" name:"AccountId"`
}

GetSceneListRequest is the request struct for api GetSceneList

func CreateGetSceneListRequest

func CreateGetSceneListRequest() (request *GetSceneListRequest)

CreateGetSceneListRequest creates a request to invoke GetSceneList API

type GetSceneListResponse

type GetSceneListResponse struct {
	*responses.BaseResponse
	RequestId  string                 `json:"RequestId" xml:"RequestId"`
	Success    bool                   `json:"Success" xml:"Success"`
	ErrMessage string                 `json:"ErrMessage" xml:"ErrMessage"`
	Data       map[string]interface{} `json:"Data" xml:"Data"`
}

GetSceneListResponse is the response struct for api GetSceneList

func CreateGetSceneListResponse

func CreateGetSceneListResponse() (response *GetSceneListResponse)

CreateGetSceneListResponse creates a response to parse from GetSceneList response

type GetWindowConfigRequest

type GetWindowConfigRequest struct {
	*requests.RpcRequest
	PreviewToken string `position:"Query" name:"PreviewToken"`
}

GetWindowConfigRequest is the request struct for api GetWindowConfig

func CreateGetWindowConfigRequest

func CreateGetWindowConfigRequest() (request *GetWindowConfigRequest)

CreateGetWindowConfigRequest creates a request to invoke GetWindowConfig API

type GetWindowConfigResponse

type GetWindowConfigResponse struct {
	*responses.BaseResponse
	RequestId    string                 `json:"RequestId" xml:"RequestId"`
	Success      bool                   `json:"Success" xml:"Success"`
	ErrMessage   string                 `json:"ErrMessage" xml:"ErrMessage"`
	Data         map[string]interface{} `json:"Data" xml:"Data"`
	ObjectString string                 `json:"ObjectString" xml:"ObjectString"`
}

GetWindowConfigResponse is the response struct for api GetWindowConfig

func CreateGetWindowConfigResponse

func CreateGetWindowConfigResponse() (response *GetWindowConfigResponse)

CreateGetWindowConfigResponse creates a response to parse from GetWindowConfig response

type ListMainScenesRequest

type ListMainScenesRequest struct {
	*requests.RpcRequest
	QueryName string `position:"Query" name:"QueryName"`
}

ListMainScenesRequest is the request struct for api ListMainScenes

func CreateListMainScenesRequest

func CreateListMainScenesRequest() (request *ListMainScenesRequest)

CreateListMainScenesRequest creates a request to invoke ListMainScenes API

type ListMainScenesResponse

type ListMainScenesResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	Success      bool   `json:"Success" xml:"Success"`
	ErrMessage   string `json:"ErrMessage" xml:"ErrMessage"`
	Data         string `json:"Data" xml:"Data"`
	ObjectString string `json:"ObjectString" xml:"ObjectString"`
}

ListMainScenesResponse is the response struct for api ListMainScenes

func CreateListMainScenesResponse

func CreateListMainScenesResponse() (response *ListMainScenesResponse)

CreateListMainScenesResponse creates a response to parse from ListMainScenes response

type ListScenesRequest

type ListScenesRequest struct {
	*requests.RpcRequest
	ProjectId      string           `position:"Query" name:"ProjectId"`
	IsPublishQuery requests.Boolean `position:"Query" name:"IsPublishQuery"`
}

ListScenesRequest is the request struct for api ListScenes

func CreateListScenesRequest

func CreateListScenesRequest() (request *ListScenesRequest)

CreateListScenesRequest creates a request to invoke ListScenes API

type ListScenesResponse

type ListScenesResponse struct {
	*responses.BaseResponse
	RequestId  string     `json:"RequestId" xml:"RequestId"`
	Success    bool       `json:"Success" xml:"Success"`
	ErrMessage string     `json:"ErrMessage" xml:"ErrMessage"`
	Data       []DataItem `json:"Data" xml:"Data"`
}

ListScenesResponse is the response struct for api ListScenes

func CreateListScenesResponse

func CreateListScenesResponse() (response *ListScenesResponse)

CreateListScenesResponse creates a response to parse from ListScenes response

type PublishHotspotRequest

type PublishHotspotRequest struct {
	*requests.RpcRequest
	SubSceneUuid string `position:"Query" name:"SubSceneUuid"`
	ParamTag     string `position:"Query" name:"ParamTag"`
}

PublishHotspotRequest is the request struct for api PublishHotspot

func CreatePublishHotspotRequest

func CreatePublishHotspotRequest() (request *PublishHotspotRequest)

CreatePublishHotspotRequest creates a request to invoke PublishHotspot API

type PublishHotspotResponse

type PublishHotspotResponse struct {
	*responses.BaseResponse
	RequestId  string                 `json:"RequestId" xml:"RequestId"`
	Success    bool                   `json:"Success" xml:"Success"`
	ErrMessage string                 `json:"ErrMessage" xml:"ErrMessage"`
	Data       map[string]interface{} `json:"Data" xml:"Data"`
}

PublishHotspotResponse is the response struct for api PublishHotspot

func CreatePublishHotspotResponse

func CreatePublishHotspotResponse() (response *PublishHotspotResponse)

CreatePublishHotspotResponse creates a response to parse from PublishHotspot response

type SaveFileRequest

type SaveFileRequest struct {
	*requests.RpcRequest
	SubSceneUuid string `position:"Query" name:"SubSceneUuid"`
	ParamFile    string `position:"Query" name:"ParamFile"`
}

SaveFileRequest is the request struct for api SaveFile

func CreateSaveFileRequest

func CreateSaveFileRequest() (request *SaveFileRequest)

CreateSaveFileRequest creates a request to invoke SaveFile API

type SaveFileResponse

type SaveFileResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	Success      bool   `json:"Success" xml:"Success"`
	ErrMessage   string `json:"ErrMessage" xml:"ErrMessage"`
	Data         string `json:"Data" xml:"Data"`
	ObjectString string `json:"ObjectString" xml:"ObjectString"`
}

SaveFileResponse is the response struct for api SaveFile

func CreateSaveFileResponse

func CreateSaveFileResponse() (response *SaveFileResponse)

CreateSaveFileResponse creates a response to parse from SaveFile response

type SaveHotspotConfigRequest

type SaveHotspotConfigRequest struct {
	*requests.RpcRequest
	PreviewToken string `position:"Query" name:"PreviewToken"`
	ParamTag     string `position:"Query" name:"ParamTag"`
}

SaveHotspotConfigRequest is the request struct for api SaveHotspotConfig

func CreateSaveHotspotConfigRequest

func CreateSaveHotspotConfigRequest() (request *SaveHotspotConfigRequest)

CreateSaveHotspotConfigRequest creates a request to invoke SaveHotspotConfig API

type SaveHotspotConfigResponse

type SaveHotspotConfigResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Success    bool   `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

SaveHotspotConfigResponse is the response struct for api SaveHotspotConfig

func CreateSaveHotspotConfigResponse

func CreateSaveHotspotConfigResponse() (response *SaveHotspotConfigResponse)

CreateSaveHotspotConfigResponse creates a response to parse from SaveHotspotConfig response

type SaveHotspotTagRequest

type SaveHotspotTagRequest struct {
	*requests.RpcRequest
	SubSceneUuid string `position:"Query" name:"SubSceneUuid"`
	ParamTag     string `position:"Query" name:"ParamTag"`
}

SaveHotspotTagRequest is the request struct for api SaveHotspotTag

func CreateSaveHotspotTagRequest

func CreateSaveHotspotTagRequest() (request *SaveHotspotTagRequest)

CreateSaveHotspotTagRequest creates a request to invoke SaveHotspotTag API

type SaveHotspotTagResponse

type SaveHotspotTagResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	Success    bool   `json:"Success" xml:"Success"`
	ErrMessage string `json:"ErrMessage" xml:"ErrMessage"`
}

SaveHotspotTagResponse is the response struct for api SaveHotspotTag

func CreateSaveHotspotTagResponse

func CreateSaveHotspotTagResponse() (response *SaveHotspotTagResponse)

CreateSaveHotspotTagResponse creates a response to parse from SaveHotspotTag response

Jump to

Keyboard shortcuts

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