ivpd

package
v1.63.22 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 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 ChangeImageSizeRequest

type ChangeImageSizeRequest struct {
	*requests.RpcRequest
	Url    string           `position:"Body" name:"Url"`
	Width  requests.Integer `position:"Body" name:"Width"`
	Height requests.Integer `position:"Body" name:"Height"`
}

ChangeImageSizeRequest is the request struct for api ChangeImageSize

func CreateChangeImageSizeRequest

func CreateChangeImageSizeRequest() (request *ChangeImageSizeRequest)

CreateChangeImageSizeRequest creates a request to invoke ChangeImageSize API

type ChangeImageSizeResponse

type ChangeImageSizeResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

ChangeImageSizeResponse is the response struct for api ChangeImageSize

func CreateChangeImageSizeResponse

func CreateChangeImageSizeResponse() (response *ChangeImageSizeResponse)

CreateChangeImageSizeResponse creates a response to parse from ChangeImageSize 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) ChangeImageSize

func (client *Client) ChangeImageSize(request *ChangeImageSizeRequest) (response *ChangeImageSizeResponse, err error)

ChangeImageSize invokes the ivpd.ChangeImageSize API synchronously api document: https://help.aliyun.com/api/ivpd/changeimagesize.html

func (*Client) ChangeImageSizeWithCallback

func (client *Client) ChangeImageSizeWithCallback(request *ChangeImageSizeRequest, callback func(response *ChangeImageSizeResponse, err error)) <-chan int

ChangeImageSizeWithCallback invokes the ivpd.ChangeImageSize API asynchronously api document: https://help.aliyun.com/api/ivpd/changeimagesize.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ChangeImageSizeWithChan

func (client *Client) ChangeImageSizeWithChan(request *ChangeImageSizeRequest) (<-chan *ChangeImageSizeResponse, <-chan error)

ChangeImageSizeWithChan invokes the ivpd.ChangeImageSize API asynchronously api document: https://help.aliyun.com/api/ivpd/changeimagesize.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateSegmentBodyJob added in v1.61.113

func (client *Client) CreateSegmentBodyJob(request *CreateSegmentBodyJobRequest) (response *CreateSegmentBodyJobResponse, err error)

CreateSegmentBodyJob invokes the ivpd.CreateSegmentBodyJob API synchronously api document: https://help.aliyun.com/api/ivpd/createsegmentbodyjob.html

func (*Client) CreateSegmentBodyJobWithCallback added in v1.61.113

func (client *Client) CreateSegmentBodyJobWithCallback(request *CreateSegmentBodyJobRequest, callback func(response *CreateSegmentBodyJobResponse, err error)) <-chan int

CreateSegmentBodyJobWithCallback invokes the ivpd.CreateSegmentBodyJob API asynchronously api document: https://help.aliyun.com/api/ivpd/createsegmentbodyjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) CreateSegmentBodyJobWithChan added in v1.61.113

func (client *Client) CreateSegmentBodyJobWithChan(request *CreateSegmentBodyJobRequest) (<-chan *CreateSegmentBodyJobResponse, <-chan error)

CreateSegmentBodyJobWithChan invokes the ivpd.CreateSegmentBodyJob API asynchronously api document: https://help.aliyun.com/api/ivpd/createsegmentbodyjob.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DetectImageElements

func (client *Client) DetectImageElements(request *DetectImageElementsRequest) (response *DetectImageElementsResponse, err error)

DetectImageElements invokes the ivpd.DetectImageElements API synchronously api document: https://help.aliyun.com/api/ivpd/detectimageelements.html

func (*Client) DetectImageElementsWithCallback

func (client *Client) DetectImageElementsWithCallback(request *DetectImageElementsRequest, callback func(response *DetectImageElementsResponse, err error)) <-chan int

DetectImageElementsWithCallback invokes the ivpd.DetectImageElements API asynchronously api document: https://help.aliyun.com/api/ivpd/detectimageelements.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) DetectImageElementsWithChan

func (client *Client) DetectImageElementsWithChan(request *DetectImageElementsRequest) (<-chan *DetectImageElementsResponse, <-chan error)

DetectImageElementsWithChan invokes the ivpd.DetectImageElements API asynchronously api document: https://help.aliyun.com/api/ivpd/detectimageelements.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EraseLogoInVideo added in v1.61.279

func (client *Client) EraseLogoInVideo(request *EraseLogoInVideoRequest) (response *EraseLogoInVideoResponse, err error)

EraseLogoInVideo invokes the ivpd.EraseLogoInVideo API synchronously api document: https://help.aliyun.com/api/ivpd/eraselogoinvideo.html

func (*Client) EraseLogoInVideoWithCallback added in v1.61.279

func (client *Client) EraseLogoInVideoWithCallback(request *EraseLogoInVideoRequest, callback func(response *EraseLogoInVideoResponse, err error)) <-chan int

EraseLogoInVideoWithCallback invokes the ivpd.EraseLogoInVideo API asynchronously api document: https://help.aliyun.com/api/ivpd/eraselogoinvideo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) EraseLogoInVideoWithChan added in v1.61.279

func (client *Client) EraseLogoInVideoWithChan(request *EraseLogoInVideoRequest) (<-chan *EraseLogoInVideoResponse, <-chan error)

EraseLogoInVideoWithChan invokes the ivpd.EraseLogoInVideo API asynchronously api document: https://help.aliyun.com/api/ivpd/eraselogoinvideo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ExtendImageStyle

func (client *Client) ExtendImageStyle(request *ExtendImageStyleRequest) (response *ExtendImageStyleResponse, err error)

ExtendImageStyle invokes the ivpd.ExtendImageStyle API synchronously api document: https://help.aliyun.com/api/ivpd/extendimagestyle.html

func (*Client) ExtendImageStyleWithCallback

func (client *Client) ExtendImageStyleWithCallback(request *ExtendImageStyleRequest, callback func(response *ExtendImageStyleResponse, err error)) <-chan int

ExtendImageStyleWithCallback invokes the ivpd.ExtendImageStyle API asynchronously api document: https://help.aliyun.com/api/ivpd/extendimagestyle.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ExtendImageStyleWithChan

func (client *Client) ExtendImageStyleWithChan(request *ExtendImageStyleRequest) (<-chan *ExtendImageStyleResponse, <-chan error)

ExtendImageStyleWithChan invokes the ivpd.ExtendImageStyle API asynchronously api document: https://help.aliyun.com/api/ivpd/extendimagestyle.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetAsyncJobResult added in v1.61.417

func (client *Client) GetAsyncJobResult(request *GetAsyncJobResultRequest) (response *GetAsyncJobResultResponse, err error)

GetAsyncJobResult invokes the ivpd.GetAsyncJobResult API synchronously api document: https://help.aliyun.com/api/ivpd/getasyncjobresult.html

func (*Client) GetAsyncJobResultWithCallback added in v1.61.417

func (client *Client) GetAsyncJobResultWithCallback(request *GetAsyncJobResultRequest, callback func(response *GetAsyncJobResultResponse, err error)) <-chan int

GetAsyncJobResultWithCallback invokes the ivpd.GetAsyncJobResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getasyncjobresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetAsyncJobResultWithChan added in v1.61.417

func (client *Client) GetAsyncJobResultWithChan(request *GetAsyncJobResultRequest) (<-chan *GetAsyncJobResultResponse, <-chan error)

GetAsyncJobResultWithChan invokes the ivpd.GetAsyncJobResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getasyncjobresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetAsyncResult added in v1.61.279

func (client *Client) GetAsyncResult(request *GetAsyncResultRequest) (response *GetAsyncResultResponse, err error)

GetAsyncResult invokes the ivpd.GetAsyncResult API synchronously api document: https://help.aliyun.com/api/ivpd/getasyncresult.html

func (*Client) GetAsyncResultWithCallback added in v1.61.279

func (client *Client) GetAsyncResultWithCallback(request *GetAsyncResultRequest, callback func(response *GetAsyncResultResponse, err error)) <-chan int

GetAsyncResultWithCallback invokes the ivpd.GetAsyncResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getasyncresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetAsyncResultWithChan added in v1.61.279

func (client *Client) GetAsyncResultWithChan(request *GetAsyncResultRequest) (<-chan *GetAsyncResultResponse, <-chan error)

GetAsyncResultWithChan invokes the ivpd.GetAsyncResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getasyncresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetJobResult added in v1.61.113

func (client *Client) GetJobResult(request *GetJobResultRequest) (response *GetJobResultResponse, err error)

GetJobResult invokes the ivpd.GetJobResult API synchronously api document: https://help.aliyun.com/api/ivpd/getjobresult.html

func (*Client) GetJobResultWithCallback added in v1.61.113

func (client *Client) GetJobResultWithCallback(request *GetJobResultRequest, callback func(response *GetJobResultResponse, err error)) <-chan int

GetJobResultWithCallback invokes the ivpd.GetJobResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getjobresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetJobResultWithChan added in v1.61.113

func (client *Client) GetJobResultWithChan(request *GetJobResultRequest) (<-chan *GetJobResultResponse, <-chan error)

GetJobResultWithChan invokes the ivpd.GetJobResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getjobresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetJobStatus added in v1.61.113

func (client *Client) GetJobStatus(request *GetJobStatusRequest) (response *GetJobStatusResponse, err error)

GetJobStatus invokes the ivpd.GetJobStatus API synchronously api document: https://help.aliyun.com/api/ivpd/getjobstatus.html

func (*Client) GetJobStatusWithCallback added in v1.61.113

func (client *Client) GetJobStatusWithCallback(request *GetJobStatusRequest, callback func(response *GetJobStatusResponse, err error)) <-chan int

GetJobStatusWithCallback invokes the ivpd.GetJobStatus API asynchronously api document: https://help.aliyun.com/api/ivpd/getjobstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetJobStatusWithChan added in v1.61.113

func (client *Client) GetJobStatusWithChan(request *GetJobStatusRequest) (<-chan *GetJobStatusResponse, <-chan error)

GetJobStatusWithChan invokes the ivpd.GetJobStatus API asynchronously api document: https://help.aliyun.com/api/ivpd/getjobstatus.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetRenderResult added in v1.61.129

func (client *Client) GetRenderResult(request *GetRenderResultRequest) (response *GetRenderResultResponse, err error)

GetRenderResult invokes the ivpd.GetRenderResult API synchronously api document: https://help.aliyun.com/api/ivpd/getrenderresult.html

func (*Client) GetRenderResultWithCallback added in v1.61.129

func (client *Client) GetRenderResultWithCallback(request *GetRenderResultRequest, callback func(response *GetRenderResultResponse, err error)) <-chan int

GetRenderResultWithCallback invokes the ivpd.GetRenderResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getrenderresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetRenderResultWithChan added in v1.61.129

func (client *Client) GetRenderResultWithChan(request *GetRenderResultRequest) (<-chan *GetRenderResultResponse, <-chan error)

GetRenderResultWithChan invokes the ivpd.GetRenderResult API asynchronously api document: https://help.aliyun.com/api/ivpd/getrenderresult.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetUserBucketConfig added in v1.61.306

func (client *Client) GetUserBucketConfig(request *GetUserBucketConfigRequest) (response *GetUserBucketConfigResponse, err error)

GetUserBucketConfig invokes the ivpd.GetUserBucketConfig API synchronously api document: https://help.aliyun.com/api/ivpd/getuserbucketconfig.html

func (*Client) GetUserBucketConfigWithCallback added in v1.61.306

func (client *Client) GetUserBucketConfigWithCallback(request *GetUserBucketConfigRequest, callback func(response *GetUserBucketConfigResponse, err error)) <-chan int

GetUserBucketConfigWithCallback invokes the ivpd.GetUserBucketConfig API asynchronously api document: https://help.aliyun.com/api/ivpd/getuserbucketconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) GetUserBucketConfigWithChan added in v1.61.306

func (client *Client) GetUserBucketConfigWithChan(request *GetUserBucketConfigRequest) (<-chan *GetUserBucketConfigResponse, <-chan error)

GetUserBucketConfigWithChan invokes the ivpd.GetUserBucketConfig API asynchronously api document: https://help.aliyun.com/api/ivpd/getuserbucketconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) HighlightGameVideo added in v1.61.417

func (client *Client) HighlightGameVideo(request *HighlightGameVideoRequest) (response *HighlightGameVideoResponse, err error)

HighlightGameVideo invokes the ivpd.HighlightGameVideo API synchronously api document: https://help.aliyun.com/api/ivpd/highlightgamevideo.html

func (*Client) HighlightGameVideoWithCallback added in v1.61.417

func (client *Client) HighlightGameVideoWithCallback(request *HighlightGameVideoRequest, callback func(response *HighlightGameVideoResponse, err error)) <-chan int

HighlightGameVideoWithCallback invokes the ivpd.HighlightGameVideo API asynchronously api document: https://help.aliyun.com/api/ivpd/highlightgamevideo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) HighlightGameVideoWithChan added in v1.61.417

func (client *Client) HighlightGameVideoWithChan(request *HighlightGameVideoRequest) (<-chan *HighlightGameVideoResponse, <-chan error)

HighlightGameVideoWithChan invokes the ivpd.HighlightGameVideo API asynchronously api document: https://help.aliyun.com/api/ivpd/highlightgamevideo.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListPackageDesignModelTypes added in v1.61.129

func (client *Client) ListPackageDesignModelTypes(request *ListPackageDesignModelTypesRequest) (response *ListPackageDesignModelTypesResponse, err error)

ListPackageDesignModelTypes invokes the ivpd.ListPackageDesignModelTypes API synchronously api document: https://help.aliyun.com/api/ivpd/listpackagedesignmodeltypes.html

func (*Client) ListPackageDesignModelTypesWithCallback added in v1.61.129

func (client *Client) ListPackageDesignModelTypesWithCallback(request *ListPackageDesignModelTypesRequest, callback func(response *ListPackageDesignModelTypesResponse, err error)) <-chan int

ListPackageDesignModelTypesWithCallback invokes the ivpd.ListPackageDesignModelTypes API asynchronously api document: https://help.aliyun.com/api/ivpd/listpackagedesignmodeltypes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListPackageDesignModelTypesWithChan added in v1.61.129

func (client *Client) ListPackageDesignModelTypesWithChan(request *ListPackageDesignModelTypesRequest) (<-chan *ListPackageDesignModelTypesResponse, <-chan error)

ListPackageDesignModelTypesWithChan invokes the ivpd.ListPackageDesignModelTypes API asynchronously api document: https://help.aliyun.com/api/ivpd/listpackagedesignmodeltypes.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListUserBuckets added in v1.61.306

func (client *Client) ListUserBuckets(request *ListUserBucketsRequest) (response *ListUserBucketsResponse, err error)

ListUserBuckets invokes the ivpd.ListUserBuckets API synchronously api document: https://help.aliyun.com/api/ivpd/listuserbuckets.html

func (*Client) ListUserBucketsWithCallback added in v1.61.306

func (client *Client) ListUserBucketsWithCallback(request *ListUserBucketsRequest, callback func(response *ListUserBucketsResponse, err error)) <-chan int

ListUserBucketsWithCallback invokes the ivpd.ListUserBuckets API asynchronously api document: https://help.aliyun.com/api/ivpd/listuserbuckets.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) ListUserBucketsWithChan added in v1.61.306

func (client *Client) ListUserBucketsWithChan(request *ListUserBucketsRequest) (<-chan *ListUserBucketsResponse, <-chan error)

ListUserBucketsWithChan invokes the ivpd.ListUserBuckets API asynchronously api document: https://help.aliyun.com/api/ivpd/listuserbuckets.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MakeSuperResolutionImage

func (client *Client) MakeSuperResolutionImage(request *MakeSuperResolutionImageRequest) (response *MakeSuperResolutionImageResponse, err error)

MakeSuperResolutionImage invokes the ivpd.MakeSuperResolutionImage API synchronously api document: https://help.aliyun.com/api/ivpd/makesuperresolutionimage.html

func (*Client) MakeSuperResolutionImageWithCallback

func (client *Client) MakeSuperResolutionImageWithCallback(request *MakeSuperResolutionImageRequest, callback func(response *MakeSuperResolutionImageResponse, err error)) <-chan int

MakeSuperResolutionImageWithCallback invokes the ivpd.MakeSuperResolutionImage API asynchronously api document: https://help.aliyun.com/api/ivpd/makesuperresolutionimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) MakeSuperResolutionImageWithChan

func (client *Client) MakeSuperResolutionImageWithChan(request *MakeSuperResolutionImageRequest) (<-chan *MakeSuperResolutionImageResponse, <-chan error)

MakeSuperResolutionImageWithChan invokes the ivpd.MakeSuperResolutionImage API asynchronously api document: https://help.aliyun.com/api/ivpd/makesuperresolutionimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) PreviewModelForPackageDesign added in v1.61.129

func (client *Client) PreviewModelForPackageDesign(request *PreviewModelForPackageDesignRequest) (response *PreviewModelForPackageDesignResponse, err error)

PreviewModelForPackageDesign invokes the ivpd.PreviewModelForPackageDesign API synchronously api document: https://help.aliyun.com/api/ivpd/previewmodelforpackagedesign.html

func (*Client) PreviewModelForPackageDesignWithCallback added in v1.61.129

func (client *Client) PreviewModelForPackageDesignWithCallback(request *PreviewModelForPackageDesignRequest, callback func(response *PreviewModelForPackageDesignResponse, err error)) <-chan int

PreviewModelForPackageDesignWithCallback invokes the ivpd.PreviewModelForPackageDesign API asynchronously api document: https://help.aliyun.com/api/ivpd/previewmodelforpackagedesign.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) PreviewModelForPackageDesignWithChan added in v1.61.129

func (client *Client) PreviewModelForPackageDesignWithChan(request *PreviewModelForPackageDesignRequest) (<-chan *PreviewModelForPackageDesignResponse, <-chan error)

PreviewModelForPackageDesignWithChan invokes the ivpd.PreviewModelForPackageDesign API asynchronously api document: https://help.aliyun.com/api/ivpd/previewmodelforpackagedesign.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RecognizeImageColor

func (client *Client) RecognizeImageColor(request *RecognizeImageColorRequest) (response *RecognizeImageColorResponse, err error)

RecognizeImageColor invokes the ivpd.RecognizeImageColor API synchronously api document: https://help.aliyun.com/api/ivpd/recognizeimagecolor.html

func (*Client) RecognizeImageColorWithCallback

func (client *Client) RecognizeImageColorWithCallback(request *RecognizeImageColorRequest, callback func(response *RecognizeImageColorResponse, err error)) <-chan int

RecognizeImageColorWithCallback invokes the ivpd.RecognizeImageColor API asynchronously api document: https://help.aliyun.com/api/ivpd/recognizeimagecolor.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RecognizeImageColorWithChan

func (client *Client) RecognizeImageColorWithChan(request *RecognizeImageColorRequest) (<-chan *RecognizeImageColorResponse, <-chan error)

RecognizeImageColorWithChan invokes the ivpd.RecognizeImageColor API asynchronously api document: https://help.aliyun.com/api/ivpd/recognizeimagecolor.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RecognizeImageStyle

func (client *Client) RecognizeImageStyle(request *RecognizeImageStyleRequest) (response *RecognizeImageStyleResponse, err error)

RecognizeImageStyle invokes the ivpd.RecognizeImageStyle API synchronously api document: https://help.aliyun.com/api/ivpd/recognizeimagestyle.html

func (*Client) RecognizeImageStyleWithCallback

func (client *Client) RecognizeImageStyleWithCallback(request *RecognizeImageStyleRequest, callback func(response *RecognizeImageStyleResponse, err error)) <-chan int

RecognizeImageStyleWithCallback invokes the ivpd.RecognizeImageStyle API asynchronously api document: https://help.aliyun.com/api/ivpd/recognizeimagestyle.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RecognizeImageStyleWithChan

func (client *Client) RecognizeImageStyleWithChan(request *RecognizeImageStyleRequest) (<-chan *RecognizeImageStyleResponse, <-chan error)

RecognizeImageStyleWithChan invokes the ivpd.RecognizeImageStyle API asynchronously api document: https://help.aliyun.com/api/ivpd/recognizeimagestyle.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RecolorImage

func (client *Client) RecolorImage(request *RecolorImageRequest) (response *RecolorImageResponse, err error)

RecolorImage invokes the ivpd.RecolorImage API synchronously api document: https://help.aliyun.com/api/ivpd/recolorimage.html

func (*Client) RecolorImageWithCallback

func (client *Client) RecolorImageWithCallback(request *RecolorImageRequest, callback func(response *RecolorImageResponse, err error)) <-chan int

RecolorImageWithCallback invokes the ivpd.RecolorImage API asynchronously api document: https://help.aliyun.com/api/ivpd/recolorimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RecolorImageWithChan

func (client *Client) RecolorImageWithChan(request *RecolorImageRequest) (<-chan *RecolorImageResponse, <-chan error)

RecolorImageWithChan invokes the ivpd.RecolorImage API asynchronously api document: https://help.aliyun.com/api/ivpd/recolorimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RenderImageForPackageDesign added in v1.61.129

func (client *Client) RenderImageForPackageDesign(request *RenderImageForPackageDesignRequest) (response *RenderImageForPackageDesignResponse, err error)

RenderImageForPackageDesign invokes the ivpd.RenderImageForPackageDesign API synchronously api document: https://help.aliyun.com/api/ivpd/renderimageforpackagedesign.html

func (*Client) RenderImageForPackageDesignWithCallback added in v1.61.129

func (client *Client) RenderImageForPackageDesignWithCallback(request *RenderImageForPackageDesignRequest, callback func(response *RenderImageForPackageDesignResponse, err error)) <-chan int

RenderImageForPackageDesignWithCallback invokes the ivpd.RenderImageForPackageDesign API asynchronously api document: https://help.aliyun.com/api/ivpd/renderimageforpackagedesign.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) RenderImageForPackageDesignWithChan added in v1.61.129

func (client *Client) RenderImageForPackageDesignWithChan(request *RenderImageForPackageDesignRequest) (<-chan *RenderImageForPackageDesignResponse, <-chan error)

RenderImageForPackageDesignWithChan invokes the ivpd.RenderImageForPackageDesign API asynchronously api document: https://help.aliyun.com/api/ivpd/renderimageforpackagedesign.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SegmentBody added in v1.61.48

func (client *Client) SegmentBody(request *SegmentBodyRequest) (response *SegmentBodyResponse, err error)

SegmentBody invokes the ivpd.SegmentBody API synchronously api document: https://help.aliyun.com/api/ivpd/segmentbody.html

func (*Client) SegmentBodyWithCallback added in v1.61.48

func (client *Client) SegmentBodyWithCallback(request *SegmentBodyRequest, callback func(response *SegmentBodyResponse, err error)) <-chan int

SegmentBodyWithCallback invokes the ivpd.SegmentBody API asynchronously api document: https://help.aliyun.com/api/ivpd/segmentbody.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SegmentBodyWithChan added in v1.61.48

func (client *Client) SegmentBodyWithChan(request *SegmentBodyRequest) (<-chan *SegmentBodyResponse, <-chan error)

SegmentBodyWithChan invokes the ivpd.SegmentBody API asynchronously api document: https://help.aliyun.com/api/ivpd/segmentbody.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SegmentImage

func (client *Client) SegmentImage(request *SegmentImageRequest) (response *SegmentImageResponse, err error)

SegmentImage invokes the ivpd.SegmentImage API synchronously api document: https://help.aliyun.com/api/ivpd/segmentimage.html

func (*Client) SegmentImageWithCallback

func (client *Client) SegmentImageWithCallback(request *SegmentImageRequest, callback func(response *SegmentImageResponse, err error)) <-chan int

SegmentImageWithCallback invokes the ivpd.SegmentImage API asynchronously api document: https://help.aliyun.com/api/ivpd/segmentimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) SegmentImageWithChan

func (client *Client) SegmentImageWithChan(request *SegmentImageRequest) (<-chan *SegmentImageResponse, <-chan error)

SegmentImageWithChan invokes the ivpd.SegmentImage API asynchronously api document: https://help.aliyun.com/api/ivpd/segmentimage.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateUserBucketConfig added in v1.61.306

func (client *Client) UpdateUserBucketConfig(request *UpdateUserBucketConfigRequest) (response *UpdateUserBucketConfigResponse, err error)

UpdateUserBucketConfig invokes the ivpd.UpdateUserBucketConfig API synchronously api document: https://help.aliyun.com/api/ivpd/updateuserbucketconfig.html

func (*Client) UpdateUserBucketConfigWithCallback added in v1.61.306

func (client *Client) UpdateUserBucketConfigWithCallback(request *UpdateUserBucketConfigRequest, callback func(response *UpdateUserBucketConfigResponse, err error)) <-chan int

UpdateUserBucketConfigWithCallback invokes the ivpd.UpdateUserBucketConfig API asynchronously api document: https://help.aliyun.com/api/ivpd/updateuserbucketconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

func (*Client) UpdateUserBucketConfigWithChan added in v1.61.306

func (client *Client) UpdateUserBucketConfigWithChan(request *UpdateUserBucketConfigRequest) (<-chan *UpdateUserBucketConfigResponse, <-chan error)

UpdateUserBucketConfigWithChan invokes the ivpd.UpdateUserBucketConfig API asynchronously api document: https://help.aliyun.com/api/ivpd/updateuserbucketconfig.html asynchronous document: https://help.aliyun.com/document_detail/66220.html

type ColorTemplate

type ColorTemplate struct {
	Color      string  `json:"Color" xml:"Color"`
	Label      string  `json:"Label" xml:"Label"`
	Percentage float64 `json:"Percentage" xml:"Percentage"`
}

ColorTemplate is a nested struct in ivpd response

type ColorTemplateList

type ColorTemplateList struct {
	ColorTemplate []ColorTemplate `json:"ColorTemplate" xml:"ColorTemplate"`
}

ColorTemplateList is a nested struct in ivpd response

type CreateSegmentBodyJobDataList added in v1.61.113

type CreateSegmentBodyJobDataList struct {
	DataId   string `name:"DataId"`
	ImageUrl string `name:"ImageUrl"`
}

CreateSegmentBodyJobDataList is a repeated param struct in CreateSegmentBodyJobRequest

type CreateSegmentBodyJobRequest added in v1.61.113

type CreateSegmentBodyJobRequest struct {
	*requests.RpcRequest
	DataList   *[]CreateSegmentBodyJobDataList `position:"Body" name:"DataList"  type:"Repeated"`
	Async      requests.Boolean                `position:"Body" name:"Async"`
	JobId      string                          `position:"Body" name:"JobId"`
	TimeToLive requests.Integer                `position:"Body" name:"TimeToLive"`
}

CreateSegmentBodyJobRequest is the request struct for api CreateSegmentBodyJob

func CreateCreateSegmentBodyJobRequest added in v1.61.113

func CreateCreateSegmentBodyJobRequest() (request *CreateSegmentBodyJobRequest)

CreateCreateSegmentBodyJobRequest creates a request to invoke CreateSegmentBodyJob API

type CreateSegmentBodyJobResponse added in v1.61.113

type CreateSegmentBodyJobResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

CreateSegmentBodyJobResponse is the response struct for api CreateSegmentBodyJob

func CreateCreateSegmentBodyJobResponse added in v1.61.113

func CreateCreateSegmentBodyJobResponse() (response *CreateSegmentBodyJobResponse)

CreateCreateSegmentBodyJobResponse creates a response to parse from CreateSegmentBodyJob response

type Data

type Data struct {
	JobId             string              `json:"JobId" xml:"JobId"`
	MajorUrl          string              `json:"MajorUrl" xml:"MajorUrl"`
	Result            string              `json:"Result" xml:"Result"`
	ErrorMessage      string              `json:"ErrorMessage" xml:"ErrorMessage"`
	TotalUsedTime     int64               `json:"TotalUsedTime" xml:"TotalUsedTime"`
	PreviewUrl        string              `json:"PreviewUrl" xml:"PreviewUrl"`
	Url               string              `json:"Url" xml:"Url"`
	Progress          int                 `json:"Progress" xml:"Progress"`
	ImageUrl          string              `json:"ImageUrl" xml:"ImageUrl"`
	BatchSize         int                 `json:"BatchSize" xml:"BatchSize"`
	Status            string              `json:"Status" xml:"Status"`
	VideoUrl          string              `json:"VideoUrl" xml:"VideoUrl"`
	ErrorCode         string              `json:"ErrorCode" xml:"ErrorCode"`
	Completed         bool                `json:"Completed" xml:"Completed"`
	Styles            []string            `json:"Styles" xml:"Styles"`
	ImageList         []string            `json:"ImageList" xml:"ImageList"`
	ModelTypeList     []ModelType         `json:"ModelTypeList" xml:"ModelTypeList"`
	Elements          []Element           `json:"Elements" xml:"Elements"`
	GameList          []GameListItem      `json:"GameList" xml:"GameList"`
	HighlightList     []HighlightListItem `json:"HighlightList" xml:"HighlightList"`
	ResultList        []Result            `json:"ResultList" xml:"ResultList"`
	ColorTemplateList []ColorTemplate     `json:"ColorTemplateList" xml:"ColorTemplateList"`
}

Data is a nested struct in ivpd response

type DataInGetAsyncResult added in v1.61.279

type DataInGetAsyncResult struct {
	Status        string                 `json:"Status" xml:"Status"`
	BatchSize     string                 `json:"BatchSize" xml:"BatchSize"`
	Finish        bool                   `json:"Finish" xml:"Finish"`
	Progress      float64                `json:"Progress" xml:"Progress"`
	Message       string                 `json:"Message" xml:"Message"`
	Completed     bool                   `json:"Completed" xml:"Completed"`
	TotalUsedTime int64                  `json:"TotalUsedTime" xml:"TotalUsedTime"`
	Result        map[string]interface{} `json:"Result" xml:"Result"`
	Code          string                 `json:"Code" xml:"Code"`
}

DataInGetAsyncResult is a nested struct in ivpd response

type DataInGetJobResult added in v1.61.113

type DataInGetJobResult struct {
	Status        string                   `json:"Status" xml:"Status"`
	BatchSize     string                   `json:"BatchSize" xml:"BatchSize"`
	Finish        bool                     `json:"Finish" xml:"Finish"`
	Progress      float64                  `json:"Progress" xml:"Progress"`
	Message       string                   `json:"Message" xml:"Message"`
	Completed     bool                     `json:"Completed" xml:"Completed"`
	TotalUsedTime int64                    `json:"TotalUsedTime" xml:"TotalUsedTime"`
	ResultList    []map[string]interface{} `json:"ResultList" xml:"ResultList"`
}

DataInGetJobResult is a nested struct in ivpd response

type DataInGetJobStatus added in v1.61.113

type DataInGetJobStatus struct {
	Status        string  `json:"Status" xml:"Status"`
	BatchSize     string  `json:"BatchSize" xml:"BatchSize"`
	Finish        bool    `json:"Finish" xml:"Finish"`
	Progress      float64 `json:"Progress" xml:"Progress"`
	Message       string  `json:"Message" xml:"Message"`
	Completed     bool    `json:"Completed" xml:"Completed"`
	TimeToLive    int     `json:"TimeToLive" xml:"TimeToLive"`
	TotalUsedTime int64   `json:"TotalUsedTime" xml:"TotalUsedTime"`
}

DataInGetJobStatus is a nested struct in ivpd response

type DataInGetRenderResult added in v1.61.129

type DataInGetRenderResult struct {
	Completed  bool       `json:"Completed" xml:"Completed"`
	Progress   float64    `json:"Progress" xml:"Progress"`
	Code       string     `json:"Code" xml:"Code"`
	Message    string     `json:"Message" xml:"Message"`
	ResultData ResultData `json:"ResultData" xml:"ResultData"`
}

DataInGetRenderResult is a nested struct in ivpd response

type DataInGetUserBucketConfig added in v1.61.306

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

DataInGetUserBucketConfig is a nested struct in ivpd response

type DataInListUserBuckets added in v1.61.306

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

DataInListUserBuckets is a nested struct in ivpd response

type DataInUpdateUserBucketConfig added in v1.61.306

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

DataInUpdateUserBucketConfig is a nested struct in ivpd response

type DataItem added in v1.61.306

type DataItem struct {
	Region     string `json:"Region" xml:"Region"`
	Bucket     string `json:"Bucket" xml:"Bucket"`
	RegionName string `json:"RegionName" xml:"RegionName"`
}

DataItem is a nested struct in ivpd response

type DetectImageElementsRequest

type DetectImageElementsRequest struct {
	*requests.RpcRequest
	Url string `position:"Body" name:"Url"`
}

DetectImageElementsRequest is the request struct for api DetectImageElements

func CreateDetectImageElementsRequest

func CreateDetectImageElementsRequest() (request *DetectImageElementsRequest)

CreateDetectImageElementsRequest creates a request to invoke DetectImageElements API

type DetectImageElementsResponse

type DetectImageElementsResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

DetectImageElementsResponse is the response struct for api DetectImageElements

func CreateDetectImageElementsResponse

func CreateDetectImageElementsResponse() (response *DetectImageElementsResponse)

CreateDetectImageElementsResponse creates a response to parse from DetectImageElements response

type Element

type Element struct {
	X        int     `json:"X" xml:"X"`
	Score    float64 `json:"Score" xml:"Score"`
	Y        int     `json:"Y" xml:"Y"`
	Width    int     `json:"Width" xml:"Width"`
	Height   int     `json:"Height" xml:"Height"`
	Type     string  `json:"Type" xml:"Type"`
	SideName string  `json:"SideName" xml:"SideName"`
}

Element is a nested struct in ivpd response

type ElementsInDetectImageElements added in v1.61.129

type ElementsInDetectImageElements struct {
	Element []Element `json:"Element" xml:"Element"`
}

ElementsInDetectImageElements is a nested struct in ivpd response

type ElementsInListPackageDesignModelTypes added in v1.61.129

type ElementsInListPackageDesignModelTypes struct {
	Element []Element `json:"Element" xml:"Element"`
}

ElementsInListPackageDesignModelTypes is a nested struct in ivpd response

type EraseLogoInVideoBoxes added in v1.61.279

type EraseLogoInVideoBoxes struct {
	W string `name:"W"`
	H string `name:"H"`
	X string `name:"X"`
	Y string `name:"Y"`
}

EraseLogoInVideoBoxes is a repeated param struct in EraseLogoInVideoRequest

type EraseLogoInVideoRequest added in v1.61.279

type EraseLogoInVideoRequest struct {
	*requests.RpcRequest
	Boxes    *[]EraseLogoInVideoBoxes `position:"Body" name:"Boxes"  type:"Repeated"`
	Async    requests.Boolean         `position:"Body" name:"Async"`
	JobId    string                   `position:"Body" name:"JobId"`
	VideoUrl string                   `position:"Body" name:"VideoUrl"`
}

EraseLogoInVideoRequest is the request struct for api EraseLogoInVideo

func CreateEraseLogoInVideoRequest added in v1.61.279

func CreateEraseLogoInVideoRequest() (request *EraseLogoInVideoRequest)

CreateEraseLogoInVideoRequest creates a request to invoke EraseLogoInVideo API

type EraseLogoInVideoResponse added in v1.61.279

type EraseLogoInVideoResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

EraseLogoInVideoResponse is the response struct for api EraseLogoInVideo

func CreateEraseLogoInVideoResponse added in v1.61.279

func CreateEraseLogoInVideoResponse() (response *EraseLogoInVideoResponse)

CreateEraseLogoInVideoResponse creates a response to parse from EraseLogoInVideo response

type ExtendImageStyleRequest

type ExtendImageStyleRequest struct {
	*requests.RpcRequest
	MajorUrl string `position:"Body" name:"MajorUrl"`
	StyleUrl string `position:"Body" name:"StyleUrl"`
}

ExtendImageStyleRequest is the request struct for api ExtendImageStyle

func CreateExtendImageStyleRequest

func CreateExtendImageStyleRequest() (request *ExtendImageStyleRequest)

CreateExtendImageStyleRequest creates a request to invoke ExtendImageStyle API

type ExtendImageStyleResponse

type ExtendImageStyleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

ExtendImageStyleResponse is the response struct for api ExtendImageStyle

func CreateExtendImageStyleResponse

func CreateExtendImageStyleResponse() (response *ExtendImageStyleResponse)

CreateExtendImageStyleResponse creates a response to parse from ExtendImageStyle response

type GameList added in v1.61.417

type GameList struct {
	GameListItem []GameListItem `json:"GameList" xml:"GameList"`
}

GameList is a nested struct in ivpd response

type GameListItem added in v1.61.417

type GameListItem struct {
	Id       string                 `json:"Id" xml:"Id"`
	End      float64                `json:"End" xml:"End"`
	Start    float64                `json:"Start" xml:"Start"`
	GameInfo map[string]interface{} `json:"GameInfo" xml:"GameInfo"`
}

GameListItem is a nested struct in ivpd response

type GetAsyncJobResultRequest added in v1.61.417

type GetAsyncJobResultRequest struct {
	*requests.RpcRequest
	Async requests.Boolean `position:"Body" name:"Async"`
	JobId string           `position:"Body" name:"JobId"`
}

GetAsyncJobResultRequest is the request struct for api GetAsyncJobResult

func CreateGetAsyncJobResultRequest added in v1.61.417

func CreateGetAsyncJobResultRequest() (request *GetAsyncJobResultRequest)

CreateGetAsyncJobResultRequest creates a request to invoke GetAsyncJobResult API

type GetAsyncJobResultResponse added in v1.61.417

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

GetAsyncJobResultResponse is the response struct for api GetAsyncJobResult

func CreateGetAsyncJobResultResponse added in v1.61.417

func CreateGetAsyncJobResultResponse() (response *GetAsyncJobResultResponse)

CreateGetAsyncJobResultResponse creates a response to parse from GetAsyncJobResult response

type GetAsyncResultRequest added in v1.61.279

type GetAsyncResultRequest struct {
	*requests.RpcRequest
	JobId string `position:"Body" name:"JobId"`
}

GetAsyncResultRequest is the request struct for api GetAsyncResult

func CreateGetAsyncResultRequest added in v1.61.279

func CreateGetAsyncResultRequest() (request *GetAsyncResultRequest)

CreateGetAsyncResultRequest creates a request to invoke GetAsyncResult API

type GetAsyncResultResponse added in v1.61.279

type GetAsyncResultResponse struct {
	*responses.BaseResponse
	RequestId string               `json:"RequestId" xml:"RequestId"`
	Code      string               `json:"Code" xml:"Code"`
	Message   string               `json:"Message" xml:"Message"`
	Data      DataInGetAsyncResult `json:"Data" xml:"Data"`
}

GetAsyncResultResponse is the response struct for api GetAsyncResult

func CreateGetAsyncResultResponse added in v1.61.279

func CreateGetAsyncResultResponse() (response *GetAsyncResultResponse)

CreateGetAsyncResultResponse creates a response to parse from GetAsyncResult response

type GetJobResultRequest added in v1.61.113

type GetJobResultRequest struct {
	*requests.RpcRequest
	JobId string `position:"Body" name:"JobId"`
}

GetJobResultRequest is the request struct for api GetJobResult

func CreateGetJobResultRequest added in v1.61.113

func CreateGetJobResultRequest() (request *GetJobResultRequest)

CreateGetJobResultRequest creates a request to invoke GetJobResult API

type GetJobResultResponse added in v1.61.113

type GetJobResultResponse struct {
	*responses.BaseResponse
	RequestId string             `json:"RequestId" xml:"RequestId"`
	Code      string             `json:"Code" xml:"Code"`
	Message   string             `json:"Message" xml:"Message"`
	Data      DataInGetJobResult `json:"Data" xml:"Data"`
}

GetJobResultResponse is the response struct for api GetJobResult

func CreateGetJobResultResponse added in v1.61.113

func CreateGetJobResultResponse() (response *GetJobResultResponse)

CreateGetJobResultResponse creates a response to parse from GetJobResult response

type GetJobStatusRequest added in v1.61.113

type GetJobStatusRequest struct {
	*requests.RpcRequest
	JobId string `position:"Body" name:"JobId"`
}

GetJobStatusRequest is the request struct for api GetJobStatus

func CreateGetJobStatusRequest added in v1.61.113

func CreateGetJobStatusRequest() (request *GetJobStatusRequest)

CreateGetJobStatusRequest creates a request to invoke GetJobStatus API

type GetJobStatusResponse added in v1.61.113

type GetJobStatusResponse struct {
	*responses.BaseResponse
	RequestId string             `json:"RequestId" xml:"RequestId"`
	Code      string             `json:"Code" xml:"Code"`
	Message   string             `json:"Message" xml:"Message"`
	Data      DataInGetJobStatus `json:"Data" xml:"Data"`
}

GetJobStatusResponse is the response struct for api GetJobStatus

func CreateGetJobStatusResponse added in v1.61.113

func CreateGetJobStatusResponse() (response *GetJobStatusResponse)

CreateGetJobStatusResponse creates a response to parse from GetJobStatus response

type GetRenderResultRequest added in v1.61.129

type GetRenderResultRequest struct {
	*requests.RpcRequest
	JobId string `position:"Body" name:"JobId"`
}

GetRenderResultRequest is the request struct for api GetRenderResult

func CreateGetRenderResultRequest added in v1.61.129

func CreateGetRenderResultRequest() (request *GetRenderResultRequest)

CreateGetRenderResultRequest creates a request to invoke GetRenderResult API

type GetRenderResultResponse added in v1.61.129

type GetRenderResultResponse struct {
	*responses.BaseResponse
	RequestId string                `json:"RequestId" xml:"RequestId"`
	Code      string                `json:"Code" xml:"Code"`
	Message   string                `json:"Message" xml:"Message"`
	Data      DataInGetRenderResult `json:"Data" xml:"Data"`
}

GetRenderResultResponse is the response struct for api GetRenderResult

func CreateGetRenderResultResponse added in v1.61.129

func CreateGetRenderResultResponse() (response *GetRenderResultResponse)

CreateGetRenderResultResponse creates a response to parse from GetRenderResult response

type GetUserBucketConfigRequest added in v1.61.306

type GetUserBucketConfigRequest struct {
	*requests.RpcRequest
}

GetUserBucketConfigRequest is the request struct for api GetUserBucketConfig

func CreateGetUserBucketConfigRequest added in v1.61.306

func CreateGetUserBucketConfigRequest() (request *GetUserBucketConfigRequest)

CreateGetUserBucketConfigRequest creates a request to invoke GetUserBucketConfig API

type GetUserBucketConfigResponse added in v1.61.306

type GetUserBucketConfigResponse struct {
	*responses.BaseResponse
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Code      string     `json:"Code" xml:"Code"`
	Message   string     `json:"Message" xml:"Message"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

GetUserBucketConfigResponse is the response struct for api GetUserBucketConfig

func CreateGetUserBucketConfigResponse added in v1.61.306

func CreateGetUserBucketConfigResponse() (response *GetUserBucketConfigResponse)

CreateGetUserBucketConfigResponse creates a response to parse from GetUserBucketConfig response

type HighlightGameVideoRequest added in v1.61.417

type HighlightGameVideoRequest struct {
	*requests.RpcRequest
	Async    requests.Boolean `position:"Body" name:"Async"`
	VideoUrl string           `position:"Body" name:"VideoUrl"`
}

HighlightGameVideoRequest is the request struct for api HighlightGameVideo

func CreateHighlightGameVideoRequest added in v1.61.417

func CreateHighlightGameVideoRequest() (request *HighlightGameVideoRequest)

CreateHighlightGameVideoRequest creates a request to invoke HighlightGameVideo API

type HighlightGameVideoResponse added in v1.61.417

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

HighlightGameVideoResponse is the response struct for api HighlightGameVideo

func CreateHighlightGameVideoResponse added in v1.61.417

func CreateHighlightGameVideoResponse() (response *HighlightGameVideoResponse)

CreateHighlightGameVideoResponse creates a response to parse from HighlightGameVideo response

type HighlightList added in v1.61.417

type HighlightList struct {
	HighlightListItem []HighlightListItem `json:"HighlightList" xml:"HighlightList"`
}

HighlightList is a nested struct in ivpd response

type HighlightListItem added in v1.61.417

type HighlightListItem struct {
	Start float64 `json:"Start" xml:"Start"`
	End   float64 `json:"End" xml:"End"`
}

HighlightListItem is a nested struct in ivpd response

type ImageList

type ImageList struct {
	ImageList []string `json:"ImageList" xml:"ImageList"`
}

ImageList is a nested struct in ivpd response

type ListPackageDesignModelTypesRequest added in v1.61.129

type ListPackageDesignModelTypesRequest struct {
	*requests.RpcRequest
}

ListPackageDesignModelTypesRequest is the request struct for api ListPackageDesignModelTypes

func CreateListPackageDesignModelTypesRequest added in v1.61.129

func CreateListPackageDesignModelTypesRequest() (request *ListPackageDesignModelTypesRequest)

CreateListPackageDesignModelTypesRequest creates a request to invoke ListPackageDesignModelTypes API

type ListPackageDesignModelTypesResponse added in v1.61.129

type ListPackageDesignModelTypesResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

ListPackageDesignModelTypesResponse is the response struct for api ListPackageDesignModelTypes

func CreateListPackageDesignModelTypesResponse added in v1.61.129

func CreateListPackageDesignModelTypesResponse() (response *ListPackageDesignModelTypesResponse)

CreateListPackageDesignModelTypesResponse creates a response to parse from ListPackageDesignModelTypes response

type ListUserBucketsData added in v1.61.306

type ListUserBucketsData struct {
	RegionId string `name:"RegionId"`
}

ListUserBucketsData is a repeated param struct in ListUserBucketsRequest

type ListUserBucketsRequest added in v1.61.306

type ListUserBucketsRequest struct {
	*requests.RpcRequest
	Data *[]ListUserBucketsData `position:"Body" name:"Data"  type:"Repeated"`
}

ListUserBucketsRequest is the request struct for api ListUserBuckets

func CreateListUserBucketsRequest added in v1.61.306

func CreateListUserBucketsRequest() (request *ListUserBucketsRequest)

CreateListUserBucketsRequest creates a request to invoke ListUserBuckets API

type ListUserBucketsResponse added in v1.61.306

type ListUserBucketsResponse struct {
	*responses.BaseResponse
	RequestId string   `json:"RequestId" xml:"RequestId"`
	Code      string   `json:"Code" xml:"Code"`
	Message   string   `json:"Message" xml:"Message"`
	Data      []string `json:"Data" xml:"Data"`
}

ListUserBucketsResponse is the response struct for api ListUserBuckets

func CreateListUserBucketsResponse added in v1.61.306

func CreateListUserBucketsResponse() (response *ListUserBucketsResponse)

CreateListUserBucketsResponse creates a response to parse from ListUserBuckets response

type MakeSuperResolutionImageRequest

type MakeSuperResolutionImageRequest struct {
	*requests.RpcRequest
	Url string `position:"Body" name:"Url"`
}

MakeSuperResolutionImageRequest is the request struct for api MakeSuperResolutionImage

func CreateMakeSuperResolutionImageRequest

func CreateMakeSuperResolutionImageRequest() (request *MakeSuperResolutionImageRequest)

CreateMakeSuperResolutionImageRequest creates a request to invoke MakeSuperResolutionImage API

type MakeSuperResolutionImageResponse

type MakeSuperResolutionImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

MakeSuperResolutionImageResponse is the response struct for api MakeSuperResolutionImage

func CreateMakeSuperResolutionImageResponse

func CreateMakeSuperResolutionImageResponse() (response *MakeSuperResolutionImageResponse)

CreateMakeSuperResolutionImageResponse creates a response to parse from MakeSuperResolutionImage response

type ModelType added in v1.61.129

type ModelType struct {
	ModelType string    `json:"ModelType" xml:"ModelType"`
	Elements  []Element `json:"Elements" xml:"Elements"`
}

ModelType is a nested struct in ivpd response

type ModelTypeList added in v1.61.129

type ModelTypeList struct {
	ModelType []ModelType `json:"ModelType" xml:"ModelType"`
}

ModelTypeList is a nested struct in ivpd response

type PreviewModelForPackageDesignElementList added in v1.61.129

type PreviewModelForPackageDesignElementList struct {
	ImageUrl string `name:"ImageUrl"`
	SideName string `name:"SideName"`
}

PreviewModelForPackageDesignElementList is a repeated param struct in PreviewModelForPackageDesignRequest

type PreviewModelForPackageDesignRequest added in v1.61.129

type PreviewModelForPackageDesignRequest struct {
	*requests.RpcRequest
	MaterialName string                                     `position:"Body" name:"MaterialName"`
	ElementList  *[]PreviewModelForPackageDesignElementList `position:"Body" name:"ElementList"  type:"Repeated"`
	DataId       string                                     `position:"Body" name:"DataId"`
	MaterialType string                                     `position:"Body" name:"MaterialType"`
	ModelType    string                                     `position:"Body" name:"ModelType"`
	Category     string                                     `position:"Body" name:"Category"`
}

PreviewModelForPackageDesignRequest is the request struct for api PreviewModelForPackageDesign

func CreatePreviewModelForPackageDesignRequest added in v1.61.129

func CreatePreviewModelForPackageDesignRequest() (request *PreviewModelForPackageDesignRequest)

CreatePreviewModelForPackageDesignRequest creates a request to invoke PreviewModelForPackageDesign API

type PreviewModelForPackageDesignResponse added in v1.61.129

type PreviewModelForPackageDesignResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

PreviewModelForPackageDesignResponse is the response struct for api PreviewModelForPackageDesign

func CreatePreviewModelForPackageDesignResponse added in v1.61.129

func CreatePreviewModelForPackageDesignResponse() (response *PreviewModelForPackageDesignResponse)

CreatePreviewModelForPackageDesignResponse creates a response to parse from PreviewModelForPackageDesign response

type RecognizeImageColorRequest

type RecognizeImageColorRequest struct {
	*requests.RpcRequest
	Url        string `position:"Body" name:"Url"`
	ColorCount string `position:"Body" name:"ColorCount"`
}

RecognizeImageColorRequest is the request struct for api RecognizeImageColor

func CreateRecognizeImageColorRequest

func CreateRecognizeImageColorRequest() (request *RecognizeImageColorRequest)

CreateRecognizeImageColorRequest creates a request to invoke RecognizeImageColor API

type RecognizeImageColorResponse

type RecognizeImageColorResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizeImageColorResponse is the response struct for api RecognizeImageColor

func CreateRecognizeImageColorResponse

func CreateRecognizeImageColorResponse() (response *RecognizeImageColorResponse)

CreateRecognizeImageColorResponse creates a response to parse from RecognizeImageColor response

type RecognizeImageStyleRequest

type RecognizeImageStyleRequest struct {
	*requests.RpcRequest
	Url string `position:"Body" name:"Url"`
}

RecognizeImageStyleRequest is the request struct for api RecognizeImageStyle

func CreateRecognizeImageStyleRequest

func CreateRecognizeImageStyleRequest() (request *RecognizeImageStyleRequest)

CreateRecognizeImageStyleRequest creates a request to invoke RecognizeImageStyle API

type RecognizeImageStyleResponse

type RecognizeImageStyleResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecognizeImageStyleResponse is the response struct for api RecognizeImageStyle

func CreateRecognizeImageStyleResponse

func CreateRecognizeImageStyleResponse() (response *RecognizeImageStyleResponse)

CreateRecognizeImageStyleResponse creates a response to parse from RecognizeImageStyle response

type RecolorImageColorTemplate

type RecolorImageColorTemplate struct {
	Color string `name:"Color"`
}

RecolorImageColorTemplate is a repeated param struct in RecolorImageRequest

type RecolorImageRequest

type RecolorImageRequest struct {
	*requests.RpcRequest
	ColorTemplate *[]RecolorImageColorTemplate `position:"Body" name:"ColorTemplate"  type:"Repeated"`
	Url           string                       `position:"Body" name:"Url"`
	Mode          string                       `position:"Body" name:"Mode"`
	ColorCount    requests.Integer             `position:"Body" name:"ColorCount"`
	RefUrl        string                       `position:"Body" name:"RefUrl"`
}

RecolorImageRequest is the request struct for api RecolorImage

func CreateRecolorImageRequest

func CreateRecolorImageRequest() (request *RecolorImageRequest)

CreateRecolorImageRequest creates a request to invoke RecolorImage API

type RecolorImageResponse

type RecolorImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

RecolorImageResponse is the response struct for api RecolorImage

func CreateRecolorImageResponse

func CreateRecolorImageResponse() (response *RecolorImageResponse)

CreateRecolorImageResponse creates a response to parse from RecolorImage response

type RenderImageForPackageDesignElementList added in v1.61.129

type RenderImageForPackageDesignElementList struct {
	ImageUrl string `name:"ImageUrl"`
	SideName string `name:"SideName"`
}

RenderImageForPackageDesignElementList is a repeated param struct in RenderImageForPackageDesignRequest

type RenderImageForPackageDesignRequest added in v1.61.129

type RenderImageForPackageDesignRequest struct {
	*requests.RpcRequest
	DisplayType  string                                    `position:"Body" name:"DisplayType"`
	MaterialName string                                    `position:"Body" name:"MaterialName"`
	JobId        string                                    `position:"Body" name:"JobId"`
	MaterialType string                                    `position:"Body" name:"MaterialType"`
	ModelType    string                                    `position:"Body" name:"ModelType"`
	TargetWidth  requests.Integer                          `position:"Body" name:"TargetWidth"`
	ElementList  *[]RenderImageForPackageDesignElementList `position:"Body" name:"ElementList"  type:"Repeated"`
	Category     string                                    `position:"Body" name:"Category"`
	TargetHeight requests.Integer                          `position:"Body" name:"TargetHeight"`
}

RenderImageForPackageDesignRequest is the request struct for api RenderImageForPackageDesign

func CreateRenderImageForPackageDesignRequest added in v1.61.129

func CreateRenderImageForPackageDesignRequest() (request *RenderImageForPackageDesignRequest)

CreateRenderImageForPackageDesignRequest creates a request to invoke RenderImageForPackageDesign API

type RenderImageForPackageDesignResponse added in v1.61.129

type RenderImageForPackageDesignResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

RenderImageForPackageDesignResponse is the response struct for api RenderImageForPackageDesign

func CreateRenderImageForPackageDesignResponse added in v1.61.129

func CreateRenderImageForPackageDesignResponse() (response *RenderImageForPackageDesignResponse)

CreateRenderImageForPackageDesignResponse creates a response to parse from RenderImageForPackageDesign response

type Result added in v1.61.113

type Result struct {
	DataId     string     `json:"DataId" xml:"DataId"`
	Success    bool       `json:"Success" xml:"Success"`
	Code       string     `json:"Code" xml:"Code"`
	Message    string     `json:"Message" xml:"Message"`
	ResultData ResultData `json:"ResultData" xml:"ResultData"`
}

Result is a nested struct in ivpd response

type ResultData added in v1.61.113

type ResultData struct {
	ImageUrl string `json:"ImageUrl" xml:"ImageUrl"`
}

ResultData is a nested struct in ivpd response

type ResultListInCreateSegmentBodyJob added in v1.61.113

type ResultListInCreateSegmentBodyJob struct {
	Result []Result `json:"Result" xml:"Result"`
}

ResultListInCreateSegmentBodyJob is a nested struct in ivpd response

type ResultListInGetJobResult added in v1.61.113

type ResultListInGetJobResult struct {
	Result []map[string]interface{} `json:"Result" xml:"Result"`
}

ResultListInGetJobResult is a nested struct in ivpd response

type SegmentBodyRequest added in v1.61.48

type SegmentBodyRequest struct {
	*requests.RpcRequest
	ImageUrl string `position:"Body" name:"ImageUrl"`
}

SegmentBodyRequest is the request struct for api SegmentBody

func CreateSegmentBodyRequest added in v1.61.48

func CreateSegmentBodyRequest() (request *SegmentBodyRequest)

CreateSegmentBodyRequest creates a request to invoke SegmentBody API

type SegmentBodyResponse added in v1.61.48

type SegmentBodyResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

SegmentBodyResponse is the response struct for api SegmentBody

func CreateSegmentBodyResponse added in v1.61.48

func CreateSegmentBodyResponse() (response *SegmentBodyResponse)

CreateSegmentBodyResponse creates a response to parse from SegmentBody response

type SegmentImageRequest

type SegmentImageRequest struct {
	*requests.RpcRequest
	Url string `position:"Body" name:"Url"`
}

SegmentImageRequest is the request struct for api SegmentImage

func CreateSegmentImageRequest

func CreateSegmentImageRequest() (request *SegmentImageRequest)

CreateSegmentImageRequest creates a request to invoke SegmentImage API

type SegmentImageResponse

type SegmentImageResponse struct {
	*responses.BaseResponse
	RequestId string `json:"RequestId" xml:"RequestId"`
	Code      string `json:"Code" xml:"Code"`
	Message   string `json:"Message" xml:"Message"`
	Data      Data   `json:"Data" xml:"Data"`
}

SegmentImageResponse is the response struct for api SegmentImage

func CreateSegmentImageResponse

func CreateSegmentImageResponse() (response *SegmentImageResponse)

CreateSegmentImageResponse creates a response to parse from SegmentImage response

type Styles

type Styles struct {
	Style []string `json:"Style" xml:"Style"`
}

Styles is a nested struct in ivpd response

type UpdateUserBucketConfigData added in v1.61.306

type UpdateUserBucketConfigData struct {
	Bucket string `name:"Bucket"`
	Region string `name:"Region"`
}

UpdateUserBucketConfigData is a repeated param struct in UpdateUserBucketConfigRequest

type UpdateUserBucketConfigRequest added in v1.61.306

type UpdateUserBucketConfigRequest struct {
	*requests.RpcRequest
	Data *[]UpdateUserBucketConfigData `position:"Body" name:"Data"  type:"Repeated"`
}

UpdateUserBucketConfigRequest is the request struct for api UpdateUserBucketConfig

func CreateUpdateUserBucketConfigRequest added in v1.61.306

func CreateUpdateUserBucketConfigRequest() (request *UpdateUserBucketConfigRequest)

CreateUpdateUserBucketConfigRequest creates a request to invoke UpdateUserBucketConfig API

type UpdateUserBucketConfigResponse added in v1.61.306

type UpdateUserBucketConfigResponse struct {
	*responses.BaseResponse
	RequestId string     `json:"RequestId" xml:"RequestId"`
	Code      string     `json:"Code" xml:"Code"`
	Message   string     `json:"Message" xml:"Message"`
	Data      []DataItem `json:"Data" xml:"Data"`
}

UpdateUserBucketConfigResponse is the response struct for api UpdateUserBucketConfig

func CreateUpdateUserBucketConfigResponse added in v1.61.306

func CreateUpdateUserBucketConfigResponse() (response *UpdateUserBucketConfigResponse)

CreateUpdateUserBucketConfigResponse creates a response to parse from UpdateUserBucketConfig response

Jump to

Keyboard shortcuts

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