client

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 3

Documentation

Overview

This file is auto-generated, don't edit it. Thanks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) CreateAsyncTranslate added in v2.2.0

func (client *Client) CreateAsyncTranslate(request *CreateAsyncTranslateRequest) (_result *CreateAsyncTranslateResponse, _err error)

Summary:

大文本异步翻译,支持5000-50000字翻译

@param request - CreateAsyncTranslateRequest

@return CreateAsyncTranslateResponse

func (*Client) CreateAsyncTranslateWithOptions added in v2.2.0

func (client *Client) CreateAsyncTranslateWithOptions(request *CreateAsyncTranslateRequest, runtime *util.RuntimeOptions) (_result *CreateAsyncTranslateResponse, _err error)

Summary:

大文本异步翻译,支持5000-50000字翻译

@param request - CreateAsyncTranslateRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateAsyncTranslateResponse

func (*Client) CreateDocTranslateTask

func (client *Client) CreateDocTranslateTask(request *CreateDocTranslateTaskRequest) (_result *CreateDocTranslateTaskResponse, _err error)

@param request - CreateDocTranslateTaskRequest

@return CreateDocTranslateTaskResponse

func (*Client) CreateDocTranslateTaskAdvance

func (client *Client) CreateDocTranslateTaskAdvance(request *CreateDocTranslateTaskAdvanceRequest, runtime *util.RuntimeOptions) (_result *CreateDocTranslateTaskResponse, _err error)

func (*Client) CreateDocTranslateTaskWithOptions

func (client *Client) CreateDocTranslateTaskWithOptions(request *CreateDocTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *CreateDocTranslateTaskResponse, _err error)

@param request - CreateDocTranslateTaskRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateDocTranslateTaskResponse

func (*Client) CreateImageTranslateTask

func (client *Client) CreateImageTranslateTask(request *CreateImageTranslateTaskRequest) (_result *CreateImageTranslateTaskResponse, _err error)

@param request - CreateImageTranslateTaskRequest

@return CreateImageTranslateTaskResponse

func (*Client) CreateImageTranslateTaskWithOptions

func (client *Client) CreateImageTranslateTaskWithOptions(request *CreateImageTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *CreateImageTranslateTaskResponse, _err error)

@param request - CreateImageTranslateTaskRequest

@param runtime - runtime options for this request RuntimeOptions

@return CreateImageTranslateTaskResponse

func (*Client) GetAsyncTranslate added in v2.2.0

func (client *Client) GetAsyncTranslate(request *GetAsyncTranslateRequest) (_result *GetAsyncTranslateResponse, _err error)

Summary:

大文本异步翻译,支持5000-50000字翻译

@param request - GetAsyncTranslateRequest

@return GetAsyncTranslateResponse

func (*Client) GetAsyncTranslateWithOptions added in v2.2.0

func (client *Client) GetAsyncTranslateWithOptions(request *GetAsyncTranslateRequest, runtime *util.RuntimeOptions) (_result *GetAsyncTranslateResponse, _err error)

Summary:

大文本异步翻译,支持5000-50000字翻译

@param request - GetAsyncTranslateRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetAsyncTranslateResponse

func (*Client) GetBatchTranslate

func (client *Client) GetBatchTranslate(request *GetBatchTranslateRequest) (_result *GetBatchTranslateResponse, _err error)

@param request - GetBatchTranslateRequest

@return GetBatchTranslateResponse

func (*Client) GetBatchTranslateByVPC added in v2.3.0

func (client *Client) GetBatchTranslateByVPC(request *GetBatchTranslateByVPCRequest) (_result *GetBatchTranslateByVPCResponse, _err error)

Summary:

GetBatchTranslateByVPC

@param request - GetBatchTranslateByVPCRequest

@return GetBatchTranslateByVPCResponse

func (*Client) GetBatchTranslateByVPCWithOptions added in v2.3.0

func (client *Client) GetBatchTranslateByVPCWithOptions(request *GetBatchTranslateByVPCRequest, runtime *util.RuntimeOptions) (_result *GetBatchTranslateByVPCResponse, _err error)

Summary:

GetBatchTranslateByVPC

@param request - GetBatchTranslateByVPCRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetBatchTranslateByVPCResponse

func (*Client) GetBatchTranslateWithOptions

func (client *Client) GetBatchTranslateWithOptions(request *GetBatchTranslateRequest, runtime *util.RuntimeOptions) (_result *GetBatchTranslateResponse, _err error)

@param request - GetBatchTranslateRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetBatchTranslateResponse

func (*Client) GetDetectLanguage

func (client *Client) GetDetectLanguage(request *GetDetectLanguageRequest) (_result *GetDetectLanguageResponse, _err error)

Summary:

语种识别

@param request - GetDetectLanguageRequest

@return GetDetectLanguageResponse

func (*Client) GetDetectLanguageWithOptions

func (client *Client) GetDetectLanguageWithOptions(request *GetDetectLanguageRequest, runtime *util.RuntimeOptions) (_result *GetDetectLanguageResponse, _err error)

Summary:

语种识别

@param request - GetDetectLanguageRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetDetectLanguageResponse

func (*Client) GetDocTranslateTask

func (client *Client) GetDocTranslateTask(request *GetDocTranslateTaskRequest) (_result *GetDocTranslateTaskResponse, _err error)

@param request - GetDocTranslateTaskRequest

@return GetDocTranslateTaskResponse

func (*Client) GetDocTranslateTaskWithOptions

func (client *Client) GetDocTranslateTaskWithOptions(request *GetDocTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *GetDocTranslateTaskResponse, _err error)

@param request - GetDocTranslateTaskRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetDocTranslateTaskResponse

func (*Client) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetImageDiagnose

func (client *Client) GetImageDiagnose(request *GetImageDiagnoseRequest) (_result *GetImageDiagnoseResponse, _err error)

@param request - GetImageDiagnoseRequest

@return GetImageDiagnoseResponse

func (*Client) GetImageDiagnoseWithOptions

func (client *Client) GetImageDiagnoseWithOptions(request *GetImageDiagnoseRequest, runtime *util.RuntimeOptions) (_result *GetImageDiagnoseResponse, _err error)

@param request - GetImageDiagnoseRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetImageDiagnoseResponse

func (*Client) GetImageTranslate

func (client *Client) GetImageTranslate(request *GetImageTranslateRequest) (_result *GetImageTranslateResponse, _err error)

@param request - GetImageTranslateRequest

@return GetImageTranslateResponse

func (*Client) GetImageTranslateTask

func (client *Client) GetImageTranslateTask(request *GetImageTranslateTaskRequest) (_result *GetImageTranslateTaskResponse, _err error)

@param request - GetImageTranslateTaskRequest

@return GetImageTranslateTaskResponse

func (*Client) GetImageTranslateTaskWithOptions

func (client *Client) GetImageTranslateTaskWithOptions(request *GetImageTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *GetImageTranslateTaskResponse, _err error)

@param request - GetImageTranslateTaskRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetImageTranslateTaskResponse

func (*Client) GetImageTranslateWithOptions

func (client *Client) GetImageTranslateWithOptions(request *GetImageTranslateRequest, runtime *util.RuntimeOptions) (_result *GetImageTranslateResponse, _err error)

@param request - GetImageTranslateRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetImageTranslateResponse

func (*Client) GetTitleDiagnose

func (client *Client) GetTitleDiagnose(request *GetTitleDiagnoseRequest) (_result *GetTitleDiagnoseResponse, _err error)

@param request - GetTitleDiagnoseRequest

@return GetTitleDiagnoseResponse

func (*Client) GetTitleDiagnoseWithOptions

func (client *Client) GetTitleDiagnoseWithOptions(request *GetTitleDiagnoseRequest, runtime *util.RuntimeOptions) (_result *GetTitleDiagnoseResponse, _err error)

@param request - GetTitleDiagnoseRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetTitleDiagnoseResponse

func (*Client) GetTitleGenerate

func (client *Client) GetTitleGenerate(request *GetTitleGenerateRequest) (_result *GetTitleGenerateResponse, _err error)

@param request - GetTitleGenerateRequest

@return GetTitleGenerateResponse

func (*Client) GetTitleGenerateWithOptions

func (client *Client) GetTitleGenerateWithOptions(request *GetTitleGenerateRequest, runtime *util.RuntimeOptions) (_result *GetTitleGenerateResponse, _err error)

@param request - GetTitleGenerateRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetTitleGenerateResponse

func (*Client) GetTitleIntelligence

func (client *Client) GetTitleIntelligence(request *GetTitleIntelligenceRequest) (_result *GetTitleIntelligenceResponse, _err error)

@param request - GetTitleIntelligenceRequest

@return GetTitleIntelligenceResponse

func (*Client) GetTitleIntelligenceWithOptions

func (client *Client) GetTitleIntelligenceWithOptions(request *GetTitleIntelligenceRequest, runtime *util.RuntimeOptions) (_result *GetTitleIntelligenceResponse, _err error)

@param request - GetTitleIntelligenceRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetTitleIntelligenceResponse

func (*Client) GetTranslateImageBatchResult added in v2.0.1

func (client *Client) GetTranslateImageBatchResult(request *GetTranslateImageBatchResultRequest) (_result *GetTranslateImageBatchResultResponse, _err error)

Summary:

获取图片批量翻译结果

@param request - GetTranslateImageBatchResultRequest

@return GetTranslateImageBatchResultResponse

func (*Client) GetTranslateImageBatchResultWithOptions added in v2.0.1

func (client *Client) GetTranslateImageBatchResultWithOptions(request *GetTranslateImageBatchResultRequest, runtime *util.RuntimeOptions) (_result *GetTranslateImageBatchResultResponse, _err error)

Summary:

获取图片批量翻译结果

@param request - GetTranslateImageBatchResultRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetTranslateImageBatchResultResponse

func (*Client) GetTranslateReport

func (client *Client) GetTranslateReport(request *GetTranslateReportRequest) (_result *GetTranslateReportResponse, _err error)

@param request - GetTranslateReportRequest

@return GetTranslateReportResponse

func (*Client) GetTranslateReportWithOptions

func (client *Client) GetTranslateReportWithOptions(request *GetTranslateReportRequest, runtime *util.RuntimeOptions) (_result *GetTranslateReportResponse, _err error)

@param request - GetTranslateReportRequest

@param runtime - runtime options for this request RuntimeOptions

@return GetTranslateReportResponse

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) OpenAlimtService

func (client *Client) OpenAlimtService(request *OpenAlimtServiceRequest) (_result *OpenAlimtServiceResponse, _err error)

Summary:

开通服务

@param request - OpenAlimtServiceRequest

@return OpenAlimtServiceResponse

func (*Client) OpenAlimtServiceWithOptions

func (client *Client) OpenAlimtServiceWithOptions(request *OpenAlimtServiceRequest, runtime *util.RuntimeOptions) (_result *OpenAlimtServiceResponse, _err error)

Summary:

开通服务

@param request - OpenAlimtServiceRequest

@param runtime - runtime options for this request RuntimeOptions

@return OpenAlimtServiceResponse

func (*Client) Translate

func (client *Client) Translate(request *TranslateRequest) (_result *TranslateResponse, _err error)

@param request - TranslateRequest

@return TranslateResponse

func (*Client) TranslateCertificate

func (client *Client) TranslateCertificate(request *TranslateCertificateRequest) (_result *TranslateCertificateResponse, _err error)

@param request - TranslateCertificateRequest

@return TranslateCertificateResponse

func (*Client) TranslateCertificateAdvance

func (client *Client) TranslateCertificateAdvance(request *TranslateCertificateAdvanceRequest, runtime *util.RuntimeOptions) (_result *TranslateCertificateResponse, _err error)

func (*Client) TranslateCertificateWithOptions

func (client *Client) TranslateCertificateWithOptions(request *TranslateCertificateRequest, runtime *util.RuntimeOptions) (_result *TranslateCertificateResponse, _err error)

@param request - TranslateCertificateRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateCertificateResponse

func (*Client) TranslateECommerce deprecated

func (client *Client) TranslateECommerce(request *TranslateECommerceRequest) (_result *TranslateECommerceResponse, _err error)

Deprecated: OpenAPI TranslateECommerce is deprecated, please use alimt::2018-10-12::Translate instead.

@param request - TranslateECommerceRequest

@return TranslateECommerceResponse Deprecated

func (*Client) TranslateECommerceWithOptions deprecated

func (client *Client) TranslateECommerceWithOptions(request *TranslateECommerceRequest, runtime *util.RuntimeOptions) (_result *TranslateECommerceResponse, _err error)

Deprecated: OpenAPI TranslateECommerce is deprecated, please use alimt::2018-10-12::Translate instead.

@param request - TranslateECommerceRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateECommerceResponse Deprecated

func (*Client) TranslateGeneral

func (client *Client) TranslateGeneral(request *TranslateGeneralRequest) (_result *TranslateGeneralResponse, _err error)

@param request - TranslateGeneralRequest

@return TranslateGeneralResponse

func (*Client) TranslateGeneralVpc added in v2.3.0

func (client *Client) TranslateGeneralVpc(request *TranslateGeneralVpcRequest) (_result *TranslateGeneralVpcResponse, _err error)

Summary:

TranslateGeneralVpc

@param request - TranslateGeneralVpcRequest

@return TranslateGeneralVpcResponse

func (*Client) TranslateGeneralVpcWithOptions added in v2.3.0

func (client *Client) TranslateGeneralVpcWithOptions(request *TranslateGeneralVpcRequest, runtime *util.RuntimeOptions) (_result *TranslateGeneralVpcResponse, _err error)

Summary:

TranslateGeneralVpc

@param request - TranslateGeneralVpcRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateGeneralVpcResponse

func (*Client) TranslateGeneralWithOptions

func (client *Client) TranslateGeneralWithOptions(request *TranslateGeneralRequest, runtime *util.RuntimeOptions) (_result *TranslateGeneralResponse, _err error)

@param request - TranslateGeneralRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateGeneralResponse

func (*Client) TranslateImage

func (client *Client) TranslateImage(request *TranslateImageRequest) (_result *TranslateImageResponse, _err error)

Summary:

公有云图片翻译产品API

@param request - TranslateImageRequest

@return TranslateImageResponse

func (*Client) TranslateImageBatch added in v2.0.1

func (client *Client) TranslateImageBatch(request *TranslateImageBatchRequest) (_result *TranslateImageBatchResponse, _err error)

Summary:

批量图片翻译接口

@param request - TranslateImageBatchRequest

@return TranslateImageBatchResponse

func (*Client) TranslateImageBatchWithOptions added in v2.0.1

func (client *Client) TranslateImageBatchWithOptions(request *TranslateImageBatchRequest, runtime *util.RuntimeOptions) (_result *TranslateImageBatchResponse, _err error)

Summary:

批量图片翻译接口

@param request - TranslateImageBatchRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateImageBatchResponse

func (*Client) TranslateImageWithOptions

func (client *Client) TranslateImageWithOptions(request *TranslateImageRequest, runtime *util.RuntimeOptions) (_result *TranslateImageResponse, _err error)

Summary:

公有云图片翻译产品API

@param request - TranslateImageRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateImageResponse

func (*Client) TranslateWithOptions

func (client *Client) TranslateWithOptions(request *TranslateRequest, runtime *util.RuntimeOptions) (_result *TranslateResponse, _err error)

@param request - TranslateRequest

@param runtime - runtime options for this request RuntimeOptions

@return TranslateResponse

type CreateAsyncTranslateRequest added in v2.2.0

type CreateAsyncTranslateRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// translate_standard
	ApiType *string `json:"ApiType,omitempty" xml:"ApiType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// Opinion: We have finally gotten some relief at the pump. But it may not last long
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (CreateAsyncTranslateRequest) GoString added in v2.2.0

func (s CreateAsyncTranslateRequest) GoString() string

func (*CreateAsyncTranslateRequest) SetApiType added in v2.2.0

func (*CreateAsyncTranslateRequest) SetFormatType added in v2.2.0

func (*CreateAsyncTranslateRequest) SetScene added in v2.2.0

func (*CreateAsyncTranslateRequest) SetSourceLanguage added in v2.2.0

func (*CreateAsyncTranslateRequest) SetSourceText added in v2.2.0

func (*CreateAsyncTranslateRequest) SetTargetLanguage added in v2.2.0

func (CreateAsyncTranslateRequest) String added in v2.2.0

type CreateAsyncTranslateResponse added in v2.2.0

type CreateAsyncTranslateResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateAsyncTranslateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateAsyncTranslateResponse) GoString added in v2.2.0

func (s CreateAsyncTranslateResponse) GoString() string

func (*CreateAsyncTranslateResponse) SetBody added in v2.2.0

func (*CreateAsyncTranslateResponse) SetHeaders added in v2.2.0

func (*CreateAsyncTranslateResponse) SetStatusCode added in v2.2.0

func (CreateAsyncTranslateResponse) String added in v2.2.0

type CreateAsyncTranslateResponseBody added in v2.2.0

type CreateAsyncTranslateResponseBody struct {
	// example:
	//
	// 200
	Code *int32                                `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *CreateAsyncTranslateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateAsyncTranslateResponseBody) GoString added in v2.2.0

func (*CreateAsyncTranslateResponseBody) SetCode added in v2.2.0

func (*CreateAsyncTranslateResponseBody) SetData added in v2.2.0

func (*CreateAsyncTranslateResponseBody) SetMessage added in v2.2.0

func (*CreateAsyncTranslateResponseBody) SetRequestId added in v2.2.0

func (CreateAsyncTranslateResponseBody) String added in v2.2.0

type CreateAsyncTranslateResponseBodyData added in v2.2.0

type CreateAsyncTranslateResponseBodyData struct {
	// This parameter is required.
	//
	// example:
	//
	// 98bbb007-71bb-448b-bab0-2695ce8f8599
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// ready
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (CreateAsyncTranslateResponseBodyData) GoString added in v2.2.0

func (*CreateAsyncTranslateResponseBodyData) SetJobId added in v2.2.0

func (*CreateAsyncTranslateResponseBodyData) SetStatus added in v2.2.0

func (CreateAsyncTranslateResponseBodyData) String added in v2.2.0

type CreateDocTranslateTaskAdvanceRequest

type CreateDocTranslateTaskAdvanceRequest struct {
	// example:
	//
	// http://callbackUrl
	CallbackUrl *string `json:"CallbackUrl,omitempty" xml:"CallbackUrl,omitempty"`
	// example:
	//
	// token
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://fileUrl
	FileUrlObject io.Reader `json:"FileUrl,omitempty" xml:"FileUrl,omitempty"`
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (CreateDocTranslateTaskAdvanceRequest) GoString

func (*CreateDocTranslateTaskAdvanceRequest) SetCallbackUrl

func (*CreateDocTranslateTaskAdvanceRequest) SetClientToken

func (*CreateDocTranslateTaskAdvanceRequest) SetFileUrlObject

func (*CreateDocTranslateTaskAdvanceRequest) SetScene

func (*CreateDocTranslateTaskAdvanceRequest) SetSourceLanguage

func (*CreateDocTranslateTaskAdvanceRequest) SetTargetLanguage

func (CreateDocTranslateTaskAdvanceRequest) String

type CreateDocTranslateTaskRequest

type CreateDocTranslateTaskRequest struct {
	// example:
	//
	// http://callbackUrl
	CallbackUrl *string `json:"CallbackUrl,omitempty" xml:"CallbackUrl,omitempty"`
	// example:
	//
	// token
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://fileUrl
	FileUrl *string `json:"FileUrl,omitempty" xml:"FileUrl,omitempty"`
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (CreateDocTranslateTaskRequest) GoString

func (*CreateDocTranslateTaskRequest) SetCallbackUrl

func (*CreateDocTranslateTaskRequest) SetClientToken

func (*CreateDocTranslateTaskRequest) SetFileUrl

func (*CreateDocTranslateTaskRequest) SetScene

func (*CreateDocTranslateTaskRequest) SetSourceLanguage

func (*CreateDocTranslateTaskRequest) SetTargetLanguage

func (CreateDocTranslateTaskRequest) String

type CreateDocTranslateTaskResponse

type CreateDocTranslateTaskResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateDocTranslateTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateDocTranslateTaskResponse) GoString

func (*CreateDocTranslateTaskResponse) SetHeaders

func (*CreateDocTranslateTaskResponse) SetStatusCode

func (CreateDocTranslateTaskResponse) String

type CreateDocTranslateTaskResponseBody

type CreateDocTranslateTaskResponseBody struct {
	// example:
	//
	// D3920BC3-A395-4CAD-9E84-7C39EB07507B
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// ready
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// example:
	//
	// 0586df512c8b4bb382d7d9a6a01b5854
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (CreateDocTranslateTaskResponseBody) GoString

func (*CreateDocTranslateTaskResponseBody) SetRequestId

func (*CreateDocTranslateTaskResponseBody) SetStatus

func (*CreateDocTranslateTaskResponseBody) SetTaskId

func (CreateDocTranslateTaskResponseBody) String

type CreateImageTranslateTaskRequest

type CreateImageTranslateTaskRequest struct {
	// example:
	//
	// 1
	ClientToken *string `json:"ClientToken,omitempty" xml:"ClientToken,omitempty"`
	// example:
	//
	// {"have_ocr":"false","without_text":"false","have_psd":"true","ignore_entity":"false"}
	Extra *string `json:"Extra,omitempty" xml:"Extra,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://xxx,http://yyy
	UrlList *string `json:"UrlList,omitempty" xml:"UrlList,omitempty"`
}

func (CreateImageTranslateTaskRequest) GoString

func (*CreateImageTranslateTaskRequest) SetClientToken

func (*CreateImageTranslateTaskRequest) SetExtra

func (*CreateImageTranslateTaskRequest) SetSourceLanguage

func (*CreateImageTranslateTaskRequest) SetTargetLanguage

func (*CreateImageTranslateTaskRequest) SetUrlList

func (CreateImageTranslateTaskRequest) String

type CreateImageTranslateTaskResponse

type CreateImageTranslateTaskResponse struct {
	Headers    map[string]*string                    `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *CreateImageTranslateTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (CreateImageTranslateTaskResponse) GoString

func (*CreateImageTranslateTaskResponse) SetHeaders

func (*CreateImageTranslateTaskResponse) SetStatusCode

func (CreateImageTranslateTaskResponse) String

type CreateImageTranslateTaskResponseBody

type CreateImageTranslateTaskResponseBody struct {
	// example:
	//
	// 200
	Code *int32                                    `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *CreateImageTranslateTaskResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// A41F6E25-8520-4AF0-90EF-AF7E32840108
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (CreateImageTranslateTaskResponseBody) GoString

func (*CreateImageTranslateTaskResponseBody) SetCode

func (*CreateImageTranslateTaskResponseBody) SetMessage

func (*CreateImageTranslateTaskResponseBody) SetRequestId

func (CreateImageTranslateTaskResponseBody) String

type CreateImageTranslateTaskResponseBodyData

type CreateImageTranslateTaskResponseBodyData struct {
	// example:
	//
	// A41F6E25-8520-4AF0-90EF-111111
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (CreateImageTranslateTaskResponseBodyData) GoString

func (*CreateImageTranslateTaskResponseBodyData) SetTaskId

func (CreateImageTranslateTaskResponseBodyData) String

type GetAsyncTranslateRequest added in v2.2.0

type GetAsyncTranslateRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 77056ab7-7be1-4c2a-91a1-f20f63894048
	JobId *string `json:"JobId,omitempty" xml:"JobId,omitempty"`
}

func (GetAsyncTranslateRequest) GoString added in v2.2.0

func (s GetAsyncTranslateRequest) GoString() string

func (*GetAsyncTranslateRequest) SetJobId added in v2.2.0

func (GetAsyncTranslateRequest) String added in v2.2.0

func (s GetAsyncTranslateRequest) String() string

type GetAsyncTranslateResponse added in v2.2.0

type GetAsyncTranslateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetAsyncTranslateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetAsyncTranslateResponse) GoString added in v2.2.0

func (s GetAsyncTranslateResponse) GoString() string

func (*GetAsyncTranslateResponse) SetBody added in v2.2.0

func (*GetAsyncTranslateResponse) SetHeaders added in v2.2.0

func (*GetAsyncTranslateResponse) SetStatusCode added in v2.2.0

func (GetAsyncTranslateResponse) String added in v2.2.0

func (s GetAsyncTranslateResponse) String() string

type GetAsyncTranslateResponseBody added in v2.2.0

type GetAsyncTranslateResponseBody struct {
	// example:
	//
	// 200
	Code *int32                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetAsyncTranslateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetAsyncTranslateResponseBody) GoString added in v2.2.0

func (*GetAsyncTranslateResponseBody) SetCode added in v2.2.0

func (*GetAsyncTranslateResponseBody) SetData added in v2.2.0

func (*GetAsyncTranslateResponseBody) SetMessage added in v2.2.0

func (*GetAsyncTranslateResponseBody) SetRequestId added in v2.2.0

func (GetAsyncTranslateResponseBody) String added in v2.2.0

type GetAsyncTranslateResponseBodyData added in v2.2.0

type GetAsyncTranslateResponseBodyData struct {
	// example:
	//
	// zh
	DetectedLanguage *string `json:"DetectedLanguage,omitempty" xml:"DetectedLanguage,omitempty"`
	// example:
	//
	// ready
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// example:
	//
	// hello
	TranslatedText *string `json:"TranslatedText,omitempty" xml:"TranslatedText,omitempty"`
	// example:
	//
	// 2
	WordCount *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (GetAsyncTranslateResponseBodyData) GoString added in v2.2.0

func (*GetAsyncTranslateResponseBodyData) SetDetectedLanguage added in v2.2.0

func (*GetAsyncTranslateResponseBodyData) SetStatus added in v2.2.0

func (*GetAsyncTranslateResponseBodyData) SetTranslatedText added in v2.2.0

func (*GetAsyncTranslateResponseBodyData) SetWordCount added in v2.2.0

func (GetAsyncTranslateResponseBodyData) String added in v2.2.0

type GetBatchTranslateByVPCRequest added in v2.3.0

type GetBatchTranslateByVPCRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// translate_standard
	ApiType *string `json:"ApiType,omitempty" xml:"ApiType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (GetBatchTranslateByVPCRequest) GoString added in v2.3.0

func (*GetBatchTranslateByVPCRequest) SetApiType added in v2.3.0

func (*GetBatchTranslateByVPCRequest) SetFormatType added in v2.3.0

func (*GetBatchTranslateByVPCRequest) SetScene added in v2.3.0

func (*GetBatchTranslateByVPCRequest) SetSourceLanguage added in v2.3.0

func (*GetBatchTranslateByVPCRequest) SetSourceText added in v2.3.0

func (*GetBatchTranslateByVPCRequest) SetTargetLanguage added in v2.3.0

func (GetBatchTranslateByVPCRequest) String added in v2.3.0

type GetBatchTranslateByVPCResponse added in v2.3.0

type GetBatchTranslateByVPCResponse struct {
	Headers    map[string]*string                  `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                              `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetBatchTranslateByVPCResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetBatchTranslateByVPCResponse) GoString added in v2.3.0

func (*GetBatchTranslateByVPCResponse) SetBody added in v2.3.0

func (*GetBatchTranslateByVPCResponse) SetHeaders added in v2.3.0

func (*GetBatchTranslateByVPCResponse) SetStatusCode added in v2.3.0

func (GetBatchTranslateByVPCResponse) String added in v2.3.0

type GetBatchTranslateByVPCResponseBody added in v2.3.0

type GetBatchTranslateByVPCResponseBody struct {
	// example:
	//
	// 200
	Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// Param checker failed! param:[sourceText]. reason: stringChecker not pass. Param length not less [0] and not greater[10000]
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Id of the request
	//
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId      *string                  `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	TranslatedList []map[string]interface{} `json:"TranslatedList,omitempty" xml:"TranslatedList,omitempty" type:"Repeated"`
}

func (GetBatchTranslateByVPCResponseBody) GoString added in v2.3.0

func (*GetBatchTranslateByVPCResponseBody) SetCode added in v2.3.0

func (*GetBatchTranslateByVPCResponseBody) SetMessage added in v2.3.0

func (*GetBatchTranslateByVPCResponseBody) SetRequestId added in v2.3.0

func (*GetBatchTranslateByVPCResponseBody) SetTranslatedList added in v2.3.0

func (s *GetBatchTranslateByVPCResponseBody) SetTranslatedList(v []map[string]interface{}) *GetBatchTranslateByVPCResponseBody

func (GetBatchTranslateByVPCResponseBody) String added in v2.3.0

type GetBatchTranslateRequest

type GetBatchTranslateRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// translate_standard
	ApiType *string `json:"ApiType,omitempty" xml:"ApiType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// {"11":"hello boy","12":"go home","13":"we can"}
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (GetBatchTranslateRequest) GoString

func (s GetBatchTranslateRequest) GoString() string

func (*GetBatchTranslateRequest) SetApiType

func (*GetBatchTranslateRequest) SetFormatType

func (*GetBatchTranslateRequest) SetScene

func (*GetBatchTranslateRequest) SetSourceLanguage

func (s *GetBatchTranslateRequest) SetSourceLanguage(v string) *GetBatchTranslateRequest

func (*GetBatchTranslateRequest) SetSourceText

func (*GetBatchTranslateRequest) SetTargetLanguage

func (s *GetBatchTranslateRequest) SetTargetLanguage(v string) *GetBatchTranslateRequest

func (GetBatchTranslateRequest) String

func (s GetBatchTranslateRequest) String() string

type GetBatchTranslateResponse

type GetBatchTranslateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetBatchTranslateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetBatchTranslateResponse) GoString

func (s GetBatchTranslateResponse) GoString() string

func (*GetBatchTranslateResponse) SetBody

func (*GetBatchTranslateResponse) SetHeaders

func (*GetBatchTranslateResponse) SetStatusCode

func (GetBatchTranslateResponse) String

func (s GetBatchTranslateResponse) String() string

type GetBatchTranslateResponseBody

type GetBatchTranslateResponseBody struct {
	// example:
	//
	// 200
	Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 86D18195-D89C-4C8C-9DC4-5FCE789CE6D5
	RequestId      *string                  `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	TranslatedList []map[string]interface{} `json:"TranslatedList,omitempty" xml:"TranslatedList,omitempty" type:"Repeated"`
}

func (GetBatchTranslateResponseBody) GoString

func (*GetBatchTranslateResponseBody) SetCode

func (*GetBatchTranslateResponseBody) SetMessage

func (*GetBatchTranslateResponseBody) SetRequestId

func (*GetBatchTranslateResponseBody) SetTranslatedList

func (s *GetBatchTranslateResponseBody) SetTranslatedList(v []map[string]interface{}) *GetBatchTranslateResponseBody

func (GetBatchTranslateResponseBody) String

type GetDetectLanguageRequest

type GetDetectLanguageRequest struct {
	// This parameter is required.
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
}

func (GetDetectLanguageRequest) GoString

func (s GetDetectLanguageRequest) GoString() string

func (*GetDetectLanguageRequest) SetSourceText

func (GetDetectLanguageRequest) String

func (s GetDetectLanguageRequest) String() string

type GetDetectLanguageResponse

type GetDetectLanguageResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDetectLanguageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDetectLanguageResponse) GoString

func (s GetDetectLanguageResponse) GoString() string

func (*GetDetectLanguageResponse) SetBody

func (*GetDetectLanguageResponse) SetHeaders

func (*GetDetectLanguageResponse) SetStatusCode

func (GetDetectLanguageResponse) String

func (s GetDetectLanguageResponse) String() string

type GetDetectLanguageResponseBody

type GetDetectLanguageResponseBody struct {
	// example:
	//
	// zh
	DetectedLanguage      *string `json:"DetectedLanguage,omitempty" xml:"DetectedLanguage,omitempty"`
	LanguageProbabilities *string `json:"LanguageProbabilities,omitempty" xml:"LanguageProbabilities,omitempty"`
	// example:
	//
	// 0C5EC1EC-1A06-4D60-97E6-4D41350945E4
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetDetectLanguageResponseBody) GoString

func (*GetDetectLanguageResponseBody) SetDetectedLanguage

func (*GetDetectLanguageResponseBody) SetLanguageProbabilities added in v2.2.1

func (s *GetDetectLanguageResponseBody) SetLanguageProbabilities(v string) *GetDetectLanguageResponseBody

func (*GetDetectLanguageResponseBody) SetRequestId

func (GetDetectLanguageResponseBody) String

type GetDocTranslateTaskRequest

type GetDocTranslateTaskRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 0586df512c8b4bb382d7d9a6a01b5854
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (GetDocTranslateTaskRequest) GoString

func (s GetDocTranslateTaskRequest) GoString() string

func (*GetDocTranslateTaskRequest) SetTaskId

func (GetDocTranslateTaskRequest) String

type GetDocTranslateTaskResponse

type GetDocTranslateTaskResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetDocTranslateTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetDocTranslateTaskResponse) GoString

func (s GetDocTranslateTaskResponse) GoString() string

func (*GetDocTranslateTaskResponse) SetBody

func (*GetDocTranslateTaskResponse) SetHeaders

func (*GetDocTranslateTaskResponse) SetStatusCode

func (GetDocTranslateTaskResponse) String

type GetDocTranslateTaskResponseBody

type GetDocTranslateTaskResponseBody struct {
	// example:
	//
	// 20
	PageCount *int32 `json:"PageCount,omitempty" xml:"PageCount,omitempty"`
	// example:
	//
	// 12952E92-FDF3-4D3C-88E3-242D72BA7150
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	// example:
	//
	// translated
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
	// example:
	//
	// 0586df512c8b4bb382d7d9a6a01b5854
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
	// example:
	//
	// Error
	TranslateErrorCode *string `json:"TranslateErrorCode,omitempty" xml:"TranslateErrorCode,omitempty"`
	// example:
	//
	// Fail to get the page number of document.
	TranslateErrorMessage *string `json:"TranslateErrorMessage,omitempty" xml:"TranslateErrorMessage,omitempty"`
	// example:
	//
	// http://translateFileUrl
	TranslateFileUrl *string `json:"TranslateFileUrl,omitempty" xml:"TranslateFileUrl,omitempty"`
}

func (GetDocTranslateTaskResponseBody) GoString

func (*GetDocTranslateTaskResponseBody) SetPageCount

func (*GetDocTranslateTaskResponseBody) SetRequestId

func (*GetDocTranslateTaskResponseBody) SetStatus

func (*GetDocTranslateTaskResponseBody) SetTaskId

func (*GetDocTranslateTaskResponseBody) SetTranslateErrorCode

func (*GetDocTranslateTaskResponseBody) SetTranslateErrorMessage

func (*GetDocTranslateTaskResponseBody) SetTranslateFileUrl

func (GetDocTranslateTaskResponseBody) String

type GetImageDiagnoseRequest

type GetImageDiagnoseRequest struct {
	// example:
	//
	// {   "product_id": "1",   "platform": "ae" }
	Extra *string `json:"Extra,omitempty" xml:"Extra,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://xxxxx.oss-cn-shenzhen.aliyuncs.com/jd/41209/xxxxx.jpg
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (GetImageDiagnoseRequest) GoString

func (s GetImageDiagnoseRequest) GoString() string

func (*GetImageDiagnoseRequest) SetExtra

func (*GetImageDiagnoseRequest) SetUrl

func (GetImageDiagnoseRequest) String

func (s GetImageDiagnoseRequest) String() string

type GetImageDiagnoseResponse

type GetImageDiagnoseResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetImageDiagnoseResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetImageDiagnoseResponse) GoString

func (s GetImageDiagnoseResponse) GoString() string

func (*GetImageDiagnoseResponse) SetBody

func (*GetImageDiagnoseResponse) SetHeaders

func (*GetImageDiagnoseResponse) SetStatusCode

func (GetImageDiagnoseResponse) String

func (s GetImageDiagnoseResponse) String() string

type GetImageDiagnoseResponseBody

type GetImageDiagnoseResponseBody struct {
	// example:
	//
	// 200
	Code *int32                            `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetImageDiagnoseResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetImageDiagnoseResponseBody) GoString

func (s GetImageDiagnoseResponseBody) GoString() string

func (*GetImageDiagnoseResponseBody) SetCode

func (*GetImageDiagnoseResponseBody) SetData

func (*GetImageDiagnoseResponseBody) SetMessage

func (*GetImageDiagnoseResponseBody) SetRequestId

func (GetImageDiagnoseResponseBody) String

type GetImageDiagnoseResponseBodyData

type GetImageDiagnoseResponseBodyData struct {
	// example:
	//
	// zh
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
}

func (GetImageDiagnoseResponseBodyData) GoString

func (*GetImageDiagnoseResponseBodyData) SetLanguage

func (GetImageDiagnoseResponseBodyData) String

type GetImageTranslateRequest

type GetImageTranslateRequest struct {
	// example:
	//
	// {"have_ocr": "false", "without_text":"true", "have_psd": "false", "ignore_entity": "false"}
	Extra *string `json:"Extra,omitempty" xml:"Extra,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://xxxxxxx.oss-cn-shenzhen.aliyuncs.com/xxxxxx.jpg
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (GetImageTranslateRequest) GoString

func (s GetImageTranslateRequest) GoString() string

func (*GetImageTranslateRequest) SetExtra

func (*GetImageTranslateRequest) SetSourceLanguage

func (s *GetImageTranslateRequest) SetSourceLanguage(v string) *GetImageTranslateRequest

func (*GetImageTranslateRequest) SetTargetLanguage

func (s *GetImageTranslateRequest) SetTargetLanguage(v string) *GetImageTranslateRequest

func (*GetImageTranslateRequest) SetUrl

func (GetImageTranslateRequest) String

func (s GetImageTranslateRequest) String() string

type GetImageTranslateResponse

type GetImageTranslateResponse struct {
	Headers    map[string]*string             `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                         `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetImageTranslateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetImageTranslateResponse) GoString

func (s GetImageTranslateResponse) GoString() string

func (*GetImageTranslateResponse) SetBody

func (*GetImageTranslateResponse) SetHeaders

func (*GetImageTranslateResponse) SetStatusCode

func (GetImageTranslateResponse) String

func (s GetImageTranslateResponse) String() string

type GetImageTranslateResponseBody

type GetImageTranslateResponseBody struct {
	// example:
	//
	// 200
	Code *int32                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetImageTranslateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// A41F6E25-8520-4AF0-90EF-AF7E32840108
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetImageTranslateResponseBody) GoString

func (*GetImageTranslateResponseBody) SetCode

func (*GetImageTranslateResponseBody) SetData

func (*GetImageTranslateResponseBody) SetMessage

func (*GetImageTranslateResponseBody) SetRequestId

func (GetImageTranslateResponseBody) String

type GetImageTranslateResponseBodyData

type GetImageTranslateResponseBodyData struct {
	Orc           *string `json:"Orc,omitempty" xml:"Orc,omitempty"`
	PictureEditor *string `json:"PictureEditor,omitempty" xml:"PictureEditor,omitempty"`
	// example:
	//
	// https://ae01.alicdn.com/kf/xxxxx.jpeg
	Url *string `json:"Url,omitempty" xml:"Url,omitempty"`
}

func (GetImageTranslateResponseBodyData) GoString

func (*GetImageTranslateResponseBodyData) SetOrc

func (*GetImageTranslateResponseBodyData) SetPictureEditor

func (*GetImageTranslateResponseBodyData) SetUrl

func (GetImageTranslateResponseBodyData) String

type GetImageTranslateTaskRequest

type GetImageTranslateTaskRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// xxxxxx
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (GetImageTranslateTaskRequest) GoString

func (s GetImageTranslateTaskRequest) GoString() string

func (*GetImageTranslateTaskRequest) SetTaskId

func (GetImageTranslateTaskRequest) String

type GetImageTranslateTaskResponse

type GetImageTranslateTaskResponse struct {
	Headers    map[string]*string                 `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetImageTranslateTaskResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetImageTranslateTaskResponse) GoString

func (*GetImageTranslateTaskResponse) SetBody

func (*GetImageTranslateTaskResponse) SetHeaders

func (*GetImageTranslateTaskResponse) SetStatusCode

func (GetImageTranslateTaskResponse) String

type GetImageTranslateTaskResponseBody

type GetImageTranslateTaskResponseBody struct {
	// example:
	//
	// 200
	Code *int32                                 `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetImageTranslateTaskResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// xxxxxxx
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetImageTranslateTaskResponseBody) GoString

func (*GetImageTranslateTaskResponseBody) SetCode

func (*GetImageTranslateTaskResponseBody) SetMessage

func (*GetImageTranslateTaskResponseBody) SetRequestId

func (GetImageTranslateTaskResponseBody) String

type GetImageTranslateTaskResponseBodyData

type GetImageTranslateTaskResponseBodyData struct {
	// example:
	//
	// [{xxxxxx}]
	ImageData *string `json:"ImageData,omitempty" xml:"ImageData,omitempty"`
}

func (GetImageTranslateTaskResponseBodyData) GoString

func (*GetImageTranslateTaskResponseBodyData) SetImageData

func (GetImageTranslateTaskResponseBodyData) String

type GetTitleDiagnoseRequest

type GetTitleDiagnoseRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 123
	CategoryId *string `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	// example:
	//
	// {   "product_id": "1",   "platform": "ae" }
	Extra *string `json:"Extra,omitempty" xml:"Extra,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// ae
	Platform *string `json:"Platform,omitempty" xml:"Platform,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// Amroe Japan Comic Theme Uzumaki Naruto Namikaze Minato 3D Visual Cartoon 7 Color USB Touch
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
}

func (GetTitleDiagnoseRequest) GoString

func (s GetTitleDiagnoseRequest) GoString() string

func (*GetTitleDiagnoseRequest) SetCategoryId

func (*GetTitleDiagnoseRequest) SetExtra

func (*GetTitleDiagnoseRequest) SetLanguage

func (*GetTitleDiagnoseRequest) SetPlatform

func (*GetTitleDiagnoseRequest) SetTitle

func (GetTitleDiagnoseRequest) String

func (s GetTitleDiagnoseRequest) String() string

type GetTitleDiagnoseResponse

type GetTitleDiagnoseResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTitleDiagnoseResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetTitleDiagnoseResponse) GoString

func (s GetTitleDiagnoseResponse) GoString() string

func (*GetTitleDiagnoseResponse) SetBody

func (*GetTitleDiagnoseResponse) SetHeaders

func (*GetTitleDiagnoseResponse) SetStatusCode

func (GetTitleDiagnoseResponse) String

func (s GetTitleDiagnoseResponse) String() string

type GetTitleDiagnoseResponseBody

type GetTitleDiagnoseResponseBody struct {
	// example:
	//
	// 200
	Code *int32                            `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetTitleDiagnoseResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTitleDiagnoseResponseBody) GoString

func (s GetTitleDiagnoseResponseBody) GoString() string

func (*GetTitleDiagnoseResponseBody) SetCode

func (*GetTitleDiagnoseResponseBody) SetData

func (*GetTitleDiagnoseResponseBody) SetMessage

func (*GetTitleDiagnoseResponseBody) SetRequestId

func (GetTitleDiagnoseResponseBody) String

type GetTitleDiagnoseResponseBodyData

type GetTitleDiagnoseResponseBodyData struct {
	// example:
	//
	// Boy
	AllUppercaseWords *string `json:"AllUppercaseWords,omitempty" xml:"AllUppercaseWords,omitempty"`
	// example:
	//
	// true
	ContainCoreClasses *string `json:"ContainCoreClasses,omitempty" xml:"ContainCoreClasses,omitempty"`
	// example:
	//
	// baba
	DisableWords *string `json:"DisableWords,omitempty" xml:"DisableWords,omitempty"`
	// example:
	//
	// hi
	DuplicateWords *string `json:"DuplicateWords,omitempty" xml:"DuplicateWords,omitempty"`
	// example:
	//
	// 2
	LanguageQualityScore *string `json:"LanguageQualityScore,omitempty" xml:"LanguageQualityScore,omitempty"`
	// example:
	//
	// no
	NoFirstUppercaseList *string `json:"NoFirstUppercaseList,omitempty" xml:"NoFirstUppercaseList,omitempty"`
	// example:
	//
	// 100
	OverLengthLimit *string `json:"OverLengthLimit,omitempty" xml:"OverLengthLimit,omitempty"`
	// example:
	//
	// 3
	TotalScore *string `json:"TotalScore,omitempty" xml:"TotalScore,omitempty"`
	// example:
	//
	// 10
	WordCount *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
	// example:
	//
	// ahk
	WordSpelledCorrectError *string `json:"WordSpelledCorrectError,omitempty" xml:"WordSpelledCorrectError,omitempty"`
}

func (GetTitleDiagnoseResponseBodyData) GoString

func (*GetTitleDiagnoseResponseBodyData) SetAllUppercaseWords

func (*GetTitleDiagnoseResponseBodyData) SetContainCoreClasses

func (*GetTitleDiagnoseResponseBodyData) SetDisableWords

func (*GetTitleDiagnoseResponseBodyData) SetDuplicateWords

func (*GetTitleDiagnoseResponseBodyData) SetLanguageQualityScore

func (*GetTitleDiagnoseResponseBodyData) SetNoFirstUppercaseList

func (*GetTitleDiagnoseResponseBodyData) SetOverLengthLimit

func (*GetTitleDiagnoseResponseBodyData) SetTotalScore

func (*GetTitleDiagnoseResponseBodyData) SetWordCount

func (*GetTitleDiagnoseResponseBodyData) SetWordSpelledCorrectError

func (GetTitleDiagnoseResponseBodyData) String

type GetTitleGenerateRequest

type GetTitleGenerateRequest struct {
	// example:
	//
	// {2:"None",10:"Plastic"}
	Attributes *string `json:"Attributes,omitempty" xml:"Attributes,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 127896018
	CategoryId *string `json:"CategoryId,omitempty" xml:"CategoryId,omitempty"`
	// example:
	//
	// {   "product_id": "1",   "platform": "ae" }
	Extra *string `json:"Extra,omitempty" xml:"Extra,omitempty"`
	// example:
	//
	// None,Plastic
	HotWords *string `json:"HotWords,omitempty" xml:"HotWords,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	Language *string `json:"Language,omitempty" xml:"Language,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// ae
	Platform *string `json:"Platform,omitempty" xml:"Platform,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 10pcs 80ml Kitchen Disposable
	Title *string `json:"Title,omitempty" xml:"Title,omitempty"`
}

func (GetTitleGenerateRequest) GoString

func (s GetTitleGenerateRequest) GoString() string

func (*GetTitleGenerateRequest) SetAttributes

func (*GetTitleGenerateRequest) SetCategoryId

func (*GetTitleGenerateRequest) SetExtra

func (*GetTitleGenerateRequest) SetHotWords

func (*GetTitleGenerateRequest) SetLanguage

func (*GetTitleGenerateRequest) SetPlatform

func (*GetTitleGenerateRequest) SetTitle

func (GetTitleGenerateRequest) String

func (s GetTitleGenerateRequest) String() string

type GetTitleGenerateResponse

type GetTitleGenerateResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTitleGenerateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetTitleGenerateResponse) GoString

func (s GetTitleGenerateResponse) GoString() string

func (*GetTitleGenerateResponse) SetBody

func (*GetTitleGenerateResponse) SetHeaders

func (*GetTitleGenerateResponse) SetStatusCode

func (GetTitleGenerateResponse) String

func (s GetTitleGenerateResponse) String() string

type GetTitleGenerateResponseBody

type GetTitleGenerateResponseBody struct {
	// example:
	//
	// 200
	Code *int32                            `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetTitleGenerateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// ok
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTitleGenerateResponseBody) GoString

func (s GetTitleGenerateResponseBody) GoString() string

func (*GetTitleGenerateResponseBody) SetCode

func (*GetTitleGenerateResponseBody) SetData

func (*GetTitleGenerateResponseBody) SetMessage

func (*GetTitleGenerateResponseBody) SetRequestId

func (GetTitleGenerateResponseBody) String

type GetTitleGenerateResponseBodyData

type GetTitleGenerateResponseBodyData struct {
	// example:
	//
	// 10pcs 80ml Kitchen Disposable Plastic Sauce Cup Pot Chutney Container
	Titles *string `json:"Titles,omitempty" xml:"Titles,omitempty"`
}

func (GetTitleGenerateResponseBodyData) GoString

func (*GetTitleGenerateResponseBodyData) SetTitles

func (GetTitleGenerateResponseBodyData) String

type GetTitleIntelligenceRequest

type GetTitleIntelligenceRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// 111
	CatLevelThreeId *int64 `json:"CatLevelThreeId,omitempty" xml:"CatLevelThreeId,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 222
	CatLevelTwoId *int64 `json:"CatLevelTwoId,omitempty" xml:"CatLevelTwoId,omitempty"`
	// example:
	//
	// {"product_id":"1212"}
	Extra *string `json:"Extra,omitempty" xml:"Extra,omitempty"`
	// example:
	//
	// hello,apple
	Keywords *string `json:"Keywords,omitempty" xml:"Keywords,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// ae
	Platform *string `json:"Platform,omitempty" xml:"Platform,omitempty"`
}

func (GetTitleIntelligenceRequest) GoString

func (s GetTitleIntelligenceRequest) GoString() string

func (*GetTitleIntelligenceRequest) SetCatLevelThreeId

func (*GetTitleIntelligenceRequest) SetCatLevelTwoId

func (*GetTitleIntelligenceRequest) SetExtra

func (*GetTitleIntelligenceRequest) SetKeywords

func (*GetTitleIntelligenceRequest) SetPlatform

func (GetTitleIntelligenceRequest) String

type GetTitleIntelligenceResponse

type GetTitleIntelligenceResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTitleIntelligenceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetTitleIntelligenceResponse) GoString

func (s GetTitleIntelligenceResponse) GoString() string

func (*GetTitleIntelligenceResponse) SetBody

func (*GetTitleIntelligenceResponse) SetHeaders

func (*GetTitleIntelligenceResponse) SetStatusCode

func (GetTitleIntelligenceResponse) String

type GetTitleIntelligenceResponseBody

type GetTitleIntelligenceResponseBody struct {
	// example:
	//
	// 200
	Code *int32                                `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetTitleIntelligenceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// D70487B4-8891-4D24-BB64-8788E53671FB
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTitleIntelligenceResponseBody) GoString

func (*GetTitleIntelligenceResponseBody) SetCode

func (*GetTitleIntelligenceResponseBody) SetMessage

func (*GetTitleIntelligenceResponseBody) SetRequestId

func (GetTitleIntelligenceResponseBody) String

type GetTitleIntelligenceResponseBodyData

type GetTitleIntelligenceResponseBodyData struct {
	// example:
	//
	// Custom Hello Kitty PVC Cartoon Apple for Home Garden Complete Apple Bath Shower
	Titles *string `json:"Titles,omitempty" xml:"Titles,omitempty"`
}

func (GetTitleIntelligenceResponseBodyData) GoString

func (*GetTitleIntelligenceResponseBodyData) SetTitles

func (GetTitleIntelligenceResponseBodyData) String

type GetTranslateImageBatchResultRequest added in v2.0.1

type GetTranslateImageBatchResultRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// EEA28E6D-4828-5031-BD8C-8FF1B3216842
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (GetTranslateImageBatchResultRequest) GoString added in v2.0.1

func (*GetTranslateImageBatchResultRequest) SetTaskId added in v2.0.1

func (GetTranslateImageBatchResultRequest) String added in v2.0.1

type GetTranslateImageBatchResultResponse added in v2.0.1

type GetTranslateImageBatchResultResponse struct {
	Headers    map[string]*string                        `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                                    `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTranslateImageBatchResultResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetTranslateImageBatchResultResponse) GoString added in v2.0.1

func (*GetTranslateImageBatchResultResponse) SetBody added in v2.0.1

func (*GetTranslateImageBatchResultResponse) SetHeaders added in v2.0.1

func (*GetTranslateImageBatchResultResponse) SetStatusCode added in v2.0.1

func (GetTranslateImageBatchResultResponse) String added in v2.0.1

type GetTranslateImageBatchResultResponseBody added in v2.0.1

type GetTranslateImageBatchResultResponseBody struct {
	// example:
	//
	// 200
	Code *int32                                        `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *GetTranslateImageBatchResultResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// DACD263C-C068-5116-83EC-117245AA35CF
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTranslateImageBatchResultResponseBody) GoString added in v2.0.1

func (*GetTranslateImageBatchResultResponseBody) SetCode added in v2.0.1

func (*GetTranslateImageBatchResultResponseBody) SetData added in v2.0.1

func (*GetTranslateImageBatchResultResponseBody) SetMessage added in v2.0.1

func (*GetTranslateImageBatchResultResponseBody) SetRequestId added in v2.0.1

func (GetTranslateImageBatchResultResponseBody) String added in v2.0.1

type GetTranslateImageBatchResultResponseBodyData added in v2.0.1

type GetTranslateImageBatchResultResponseBodyData struct {
	Result []*GetTranslateImageBatchResultResponseBodyDataResult `json:"Result,omitempty" xml:"Result,omitempty" type:"Repeated"`
	// example:
	//
	// finished
	Status *string `json:"Status,omitempty" xml:"Status,omitempty"`
}

func (GetTranslateImageBatchResultResponseBodyData) GoString added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyData) SetResult added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyData) SetStatus added in v2.0.1

func (GetTranslateImageBatchResultResponseBodyData) String added in v2.0.1

type GetTranslateImageBatchResultResponseBodyDataResult added in v2.0.1

type GetTranslateImageBatchResultResponseBodyDataResult struct {
	// example:
	//
	// 200
	Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// https://example.com/example.jpg
	FinalImageUrl *string `json:"FinalImageUrl,omitempty" xml:"FinalImageUrl,omitempty"`
	// example:
	//
	// https://example.com/example.jpg
	InPaintingUrl *string `json:"InPaintingUrl,omitempty" xml:"InPaintingUrl,omitempty"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// https://example.com/example.jpg
	SourceImageUrl *string `json:"SourceImageUrl,omitempty" xml:"SourceImageUrl,omitempty"`
	// example:
	//
	// true
	Success *bool `json:"Success,omitempty" xml:"Success,omitempty"`
	// example:
	//
	// {"TemplateJson": "Editor Template Json String	"}
	TemplateJson *string `json:"TemplateJson,omitempty" xml:"TemplateJson,omitempty"`
}

func (GetTranslateImageBatchResultResponseBodyDataResult) GoString added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetCode added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetFinalImageUrl added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetInPaintingUrl added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetMessage added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetSourceImageUrl added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetSuccess added in v2.0.1

func (*GetTranslateImageBatchResultResponseBodyDataResult) SetTemplateJson added in v2.0.1

func (GetTranslateImageBatchResultResponseBodyDataResult) String added in v2.0.1

type GetTranslateReportRequest

type GetTranslateReportRequest struct {
	// This parameter is required.
	ApiName *string `json:"ApiName,omitempty" xml:"ApiName,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-03-01 00:00:00
	BeginTime *string `json:"BeginTime,omitempty" xml:"BeginTime,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// 2021-03-01 23:59:59
	EndTime *string `json:"EndTime,omitempty" xml:"EndTime,omitempty"`
	// This parameter is required.
	Group *string `json:"Group,omitempty" xml:"Group,omitempty"`
}

func (GetTranslateReportRequest) GoString

func (s GetTranslateReportRequest) GoString() string

func (*GetTranslateReportRequest) SetApiName

func (*GetTranslateReportRequest) SetBeginTime

func (*GetTranslateReportRequest) SetEndTime

func (*GetTranslateReportRequest) SetGroup

func (GetTranslateReportRequest) String

func (s GetTranslateReportRequest) String() string

type GetTranslateReportResponse

type GetTranslateReportResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *GetTranslateReportResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (GetTranslateReportResponse) GoString

func (s GetTranslateReportResponse) GoString() string

func (*GetTranslateReportResponse) SetBody

func (*GetTranslateReportResponse) SetHeaders

func (*GetTranslateReportResponse) SetStatusCode

func (GetTranslateReportResponse) String

type GetTranslateReportResponseBody

type GetTranslateReportResponseBody struct {
	// example:
	//
	// 200
	Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"`
	// example:
	//
	// {"result":[{"time":"2021-10-21 00:00:00","total":100}]}
	Data *string `json:"Data,omitempty" xml:"Data,omitempty"`
	// example:
	//
	// success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 86D18195-D89C-4C8C-9DC4-5FCE789CE6D5
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetTranslateReportResponseBody) GoString

func (*GetTranslateReportResponseBody) SetCode

func (*GetTranslateReportResponseBody) SetData

func (*GetTranslateReportResponseBody) SetMessage

func (*GetTranslateReportResponseBody) SetRequestId

func (GetTranslateReportResponseBody) String

type OpenAlimtServiceRequest

type OpenAlimtServiceRequest struct {
	OwnerId *int64 `json:"OwnerId,omitempty" xml:"OwnerId,omitempty"`
	// example:
	//
	// id
	Type *string `json:"Type,omitempty" xml:"Type,omitempty"`
}

func (OpenAlimtServiceRequest) GoString

func (s OpenAlimtServiceRequest) GoString() string

func (*OpenAlimtServiceRequest) SetOwnerId

func (*OpenAlimtServiceRequest) SetType

func (OpenAlimtServiceRequest) String

func (s OpenAlimtServiceRequest) String() string

type OpenAlimtServiceResponse

type OpenAlimtServiceResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *OpenAlimtServiceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (OpenAlimtServiceResponse) GoString

func (s OpenAlimtServiceResponse) GoString() string

func (*OpenAlimtServiceResponse) SetBody

func (*OpenAlimtServiceResponse) SetHeaders

func (*OpenAlimtServiceResponse) SetStatusCode

func (OpenAlimtServiceResponse) String

func (s OpenAlimtServiceResponse) String() string

type OpenAlimtServiceResponseBody

type OpenAlimtServiceResponseBody struct {
	// example:
	//
	// 123456
	OrderId *string `json:"OrderId,omitempty" xml:"OrderId,omitempty"`
	// example:
	//
	// xxxx-xxxxx
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (OpenAlimtServiceResponseBody) GoString

func (s OpenAlimtServiceResponseBody) GoString() string

func (*OpenAlimtServiceResponseBody) SetOrderId

func (*OpenAlimtServiceResponseBody) SetRequestId

func (OpenAlimtServiceResponseBody) String

type TranslateCertificateAdvanceRequest

type TranslateCertificateAdvanceRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// driving_license
	CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://imageurl
	ImageUrlObject io.Reader `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// example:
	//
	// text
	ResultType *string `json:"ResultType,omitempty" xml:"ResultType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateCertificateAdvanceRequest) GoString

func (*TranslateCertificateAdvanceRequest) SetCertificateType

func (*TranslateCertificateAdvanceRequest) SetImageUrlObject

func (*TranslateCertificateAdvanceRequest) SetResultType

func (*TranslateCertificateAdvanceRequest) SetSourceLanguage

func (*TranslateCertificateAdvanceRequest) SetTargetLanguage

func (TranslateCertificateAdvanceRequest) String

type TranslateCertificateRequest

type TranslateCertificateRequest struct {
	// This parameter is required.
	//
	// example:
	//
	// driving_license
	CertificateType *string `json:"CertificateType,omitempty" xml:"CertificateType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// http://imageurl
	ImageUrl *string `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// example:
	//
	// text
	ResultType *string `json:"ResultType,omitempty" xml:"ResultType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateCertificateRequest) GoString

func (s TranslateCertificateRequest) GoString() string

func (*TranslateCertificateRequest) SetCertificateType

func (*TranslateCertificateRequest) SetImageUrl

func (*TranslateCertificateRequest) SetResultType

func (*TranslateCertificateRequest) SetSourceLanguage

func (*TranslateCertificateRequest) SetTargetLanguage

func (TranslateCertificateRequest) String

type TranslateCertificateResponse

type TranslateCertificateResponse struct {
	Headers    map[string]*string                `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                            `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateCertificateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateCertificateResponse) GoString

func (s TranslateCertificateResponse) GoString() string

func (*TranslateCertificateResponse) SetBody

func (*TranslateCertificateResponse) SetHeaders

func (*TranslateCertificateResponse) SetStatusCode

func (TranslateCertificateResponse) String

type TranslateCertificateResponseBody

type TranslateCertificateResponseBody struct {
	Data *TranslateCertificateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// 6640DE48-201C-4110-AE87-FB8FA34412B9
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateCertificateResponseBody) GoString

func (*TranslateCertificateResponseBody) SetRequestId

func (TranslateCertificateResponseBody) String

type TranslateCertificateResponseBodyData

type TranslateCertificateResponseBodyData struct {
	TranslatedValues []*TranslateCertificateResponseBodyDataTranslatedValues `json:"TranslatedValues,omitempty" xml:"TranslatedValues,omitempty" type:"Repeated"`
}

func (TranslateCertificateResponseBodyData) GoString

func (TranslateCertificateResponseBodyData) String

type TranslateCertificateResponseBodyDataTranslatedValues

type TranslateCertificateResponseBodyDataTranslatedValues struct {
	Key *string `json:"Key,omitempty" xml:"Key,omitempty"`
	// example:
	//
	// name
	KeyTranslation *string `json:"KeyTranslation,omitempty" xml:"KeyTranslation,omitempty"`
	Value          *string `json:"Value,omitempty" xml:"Value,omitempty"`
	// example:
	//
	// Solemn
	ValueTranslation *string `json:"ValueTranslation,omitempty" xml:"ValueTranslation,omitempty"`
}

func (TranslateCertificateResponseBodyDataTranslatedValues) GoString

func (*TranslateCertificateResponseBodyDataTranslatedValues) SetKey

func (*TranslateCertificateResponseBodyDataTranslatedValues) SetKeyTranslation

func (*TranslateCertificateResponseBodyDataTranslatedValues) SetValue

func (*TranslateCertificateResponseBodyDataTranslatedValues) SetValueTranslation

func (TranslateCertificateResponseBodyDataTranslatedValues) String

type TranslateECommerceRequest

type TranslateECommerceRequest struct {
	// example:
	//
	// context信息
	Context *string `json:"Context,omitempty" xml:"Context,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// social
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// Hello
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateECommerceRequest) GoString

func (s TranslateECommerceRequest) GoString() string

func (*TranslateECommerceRequest) SetContext

func (*TranslateECommerceRequest) SetFormatType

func (*TranslateECommerceRequest) SetScene

func (*TranslateECommerceRequest) SetSourceLanguage

func (*TranslateECommerceRequest) SetSourceText

func (*TranslateECommerceRequest) SetTargetLanguage

func (TranslateECommerceRequest) String

func (s TranslateECommerceRequest) String() string

type TranslateECommerceResponse

type TranslateECommerceResponse struct {
	Headers    map[string]*string              `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                          `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateECommerceResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateECommerceResponse) GoString

func (s TranslateECommerceResponse) GoString() string

func (*TranslateECommerceResponse) SetBody

func (*TranslateECommerceResponse) SetHeaders

func (*TranslateECommerceResponse) SetStatusCode

func (TranslateECommerceResponse) String

type TranslateECommerceResponseBody

type TranslateECommerceResponseBody struct {
	// example:
	//
	// 200
	Code *int32                              `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *TranslateECommerceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// An error occurred while translating.
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// CC93BB5C-EAB5-579B-AA44-F61528F48FF8
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateECommerceResponseBody) GoString

func (*TranslateECommerceResponseBody) SetCode

func (*TranslateECommerceResponseBody) SetMessage

func (*TranslateECommerceResponseBody) SetRequestId

func (TranslateECommerceResponseBody) String

type TranslateECommerceResponseBodyData

type TranslateECommerceResponseBodyData struct {
	DetectedLanguage *string `json:"DetectedLanguage,omitempty" xml:"DetectedLanguage,omitempty"`
	Translated       *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
	// example:
	//
	// 10
	WordCount *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (TranslateECommerceResponseBodyData) GoString

func (*TranslateECommerceResponseBodyData) SetDetectedLanguage added in v2.2.1

func (*TranslateECommerceResponseBodyData) SetTranslated

func (*TranslateECommerceResponseBodyData) SetWordCount

func (TranslateECommerceResponseBodyData) String

type TranslateGeneralRequest

type TranslateGeneralRequest struct {
	// example:
	//
	// {\\"appName\\":\\"alynx\\"}
	Context *string `json:"Context,omitempty" xml:"Context,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateGeneralRequest) GoString

func (s TranslateGeneralRequest) GoString() string

func (*TranslateGeneralRequest) SetContext

func (*TranslateGeneralRequest) SetFormatType

func (*TranslateGeneralRequest) SetScene

func (*TranslateGeneralRequest) SetSourceLanguage

func (s *TranslateGeneralRequest) SetSourceLanguage(v string) *TranslateGeneralRequest

func (*TranslateGeneralRequest) SetSourceText

func (*TranslateGeneralRequest) SetTargetLanguage

func (s *TranslateGeneralRequest) SetTargetLanguage(v string) *TranslateGeneralRequest

func (TranslateGeneralRequest) String

func (s TranslateGeneralRequest) String() string

type TranslateGeneralResponse

type TranslateGeneralResponse struct {
	Headers    map[string]*string            `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                        `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateGeneralResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateGeneralResponse) GoString

func (s TranslateGeneralResponse) GoString() string

func (*TranslateGeneralResponse) SetBody

func (*TranslateGeneralResponse) SetHeaders

func (*TranslateGeneralResponse) SetStatusCode

func (TranslateGeneralResponse) String

func (s TranslateGeneralResponse) String() string

type TranslateGeneralResponseBody

type TranslateGeneralResponseBody struct {
	// example:
	//
	// 200
	Code *int32                            `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *TranslateGeneralResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 86D18195-D89C-4C8C-9DC4-5FCE789CE6D5
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateGeneralResponseBody) GoString

func (s TranslateGeneralResponseBody) GoString() string

func (*TranslateGeneralResponseBody) SetCode

func (*TranslateGeneralResponseBody) SetData

func (*TranslateGeneralResponseBody) SetMessage

func (*TranslateGeneralResponseBody) SetRequestId

func (TranslateGeneralResponseBody) String

type TranslateGeneralResponseBodyData

type TranslateGeneralResponseBodyData struct {
	DetectedLanguage *string `json:"DetectedLanguage,omitempty" xml:"DetectedLanguage,omitempty"`
	// example:
	//
	// Hello
	Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
	// example:
	//
	// 10
	WordCount *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (TranslateGeneralResponseBodyData) GoString

func (*TranslateGeneralResponseBodyData) SetDetectedLanguage added in v2.1.1

func (*TranslateGeneralResponseBodyData) SetTranslated

func (*TranslateGeneralResponseBodyData) SetWordCount

func (TranslateGeneralResponseBodyData) String

type TranslateGeneralVpcRequest added in v2.3.0

type TranslateGeneralVpcRequest struct {
	Context *string `json:"Context,omitempty" xml:"Context,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// general
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateGeneralVpcRequest) GoString added in v2.3.0

func (s TranslateGeneralVpcRequest) GoString() string

func (*TranslateGeneralVpcRequest) SetContext added in v2.3.0

func (*TranslateGeneralVpcRequest) SetFormatType added in v2.3.0

func (*TranslateGeneralVpcRequest) SetScene added in v2.3.0

func (*TranslateGeneralVpcRequest) SetSourceLanguage added in v2.3.0

func (*TranslateGeneralVpcRequest) SetSourceText added in v2.3.0

func (*TranslateGeneralVpcRequest) SetTargetLanguage added in v2.3.0

func (TranslateGeneralVpcRequest) String added in v2.3.0

type TranslateGeneralVpcResponse added in v2.3.0

type TranslateGeneralVpcResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateGeneralVpcResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateGeneralVpcResponse) GoString added in v2.3.0

func (s TranslateGeneralVpcResponse) GoString() string

func (*TranslateGeneralVpcResponse) SetBody added in v2.3.0

func (*TranslateGeneralVpcResponse) SetHeaders added in v2.3.0

func (*TranslateGeneralVpcResponse) SetStatusCode added in v2.3.0

func (TranslateGeneralVpcResponse) String added in v2.3.0

type TranslateGeneralVpcResponseBody added in v2.3.0

type TranslateGeneralVpcResponseBody struct {
	// This parameter is required.
	//
	// example:
	//
	// 200
	Code *int32                               `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *TranslateGeneralVpcResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// translate from source to target not support
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// Id of the request
	//
	// example:
	//
	// DC2DCCC9-C3DF-4F59-8D8E-78185729F16D
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateGeneralVpcResponseBody) GoString added in v2.3.0

func (*TranslateGeneralVpcResponseBody) SetCode added in v2.3.0

func (*TranslateGeneralVpcResponseBody) SetData added in v2.3.0

func (*TranslateGeneralVpcResponseBody) SetMessage added in v2.3.0

func (*TranslateGeneralVpcResponseBody) SetRequestId added in v2.3.0

func (TranslateGeneralVpcResponseBody) String added in v2.3.0

type TranslateGeneralVpcResponseBodyData added in v2.3.0

type TranslateGeneralVpcResponseBodyData struct {
	// example:
	//
	// zh
	DetectedLanguage *string `json:"DetectedLanguage,omitempty" xml:"DetectedLanguage,omitempty"`
	// example:
	//
	// Hello
	Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
	// example:
	//
	// 10
	WordCount *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (TranslateGeneralVpcResponseBodyData) GoString added in v2.3.0

func (*TranslateGeneralVpcResponseBodyData) SetDetectedLanguage added in v2.3.0

func (*TranslateGeneralVpcResponseBodyData) SetTranslated added in v2.3.0

func (*TranslateGeneralVpcResponseBodyData) SetWordCount added in v2.3.0

func (TranslateGeneralVpcResponseBodyData) String added in v2.3.0

type TranslateImageBatchRequest added in v2.0.1

type TranslateImageBatchRequest struct {
	// example:
	//
	// my_awesome_task_1
	CustomTaskId *string `json:"CustomTaskId,omitempty" xml:"CustomTaskId,omitempty"`
	// example:
	//
	// {"needEditorData": "false", "ignoreEntityRecognize": "true"}
	Ext *string `json:"Ext,omitempty" xml:"Ext,omitempty"`
	// example:
	//
	// general
	Field *string `json:"Field,omitempty" xml:"Field,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// https://example.com/1.jpg,https://example.com/2.jpg,https://example.com/3.jpg
	ImageUrls *string `json:"ImageUrls,omitempty" xml:"ImageUrls,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateImageBatchRequest) GoString added in v2.0.1

func (s TranslateImageBatchRequest) GoString() string

func (*TranslateImageBatchRequest) SetCustomTaskId added in v2.0.1

func (*TranslateImageBatchRequest) SetExt added in v2.0.1

func (*TranslateImageBatchRequest) SetField added in v2.0.1

func (*TranslateImageBatchRequest) SetImageUrls added in v2.0.1

func (*TranslateImageBatchRequest) SetSourceLanguage added in v2.0.1

func (*TranslateImageBatchRequest) SetTargetLanguage added in v2.0.1

func (TranslateImageBatchRequest) String added in v2.0.1

type TranslateImageBatchResponse added in v2.0.1

type TranslateImageBatchResponse struct {
	Headers    map[string]*string               `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                           `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateImageBatchResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateImageBatchResponse) GoString added in v2.0.1

func (s TranslateImageBatchResponse) GoString() string

func (*TranslateImageBatchResponse) SetBody added in v2.0.1

func (*TranslateImageBatchResponse) SetHeaders added in v2.0.1

func (*TranslateImageBatchResponse) SetStatusCode added in v2.0.1

func (TranslateImageBatchResponse) String added in v2.0.1

type TranslateImageBatchResponseBody added in v2.0.1

type TranslateImageBatchResponseBody struct {
	// example:
	//
	// 200
	Code *int32                               `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *TranslateImageBatchResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// OK
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// D774D33D-F1CB-5A2C-A787-E0A2179239CE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateImageBatchResponseBody) GoString added in v2.0.1

func (*TranslateImageBatchResponseBody) SetCode added in v2.0.1

func (*TranslateImageBatchResponseBody) SetData added in v2.0.1

func (*TranslateImageBatchResponseBody) SetMessage added in v2.0.1

func (*TranslateImageBatchResponseBody) SetRequestId added in v2.0.1

func (TranslateImageBatchResponseBody) String added in v2.0.1

type TranslateImageBatchResponseBodyData added in v2.0.1

type TranslateImageBatchResponseBodyData struct {
	// example:
	//
	// EEA28E6D-4828-5031-BD8C-8FF1B3216842
	TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"`
}

func (TranslateImageBatchResponseBodyData) GoString added in v2.0.1

func (*TranslateImageBatchResponseBodyData) SetTaskId added in v2.0.1

func (TranslateImageBatchResponseBodyData) String added in v2.0.1

type TranslateImageRequest

type TranslateImageRequest struct {
	// example:
	//
	// {"needEditorData": "false", "ignoreEntityRecognize": "true"}
	Ext *string `json:"Ext,omitempty" xml:"Ext,omitempty"`
	// example:
	//
	// general
	Field *string `json:"Field,omitempty" xml:"Field,omitempty"`
	// example:
	//
	// /9j/4...H/9k=
	ImageBase64 *string `json:"ImageBase64,omitempty" xml:"ImageBase64,omitempty"`
	// example:
	//
	// https://example.com/example.jpg
	ImageUrl *string `json:"ImageUrl,omitempty" xml:"ImageUrl,omitempty"`
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateImageRequest) GoString

func (s TranslateImageRequest) GoString() string

func (*TranslateImageRequest) SetExt

func (*TranslateImageRequest) SetField

func (*TranslateImageRequest) SetImageBase64

func (s *TranslateImageRequest) SetImageBase64(v string) *TranslateImageRequest

func (*TranslateImageRequest) SetImageUrl

func (*TranslateImageRequest) SetSourceLanguage

func (s *TranslateImageRequest) SetSourceLanguage(v string) *TranslateImageRequest

func (*TranslateImageRequest) SetTargetLanguage

func (s *TranslateImageRequest) SetTargetLanguage(v string) *TranslateImageRequest

func (TranslateImageRequest) String

func (s TranslateImageRequest) String() string

type TranslateImageResponse

type TranslateImageResponse struct {
	Headers    map[string]*string          `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                      `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateImageResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateImageResponse) GoString

func (s TranslateImageResponse) GoString() string

func (*TranslateImageResponse) SetBody

func (*TranslateImageResponse) SetHeaders

func (*TranslateImageResponse) SetStatusCode

func (TranslateImageResponse) String

func (s TranslateImageResponse) String() string

type TranslateImageResponseBody

type TranslateImageResponseBody struct {
	// example:
	//
	// 200
	Code *int32                          `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *TranslateImageResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// Error Message
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// D774D33D-F1CB-5A2C-A787-E0A2179239CE
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateImageResponseBody) GoString

func (s TranslateImageResponseBody) GoString() string

func (*TranslateImageResponseBody) SetCode

func (*TranslateImageResponseBody) SetData

func (*TranslateImageResponseBody) SetMessage

func (*TranslateImageResponseBody) SetRequestId

func (TranslateImageResponseBody) String

type TranslateImageResponseBodyData

type TranslateImageResponseBodyData struct {
	// example:
	//
	// https://example.com/example.jpg
	FinalImageUrl *string `json:"FinalImageUrl,omitempty" xml:"FinalImageUrl,omitempty"`
	// example:
	//
	// https://example.com/example.jpg
	InPaintingUrl *string `json:"InPaintingUrl,omitempty" xml:"InPaintingUrl,omitempty"`
	// example:
	//
	// Editor Template Json String
	TemplateJson *string `json:"TemplateJson,omitempty" xml:"TemplateJson,omitempty"`
}

func (TranslateImageResponseBodyData) GoString

func (*TranslateImageResponseBodyData) SetFinalImageUrl

func (*TranslateImageResponseBodyData) SetInPaintingUrl

func (*TranslateImageResponseBodyData) SetTemplateJson

func (TranslateImageResponseBodyData) String

type TranslateRequest

type TranslateRequest struct {
	// example:
	//
	// {\\"appName\\":\\"alynx\\"}
	Context *string `json:"Context,omitempty" xml:"Context,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// text
	FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// title
	Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// zh
	SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"`
	// This parameter is required.
	SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"`
	// This parameter is required.
	//
	// example:
	//
	// en
	TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"`
}

func (TranslateRequest) GoString

func (s TranslateRequest) GoString() string

func (*TranslateRequest) SetContext

func (s *TranslateRequest) SetContext(v string) *TranslateRequest

func (*TranslateRequest) SetFormatType

func (s *TranslateRequest) SetFormatType(v string) *TranslateRequest

func (*TranslateRequest) SetScene

func (s *TranslateRequest) SetScene(v string) *TranslateRequest

func (*TranslateRequest) SetSourceLanguage

func (s *TranslateRequest) SetSourceLanguage(v string) *TranslateRequest

func (*TranslateRequest) SetSourceText

func (s *TranslateRequest) SetSourceText(v string) *TranslateRequest

func (*TranslateRequest) SetTargetLanguage

func (s *TranslateRequest) SetTargetLanguage(v string) *TranslateRequest

func (TranslateRequest) String

func (s TranslateRequest) String() string

type TranslateResponse

type TranslateResponse struct {
	Headers    map[string]*string     `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32                 `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *TranslateResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (TranslateResponse) GoString

func (s TranslateResponse) GoString() string

func (*TranslateResponse) SetBody

func (*TranslateResponse) SetHeaders

func (s *TranslateResponse) SetHeaders(v map[string]*string) *TranslateResponse

func (*TranslateResponse) SetStatusCode

func (s *TranslateResponse) SetStatusCode(v int32) *TranslateResponse

func (TranslateResponse) String

func (s TranslateResponse) String() string

type TranslateResponseBody

type TranslateResponseBody struct {
	// example:
	//
	// 200
	Code *int32                     `json:"Code,omitempty" xml:"Code,omitempty"`
	Data *TranslateResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	// example:
	//
	// success
	Message *string `json:"Message,omitempty" xml:"Message,omitempty"`
	// example:
	//
	// 86D18195-D89C-4C8C-9DC4-5FCE789CE6D5
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateResponseBody) GoString

func (s TranslateResponseBody) GoString() string

func (*TranslateResponseBody) SetCode

func (*TranslateResponseBody) SetData

func (*TranslateResponseBody) SetMessage

func (*TranslateResponseBody) SetRequestId

func (TranslateResponseBody) String

func (s TranslateResponseBody) String() string

type TranslateResponseBodyData

type TranslateResponseBodyData struct {
	DetectedLanguage *string `json:"DetectedLanguage,omitempty" xml:"DetectedLanguage,omitempty"`
	// example:
	//
	// Hello
	Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
	// example:
	//
	// 10
	WordCount *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (TranslateResponseBodyData) GoString

func (s TranslateResponseBodyData) GoString() string

func (*TranslateResponseBodyData) SetDetectedLanguage added in v2.1.1

func (s *TranslateResponseBodyData) SetDetectedLanguage(v string) *TranslateResponseBodyData

func (*TranslateResponseBodyData) SetTranslated

func (*TranslateResponseBodyData) SetWordCount

func (TranslateResponseBodyData) String

func (s TranslateResponseBodyData) String() string

Jump to

Keyboard shortcuts

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