Documentation ¶
Index ¶
- Variables
- func GetEndpointMap() map[string]string
- func GetEndpointType() string
- func SetClientProperty(client *Client, propertyName string, propertyValue interface{})
- func SetEndpointDataToClient(client *Client)
- type ChangeImageSizeRequest
- type ChangeImageSizeResponse
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRamRoleArnAndPolicy(regionId string, ...) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) ChangeImageSize(request *ChangeImageSizeRequest) (response *ChangeImageSizeResponse, err error)
- func (client *Client) ChangeImageSizeWithCallback(request *ChangeImageSizeRequest, ...) <-chan int
- func (client *Client) ChangeImageSizeWithChan(request *ChangeImageSizeRequest) (<-chan *ChangeImageSizeResponse, <-chan error)
- func (client *Client) CreateSegmentBodyJob(request *CreateSegmentBodyJobRequest) (response *CreateSegmentBodyJobResponse, err error)
- func (client *Client) CreateSegmentBodyJobWithCallback(request *CreateSegmentBodyJobRequest, ...) <-chan int
- func (client *Client) CreateSegmentBodyJobWithChan(request *CreateSegmentBodyJobRequest) (<-chan *CreateSegmentBodyJobResponse, <-chan error)
- func (client *Client) DetectImageElements(request *DetectImageElementsRequest) (response *DetectImageElementsResponse, err error)
- func (client *Client) DetectImageElementsWithCallback(request *DetectImageElementsRequest, ...) <-chan int
- func (client *Client) DetectImageElementsWithChan(request *DetectImageElementsRequest) (<-chan *DetectImageElementsResponse, <-chan error)
- func (client *Client) EraseLogoInVideo(request *EraseLogoInVideoRequest) (response *EraseLogoInVideoResponse, err error)
- func (client *Client) EraseLogoInVideoWithCallback(request *EraseLogoInVideoRequest, ...) <-chan int
- func (client *Client) EraseLogoInVideoWithChan(request *EraseLogoInVideoRequest) (<-chan *EraseLogoInVideoResponse, <-chan error)
- func (client *Client) ExtendImageStyle(request *ExtendImageStyleRequest) (response *ExtendImageStyleResponse, err error)
- func (client *Client) ExtendImageStyleWithCallback(request *ExtendImageStyleRequest, ...) <-chan int
- func (client *Client) ExtendImageStyleWithChan(request *ExtendImageStyleRequest) (<-chan *ExtendImageStyleResponse, <-chan error)
- func (client *Client) GetAsyncJobResult(request *GetAsyncJobResultRequest) (response *GetAsyncJobResultResponse, err error)
- func (client *Client) GetAsyncJobResultWithCallback(request *GetAsyncJobResultRequest, ...) <-chan int
- func (client *Client) GetAsyncJobResultWithChan(request *GetAsyncJobResultRequest) (<-chan *GetAsyncJobResultResponse, <-chan error)
- func (client *Client) GetAsyncResult(request *GetAsyncResultRequest) (response *GetAsyncResultResponse, err error)
- func (client *Client) GetAsyncResultWithCallback(request *GetAsyncResultRequest, ...) <-chan int
- func (client *Client) GetAsyncResultWithChan(request *GetAsyncResultRequest) (<-chan *GetAsyncResultResponse, <-chan error)
- func (client *Client) GetJobResult(request *GetJobResultRequest) (response *GetJobResultResponse, err error)
- func (client *Client) GetJobResultWithCallback(request *GetJobResultRequest, ...) <-chan int
- func (client *Client) GetJobResultWithChan(request *GetJobResultRequest) (<-chan *GetJobResultResponse, <-chan error)
- func (client *Client) GetJobStatus(request *GetJobStatusRequest) (response *GetJobStatusResponse, err error)
- func (client *Client) GetJobStatusWithCallback(request *GetJobStatusRequest, ...) <-chan int
- func (client *Client) GetJobStatusWithChan(request *GetJobStatusRequest) (<-chan *GetJobStatusResponse, <-chan error)
- func (client *Client) GetRenderResult(request *GetRenderResultRequest) (response *GetRenderResultResponse, err error)
- func (client *Client) GetRenderResultWithCallback(request *GetRenderResultRequest, ...) <-chan int
- func (client *Client) GetRenderResultWithChan(request *GetRenderResultRequest) (<-chan *GetRenderResultResponse, <-chan error)
- func (client *Client) GetUserBucketConfig(request *GetUserBucketConfigRequest) (response *GetUserBucketConfigResponse, err error)
- func (client *Client) GetUserBucketConfigWithCallback(request *GetUserBucketConfigRequest, ...) <-chan int
- func (client *Client) GetUserBucketConfigWithChan(request *GetUserBucketConfigRequest) (<-chan *GetUserBucketConfigResponse, <-chan error)
- func (client *Client) HighlightGameVideo(request *HighlightGameVideoRequest) (response *HighlightGameVideoResponse, err error)
- func (client *Client) HighlightGameVideoWithCallback(request *HighlightGameVideoRequest, ...) <-chan int
- func (client *Client) HighlightGameVideoWithChan(request *HighlightGameVideoRequest) (<-chan *HighlightGameVideoResponse, <-chan error)
- func (client *Client) ListPackageDesignModelTypes(request *ListPackageDesignModelTypesRequest) (response *ListPackageDesignModelTypesResponse, err error)
- func (client *Client) ListPackageDesignModelTypesWithCallback(request *ListPackageDesignModelTypesRequest, ...) <-chan int
- func (client *Client) ListPackageDesignModelTypesWithChan(request *ListPackageDesignModelTypesRequest) (<-chan *ListPackageDesignModelTypesResponse, <-chan error)
- func (client *Client) ListUserBuckets(request *ListUserBucketsRequest) (response *ListUserBucketsResponse, err error)
- func (client *Client) ListUserBucketsWithCallback(request *ListUserBucketsRequest, ...) <-chan int
- func (client *Client) ListUserBucketsWithChan(request *ListUserBucketsRequest) (<-chan *ListUserBucketsResponse, <-chan error)
- func (client *Client) MakeSuperResolutionImage(request *MakeSuperResolutionImageRequest) (response *MakeSuperResolutionImageResponse, err error)
- func (client *Client) MakeSuperResolutionImageWithCallback(request *MakeSuperResolutionImageRequest, ...) <-chan int
- func (client *Client) MakeSuperResolutionImageWithChan(request *MakeSuperResolutionImageRequest) (<-chan *MakeSuperResolutionImageResponse, <-chan error)
- func (client *Client) PreviewModelForPackageDesign(request *PreviewModelForPackageDesignRequest) (response *PreviewModelForPackageDesignResponse, err error)
- func (client *Client) PreviewModelForPackageDesignWithCallback(request *PreviewModelForPackageDesignRequest, ...) <-chan int
- func (client *Client) PreviewModelForPackageDesignWithChan(request *PreviewModelForPackageDesignRequest) (<-chan *PreviewModelForPackageDesignResponse, <-chan error)
- func (client *Client) RecognizeImageColor(request *RecognizeImageColorRequest) (response *RecognizeImageColorResponse, err error)
- func (client *Client) RecognizeImageColorWithCallback(request *RecognizeImageColorRequest, ...) <-chan int
- func (client *Client) RecognizeImageColorWithChan(request *RecognizeImageColorRequest) (<-chan *RecognizeImageColorResponse, <-chan error)
- func (client *Client) RecognizeImageStyle(request *RecognizeImageStyleRequest) (response *RecognizeImageStyleResponse, err error)
- func (client *Client) RecognizeImageStyleWithCallback(request *RecognizeImageStyleRequest, ...) <-chan int
- func (client *Client) RecognizeImageStyleWithChan(request *RecognizeImageStyleRequest) (<-chan *RecognizeImageStyleResponse, <-chan error)
- func (client *Client) RecolorImage(request *RecolorImageRequest) (response *RecolorImageResponse, err error)
- func (client *Client) RecolorImageWithCallback(request *RecolorImageRequest, ...) <-chan int
- func (client *Client) RecolorImageWithChan(request *RecolorImageRequest) (<-chan *RecolorImageResponse, <-chan error)
- func (client *Client) RenderImageForPackageDesign(request *RenderImageForPackageDesignRequest) (response *RenderImageForPackageDesignResponse, err error)
- func (client *Client) RenderImageForPackageDesignWithCallback(request *RenderImageForPackageDesignRequest, ...) <-chan int
- func (client *Client) RenderImageForPackageDesignWithChan(request *RenderImageForPackageDesignRequest) (<-chan *RenderImageForPackageDesignResponse, <-chan error)
- func (client *Client) SegmentBody(request *SegmentBodyRequest) (response *SegmentBodyResponse, err error)
- func (client *Client) SegmentBodyWithCallback(request *SegmentBodyRequest, ...) <-chan int
- func (client *Client) SegmentBodyWithChan(request *SegmentBodyRequest) (<-chan *SegmentBodyResponse, <-chan error)
- func (client *Client) SegmentImage(request *SegmentImageRequest) (response *SegmentImageResponse, err error)
- func (client *Client) SegmentImageWithCallback(request *SegmentImageRequest, ...) <-chan int
- func (client *Client) SegmentImageWithChan(request *SegmentImageRequest) (<-chan *SegmentImageResponse, <-chan error)
- func (client *Client) UpdateUserBucketConfig(request *UpdateUserBucketConfigRequest) (response *UpdateUserBucketConfigResponse, err error)
- func (client *Client) UpdateUserBucketConfigWithCallback(request *UpdateUserBucketConfigRequest, ...) <-chan int
- func (client *Client) UpdateUserBucketConfigWithChan(request *UpdateUserBucketConfigRequest) (<-chan *UpdateUserBucketConfigResponse, <-chan error)
- type ColorTemplate
- type ColorTemplateList
- type CreateSegmentBodyJobDataList
- type CreateSegmentBodyJobRequest
- type CreateSegmentBodyJobResponse
- type Data
- type DataInGetAsyncResult
- type DataInGetJobResult
- type DataInGetJobStatus
- type DataInGetRenderResult
- type DataInGetUserBucketConfig
- type DataInListUserBuckets
- type DataInUpdateUserBucketConfig
- type DataItem
- type DetectImageElementsRequest
- type DetectImageElementsResponse
- type Element
- type ElementsInDetectImageElements
- type ElementsInListPackageDesignModelTypes
- type EraseLogoInVideoBoxes
- type EraseLogoInVideoRequest
- type EraseLogoInVideoResponse
- type ExtendImageStyleRequest
- type ExtendImageStyleResponse
- type GameList
- type GameListItem
- type GetAsyncJobResultRequest
- type GetAsyncJobResultResponse
- type GetAsyncResultRequest
- type GetAsyncResultResponse
- type GetJobResultRequest
- type GetJobResultResponse
- type GetJobStatusRequest
- type GetJobStatusResponse
- type GetRenderResultRequest
- type GetRenderResultResponse
- type GetUserBucketConfigRequest
- type GetUserBucketConfigResponse
- type HighlightGameVideoRequest
- type HighlightGameVideoResponse
- type HighlightList
- type HighlightListItem
- type ImageList
- type ListPackageDesignModelTypesRequest
- type ListPackageDesignModelTypesResponse
- type ListUserBucketsData
- type ListUserBucketsRequest
- type ListUserBucketsResponse
- type MakeSuperResolutionImageRequest
- type MakeSuperResolutionImageResponse
- type ModelType
- type ModelTypeList
- type PreviewModelForPackageDesignElementList
- type PreviewModelForPackageDesignRequest
- type PreviewModelForPackageDesignResponse
- type RecognizeImageColorRequest
- type RecognizeImageColorResponse
- type RecognizeImageStyleRequest
- type RecognizeImageStyleResponse
- type RecolorImageColorTemplate
- type RecolorImageRequest
- type RecolorImageResponse
- type RenderImageForPackageDesignElementList
- type RenderImageForPackageDesignRequest
- type RenderImageForPackageDesignResponse
- type Result
- type ResultData
- type ResultListInCreateSegmentBodyJob
- type ResultListInGetJobResult
- type SegmentBodyRequest
- type SegmentBodyResponse
- type SegmentImageRequest
- type SegmentImageResponse
- type Styles
- type UpdateUserBucketConfigData
- type UpdateUserBucketConfigRequest
- type UpdateUserBucketConfigResponse
Constants ¶
This section is empty.
Variables ¶
var EndpointMap map[string]string
EndpointMap Endpoint Data
var EndpointType = "regional"
EndpointType regional or central
Functions ¶
func SetClientProperty ¶
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 ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type CreateSegmentBodyJobDataList struct { DataId string `name:"DataId"` ImageUrl string `name:"ImageUrl"` }
CreateSegmentBodyJobDataList is a repeated param struct in CreateSegmentBodyJobRequest
type CreateSegmentBodyJobRequest ¶
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 ¶
func CreateCreateSegmentBodyJobRequest() (request *CreateSegmentBodyJobRequest)
CreateCreateSegmentBodyJobRequest creates a request to invoke CreateSegmentBodyJob API
type CreateSegmentBodyJobResponse ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type DataInGetUserBucketConfig struct {
DataItem []DataItem `json:"Data" xml:"Data"`
}
DataInGetUserBucketConfig is a nested struct in ivpd response
type DataInListUserBuckets ¶
type DataInListUserBuckets struct {
Data []string `json:"Data" xml:"Data"`
}
DataInListUserBuckets is a nested struct in ivpd response
type DataInUpdateUserBucketConfig ¶
type DataInUpdateUserBucketConfig struct {
DataItem []DataItem `json:"Data" xml:"Data"`
}
DataInUpdateUserBucketConfig is a nested struct in ivpd response
type DataItem ¶
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 ¶
type ElementsInDetectImageElements struct {
Element []Element `json:"Element" xml:"Element"`
}
ElementsInDetectImageElements is a nested struct in ivpd response
type ElementsInListPackageDesignModelTypes ¶
type ElementsInListPackageDesignModelTypes struct {
Element []Element `json:"Element" xml:"Element"`
}
ElementsInListPackageDesignModelTypes is a nested struct in ivpd response
type EraseLogoInVideoBoxes ¶
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 ¶
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 ¶
func CreateEraseLogoInVideoRequest() (request *EraseLogoInVideoRequest)
CreateEraseLogoInVideoRequest creates a request to invoke EraseLogoInVideo API
type EraseLogoInVideoResponse ¶
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 ¶
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 ¶
type GameList struct {
GameListItem []GameListItem `json:"GameList" xml:"GameList"`
}
GameList is a nested struct in ivpd response
type GameListItem ¶
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 ¶
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 ¶
func CreateGetAsyncJobResultRequest() (request *GetAsyncJobResultRequest)
CreateGetAsyncJobResultRequest creates a request to invoke GetAsyncJobResult API
type GetAsyncJobResultResponse ¶
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 ¶
func CreateGetAsyncJobResultResponse() (response *GetAsyncJobResultResponse)
CreateGetAsyncJobResultResponse creates a response to parse from GetAsyncJobResult response
type GetAsyncResultRequest ¶
type GetAsyncResultRequest struct { *requests.RpcRequest JobId string `position:"Body" name:"JobId"` }
GetAsyncResultRequest is the request struct for api GetAsyncResult
func CreateGetAsyncResultRequest ¶
func CreateGetAsyncResultRequest() (request *GetAsyncResultRequest)
CreateGetAsyncResultRequest creates a request to invoke GetAsyncResult API
type GetAsyncResultResponse ¶
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 ¶
func CreateGetAsyncResultResponse() (response *GetAsyncResultResponse)
CreateGetAsyncResultResponse creates a response to parse from GetAsyncResult response
type GetJobResultRequest ¶
type GetJobResultRequest struct { *requests.RpcRequest JobId string `position:"Body" name:"JobId"` }
GetJobResultRequest is the request struct for api GetJobResult
func CreateGetJobResultRequest ¶
func CreateGetJobResultRequest() (request *GetJobResultRequest)
CreateGetJobResultRequest creates a request to invoke GetJobResult API
type GetJobResultResponse ¶
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 ¶
func CreateGetJobResultResponse() (response *GetJobResultResponse)
CreateGetJobResultResponse creates a response to parse from GetJobResult response
type GetJobStatusRequest ¶
type GetJobStatusRequest struct { *requests.RpcRequest JobId string `position:"Body" name:"JobId"` }
GetJobStatusRequest is the request struct for api GetJobStatus
func CreateGetJobStatusRequest ¶
func CreateGetJobStatusRequest() (request *GetJobStatusRequest)
CreateGetJobStatusRequest creates a request to invoke GetJobStatus API
type GetJobStatusResponse ¶
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 ¶
func CreateGetJobStatusResponse() (response *GetJobStatusResponse)
CreateGetJobStatusResponse creates a response to parse from GetJobStatus response
type GetRenderResultRequest ¶
type GetRenderResultRequest struct { *requests.RpcRequest JobId string `position:"Body" name:"JobId"` }
GetRenderResultRequest is the request struct for api GetRenderResult
func CreateGetRenderResultRequest ¶
func CreateGetRenderResultRequest() (request *GetRenderResultRequest)
CreateGetRenderResultRequest creates a request to invoke GetRenderResult API
type GetRenderResultResponse ¶
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 ¶
func CreateGetRenderResultResponse() (response *GetRenderResultResponse)
CreateGetRenderResultResponse creates a response to parse from GetRenderResult response
type GetUserBucketConfigRequest ¶
type GetUserBucketConfigRequest struct {
*requests.RpcRequest
}
GetUserBucketConfigRequest is the request struct for api GetUserBucketConfig
func CreateGetUserBucketConfigRequest ¶
func CreateGetUserBucketConfigRequest() (request *GetUserBucketConfigRequest)
CreateGetUserBucketConfigRequest creates a request to invoke GetUserBucketConfig API
type GetUserBucketConfigResponse ¶
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 ¶
func CreateGetUserBucketConfigResponse() (response *GetUserBucketConfigResponse)
CreateGetUserBucketConfigResponse creates a response to parse from GetUserBucketConfig response
type HighlightGameVideoRequest ¶
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 ¶
func CreateHighlightGameVideoRequest() (request *HighlightGameVideoRequest)
CreateHighlightGameVideoRequest creates a request to invoke HighlightGameVideo API
type HighlightGameVideoResponse ¶
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 ¶
func CreateHighlightGameVideoResponse() (response *HighlightGameVideoResponse)
CreateHighlightGameVideoResponse creates a response to parse from HighlightGameVideo response
type HighlightList ¶
type HighlightList struct {
HighlightListItem []HighlightListItem `json:"HighlightList" xml:"HighlightList"`
}
HighlightList is a nested struct in ivpd response
type HighlightListItem ¶
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 ¶
type ListPackageDesignModelTypesRequest struct {
*requests.RpcRequest
}
ListPackageDesignModelTypesRequest is the request struct for api ListPackageDesignModelTypes
func CreateListPackageDesignModelTypesRequest ¶
func CreateListPackageDesignModelTypesRequest() (request *ListPackageDesignModelTypesRequest)
CreateListPackageDesignModelTypesRequest creates a request to invoke ListPackageDesignModelTypes API
type ListPackageDesignModelTypesResponse ¶
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 ¶
func CreateListPackageDesignModelTypesResponse() (response *ListPackageDesignModelTypesResponse)
CreateListPackageDesignModelTypesResponse creates a response to parse from ListPackageDesignModelTypes response
type ListUserBucketsData ¶
type ListUserBucketsData struct {
RegionId string `name:"RegionId"`
}
ListUserBucketsData is a repeated param struct in ListUserBucketsRequest
type ListUserBucketsRequest ¶
type ListUserBucketsRequest struct { *requests.RpcRequest Data *[]ListUserBucketsData `position:"Body" name:"Data" type:"Repeated"` }
ListUserBucketsRequest is the request struct for api ListUserBuckets
func CreateListUserBucketsRequest ¶
func CreateListUserBucketsRequest() (request *ListUserBucketsRequest)
CreateListUserBucketsRequest creates a request to invoke ListUserBuckets API
type ListUserBucketsResponse ¶
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 ¶
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 ¶
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 ¶
type ModelTypeList struct {
ModelType []ModelType `json:"ModelType" xml:"ModelType"`
}
ModelTypeList is a nested struct in ivpd response
type PreviewModelForPackageDesignElementList ¶
type PreviewModelForPackageDesignElementList struct { ImageUrl string `name:"ImageUrl"` SideName string `name:"SideName"` }
PreviewModelForPackageDesignElementList is a repeated param struct in PreviewModelForPackageDesignRequest
type PreviewModelForPackageDesignRequest ¶
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 ¶
func CreatePreviewModelForPackageDesignRequest() (request *PreviewModelForPackageDesignRequest)
CreatePreviewModelForPackageDesignRequest creates a request to invoke PreviewModelForPackageDesign API
type PreviewModelForPackageDesignResponse ¶
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 ¶
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 ¶
type RenderImageForPackageDesignElementList struct { ImageUrl string `name:"ImageUrl"` SideName string `name:"SideName"` }
RenderImageForPackageDesignElementList is a repeated param struct in RenderImageForPackageDesignRequest
type RenderImageForPackageDesignRequest ¶
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 ¶
func CreateRenderImageForPackageDesignRequest() (request *RenderImageForPackageDesignRequest)
CreateRenderImageForPackageDesignRequest creates a request to invoke RenderImageForPackageDesign API
type RenderImageForPackageDesignResponse ¶
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 ¶
func CreateRenderImageForPackageDesignResponse() (response *RenderImageForPackageDesignResponse)
CreateRenderImageForPackageDesignResponse creates a response to parse from RenderImageForPackageDesign response
type Result ¶
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 ¶
type ResultData struct {
ImageUrl string `json:"ImageUrl" xml:"ImageUrl"`
}
ResultData is a nested struct in ivpd response
type ResultListInCreateSegmentBodyJob ¶
type ResultListInCreateSegmentBodyJob struct {
Result []Result `json:"Result" xml:"Result"`
}
ResultListInCreateSegmentBodyJob is a nested struct in ivpd response
type ResultListInGetJobResult ¶
type ResultListInGetJobResult struct {
Result []map[string]interface{} `json:"Result" xml:"Result"`
}
ResultListInGetJobResult is a nested struct in ivpd response
type SegmentBodyRequest ¶
type SegmentBodyRequest struct { *requests.RpcRequest ImageUrl string `position:"Body" name:"ImageUrl"` }
SegmentBodyRequest is the request struct for api SegmentBody
func CreateSegmentBodyRequest ¶
func CreateSegmentBodyRequest() (request *SegmentBodyRequest)
CreateSegmentBodyRequest creates a request to invoke SegmentBody API
type SegmentBodyResponse ¶
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 ¶
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 ¶
type UpdateUserBucketConfigData struct { Bucket string `name:"Bucket"` Region string `name:"Region"` }
UpdateUserBucketConfigData is a repeated param struct in UpdateUserBucketConfigRequest
type UpdateUserBucketConfigRequest ¶
type UpdateUserBucketConfigRequest struct { *requests.RpcRequest Data *[]UpdateUserBucketConfigData `position:"Body" name:"Data" type:"Repeated"` }
UpdateUserBucketConfigRequest is the request struct for api UpdateUserBucketConfig
func CreateUpdateUserBucketConfigRequest ¶
func CreateUpdateUserBucketConfigRequest() (request *UpdateUserBucketConfigRequest)
CreateUpdateUserBucketConfigRequest creates a request to invoke UpdateUserBucketConfig API
type UpdateUserBucketConfigResponse ¶
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 ¶
func CreateUpdateUserBucketConfigResponse() (response *UpdateUserBucketConfigResponse)
CreateUpdateUserBucketConfigResponse creates a response to parse from UpdateUserBucketConfig response
Source Files ¶
- change_image_size.go
- client.go
- create_segment_body_job.go
- detect_image_elements.go
- endpoint.go
- erase_logo_in_video.go
- extend_image_style.go
- get_async_job_result.go
- get_async_result.go
- get_job_result.go
- get_job_status.go
- get_render_result.go
- get_user_bucket_config.go
- highlight_game_video.go
- list_package_design_model_types.go
- list_user_buckets.go
- make_super_resolution_image.go
- preview_model_for_package_design.go
- recognize_image_color.go
- recognize_image_style.go
- recolor_image.go
- render_image_for_package_design.go
- segment_body.go
- segment_image.go
- struct_color_template.go
- struct_color_template_list.go
- struct_data.go
- struct_data_in_get_async_result.go
- struct_data_in_get_job_result.go
- struct_data_in_get_job_status.go
- struct_data_in_get_render_result.go
- struct_data_in_get_user_bucket_config.go
- struct_data_in_list_user_buckets.go
- struct_data_in_update_user_bucket_config.go
- struct_data_item.go
- struct_element.go
- struct_elements_in_detect_image_elements.go
- struct_elements_in_list_package_design_model_types.go
- struct_game_list.go
- struct_game_list_item.go
- struct_highlight_list.go
- struct_highlight_list_item.go
- struct_image_list.go
- struct_model_type.go
- struct_model_type_list.go
- struct_result.go
- struct_result_data.go
- struct_result_list_in_create_segment_body_job.go
- struct_result_list_in_get_job_result.go
- struct_styles.go
- update_user_bucket_config.go