multimediaai

package
v1.62.769 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2024 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 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) CreateCoverTask

func (client *Client) CreateCoverTask(request *CreateCoverTaskRequest) (response *CreateCoverTaskResponse, err error)

CreateCoverTask invokes the multimediaai.CreateCoverTask API synchronously api document: https://help.aliyun.com/api/multimediaai/createcovertask.html

func (*Client) CreateCoverTaskWithCallback

func (client *Client) CreateCoverTaskWithCallback(request *CreateCoverTaskRequest, callback func(response *CreateCoverTaskResponse, err error)) <-chan int

CreateCoverTaskWithCallback invokes the multimediaai.CreateCoverTask API asynchronously api document: https://help.aliyun.com/api/multimediaai/createcovertask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateCoverTaskWithChan

func (client *Client) CreateCoverTaskWithChan(request *CreateCoverTaskRequest) (<-chan *CreateCoverTaskResponse, <-chan error)

CreateCoverTaskWithChan invokes the multimediaai.CreateCoverTask API asynchronously api document: https://help.aliyun.com/api/multimediaai/createcovertask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateFaceGroup added in v1.60.281

func (client *Client) CreateFaceGroup(request *CreateFaceGroupRequest) (response *CreateFaceGroupResponse, err error)

CreateFaceGroup invokes the multimediaai.CreateFaceGroup API synchronously api document: https://help.aliyun.com/api/multimediaai/createfacegroup.html

func (*Client) CreateFaceGroupWithCallback added in v1.60.281

func (client *Client) CreateFaceGroupWithCallback(request *CreateFaceGroupRequest, callback func(response *CreateFaceGroupResponse, err error)) <-chan int

CreateFaceGroupWithCallback invokes the multimediaai.CreateFaceGroup API asynchronously api document: https://help.aliyun.com/api/multimediaai/createfacegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateFaceGroupWithChan added in v1.60.281

func (client *Client) CreateFaceGroupWithChan(request *CreateFaceGroupRequest) (<-chan *CreateFaceGroupResponse, <-chan error)

CreateFaceGroupWithChan invokes the multimediaai.CreateFaceGroup API asynchronously api document: https://help.aliyun.com/api/multimediaai/createfacegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateFacePerson added in v1.60.281

func (client *Client) CreateFacePerson(request *CreateFacePersonRequest) (response *CreateFacePersonResponse, err error)

CreateFacePerson invokes the multimediaai.CreateFacePerson API synchronously api document: https://help.aliyun.com/api/multimediaai/createfaceperson.html

func (*Client) CreateFacePersonWithCallback added in v1.60.281

func (client *Client) CreateFacePersonWithCallback(request *CreateFacePersonRequest, callback func(response *CreateFacePersonResponse, err error)) <-chan int

CreateFacePersonWithCallback invokes the multimediaai.CreateFacePerson API asynchronously api document: https://help.aliyun.com/api/multimediaai/createfaceperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateFacePersonWithChan added in v1.60.281

func (client *Client) CreateFacePersonWithChan(request *CreateFacePersonRequest) (<-chan *CreateFacePersonResponse, <-chan error)

CreateFacePersonWithChan invokes the multimediaai.CreateFacePerson API asynchronously api document: https://help.aliyun.com/api/multimediaai/createfaceperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateGifTask

func (client *Client) CreateGifTask(request *CreateGifTaskRequest) (response *CreateGifTaskResponse, err error)

CreateGifTask invokes the multimediaai.CreateGifTask API synchronously api document: https://help.aliyun.com/api/multimediaai/creategiftask.html

func (*Client) CreateGifTaskWithCallback

func (client *Client) CreateGifTaskWithCallback(request *CreateGifTaskRequest, callback func(response *CreateGifTaskResponse, err error)) <-chan int

CreateGifTaskWithCallback invokes the multimediaai.CreateGifTask API asynchronously api document: https://help.aliyun.com/api/multimediaai/creategiftask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateGifTaskWithChan

func (client *Client) CreateGifTaskWithChan(request *CreateGifTaskRequest) (<-chan *CreateGifTaskResponse, <-chan error)

CreateGifTaskWithChan invokes the multimediaai.CreateGifTask API asynchronously api document: https://help.aliyun.com/api/multimediaai/creategiftask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateLabelTask

func (client *Client) CreateLabelTask(request *CreateLabelTaskRequest) (response *CreateLabelTaskResponse, err error)

CreateLabelTask invokes the multimediaai.CreateLabelTask API synchronously api document: https://help.aliyun.com/api/multimediaai/createlabeltask.html

func (*Client) CreateLabelTaskWithCallback

func (client *Client) CreateLabelTaskWithCallback(request *CreateLabelTaskRequest, callback func(response *CreateLabelTaskResponse, err error)) <-chan int

CreateLabelTaskWithCallback invokes the multimediaai.CreateLabelTask API asynchronously api document: https://help.aliyun.com/api/multimediaai/createlabeltask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateLabelTaskWithChan

func (client *Client) CreateLabelTaskWithChan(request *CreateLabelTaskRequest) (<-chan *CreateLabelTaskResponse, <-chan error)

CreateLabelTaskWithChan invokes the multimediaai.CreateLabelTask API asynchronously api document: https://help.aliyun.com/api/multimediaai/createlabeltask.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateTemplate added in v1.61.141

func (client *Client) CreateTemplate(request *CreateTemplateRequest) (response *CreateTemplateResponse, err error)

CreateTemplate invokes the multimediaai.CreateTemplate API synchronously api document: https://help.aliyun.com/api/multimediaai/createtemplate.html

func (*Client) CreateTemplateWithCallback added in v1.61.141

func (client *Client) CreateTemplateWithCallback(request *CreateTemplateRequest, callback func(response *CreateTemplateResponse, err error)) <-chan int

CreateTemplateWithCallback invokes the multimediaai.CreateTemplate API asynchronously api document: https://help.aliyun.com/api/multimediaai/createtemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateTemplateWithChan added in v1.61.141

func (client *Client) CreateTemplateWithChan(request *CreateTemplateRequest) (<-chan *CreateTemplateResponse, <-chan error)

CreateTemplateWithChan invokes the multimediaai.CreateTemplate API asynchronously api document: https://help.aliyun.com/api/multimediaai/createtemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFaceGroup added in v1.60.281

func (client *Client) DeleteFaceGroup(request *DeleteFaceGroupRequest) (response *DeleteFaceGroupResponse, err error)

DeleteFaceGroup invokes the multimediaai.DeleteFaceGroup API synchronously api document: https://help.aliyun.com/api/multimediaai/deletefacegroup.html

func (*Client) DeleteFaceGroupWithCallback added in v1.60.281

func (client *Client) DeleteFaceGroupWithCallback(request *DeleteFaceGroupRequest, callback func(response *DeleteFaceGroupResponse, err error)) <-chan int

DeleteFaceGroupWithCallback invokes the multimediaai.DeleteFaceGroup API asynchronously api document: https://help.aliyun.com/api/multimediaai/deletefacegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFaceGroupWithChan added in v1.60.281

func (client *Client) DeleteFaceGroupWithChan(request *DeleteFaceGroupRequest) (<-chan *DeleteFaceGroupResponse, <-chan error)

DeleteFaceGroupWithChan invokes the multimediaai.DeleteFaceGroup API asynchronously api document: https://help.aliyun.com/api/multimediaai/deletefacegroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFaceImage added in v1.60.281

func (client *Client) DeleteFaceImage(request *DeleteFaceImageRequest) (response *DeleteFaceImageResponse, err error)

DeleteFaceImage invokes the multimediaai.DeleteFaceImage API synchronously api document: https://help.aliyun.com/api/multimediaai/deletefaceimage.html

func (*Client) DeleteFaceImageWithCallback added in v1.60.281

func (client *Client) DeleteFaceImageWithCallback(request *DeleteFaceImageRequest, callback func(response *DeleteFaceImageResponse, err error)) <-chan int

DeleteFaceImageWithCallback invokes the multimediaai.DeleteFaceImage API asynchronously api document: https://help.aliyun.com/api/multimediaai/deletefaceimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFaceImageWithChan added in v1.60.281

func (client *Client) DeleteFaceImageWithChan(request *DeleteFaceImageRequest) (<-chan *DeleteFaceImageResponse, <-chan error)

DeleteFaceImageWithChan invokes the multimediaai.DeleteFaceImage API asynchronously api document: https://help.aliyun.com/api/multimediaai/deletefaceimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFacePerson added in v1.60.281

func (client *Client) DeleteFacePerson(request *DeleteFacePersonRequest) (response *DeleteFacePersonResponse, err error)

DeleteFacePerson invokes the multimediaai.DeleteFacePerson API synchronously api document: https://help.aliyun.com/api/multimediaai/deletefaceperson.html

func (*Client) DeleteFacePersonWithCallback added in v1.60.281

func (client *Client) DeleteFacePersonWithCallback(request *DeleteFacePersonRequest, callback func(response *DeleteFacePersonResponse, err error)) <-chan int

DeleteFacePersonWithCallback invokes the multimediaai.DeleteFacePerson API asynchronously api document: https://help.aliyun.com/api/multimediaai/deletefaceperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DeleteFacePersonWithChan added in v1.60.281

func (client *Client) DeleteFacePersonWithChan(request *DeleteFacePersonRequest) (<-chan *DeleteFacePersonResponse, <-chan error)

DeleteFacePersonWithChan invokes the multimediaai.DeleteFacePerson API asynchronously api document: https://help.aliyun.com/api/multimediaai/deletefaceperson.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetTaskResult

func (client *Client) GetTaskResult(request *GetTaskResultRequest) (response *GetTaskResultResponse, err error)

GetTaskResult invokes the multimediaai.GetTaskResult API synchronously api document: https://help.aliyun.com/api/multimediaai/gettaskresult.html

func (*Client) GetTaskResultWithCallback

func (client *Client) GetTaskResultWithCallback(request *GetTaskResultRequest, callback func(response *GetTaskResultResponse, err error)) <-chan int

GetTaskResultWithCallback invokes the multimediaai.GetTaskResult API asynchronously api document: https://help.aliyun.com/api/multimediaai/gettaskresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetTaskResultWithChan

func (client *Client) GetTaskResultWithChan(request *GetTaskResultRequest) (<-chan *GetTaskResultResponse, <-chan error)

GetTaskResultWithChan invokes the multimediaai.GetTaskResult API asynchronously api document: https://help.aliyun.com/api/multimediaai/gettaskresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetTaskStatus

func (client *Client) GetTaskStatus(request *GetTaskStatusRequest) (response *GetTaskStatusResponse, err error)

GetTaskStatus invokes the multimediaai.GetTaskStatus API synchronously api document: https://help.aliyun.com/api/multimediaai/gettaskstatus.html

func (*Client) GetTaskStatusWithCallback

func (client *Client) GetTaskStatusWithCallback(request *GetTaskStatusRequest, callback func(response *GetTaskStatusResponse, err error)) <-chan int

GetTaskStatusWithCallback invokes the multimediaai.GetTaskStatus API asynchronously api document: https://help.aliyun.com/api/multimediaai/gettaskstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetTaskStatusWithChan

func (client *Client) GetTaskStatusWithChan(request *GetTaskStatusRequest) (<-chan *GetTaskStatusResponse, <-chan error)

GetTaskStatusWithChan invokes the multimediaai.GetTaskStatus API asynchronously api document: https://help.aliyun.com/api/multimediaai/gettaskstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetTemplate added in v1.61.141

func (client *Client) GetTemplate(request *GetTemplateRequest) (response *GetTemplateResponse, err error)

GetTemplate invokes the multimediaai.GetTemplate API synchronously api document: https://help.aliyun.com/api/multimediaai/gettemplate.html

func (*Client) GetTemplateWithCallback added in v1.61.141

func (client *Client) GetTemplateWithCallback(request *GetTemplateRequest, callback func(response *GetTemplateResponse, err error)) <-chan int

GetTemplateWithCallback invokes the multimediaai.GetTemplate API asynchronously api document: https://help.aliyun.com/api/multimediaai/gettemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetTemplateWithChan added in v1.61.141

func (client *Client) GetTemplateWithChan(request *GetTemplateRequest) (<-chan *GetTemplateResponse, <-chan error)

GetTemplateWithChan invokes the multimediaai.GetTemplate API asynchronously api document: https://help.aliyun.com/api/multimediaai/gettemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListFaceGroups added in v1.60.281

func (client *Client) ListFaceGroups(request *ListFaceGroupsRequest) (response *ListFaceGroupsResponse, err error)

ListFaceGroups invokes the multimediaai.ListFaceGroups API synchronously api document: https://help.aliyun.com/api/multimediaai/listfacegroups.html

func (*Client) ListFaceGroupsWithCallback added in v1.60.281

func (client *Client) ListFaceGroupsWithCallback(request *ListFaceGroupsRequest, callback func(response *ListFaceGroupsResponse, err error)) <-chan int

ListFaceGroupsWithCallback invokes the multimediaai.ListFaceGroups API asynchronously api document: https://help.aliyun.com/api/multimediaai/listfacegroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListFaceGroupsWithChan added in v1.60.281

func (client *Client) ListFaceGroupsWithChan(request *ListFaceGroupsRequest) (<-chan *ListFaceGroupsResponse, <-chan error)

ListFaceGroupsWithChan invokes the multimediaai.ListFaceGroups API asynchronously api document: https://help.aliyun.com/api/multimediaai/listfacegroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListFaceImages added in v1.60.281

func (client *Client) ListFaceImages(request *ListFaceImagesRequest) (response *ListFaceImagesResponse, err error)

ListFaceImages invokes the multimediaai.ListFaceImages API synchronously api document: https://help.aliyun.com/api/multimediaai/listfaceimages.html

func (*Client) ListFaceImagesWithCallback added in v1.60.281

func (client *Client) ListFaceImagesWithCallback(request *ListFaceImagesRequest, callback func(response *ListFaceImagesResponse, err error)) <-chan int

ListFaceImagesWithCallback invokes the multimediaai.ListFaceImages API asynchronously api document: https://help.aliyun.com/api/multimediaai/listfaceimages.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListFaceImagesWithChan added in v1.60.281

func (client *Client) ListFaceImagesWithChan(request *ListFaceImagesRequest) (<-chan *ListFaceImagesResponse, <-chan error)

ListFaceImagesWithChan invokes the multimediaai.ListFaceImages API asynchronously api document: https://help.aliyun.com/api/multimediaai/listfaceimages.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListFacePersons added in v1.60.281

func (client *Client) ListFacePersons(request *ListFacePersonsRequest) (response *ListFacePersonsResponse, err error)

ListFacePersons invokes the multimediaai.ListFacePersons API synchronously api document: https://help.aliyun.com/api/multimediaai/listfacepersons.html

func (*Client) ListFacePersonsWithCallback added in v1.60.281

func (client *Client) ListFacePersonsWithCallback(request *ListFacePersonsRequest, callback func(response *ListFacePersonsResponse, err error)) <-chan int

ListFacePersonsWithCallback invokes the multimediaai.ListFacePersons API asynchronously api document: https://help.aliyun.com/api/multimediaai/listfacepersons.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListFacePersonsWithChan added in v1.60.281

func (client *Client) ListFacePersonsWithChan(request *ListFacePersonsRequest) (<-chan *ListFacePersonsResponse, <-chan error)

ListFacePersonsWithChan invokes the multimediaai.ListFacePersons API asynchronously api document: https://help.aliyun.com/api/multimediaai/listfacepersons.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListTemplates added in v1.61.141

func (client *Client) ListTemplates(request *ListTemplatesRequest) (response *ListTemplatesResponse, err error)

ListTemplates invokes the multimediaai.ListTemplates API synchronously api document: https://help.aliyun.com/api/multimediaai/listtemplates.html

func (*Client) ListTemplatesWithCallback added in v1.61.141

func (client *Client) ListTemplatesWithCallback(request *ListTemplatesRequest, callback func(response *ListTemplatesResponse, err error)) <-chan int

ListTemplatesWithCallback invokes the multimediaai.ListTemplates API asynchronously api document: https://help.aliyun.com/api/multimediaai/listtemplates.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListTemplatesWithChan added in v1.61.141

func (client *Client) ListTemplatesWithChan(request *ListTemplatesRequest) (<-chan *ListTemplatesResponse, <-chan error)

ListTemplatesWithChan invokes the multimediaai.ListTemplates API asynchronously api document: https://help.aliyun.com/api/multimediaai/listtemplates.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RegisterFaceImage added in v1.60.281

func (client *Client) RegisterFaceImage(request *RegisterFaceImageRequest) (response *RegisterFaceImageResponse, err error)

RegisterFaceImage invokes the multimediaai.RegisterFaceImage API synchronously api document: https://help.aliyun.com/api/multimediaai/registerfaceimage.html

func (*Client) RegisterFaceImageWithCallback added in v1.60.281

func (client *Client) RegisterFaceImageWithCallback(request *RegisterFaceImageRequest, callback func(response *RegisterFaceImageResponse, err error)) <-chan int

RegisterFaceImageWithCallback invokes the multimediaai.RegisterFaceImage API asynchronously api document: https://help.aliyun.com/api/multimediaai/registerfaceimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RegisterFaceImageWithChan added in v1.60.281

func (client *Client) RegisterFaceImageWithChan(request *RegisterFaceImageRequest) (<-chan *RegisterFaceImageResponse, <-chan error)

RegisterFaceImageWithChan invokes the multimediaai.RegisterFaceImage API asynchronously api document: https://help.aliyun.com/api/multimediaai/registerfaceimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateTemplate added in v1.61.141

func (client *Client) UpdateTemplate(request *UpdateTemplateRequest) (response *UpdateTemplateResponse, err error)

UpdateTemplate invokes the multimediaai.UpdateTemplate API synchronously api document: https://help.aliyun.com/api/multimediaai/updatetemplate.html

func (*Client) UpdateTemplateWithCallback added in v1.61.141

func (client *Client) UpdateTemplateWithCallback(request *UpdateTemplateRequest, callback func(response *UpdateTemplateResponse, err error)) <-chan int

UpdateTemplateWithCallback invokes the multimediaai.UpdateTemplate API asynchronously api document: https://help.aliyun.com/api/multimediaai/updatetemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateTemplateWithChan added in v1.61.141

func (client *Client) UpdateTemplateWithChan(request *UpdateTemplateRequest) (<-chan *UpdateTemplateResponse, <-chan error)

UpdateTemplateWithChan invokes the multimediaai.UpdateTemplate API asynchronously api document: https://help.aliyun.com/api/multimediaai/updatetemplate.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type CreateCoverTaskRequest

type CreateCoverTaskRequest struct {
	*requests.RpcRequest
	TemplateId    requests.Integer `position:"Query" name:"TemplateId"`
	VideoUrl      string           `position:"Query" name:"VideoUrl"`
	Scales        string           `position:"Body" name:"Scales"`
	VideoName     string           `position:"Query" name:"VideoName"`
	CallbackUrl   string           `position:"Query" name:"CallbackUrl"`
	ApplicationId string           `position:"Query" name:"ApplicationId"`
}

CreateCoverTaskRequest is the request struct for api CreateCoverTask

func CreateCreateCoverTaskRequest

func CreateCreateCoverTaskRequest() (request *CreateCoverTaskRequest)

CreateCreateCoverTaskRequest creates a request to invoke CreateCoverTask API

type CreateCoverTaskResponse

type CreateCoverTaskResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	TaskId    int64  `json:"TaskId" xml:"TaskId"`
}

CreateCoverTaskResponse is the response struct for api CreateCoverTask

func CreateCreateCoverTaskResponse

func CreateCreateCoverTaskResponse() (response *CreateCoverTaskResponse)

CreateCreateCoverTaskResponse creates a response to parse from CreateCoverTask response

type CreateFaceGroupRequest added in v1.60.281

type CreateFaceGroupRequest struct {
	*requests.RpcRequest
	Description   string `position:"Query" name:"Description"`
	FaceGroupName string `position:"Query" name:"FaceGroupName"`
}

CreateFaceGroupRequest is the request struct for api CreateFaceGroup

func CreateCreateFaceGroupRequest added in v1.60.281

func CreateCreateFaceGroupRequest() (request *CreateFaceGroupRequest)

CreateCreateFaceGroupRequest creates a request to invoke CreateFaceGroup API

type CreateFaceGroupResponse added in v1.60.281

type CreateFaceGroupResponse struct {
	*responses.BaseResponse
	RequestId   string `json:"RequestId" xml:"RequestId"`
	FaceGroupId int64  `json:"FaceGroupId" xml:"FaceGroupId"`
}

CreateFaceGroupResponse is the response struct for api CreateFaceGroup

func CreateCreateFaceGroupResponse added in v1.60.281

func CreateCreateFaceGroupResponse() (response *CreateFaceGroupResponse)

CreateCreateFaceGroupResponse creates a response to parse from CreateFaceGroup response

type CreateFacePersonRequest added in v1.60.281

type CreateFacePersonRequest struct {
	*requests.RpcRequest
	FaceGroupId    requests.Integer `position:"Query" name:"FaceGroupId"`
	ImageUrls      string           `position:"Query" name:"ImageUrls"`
	FacePersonName string           `position:"Query" name:"FacePersonName"`
}

CreateFacePersonRequest is the request struct for api CreateFacePerson

func CreateCreateFacePersonRequest added in v1.60.281

func CreateCreateFacePersonRequest() (request *CreateFacePersonRequest)

CreateCreateFacePersonRequest creates a request to invoke CreateFacePerson API

type CreateFacePersonResponse added in v1.60.281

type CreateFacePersonResponse struct {
	*responses.BaseResponse
	RequestId    string `json:"RequestId" xml:"RequestId"`
	FacePersonId int64  `json:"FacePersonId" xml:"FacePersonId"`
}

CreateFacePersonResponse is the response struct for api CreateFacePerson

func CreateCreateFacePersonResponse added in v1.60.281

func CreateCreateFacePersonResponse() (response *CreateFacePersonResponse)

CreateCreateFacePersonResponse creates a response to parse from CreateFacePerson response

type CreateGifTaskRequest

type CreateGifTaskRequest struct {
	*requests.RpcRequest
	TemplateId    requests.Integer `position:"Query" name:"TemplateId"`
	VideoUrl      string           `position:"Query" name:"VideoUrl"`
	Scales        string           `position:"Body" name:"Scales"`
	VideoName     string           `position:"Query" name:"VideoName"`
	CallbackUrl   string           `position:"Query" name:"CallbackUrl"`
	ApplicationId string           `position:"Query" name:"ApplicationId"`
}

CreateGifTaskRequest is the request struct for api CreateGifTask

func CreateCreateGifTaskRequest

func CreateCreateGifTaskRequest() (request *CreateGifTaskRequest)

CreateCreateGifTaskRequest creates a request to invoke CreateGifTask API

type CreateGifTaskResponse

type CreateGifTaskResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	TaskId    int64  `json:"TaskId" xml:"TaskId"`
}

CreateGifTaskResponse is the response struct for api CreateGifTask

func CreateCreateGifTaskResponse

func CreateCreateGifTaskResponse() (response *CreateGifTaskResponse)

CreateCreateGifTaskResponse creates a response to parse from CreateGifTask response

type CreateLabelTaskRequest

type CreateLabelTaskRequest struct {
	*requests.RpcRequest
	TemplateId    requests.Integer `position:"Query" name:"TemplateId"`
	VideoUrl      string           `position:"Query" name:"VideoUrl"`
	VideoName     string           `position:"Query" name:"VideoName"`
	CallbackUrl   string           `position:"Query" name:"CallbackUrl"`
	ApplicationId string           `position:"Query" name:"ApplicationId"`
}

CreateLabelTaskRequest is the request struct for api CreateLabelTask

func CreateCreateLabelTaskRequest

func CreateCreateLabelTaskRequest() (request *CreateLabelTaskRequest)

CreateCreateLabelTaskRequest creates a request to invoke CreateLabelTask API

type CreateLabelTaskResponse

type CreateLabelTaskResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	TaskId    int64  `json:"TaskId" xml:"TaskId"`
}

CreateLabelTaskResponse is the response struct for api CreateLabelTask

func CreateCreateLabelTaskResponse

func CreateCreateLabelTaskResponse() (response *CreateLabelTaskResponse)

CreateCreateLabelTaskResponse creates a response to parse from CreateLabelTask response

type CreateTemplateRequest added in v1.61.141

type CreateTemplateRequest struct {
	*requests.RpcRequest
	Type         requests.Integer `position:"Query" name:"Type"`
	Content      string           `position:"Query" name:"Content"`
	TemplateName string           `position:"Query" name:"TemplateName"`
	IsDefault    requests.Boolean `position:"Query" name:"IsDefault"`
}

CreateTemplateRequest is the request struct for api CreateTemplate

func CreateCreateTemplateRequest added in v1.61.141

func CreateCreateTemplateRequest() (request *CreateTemplateRequest)

CreateCreateTemplateRequest creates a request to invoke CreateTemplate API

type CreateTemplateResponse added in v1.61.141

type CreateTemplateResponse struct {
	*responses.BaseResponse
	RequestId  string `json:"RequestId" xml:"RequestId"`
	TemplateId string `json:"TemplateId" xml:"TemplateId"`
}

CreateTemplateResponse is the response struct for api CreateTemplate

func CreateCreateTemplateResponse added in v1.61.141

func CreateCreateTemplateResponse() (response *CreateTemplateResponse)

CreateCreateTemplateResponse creates a response to parse from CreateTemplate response

type DeleteFaceGroupRequest added in v1.60.281

type DeleteFaceGroupRequest struct {
	*requests.RpcRequest
	FaceGroupId requests.Integer `position:"Query" name:"FaceGroupId"`
}

DeleteFaceGroupRequest is the request struct for api DeleteFaceGroup

func CreateDeleteFaceGroupRequest added in v1.60.281

func CreateDeleteFaceGroupRequest() (request *DeleteFaceGroupRequest)

CreateDeleteFaceGroupRequest creates a request to invoke DeleteFaceGroup API

type DeleteFaceGroupResponse added in v1.60.281

type DeleteFaceGroupResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteFaceGroupResponse is the response struct for api DeleteFaceGroup

func CreateDeleteFaceGroupResponse added in v1.60.281

func CreateDeleteFaceGroupResponse() (response *DeleteFaceGroupResponse)

CreateDeleteFaceGroupResponse creates a response to parse from DeleteFaceGroup response

type DeleteFaceImageRequest added in v1.60.281

type DeleteFaceImageRequest struct {
	*requests.RpcRequest
	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
	FaceImageId  requests.Integer `position:"Query" name:"FaceImageId"`
}

DeleteFaceImageRequest is the request struct for api DeleteFaceImage

func CreateDeleteFaceImageRequest added in v1.60.281

func CreateDeleteFaceImageRequest() (request *DeleteFaceImageRequest)

CreateDeleteFaceImageRequest creates a request to invoke DeleteFaceImage API

type DeleteFaceImageResponse added in v1.60.281

type DeleteFaceImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteFaceImageResponse is the response struct for api DeleteFaceImage

func CreateDeleteFaceImageResponse added in v1.60.281

func CreateDeleteFaceImageResponse() (response *DeleteFaceImageResponse)

CreateDeleteFaceImageResponse creates a response to parse from DeleteFaceImage response

type DeleteFacePersonRequest added in v1.60.281

type DeleteFacePersonRequest struct {
	*requests.RpcRequest
	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
}

DeleteFacePersonRequest is the request struct for api DeleteFacePerson

func CreateDeleteFacePersonRequest added in v1.60.281

func CreateDeleteFacePersonRequest() (request *DeleteFacePersonRequest)

CreateDeleteFacePersonRequest creates a request to invoke DeleteFacePerson API

type DeleteFacePersonResponse added in v1.60.281

type DeleteFacePersonResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

DeleteFacePersonResponse is the response struct for api DeleteFacePerson

func CreateDeleteFacePersonResponse added in v1.60.281

func CreateDeleteFacePersonResponse() (response *DeleteFacePersonResponse)

CreateDeleteFacePersonResponse creates a response to parse from DeleteFacePerson response

type FaceGroup added in v1.60.281

type FaceGroup struct {
	FaceGroupId   int64           `json:"FaceGroupId" xml:"FaceGroupId"`
	FaceGroupName string          `json:"FaceGroupName" xml:"FaceGroupName"`
	Description   string          `json:"Description" xml:"Description"`
	PersonCount   int64           `json:"PersonCount" xml:"PersonCount"`
	ImageCount    int64           `json:"ImageCount" xml:"ImageCount"`
	Templates     []TemplatesItem `json:"Templates" xml:"Templates"`
}

FaceGroup is a nested struct in multimediaai response

type FaceGroups added in v1.60.281

type FaceGroups struct {
	FaceGroup []FaceGroup `json:"FaceGroup" xml:"FaceGroup"`
}

FaceGroups is a nested struct in multimediaai response

type FaceImage added in v1.60.281

type FaceImage struct {
	ImageUrl      string    `json:"ImageUrl" xml:"ImageUrl"`
	FaceImageId   int64     `json:"FaceImageId" xml:"FaceImageId"`
	FaceRectangle []float64 `json:"FaceRectangle" xml:"FaceRectangle"`
}

FaceImage is a nested struct in multimediaai response

type FaceImagesInListFaceImages added in v1.61.436

type FaceImagesInListFaceImages struct {
	FaceImage []FaceImage `json:"FaceImage" xml:"FaceImage"`
}

FaceImagesInListFaceImages is a nested struct in multimediaai response

type FaceImagesInRegisterFaceImage added in v1.61.436

type FaceImagesInRegisterFaceImage struct {
	FaceImage []FaceImage `json:"FaceImage" xml:"FaceImage"`
}

FaceImagesInRegisterFaceImage is a nested struct in multimediaai response

type FacePerson added in v1.60.281

type FacePerson struct {
	FacePersonId   int64  `json:"FacePersonId" xml:"FacePersonId"`
	FacePersonName string `json:"FacePersonName" xml:"FacePersonName"`
	ImageUrl       string `json:"ImageUrl" xml:"ImageUrl"`
	ImageCount     int64  `json:"ImageCount" xml:"ImageCount"`
}

FacePerson is a nested struct in multimediaai response

type FacePersons added in v1.60.281

type FacePersons struct {
	FacePerson []FacePerson `json:"FacePerson" xml:"FacePerson"`
}

FacePersons is a nested struct in multimediaai response

type FaceRectangle added in v1.60.281

type FaceRectangle struct {
	FaceRectangle []float64 `json:"FaceRectangle" xml:"FaceRectangle"`
}

FaceRectangle is a nested struct in multimediaai response

type GetTaskResultRequest

type GetTaskResultRequest struct {
	*requests.RpcRequest
	TaskId requests.Integer `position:"Query" name:"TaskId"`
}

GetTaskResultRequest is the request struct for api GetTaskResult

func CreateGetTaskResultRequest

func CreateGetTaskResultRequest() (request *GetTaskResultRequest)

CreateGetTaskResultRequest creates a request to invoke GetTaskResult API

type GetTaskResultResponse

type GetTaskResultResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Status    int    `json:"Status" xml:"Status"`
	Result    Result `json:"Result" xml:"Result"`
}

GetTaskResultResponse is the response struct for api GetTaskResult

func CreateGetTaskResultResponse

func CreateGetTaskResultResponse() (response *GetTaskResultResponse)

CreateGetTaskResultResponse creates a response to parse from GetTaskResult response

type GetTaskStatusRequest

type GetTaskStatusRequest struct {
	*requests.RpcRequest
	TaskId requests.Integer `position:"Query" name:"TaskId"`
}

GetTaskStatusRequest is the request struct for api GetTaskStatus

func CreateGetTaskStatusRequest

func CreateGetTaskStatusRequest() (request *GetTaskStatusRequest)

CreateGetTaskStatusRequest creates a request to invoke GetTaskStatus API

type GetTaskStatusResponse

type GetTaskStatusResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Status    int    `json:"Status" xml:"Status"`
}

GetTaskStatusResponse is the response struct for api GetTaskStatus

func CreateGetTaskStatusResponse

func CreateGetTaskStatusResponse() (response *GetTaskStatusResponse)

CreateGetTaskStatusResponse creates a response to parse from GetTaskStatus response

type GetTemplateRequest added in v1.61.141

type GetTemplateRequest struct {
	*requests.RpcRequest
	TemplateId requests.Integer `position:"Query" name:"TemplateId"`
}

GetTemplateRequest is the request struct for api GetTemplate

func CreateGetTemplateRequest added in v1.61.141

func CreateGetTemplateRequest() (request *GetTemplateRequest)

CreateGetTemplateRequest creates a request to invoke GetTemplate API

type GetTemplateResponse added in v1.61.141

type GetTemplateResponse struct {
	*responses.BaseResponse
	RequestId    string                 `json:"RequestId" xml:"RequestId"`
	TemplateId   string                 `json:"TemplateId" xml:"TemplateId"`
	TemplateName string                 `json:"TemplateName" xml:"TemplateName"`
	Content      map[string]interface{} `json:"Content" xml:"Content"`
	Category     int                    `json:"Category" xml:"Category"`
	IsDefault    bool                   `json:"IsDefault" xml:"IsDefault"`
	CreateTime   string                 `json:"CreateTime" xml:"CreateTime"`
	UpdateTime   string                 `json:"UpdateTime" xml:"UpdateTime"`
}

GetTemplateResponse is the response struct for api GetTemplate

func CreateGetTemplateResponse added in v1.61.141

func CreateGetTemplateResponse() (response *GetTemplateResponse)

CreateGetTemplateResponse creates a response to parse from GetTemplate response

type ListFaceGroupsRequest added in v1.60.281

type ListFaceGroupsRequest struct {
	*requests.RpcRequest
	PageNumber requests.Integer `position:"Query" name:"PageNumber"`
	PageSize   requests.Integer `position:"Query" name:"PageSize"`
}

ListFaceGroupsRequest is the request struct for api ListFaceGroups

func CreateListFaceGroupsRequest added in v1.60.281

func CreateListFaceGroupsRequest() (request *ListFaceGroupsRequest)

CreateListFaceGroupsRequest creates a request to invoke ListFaceGroups API

type ListFaceGroupsResponse added in v1.60.281

type ListFaceGroupsResponse struct {
	*responses.BaseResponse
	RequestId  string      `json:"RequestId" xml:"RequestId"`
	PageNumber int         `json:"PageNumber" xml:"PageNumber"`
	PageSize   int         `json:"PageSize" xml:"PageSize"`
	TotalCount int64       `json:"TotalCount" xml:"TotalCount"`
	FaceGroups []FaceGroup `json:"FaceGroups" xml:"FaceGroups"`
}

ListFaceGroupsResponse is the response struct for api ListFaceGroups

func CreateListFaceGroupsResponse added in v1.60.281

func CreateListFaceGroupsResponse() (response *ListFaceGroupsResponse)

CreateListFaceGroupsResponse creates a response to parse from ListFaceGroups response

type ListFaceImagesRequest added in v1.60.281

type ListFaceImagesRequest struct {
	*requests.RpcRequest
	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
}

ListFaceImagesRequest is the request struct for api ListFaceImages

func CreateListFaceImagesRequest added in v1.60.281

func CreateListFaceImagesRequest() (request *ListFaceImagesRequest)

CreateListFaceImagesRequest creates a request to invoke ListFaceImages API

type ListFaceImagesResponse added in v1.60.281

type ListFaceImagesResponse struct {
	*responses.BaseResponse
	RequestId  string      `json:"RequestId" xml:"RequestId"`
	PageNumber int         `json:"PageNumber" xml:"PageNumber"`
	PageSize   int         `json:"PageSize" xml:"PageSize"`
	TotalCount int64       `json:"TotalCount" xml:"TotalCount"`
	FaceImages []FaceImage `json:"FaceImages" xml:"FaceImages"`
}

ListFaceImagesResponse is the response struct for api ListFaceImages

func CreateListFaceImagesResponse added in v1.60.281

func CreateListFaceImagesResponse() (response *ListFaceImagesResponse)

CreateListFaceImagesResponse creates a response to parse from ListFaceImages response

type ListFacePersonsRequest added in v1.60.281

type ListFacePersonsRequest struct {
	*requests.RpcRequest
	FaceGroupId    requests.Integer `position:"Query" name:"FaceGroupId"`
	FacePersonName string           `position:"Query" name:"FacePersonName"`
	PageNumber     requests.Integer `position:"Query" name:"PageNumber"`
	PageSize       requests.Integer `position:"Query" name:"PageSize"`
}

ListFacePersonsRequest is the request struct for api ListFacePersons

func CreateListFacePersonsRequest added in v1.60.281

func CreateListFacePersonsRequest() (request *ListFacePersonsRequest)

CreateListFacePersonsRequest creates a request to invoke ListFacePersons API

type ListFacePersonsResponse added in v1.60.281

type ListFacePersonsResponse struct {
	*responses.BaseResponse
	RequestId   string       `json:"RequestId" xml:"RequestId"`
	PageNumber  int          `json:"PageNumber" xml:"PageNumber"`
	PageSize    int          `json:"PageSize" xml:"PageSize"`
	TotalCount  int64        `json:"TotalCount" xml:"TotalCount"`
	FacePersons []FacePerson `json:"FacePersons" xml:"FacePersons"`
}

ListFacePersonsResponse is the response struct for api ListFacePersons

func CreateListFacePersonsResponse added in v1.60.281

func CreateListFacePersonsResponse() (response *ListFacePersonsResponse)

CreateListFacePersonsResponse creates a response to parse from ListFacePersons response

type ListTemplatesRequest added in v1.61.141

type ListTemplatesRequest struct {
	*requests.RpcRequest
	TemplateId   requests.Integer `position:"Query" name:"TemplateId"`
	Type         requests.Integer `position:"Query" name:"Type"`
	PageNumber   requests.Integer `position:"Query" name:"PageNumber"`
	PageSize     requests.Integer `position:"Query" name:"PageSize"`
	TemplateName string           `position:"Query" name:"TemplateName"`
}

ListTemplatesRequest is the request struct for api ListTemplates

func CreateListTemplatesRequest added in v1.61.141

func CreateListTemplatesRequest() (request *ListTemplatesRequest)

CreateListTemplatesRequest creates a request to invoke ListTemplates API

type ListTemplatesResponse added in v1.61.141

type ListTemplatesResponse struct {
	*responses.BaseResponse
	RequestId   string     `json:"RequestId" xml:"RequestId"`
	PageNumber  int        `json:"PageNumber" xml:"PageNumber"`
	PageSize    int        `json:"PageSize" xml:"PageSize"`
	TotalCount  int64      `json:"TotalCount" xml:"TotalCount"`
	TotalAmount int64      `json:"TotalAmount" xml:"TotalAmount"`
	Templates   []Template `json:"Templates" xml:"Templates"`
}

ListTemplatesResponse is the response struct for api ListTemplates

func CreateListTemplatesResponse added in v1.61.141

func CreateListTemplatesResponse() (response *ListTemplatesResponse)

CreateListTemplatesResponse creates a response to parse from ListTemplates response

type RegisterFaceImageRequest added in v1.60.281

type RegisterFaceImageRequest struct {
	*requests.RpcRequest
	FaceGroupId  requests.Integer `position:"Query" name:"FaceGroupId"`
	FacePersonId requests.Integer `position:"Query" name:"FacePersonId"`
	ImageUrl     string           `position:"Query" name:"ImageUrl"`
}

RegisterFaceImageRequest is the request struct for api RegisterFaceImage

func CreateRegisterFaceImageRequest added in v1.60.281

func CreateRegisterFaceImageRequest() (request *RegisterFaceImageRequest)

CreateRegisterFaceImageRequest creates a request to invoke RegisterFaceImage API

type RegisterFaceImageResponse added in v1.60.281

type RegisterFaceImageResponse struct {
	*responses.BaseResponse
	RequestId  string      `json:"RequestId" xml:"RequestId"`
	FaceImages []FaceImage `json:"FaceImages" xml:"FaceImages"`
}

RegisterFaceImageResponse is the response struct for api RegisterFaceImage

func CreateRegisterFaceImageResponse added in v1.60.281

func CreateRegisterFaceImageResponse() (response *RegisterFaceImageResponse)

CreateRegisterFaceImageResponse creates a response to parse from RegisterFaceImage response

type Result

type Result struct {
	ApplicationId    string `json:"ApplicationId" xml:"ApplicationId"`
	VideoName        string `json:"VideoName" xml:"VideoName"`
	ProcessResultUrl string `json:"ProcessResultUrl" xml:"ProcessResultUrl"`
	AnalysisUseTime  int64  `json:"AnalysisUseTime" xml:"AnalysisUseTime"`
	VideoUrl         string `json:"VideoUrl" xml:"VideoUrl"`
	ErrorName        string `json:"ErrorName" xml:"ErrorName"`
	ErrorReason      string `json:"ErrorReason" xml:"ErrorReason"`
	ErrorCode        string `json:"ErrorCode" xml:"ErrorCode"`
	ErrorMessage     string `json:"ErrorMessage" xml:"ErrorMessage"`
}

Result is a nested struct in multimediaai response

type Template added in v1.61.141

type Template struct {
	TemplateId   string `json:"TemplateId" xml:"TemplateId"`
	TemplateName string `json:"TemplateName" xml:"TemplateName"`
	Type         int    `json:"Type" xml:"Type"`
	IsDefault    bool   `json:"IsDefault" xml:"IsDefault"`
	CreateTime   string `json:"CreateTime" xml:"CreateTime"`
	UpdateTime   string `json:"UpdateTime" xml:"UpdateTime"`
}

Template is a nested struct in multimediaai response

type TemplatesInListFaceGroups added in v1.61.141

type TemplatesInListFaceGroups struct {
	TemplatesItem []TemplatesItem `json:"Templates" xml:"Templates"`
}

TemplatesInListFaceGroups is a nested struct in multimediaai response

type TemplatesInListTemplates added in v1.61.141

type TemplatesInListTemplates struct {
	Template []Template `json:"Template" xml:"Template"`
}

TemplatesInListTemplates is a nested struct in multimediaai response

type TemplatesItem added in v1.60.281

type TemplatesItem struct {
	Id   string `json:"Id" xml:"Id"`
	Name string `json:"Name" xml:"Name"`
}

TemplatesItem is a nested struct in multimediaai response

type UpdateTemplateRequest added in v1.61.141

type UpdateTemplateRequest struct {
	*requests.RpcRequest
	TemplateId   string           `position:"Query" name:"TemplateId"`
	Type         requests.Integer `position:"Query" name:"Type"`
	Content      string           `position:"Query" name:"Content"`
	TemplateName string           `position:"Query" name:"TemplateName"`
	IsDefault    requests.Boolean `position:"Query" name:"IsDefault"`
}

UpdateTemplateRequest is the request struct for api UpdateTemplate

func CreateUpdateTemplateRequest added in v1.61.141

func CreateUpdateTemplateRequest() (request *UpdateTemplateRequest)

CreateUpdateTemplateRequest creates a request to invoke UpdateTemplate API

type UpdateTemplateResponse added in v1.61.141

type UpdateTemplateResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
}

UpdateTemplateResponse is the response struct for api UpdateTemplate

func CreateUpdateTemplateResponse added in v1.61.141

func CreateUpdateTemplateResponse() (response *UpdateTemplateResponse)

CreateUpdateTemplateResponse creates a response to parse from UpdateTemplate response

Jump to

Keyboard shortcuts

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