Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- func (client *Client) CreateAsyncTranslate(request *CreateAsyncTranslateRequest) (_result *CreateAsyncTranslateResponse, _err error)
- func (client *Client) CreateAsyncTranslateWithOptions(request *CreateAsyncTranslateRequest, runtime *util.RuntimeOptions) (_result *CreateAsyncTranslateResponse, _err error)
- func (client *Client) CreateDocTranslateTask(request *CreateDocTranslateTaskRequest) (_result *CreateDocTranslateTaskResponse, _err error)
- func (client *Client) CreateDocTranslateTaskAdvance(request *CreateDocTranslateTaskAdvanceRequest, runtime *util.RuntimeOptions) (_result *CreateDocTranslateTaskResponse, _err error)
- func (client *Client) CreateDocTranslateTaskWithOptions(request *CreateDocTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *CreateDocTranslateTaskResponse, _err error)
- func (client *Client) CreateImageTranslateTask(request *CreateImageTranslateTaskRequest) (_result *CreateImageTranslateTaskResponse, _err error)
- func (client *Client) CreateImageTranslateTaskWithOptions(request *CreateImageTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *CreateImageTranslateTaskResponse, _err error)
- func (client *Client) GetAsyncTranslate(request *GetAsyncTranslateRequest) (_result *GetAsyncTranslateResponse, _err error)
- func (client *Client) GetAsyncTranslateWithOptions(request *GetAsyncTranslateRequest, runtime *util.RuntimeOptions) (_result *GetAsyncTranslateResponse, _err error)
- func (client *Client) GetBatchTranslate(request *GetBatchTranslateRequest) (_result *GetBatchTranslateResponse, _err error)
- func (client *Client) GetBatchTranslateByVPC(request *GetBatchTranslateByVPCRequest) (_result *GetBatchTranslateByVPCResponse, _err error)
- func (client *Client) GetBatchTranslateByVPCWithOptions(request *GetBatchTranslateByVPCRequest, runtime *util.RuntimeOptions) (_result *GetBatchTranslateByVPCResponse, _err error)
- func (client *Client) GetBatchTranslateWithOptions(request *GetBatchTranslateRequest, runtime *util.RuntimeOptions) (_result *GetBatchTranslateResponse, _err error)
- func (client *Client) GetDetectLanguage(request *GetDetectLanguageRequest) (_result *GetDetectLanguageResponse, _err error)
- func (client *Client) GetDetectLanguageWithOptions(request *GetDetectLanguageRequest, runtime *util.RuntimeOptions) (_result *GetDetectLanguageResponse, _err error)
- func (client *Client) GetDocTranslateTask(request *GetDocTranslateTaskRequest) (_result *GetDocTranslateTaskResponse, _err error)
- func (client *Client) GetDocTranslateTaskWithOptions(request *GetDocTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *GetDocTranslateTaskResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetImageDiagnose(request *GetImageDiagnoseRequest) (_result *GetImageDiagnoseResponse, _err error)
- func (client *Client) GetImageDiagnoseWithOptions(request *GetImageDiagnoseRequest, runtime *util.RuntimeOptions) (_result *GetImageDiagnoseResponse, _err error)
- func (client *Client) GetImageTranslate(request *GetImageTranslateRequest) (_result *GetImageTranslateResponse, _err error)
- func (client *Client) GetImageTranslateTask(request *GetImageTranslateTaskRequest) (_result *GetImageTranslateTaskResponse, _err error)
- func (client *Client) GetImageTranslateTaskWithOptions(request *GetImageTranslateTaskRequest, runtime *util.RuntimeOptions) (_result *GetImageTranslateTaskResponse, _err error)
- func (client *Client) GetImageTranslateWithOptions(request *GetImageTranslateRequest, runtime *util.RuntimeOptions) (_result *GetImageTranslateResponse, _err error)
- func (client *Client) GetTitleDiagnose(request *GetTitleDiagnoseRequest) (_result *GetTitleDiagnoseResponse, _err error)
- func (client *Client) GetTitleDiagnoseWithOptions(request *GetTitleDiagnoseRequest, runtime *util.RuntimeOptions) (_result *GetTitleDiagnoseResponse, _err error)
- func (client *Client) GetTitleGenerate(request *GetTitleGenerateRequest) (_result *GetTitleGenerateResponse, _err error)
- func (client *Client) GetTitleGenerateWithOptions(request *GetTitleGenerateRequest, runtime *util.RuntimeOptions) (_result *GetTitleGenerateResponse, _err error)
- func (client *Client) GetTitleIntelligence(request *GetTitleIntelligenceRequest) (_result *GetTitleIntelligenceResponse, _err error)
- func (client *Client) GetTitleIntelligenceWithOptions(request *GetTitleIntelligenceRequest, runtime *util.RuntimeOptions) (_result *GetTitleIntelligenceResponse, _err error)
- func (client *Client) GetTranslateImageBatchResult(request *GetTranslateImageBatchResultRequest) (_result *GetTranslateImageBatchResultResponse, _err error)
- func (client *Client) GetTranslateImageBatchResultWithOptions(request *GetTranslateImageBatchResultRequest, runtime *util.RuntimeOptions) (_result *GetTranslateImageBatchResultResponse, _err error)
- func (client *Client) GetTranslateReport(request *GetTranslateReportRequest) (_result *GetTranslateReportResponse, _err error)
- func (client *Client) GetTranslateReportWithOptions(request *GetTranslateReportRequest, runtime *util.RuntimeOptions) (_result *GetTranslateReportResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) OpenAlimtService(request *OpenAlimtServiceRequest) (_result *OpenAlimtServiceResponse, _err error)
- func (client *Client) OpenAlimtServiceWithOptions(request *OpenAlimtServiceRequest, runtime *util.RuntimeOptions) (_result *OpenAlimtServiceResponse, _err error)
- func (client *Client) Translate(request *TranslateRequest) (_result *TranslateResponse, _err error)
- func (client *Client) TranslateCertificate(request *TranslateCertificateRequest) (_result *TranslateCertificateResponse, _err error)
- func (client *Client) TranslateCertificateAdvance(request *TranslateCertificateAdvanceRequest, runtime *util.RuntimeOptions) (_result *TranslateCertificateResponse, _err error)
- func (client *Client) TranslateCertificateWithOptions(request *TranslateCertificateRequest, runtime *util.RuntimeOptions) (_result *TranslateCertificateResponse, _err error)
- func (client *Client) TranslateECommerce(request *TranslateECommerceRequest) (_result *TranslateECommerceResponse, _err error)deprecated
- func (client *Client) TranslateECommerceWithOptions(request *TranslateECommerceRequest, runtime *util.RuntimeOptions) (_result *TranslateECommerceResponse, _err error)deprecated
- func (client *Client) TranslateGeneral(request *TranslateGeneralRequest) (_result *TranslateGeneralResponse, _err error)
- func (client *Client) TranslateGeneralVpc(request *TranslateGeneralVpcRequest) (_result *TranslateGeneralVpcResponse, _err error)
- func (client *Client) TranslateGeneralVpcWithOptions(request *TranslateGeneralVpcRequest, runtime *util.RuntimeOptions) (_result *TranslateGeneralVpcResponse, _err error)
- func (client *Client) TranslateGeneralWithOptions(request *TranslateGeneralRequest, runtime *util.RuntimeOptions) (_result *TranslateGeneralResponse, _err error)
- func (client *Client) TranslateImage(request *TranslateImageRequest) (_result *TranslateImageResponse, _err error)
- func (client *Client) TranslateImageBatch(request *TranslateImageBatchRequest) (_result *TranslateImageBatchResponse, _err error)
- func (client *Client) TranslateImageBatchWithOptions(request *TranslateImageBatchRequest, runtime *util.RuntimeOptions) (_result *TranslateImageBatchResponse, _err error)
- func (client *Client) TranslateImageWithOptions(request *TranslateImageRequest, runtime *util.RuntimeOptions) (_result *TranslateImageResponse, _err error)
- func (client *Client) TranslateWithOptions(request *TranslateRequest, runtime *util.RuntimeOptions) (_result *TranslateResponse, _err error)
- type CreateAsyncTranslateRequest
- func (s CreateAsyncTranslateRequest) GoString() string
- func (s *CreateAsyncTranslateRequest) SetApiType(v string) *CreateAsyncTranslateRequest
- func (s *CreateAsyncTranslateRequest) SetFormatType(v string) *CreateAsyncTranslateRequest
- func (s *CreateAsyncTranslateRequest) SetScene(v string) *CreateAsyncTranslateRequest
- func (s *CreateAsyncTranslateRequest) SetSourceLanguage(v string) *CreateAsyncTranslateRequest
- func (s *CreateAsyncTranslateRequest) SetSourceText(v string) *CreateAsyncTranslateRequest
- func (s *CreateAsyncTranslateRequest) SetTargetLanguage(v string) *CreateAsyncTranslateRequest
- func (s CreateAsyncTranslateRequest) String() string
- type CreateAsyncTranslateResponse
- func (s CreateAsyncTranslateResponse) GoString() string
- func (s *CreateAsyncTranslateResponse) SetBody(v *CreateAsyncTranslateResponseBody) *CreateAsyncTranslateResponse
- func (s *CreateAsyncTranslateResponse) SetHeaders(v map[string]*string) *CreateAsyncTranslateResponse
- func (s *CreateAsyncTranslateResponse) SetStatusCode(v int32) *CreateAsyncTranslateResponse
- func (s CreateAsyncTranslateResponse) String() string
- type CreateAsyncTranslateResponseBody
- func (s CreateAsyncTranslateResponseBody) GoString() string
- func (s *CreateAsyncTranslateResponseBody) SetCode(v int32) *CreateAsyncTranslateResponseBody
- func (s *CreateAsyncTranslateResponseBody) SetData(v *CreateAsyncTranslateResponseBodyData) *CreateAsyncTranslateResponseBody
- func (s *CreateAsyncTranslateResponseBody) SetMessage(v string) *CreateAsyncTranslateResponseBody
- func (s *CreateAsyncTranslateResponseBody) SetRequestId(v string) *CreateAsyncTranslateResponseBody
- func (s CreateAsyncTranslateResponseBody) String() string
- type CreateAsyncTranslateResponseBodyData
- func (s CreateAsyncTranslateResponseBodyData) GoString() string
- func (s *CreateAsyncTranslateResponseBodyData) SetJobId(v string) *CreateAsyncTranslateResponseBodyData
- func (s *CreateAsyncTranslateResponseBodyData) SetStatus(v string) *CreateAsyncTranslateResponseBodyData
- func (s CreateAsyncTranslateResponseBodyData) String() string
- type CreateDocTranslateTaskAdvanceRequest
- func (s CreateDocTranslateTaskAdvanceRequest) GoString() string
- func (s *CreateDocTranslateTaskAdvanceRequest) SetCallbackUrl(v string) *CreateDocTranslateTaskAdvanceRequest
- func (s *CreateDocTranslateTaskAdvanceRequest) SetClientToken(v string) *CreateDocTranslateTaskAdvanceRequest
- func (s *CreateDocTranslateTaskAdvanceRequest) SetFileUrlObject(v io.Reader) *CreateDocTranslateTaskAdvanceRequest
- func (s *CreateDocTranslateTaskAdvanceRequest) SetScene(v string) *CreateDocTranslateTaskAdvanceRequest
- func (s *CreateDocTranslateTaskAdvanceRequest) SetSourceLanguage(v string) *CreateDocTranslateTaskAdvanceRequest
- func (s *CreateDocTranslateTaskAdvanceRequest) SetTargetLanguage(v string) *CreateDocTranslateTaskAdvanceRequest
- func (s CreateDocTranslateTaskAdvanceRequest) String() string
- type CreateDocTranslateTaskRequest
- func (s CreateDocTranslateTaskRequest) GoString() string
- func (s *CreateDocTranslateTaskRequest) SetCallbackUrl(v string) *CreateDocTranslateTaskRequest
- func (s *CreateDocTranslateTaskRequest) SetClientToken(v string) *CreateDocTranslateTaskRequest
- func (s *CreateDocTranslateTaskRequest) SetFileUrl(v string) *CreateDocTranslateTaskRequest
- func (s *CreateDocTranslateTaskRequest) SetScene(v string) *CreateDocTranslateTaskRequest
- func (s *CreateDocTranslateTaskRequest) SetSourceLanguage(v string) *CreateDocTranslateTaskRequest
- func (s *CreateDocTranslateTaskRequest) SetTargetLanguage(v string) *CreateDocTranslateTaskRequest
- func (s CreateDocTranslateTaskRequest) String() string
- type CreateDocTranslateTaskResponse
- func (s CreateDocTranslateTaskResponse) GoString() string
- func (s *CreateDocTranslateTaskResponse) SetBody(v *CreateDocTranslateTaskResponseBody) *CreateDocTranslateTaskResponse
- func (s *CreateDocTranslateTaskResponse) SetHeaders(v map[string]*string) *CreateDocTranslateTaskResponse
- func (s *CreateDocTranslateTaskResponse) SetStatusCode(v int32) *CreateDocTranslateTaskResponse
- func (s CreateDocTranslateTaskResponse) String() string
- type CreateDocTranslateTaskResponseBody
- func (s CreateDocTranslateTaskResponseBody) GoString() string
- func (s *CreateDocTranslateTaskResponseBody) SetRequestId(v string) *CreateDocTranslateTaskResponseBody
- func (s *CreateDocTranslateTaskResponseBody) SetStatus(v string) *CreateDocTranslateTaskResponseBody
- func (s *CreateDocTranslateTaskResponseBody) SetTaskId(v string) *CreateDocTranslateTaskResponseBody
- func (s CreateDocTranslateTaskResponseBody) String() string
- type CreateImageTranslateTaskRequest
- func (s CreateImageTranslateTaskRequest) GoString() string
- func (s *CreateImageTranslateTaskRequest) SetClientToken(v string) *CreateImageTranslateTaskRequest
- func (s *CreateImageTranslateTaskRequest) SetExtra(v string) *CreateImageTranslateTaskRequest
- func (s *CreateImageTranslateTaskRequest) SetSourceLanguage(v string) *CreateImageTranslateTaskRequest
- func (s *CreateImageTranslateTaskRequest) SetTargetLanguage(v string) *CreateImageTranslateTaskRequest
- func (s *CreateImageTranslateTaskRequest) SetUrlList(v string) *CreateImageTranslateTaskRequest
- func (s CreateImageTranslateTaskRequest) String() string
- type CreateImageTranslateTaskResponse
- func (s CreateImageTranslateTaskResponse) GoString() string
- func (s *CreateImageTranslateTaskResponse) SetBody(v *CreateImageTranslateTaskResponseBody) *CreateImageTranslateTaskResponse
- func (s *CreateImageTranslateTaskResponse) SetHeaders(v map[string]*string) *CreateImageTranslateTaskResponse
- func (s *CreateImageTranslateTaskResponse) SetStatusCode(v int32) *CreateImageTranslateTaskResponse
- func (s CreateImageTranslateTaskResponse) String() string
- type CreateImageTranslateTaskResponseBody
- func (s CreateImageTranslateTaskResponseBody) GoString() string
- func (s *CreateImageTranslateTaskResponseBody) SetCode(v int32) *CreateImageTranslateTaskResponseBody
- func (s *CreateImageTranslateTaskResponseBody) SetData(v *CreateImageTranslateTaskResponseBodyData) *CreateImageTranslateTaskResponseBody
- func (s *CreateImageTranslateTaskResponseBody) SetMessage(v string) *CreateImageTranslateTaskResponseBody
- func (s *CreateImageTranslateTaskResponseBody) SetRequestId(v string) *CreateImageTranslateTaskResponseBody
- func (s CreateImageTranslateTaskResponseBody) String() string
- type CreateImageTranslateTaskResponseBodyData
- type GetAsyncTranslateRequest
- type GetAsyncTranslateResponse
- func (s GetAsyncTranslateResponse) GoString() string
- func (s *GetAsyncTranslateResponse) SetBody(v *GetAsyncTranslateResponseBody) *GetAsyncTranslateResponse
- func (s *GetAsyncTranslateResponse) SetHeaders(v map[string]*string) *GetAsyncTranslateResponse
- func (s *GetAsyncTranslateResponse) SetStatusCode(v int32) *GetAsyncTranslateResponse
- func (s GetAsyncTranslateResponse) String() string
- type GetAsyncTranslateResponseBody
- func (s GetAsyncTranslateResponseBody) GoString() string
- func (s *GetAsyncTranslateResponseBody) SetCode(v int32) *GetAsyncTranslateResponseBody
- func (s *GetAsyncTranslateResponseBody) SetData(v *GetAsyncTranslateResponseBodyData) *GetAsyncTranslateResponseBody
- func (s *GetAsyncTranslateResponseBody) SetMessage(v string) *GetAsyncTranslateResponseBody
- func (s *GetAsyncTranslateResponseBody) SetRequestId(v string) *GetAsyncTranslateResponseBody
- func (s GetAsyncTranslateResponseBody) String() string
- type GetAsyncTranslateResponseBodyData
- func (s GetAsyncTranslateResponseBodyData) GoString() string
- func (s *GetAsyncTranslateResponseBodyData) SetDetectedLanguage(v string) *GetAsyncTranslateResponseBodyData
- func (s *GetAsyncTranslateResponseBodyData) SetStatus(v string) *GetAsyncTranslateResponseBodyData
- func (s *GetAsyncTranslateResponseBodyData) SetTranslatedText(v string) *GetAsyncTranslateResponseBodyData
- func (s *GetAsyncTranslateResponseBodyData) SetWordCount(v string) *GetAsyncTranslateResponseBodyData
- func (s GetAsyncTranslateResponseBodyData) String() string
- type GetBatchTranslateByVPCRequest
- func (s GetBatchTranslateByVPCRequest) GoString() string
- func (s *GetBatchTranslateByVPCRequest) SetApiType(v string) *GetBatchTranslateByVPCRequest
- func (s *GetBatchTranslateByVPCRequest) SetFormatType(v string) *GetBatchTranslateByVPCRequest
- func (s *GetBatchTranslateByVPCRequest) SetScene(v string) *GetBatchTranslateByVPCRequest
- func (s *GetBatchTranslateByVPCRequest) SetSourceLanguage(v string) *GetBatchTranslateByVPCRequest
- func (s *GetBatchTranslateByVPCRequest) SetSourceText(v string) *GetBatchTranslateByVPCRequest
- func (s *GetBatchTranslateByVPCRequest) SetTargetLanguage(v string) *GetBatchTranslateByVPCRequest
- func (s GetBatchTranslateByVPCRequest) String() string
- type GetBatchTranslateByVPCResponse
- func (s GetBatchTranslateByVPCResponse) GoString() string
- func (s *GetBatchTranslateByVPCResponse) SetBody(v *GetBatchTranslateByVPCResponseBody) *GetBatchTranslateByVPCResponse
- func (s *GetBatchTranslateByVPCResponse) SetHeaders(v map[string]*string) *GetBatchTranslateByVPCResponse
- func (s *GetBatchTranslateByVPCResponse) SetStatusCode(v int32) *GetBatchTranslateByVPCResponse
- func (s GetBatchTranslateByVPCResponse) String() string
- type GetBatchTranslateByVPCResponseBody
- func (s GetBatchTranslateByVPCResponseBody) GoString() string
- func (s *GetBatchTranslateByVPCResponseBody) SetCode(v int32) *GetBatchTranslateByVPCResponseBody
- func (s *GetBatchTranslateByVPCResponseBody) SetMessage(v string) *GetBatchTranslateByVPCResponseBody
- func (s *GetBatchTranslateByVPCResponseBody) SetRequestId(v string) *GetBatchTranslateByVPCResponseBody
- func (s *GetBatchTranslateByVPCResponseBody) SetTranslatedList(v []map[string]interface{}) *GetBatchTranslateByVPCResponseBody
- func (s GetBatchTranslateByVPCResponseBody) String() string
- type GetBatchTranslateRequest
- func (s GetBatchTranslateRequest) GoString() string
- func (s *GetBatchTranslateRequest) SetApiType(v string) *GetBatchTranslateRequest
- func (s *GetBatchTranslateRequest) SetFormatType(v string) *GetBatchTranslateRequest
- func (s *GetBatchTranslateRequest) SetScene(v string) *GetBatchTranslateRequest
- func (s *GetBatchTranslateRequest) SetSourceLanguage(v string) *GetBatchTranslateRequest
- func (s *GetBatchTranslateRequest) SetSourceText(v string) *GetBatchTranslateRequest
- func (s *GetBatchTranslateRequest) SetTargetLanguage(v string) *GetBatchTranslateRequest
- func (s GetBatchTranslateRequest) String() string
- type GetBatchTranslateResponse
- func (s GetBatchTranslateResponse) GoString() string
- func (s *GetBatchTranslateResponse) SetBody(v *GetBatchTranslateResponseBody) *GetBatchTranslateResponse
- func (s *GetBatchTranslateResponse) SetHeaders(v map[string]*string) *GetBatchTranslateResponse
- func (s *GetBatchTranslateResponse) SetStatusCode(v int32) *GetBatchTranslateResponse
- func (s GetBatchTranslateResponse) String() string
- type GetBatchTranslateResponseBody
- func (s GetBatchTranslateResponseBody) GoString() string
- func (s *GetBatchTranslateResponseBody) SetCode(v int32) *GetBatchTranslateResponseBody
- func (s *GetBatchTranslateResponseBody) SetMessage(v string) *GetBatchTranslateResponseBody
- func (s *GetBatchTranslateResponseBody) SetRequestId(v string) *GetBatchTranslateResponseBody
- func (s *GetBatchTranslateResponseBody) SetTranslatedList(v []map[string]interface{}) *GetBatchTranslateResponseBody
- func (s GetBatchTranslateResponseBody) String() string
- type GetDetectLanguageRequest
- type GetDetectLanguageResponse
- func (s GetDetectLanguageResponse) GoString() string
- func (s *GetDetectLanguageResponse) SetBody(v *GetDetectLanguageResponseBody) *GetDetectLanguageResponse
- func (s *GetDetectLanguageResponse) SetHeaders(v map[string]*string) *GetDetectLanguageResponse
- func (s *GetDetectLanguageResponse) SetStatusCode(v int32) *GetDetectLanguageResponse
- func (s GetDetectLanguageResponse) String() string
- type GetDetectLanguageResponseBody
- func (s GetDetectLanguageResponseBody) GoString() string
- func (s *GetDetectLanguageResponseBody) SetDetectedLanguage(v string) *GetDetectLanguageResponseBody
- func (s *GetDetectLanguageResponseBody) SetLanguageProbabilities(v string) *GetDetectLanguageResponseBody
- func (s *GetDetectLanguageResponseBody) SetRequestId(v string) *GetDetectLanguageResponseBody
- func (s GetDetectLanguageResponseBody) String() string
- type GetDocTranslateTaskRequest
- type GetDocTranslateTaskResponse
- func (s GetDocTranslateTaskResponse) GoString() string
- func (s *GetDocTranslateTaskResponse) SetBody(v *GetDocTranslateTaskResponseBody) *GetDocTranslateTaskResponse
- func (s *GetDocTranslateTaskResponse) SetHeaders(v map[string]*string) *GetDocTranslateTaskResponse
- func (s *GetDocTranslateTaskResponse) SetStatusCode(v int32) *GetDocTranslateTaskResponse
- func (s GetDocTranslateTaskResponse) String() string
- type GetDocTranslateTaskResponseBody
- func (s GetDocTranslateTaskResponseBody) GoString() string
- func (s *GetDocTranslateTaskResponseBody) SetPageCount(v int32) *GetDocTranslateTaskResponseBody
- func (s *GetDocTranslateTaskResponseBody) SetRequestId(v string) *GetDocTranslateTaskResponseBody
- func (s *GetDocTranslateTaskResponseBody) SetStatus(v string) *GetDocTranslateTaskResponseBody
- func (s *GetDocTranslateTaskResponseBody) SetTaskId(v string) *GetDocTranslateTaskResponseBody
- func (s *GetDocTranslateTaskResponseBody) SetTranslateErrorCode(v string) *GetDocTranslateTaskResponseBody
- func (s *GetDocTranslateTaskResponseBody) SetTranslateErrorMessage(v string) *GetDocTranslateTaskResponseBody
- func (s *GetDocTranslateTaskResponseBody) SetTranslateFileUrl(v string) *GetDocTranslateTaskResponseBody
- func (s GetDocTranslateTaskResponseBody) String() string
- type GetImageDiagnoseRequest
- type GetImageDiagnoseResponse
- func (s GetImageDiagnoseResponse) GoString() string
- func (s *GetImageDiagnoseResponse) SetBody(v *GetImageDiagnoseResponseBody) *GetImageDiagnoseResponse
- func (s *GetImageDiagnoseResponse) SetHeaders(v map[string]*string) *GetImageDiagnoseResponse
- func (s *GetImageDiagnoseResponse) SetStatusCode(v int32) *GetImageDiagnoseResponse
- func (s GetImageDiagnoseResponse) String() string
- type GetImageDiagnoseResponseBody
- func (s GetImageDiagnoseResponseBody) GoString() string
- func (s *GetImageDiagnoseResponseBody) SetCode(v int32) *GetImageDiagnoseResponseBody
- func (s *GetImageDiagnoseResponseBody) SetData(v *GetImageDiagnoseResponseBodyData) *GetImageDiagnoseResponseBody
- func (s *GetImageDiagnoseResponseBody) SetMessage(v string) *GetImageDiagnoseResponseBody
- func (s *GetImageDiagnoseResponseBody) SetRequestId(v string) *GetImageDiagnoseResponseBody
- func (s GetImageDiagnoseResponseBody) String() string
- type GetImageDiagnoseResponseBodyData
- type GetImageTranslateRequest
- func (s GetImageTranslateRequest) GoString() string
- func (s *GetImageTranslateRequest) SetExtra(v string) *GetImageTranslateRequest
- func (s *GetImageTranslateRequest) SetSourceLanguage(v string) *GetImageTranslateRequest
- func (s *GetImageTranslateRequest) SetTargetLanguage(v string) *GetImageTranslateRequest
- func (s *GetImageTranslateRequest) SetUrl(v string) *GetImageTranslateRequest
- func (s GetImageTranslateRequest) String() string
- type GetImageTranslateResponse
- func (s GetImageTranslateResponse) GoString() string
- func (s *GetImageTranslateResponse) SetBody(v *GetImageTranslateResponseBody) *GetImageTranslateResponse
- func (s *GetImageTranslateResponse) SetHeaders(v map[string]*string) *GetImageTranslateResponse
- func (s *GetImageTranslateResponse) SetStatusCode(v int32) *GetImageTranslateResponse
- func (s GetImageTranslateResponse) String() string
- type GetImageTranslateResponseBody
- func (s GetImageTranslateResponseBody) GoString() string
- func (s *GetImageTranslateResponseBody) SetCode(v int32) *GetImageTranslateResponseBody
- func (s *GetImageTranslateResponseBody) SetData(v *GetImageTranslateResponseBodyData) *GetImageTranslateResponseBody
- func (s *GetImageTranslateResponseBody) SetMessage(v string) *GetImageTranslateResponseBody
- func (s *GetImageTranslateResponseBody) SetRequestId(v string) *GetImageTranslateResponseBody
- func (s GetImageTranslateResponseBody) String() string
- type GetImageTranslateResponseBodyData
- func (s GetImageTranslateResponseBodyData) GoString() string
- func (s *GetImageTranslateResponseBodyData) SetOrc(v string) *GetImageTranslateResponseBodyData
- func (s *GetImageTranslateResponseBodyData) SetPictureEditor(v string) *GetImageTranslateResponseBodyData
- func (s *GetImageTranslateResponseBodyData) SetUrl(v string) *GetImageTranslateResponseBodyData
- func (s GetImageTranslateResponseBodyData) String() string
- type GetImageTranslateTaskRequest
- type GetImageTranslateTaskResponse
- func (s GetImageTranslateTaskResponse) GoString() string
- func (s *GetImageTranslateTaskResponse) SetBody(v *GetImageTranslateTaskResponseBody) *GetImageTranslateTaskResponse
- func (s *GetImageTranslateTaskResponse) SetHeaders(v map[string]*string) *GetImageTranslateTaskResponse
- func (s *GetImageTranslateTaskResponse) SetStatusCode(v int32) *GetImageTranslateTaskResponse
- func (s GetImageTranslateTaskResponse) String() string
- type GetImageTranslateTaskResponseBody
- func (s GetImageTranslateTaskResponseBody) GoString() string
- func (s *GetImageTranslateTaskResponseBody) SetCode(v int32) *GetImageTranslateTaskResponseBody
- func (s *GetImageTranslateTaskResponseBody) SetData(v *GetImageTranslateTaskResponseBodyData) *GetImageTranslateTaskResponseBody
- func (s *GetImageTranslateTaskResponseBody) SetMessage(v string) *GetImageTranslateTaskResponseBody
- func (s *GetImageTranslateTaskResponseBody) SetRequestId(v string) *GetImageTranslateTaskResponseBody
- func (s GetImageTranslateTaskResponseBody) String() string
- type GetImageTranslateTaskResponseBodyData
- type GetTitleDiagnoseRequest
- func (s GetTitleDiagnoseRequest) GoString() string
- func (s *GetTitleDiagnoseRequest) SetCategoryId(v string) *GetTitleDiagnoseRequest
- func (s *GetTitleDiagnoseRequest) SetExtra(v string) *GetTitleDiagnoseRequest
- func (s *GetTitleDiagnoseRequest) SetLanguage(v string) *GetTitleDiagnoseRequest
- func (s *GetTitleDiagnoseRequest) SetPlatform(v string) *GetTitleDiagnoseRequest
- func (s *GetTitleDiagnoseRequest) SetTitle(v string) *GetTitleDiagnoseRequest
- func (s GetTitleDiagnoseRequest) String() string
- type GetTitleDiagnoseResponse
- func (s GetTitleDiagnoseResponse) GoString() string
- func (s *GetTitleDiagnoseResponse) SetBody(v *GetTitleDiagnoseResponseBody) *GetTitleDiagnoseResponse
- func (s *GetTitleDiagnoseResponse) SetHeaders(v map[string]*string) *GetTitleDiagnoseResponse
- func (s *GetTitleDiagnoseResponse) SetStatusCode(v int32) *GetTitleDiagnoseResponse
- func (s GetTitleDiagnoseResponse) String() string
- type GetTitleDiagnoseResponseBody
- func (s GetTitleDiagnoseResponseBody) GoString() string
- func (s *GetTitleDiagnoseResponseBody) SetCode(v int32) *GetTitleDiagnoseResponseBody
- func (s *GetTitleDiagnoseResponseBody) SetData(v *GetTitleDiagnoseResponseBodyData) *GetTitleDiagnoseResponseBody
- func (s *GetTitleDiagnoseResponseBody) SetMessage(v string) *GetTitleDiagnoseResponseBody
- func (s *GetTitleDiagnoseResponseBody) SetRequestId(v string) *GetTitleDiagnoseResponseBody
- func (s GetTitleDiagnoseResponseBody) String() string
- type GetTitleDiagnoseResponseBodyData
- func (s GetTitleDiagnoseResponseBodyData) GoString() string
- func (s *GetTitleDiagnoseResponseBodyData) SetAllUppercaseWords(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetContainCoreClasses(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetDisableWords(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetDuplicateWords(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetLanguageQualityScore(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetNoFirstUppercaseList(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetOverLengthLimit(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetTotalScore(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetWordCount(v string) *GetTitleDiagnoseResponseBodyData
- func (s *GetTitleDiagnoseResponseBodyData) SetWordSpelledCorrectError(v string) *GetTitleDiagnoseResponseBodyData
- func (s GetTitleDiagnoseResponseBodyData) String() string
- type GetTitleGenerateRequest
- func (s GetTitleGenerateRequest) GoString() string
- func (s *GetTitleGenerateRequest) SetAttributes(v string) *GetTitleGenerateRequest
- func (s *GetTitleGenerateRequest) SetCategoryId(v string) *GetTitleGenerateRequest
- func (s *GetTitleGenerateRequest) SetExtra(v string) *GetTitleGenerateRequest
- func (s *GetTitleGenerateRequest) SetHotWords(v string) *GetTitleGenerateRequest
- func (s *GetTitleGenerateRequest) SetLanguage(v string) *GetTitleGenerateRequest
- func (s *GetTitleGenerateRequest) SetPlatform(v string) *GetTitleGenerateRequest
- func (s *GetTitleGenerateRequest) SetTitle(v string) *GetTitleGenerateRequest
- func (s GetTitleGenerateRequest) String() string
- type GetTitleGenerateResponse
- func (s GetTitleGenerateResponse) GoString() string
- func (s *GetTitleGenerateResponse) SetBody(v *GetTitleGenerateResponseBody) *GetTitleGenerateResponse
- func (s *GetTitleGenerateResponse) SetHeaders(v map[string]*string) *GetTitleGenerateResponse
- func (s *GetTitleGenerateResponse) SetStatusCode(v int32) *GetTitleGenerateResponse
- func (s GetTitleGenerateResponse) String() string
- type GetTitleGenerateResponseBody
- func (s GetTitleGenerateResponseBody) GoString() string
- func (s *GetTitleGenerateResponseBody) SetCode(v int32) *GetTitleGenerateResponseBody
- func (s *GetTitleGenerateResponseBody) SetData(v *GetTitleGenerateResponseBodyData) *GetTitleGenerateResponseBody
- func (s *GetTitleGenerateResponseBody) SetMessage(v string) *GetTitleGenerateResponseBody
- func (s *GetTitleGenerateResponseBody) SetRequestId(v string) *GetTitleGenerateResponseBody
- func (s GetTitleGenerateResponseBody) String() string
- type GetTitleGenerateResponseBodyData
- type GetTitleIntelligenceRequest
- func (s GetTitleIntelligenceRequest) GoString() string
- func (s *GetTitleIntelligenceRequest) SetCatLevelThreeId(v int64) *GetTitleIntelligenceRequest
- func (s *GetTitleIntelligenceRequest) SetCatLevelTwoId(v int64) *GetTitleIntelligenceRequest
- func (s *GetTitleIntelligenceRequest) SetExtra(v string) *GetTitleIntelligenceRequest
- func (s *GetTitleIntelligenceRequest) SetKeywords(v string) *GetTitleIntelligenceRequest
- func (s *GetTitleIntelligenceRequest) SetPlatform(v string) *GetTitleIntelligenceRequest
- func (s GetTitleIntelligenceRequest) String() string
- type GetTitleIntelligenceResponse
- func (s GetTitleIntelligenceResponse) GoString() string
- func (s *GetTitleIntelligenceResponse) SetBody(v *GetTitleIntelligenceResponseBody) *GetTitleIntelligenceResponse
- func (s *GetTitleIntelligenceResponse) SetHeaders(v map[string]*string) *GetTitleIntelligenceResponse
- func (s *GetTitleIntelligenceResponse) SetStatusCode(v int32) *GetTitleIntelligenceResponse
- func (s GetTitleIntelligenceResponse) String() string
- type GetTitleIntelligenceResponseBody
- func (s GetTitleIntelligenceResponseBody) GoString() string
- func (s *GetTitleIntelligenceResponseBody) SetCode(v int32) *GetTitleIntelligenceResponseBody
- func (s *GetTitleIntelligenceResponseBody) SetData(v *GetTitleIntelligenceResponseBodyData) *GetTitleIntelligenceResponseBody
- func (s *GetTitleIntelligenceResponseBody) SetMessage(v string) *GetTitleIntelligenceResponseBody
- func (s *GetTitleIntelligenceResponseBody) SetRequestId(v string) *GetTitleIntelligenceResponseBody
- func (s GetTitleIntelligenceResponseBody) String() string
- type GetTitleIntelligenceResponseBodyData
- type GetTranslateImageBatchResultRequest
- type GetTranslateImageBatchResultResponse
- func (s GetTranslateImageBatchResultResponse) GoString() string
- func (s *GetTranslateImageBatchResultResponse) SetBody(v *GetTranslateImageBatchResultResponseBody) *GetTranslateImageBatchResultResponse
- func (s *GetTranslateImageBatchResultResponse) SetHeaders(v map[string]*string) *GetTranslateImageBatchResultResponse
- func (s *GetTranslateImageBatchResultResponse) SetStatusCode(v int32) *GetTranslateImageBatchResultResponse
- func (s GetTranslateImageBatchResultResponse) String() string
- type GetTranslateImageBatchResultResponseBody
- func (s GetTranslateImageBatchResultResponseBody) GoString() string
- func (s *GetTranslateImageBatchResultResponseBody) SetCode(v int32) *GetTranslateImageBatchResultResponseBody
- func (s *GetTranslateImageBatchResultResponseBody) SetData(v *GetTranslateImageBatchResultResponseBodyData) *GetTranslateImageBatchResultResponseBody
- func (s *GetTranslateImageBatchResultResponseBody) SetMessage(v string) *GetTranslateImageBatchResultResponseBody
- func (s *GetTranslateImageBatchResultResponseBody) SetRequestId(v string) *GetTranslateImageBatchResultResponseBody
- func (s GetTranslateImageBatchResultResponseBody) String() string
- type GetTranslateImageBatchResultResponseBodyData
- func (s GetTranslateImageBatchResultResponseBodyData) GoString() string
- func (s *GetTranslateImageBatchResultResponseBodyData) SetResult(v []*GetTranslateImageBatchResultResponseBodyDataResult) *GetTranslateImageBatchResultResponseBodyData
- func (s *GetTranslateImageBatchResultResponseBodyData) SetStatus(v string) *GetTranslateImageBatchResultResponseBodyData
- func (s GetTranslateImageBatchResultResponseBodyData) String() string
- type GetTranslateImageBatchResultResponseBodyDataResult
- func (s GetTranslateImageBatchResultResponseBodyDataResult) GoString() string
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetCode(v int32) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetFinalImageUrl(v string) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetInPaintingUrl(v string) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetMessage(v string) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetSourceImageUrl(v string) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetSuccess(v bool) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetTemplateJson(v string) *GetTranslateImageBatchResultResponseBodyDataResult
- func (s GetTranslateImageBatchResultResponseBodyDataResult) String() string
- type GetTranslateReportRequest
- func (s GetTranslateReportRequest) GoString() string
- func (s *GetTranslateReportRequest) SetApiName(v string) *GetTranslateReportRequest
- func (s *GetTranslateReportRequest) SetBeginTime(v string) *GetTranslateReportRequest
- func (s *GetTranslateReportRequest) SetEndTime(v string) *GetTranslateReportRequest
- func (s *GetTranslateReportRequest) SetGroup(v string) *GetTranslateReportRequest
- func (s GetTranslateReportRequest) String() string
- type GetTranslateReportResponse
- func (s GetTranslateReportResponse) GoString() string
- func (s *GetTranslateReportResponse) SetBody(v *GetTranslateReportResponseBody) *GetTranslateReportResponse
- func (s *GetTranslateReportResponse) SetHeaders(v map[string]*string) *GetTranslateReportResponse
- func (s *GetTranslateReportResponse) SetStatusCode(v int32) *GetTranslateReportResponse
- func (s GetTranslateReportResponse) String() string
- type GetTranslateReportResponseBody
- func (s GetTranslateReportResponseBody) GoString() string
- func (s *GetTranslateReportResponseBody) SetCode(v int32) *GetTranslateReportResponseBody
- func (s *GetTranslateReportResponseBody) SetData(v string) *GetTranslateReportResponseBody
- func (s *GetTranslateReportResponseBody) SetMessage(v string) *GetTranslateReportResponseBody
- func (s *GetTranslateReportResponseBody) SetRequestId(v string) *GetTranslateReportResponseBody
- func (s GetTranslateReportResponseBody) String() string
- type OpenAlimtServiceRequest
- type OpenAlimtServiceResponse
- func (s OpenAlimtServiceResponse) GoString() string
- func (s *OpenAlimtServiceResponse) SetBody(v *OpenAlimtServiceResponseBody) *OpenAlimtServiceResponse
- func (s *OpenAlimtServiceResponse) SetHeaders(v map[string]*string) *OpenAlimtServiceResponse
- func (s *OpenAlimtServiceResponse) SetStatusCode(v int32) *OpenAlimtServiceResponse
- func (s OpenAlimtServiceResponse) String() string
- type OpenAlimtServiceResponseBody
- type TranslateCertificateAdvanceRequest
- func (s TranslateCertificateAdvanceRequest) GoString() string
- func (s *TranslateCertificateAdvanceRequest) SetCertificateType(v string) *TranslateCertificateAdvanceRequest
- func (s *TranslateCertificateAdvanceRequest) SetImageUrlObject(v io.Reader) *TranslateCertificateAdvanceRequest
- func (s *TranslateCertificateAdvanceRequest) SetResultType(v string) *TranslateCertificateAdvanceRequest
- func (s *TranslateCertificateAdvanceRequest) SetSourceLanguage(v string) *TranslateCertificateAdvanceRequest
- func (s *TranslateCertificateAdvanceRequest) SetTargetLanguage(v string) *TranslateCertificateAdvanceRequest
- func (s TranslateCertificateAdvanceRequest) String() string
- type TranslateCertificateRequest
- func (s TranslateCertificateRequest) GoString() string
- func (s *TranslateCertificateRequest) SetCertificateType(v string) *TranslateCertificateRequest
- func (s *TranslateCertificateRequest) SetImageUrl(v string) *TranslateCertificateRequest
- func (s *TranslateCertificateRequest) SetResultType(v string) *TranslateCertificateRequest
- func (s *TranslateCertificateRequest) SetSourceLanguage(v string) *TranslateCertificateRequest
- func (s *TranslateCertificateRequest) SetTargetLanguage(v string) *TranslateCertificateRequest
- func (s TranslateCertificateRequest) String() string
- type TranslateCertificateResponse
- func (s TranslateCertificateResponse) GoString() string
- func (s *TranslateCertificateResponse) SetBody(v *TranslateCertificateResponseBody) *TranslateCertificateResponse
- func (s *TranslateCertificateResponse) SetHeaders(v map[string]*string) *TranslateCertificateResponse
- func (s *TranslateCertificateResponse) SetStatusCode(v int32) *TranslateCertificateResponse
- func (s TranslateCertificateResponse) String() string
- type TranslateCertificateResponseBody
- func (s TranslateCertificateResponseBody) GoString() string
- func (s *TranslateCertificateResponseBody) SetData(v *TranslateCertificateResponseBodyData) *TranslateCertificateResponseBody
- func (s *TranslateCertificateResponseBody) SetRequestId(v string) *TranslateCertificateResponseBody
- func (s TranslateCertificateResponseBody) String() string
- type TranslateCertificateResponseBodyData
- type TranslateCertificateResponseBodyDataTranslatedValues
- func (s TranslateCertificateResponseBodyDataTranslatedValues) GoString() string
- func (s *TranslateCertificateResponseBodyDataTranslatedValues) SetKey(v string) *TranslateCertificateResponseBodyDataTranslatedValues
- func (s *TranslateCertificateResponseBodyDataTranslatedValues) SetKeyTranslation(v string) *TranslateCertificateResponseBodyDataTranslatedValues
- func (s *TranslateCertificateResponseBodyDataTranslatedValues) SetValue(v string) *TranslateCertificateResponseBodyDataTranslatedValues
- func (s *TranslateCertificateResponseBodyDataTranslatedValues) SetValueTranslation(v string) *TranslateCertificateResponseBodyDataTranslatedValues
- func (s TranslateCertificateResponseBodyDataTranslatedValues) String() string
- type TranslateECommerceRequest
- func (s TranslateECommerceRequest) GoString() string
- func (s *TranslateECommerceRequest) SetContext(v string) *TranslateECommerceRequest
- func (s *TranslateECommerceRequest) SetFormatType(v string) *TranslateECommerceRequest
- func (s *TranslateECommerceRequest) SetScene(v string) *TranslateECommerceRequest
- func (s *TranslateECommerceRequest) SetSourceLanguage(v string) *TranslateECommerceRequest
- func (s *TranslateECommerceRequest) SetSourceText(v string) *TranslateECommerceRequest
- func (s *TranslateECommerceRequest) SetTargetLanguage(v string) *TranslateECommerceRequest
- func (s TranslateECommerceRequest) String() string
- type TranslateECommerceResponse
- func (s TranslateECommerceResponse) GoString() string
- func (s *TranslateECommerceResponse) SetBody(v *TranslateECommerceResponseBody) *TranslateECommerceResponse
- func (s *TranslateECommerceResponse) SetHeaders(v map[string]*string) *TranslateECommerceResponse
- func (s *TranslateECommerceResponse) SetStatusCode(v int32) *TranslateECommerceResponse
- func (s TranslateECommerceResponse) String() string
- type TranslateECommerceResponseBody
- func (s TranslateECommerceResponseBody) GoString() string
- func (s *TranslateECommerceResponseBody) SetCode(v int32) *TranslateECommerceResponseBody
- func (s *TranslateECommerceResponseBody) SetData(v *TranslateECommerceResponseBodyData) *TranslateECommerceResponseBody
- func (s *TranslateECommerceResponseBody) SetMessage(v string) *TranslateECommerceResponseBody
- func (s *TranslateECommerceResponseBody) SetRequestId(v string) *TranslateECommerceResponseBody
- func (s TranslateECommerceResponseBody) String() string
- type TranslateECommerceResponseBodyData
- func (s TranslateECommerceResponseBodyData) GoString() string
- func (s *TranslateECommerceResponseBodyData) SetDetectedLanguage(v string) *TranslateECommerceResponseBodyData
- func (s *TranslateECommerceResponseBodyData) SetTranslated(v string) *TranslateECommerceResponseBodyData
- func (s *TranslateECommerceResponseBodyData) SetWordCount(v string) *TranslateECommerceResponseBodyData
- func (s TranslateECommerceResponseBodyData) String() string
- type TranslateGeneralRequest
- func (s TranslateGeneralRequest) GoString() string
- func (s *TranslateGeneralRequest) SetContext(v string) *TranslateGeneralRequest
- func (s *TranslateGeneralRequest) SetFormatType(v string) *TranslateGeneralRequest
- func (s *TranslateGeneralRequest) SetScene(v string) *TranslateGeneralRequest
- func (s *TranslateGeneralRequest) SetSourceLanguage(v string) *TranslateGeneralRequest
- func (s *TranslateGeneralRequest) SetSourceText(v string) *TranslateGeneralRequest
- func (s *TranslateGeneralRequest) SetTargetLanguage(v string) *TranslateGeneralRequest
- func (s TranslateGeneralRequest) String() string
- type TranslateGeneralResponse
- func (s TranslateGeneralResponse) GoString() string
- func (s *TranslateGeneralResponse) SetBody(v *TranslateGeneralResponseBody) *TranslateGeneralResponse
- func (s *TranslateGeneralResponse) SetHeaders(v map[string]*string) *TranslateGeneralResponse
- func (s *TranslateGeneralResponse) SetStatusCode(v int32) *TranslateGeneralResponse
- func (s TranslateGeneralResponse) String() string
- type TranslateGeneralResponseBody
- func (s TranslateGeneralResponseBody) GoString() string
- func (s *TranslateGeneralResponseBody) SetCode(v int32) *TranslateGeneralResponseBody
- func (s *TranslateGeneralResponseBody) SetData(v *TranslateGeneralResponseBodyData) *TranslateGeneralResponseBody
- func (s *TranslateGeneralResponseBody) SetMessage(v string) *TranslateGeneralResponseBody
- func (s *TranslateGeneralResponseBody) SetRequestId(v string) *TranslateGeneralResponseBody
- func (s TranslateGeneralResponseBody) String() string
- type TranslateGeneralResponseBodyData
- func (s TranslateGeneralResponseBodyData) GoString() string
- func (s *TranslateGeneralResponseBodyData) SetDetectedLanguage(v string) *TranslateGeneralResponseBodyData
- func (s *TranslateGeneralResponseBodyData) SetTranslated(v string) *TranslateGeneralResponseBodyData
- func (s *TranslateGeneralResponseBodyData) SetWordCount(v string) *TranslateGeneralResponseBodyData
- func (s TranslateGeneralResponseBodyData) String() string
- type TranslateGeneralVpcRequest
- func (s TranslateGeneralVpcRequest) GoString() string
- func (s *TranslateGeneralVpcRequest) SetContext(v string) *TranslateGeneralVpcRequest
- func (s *TranslateGeneralVpcRequest) SetFormatType(v string) *TranslateGeneralVpcRequest
- func (s *TranslateGeneralVpcRequest) SetScene(v string) *TranslateGeneralVpcRequest
- func (s *TranslateGeneralVpcRequest) SetSourceLanguage(v string) *TranslateGeneralVpcRequest
- func (s *TranslateGeneralVpcRequest) SetSourceText(v string) *TranslateGeneralVpcRequest
- func (s *TranslateGeneralVpcRequest) SetTargetLanguage(v string) *TranslateGeneralVpcRequest
- func (s TranslateGeneralVpcRequest) String() string
- type TranslateGeneralVpcResponse
- func (s TranslateGeneralVpcResponse) GoString() string
- func (s *TranslateGeneralVpcResponse) SetBody(v *TranslateGeneralVpcResponseBody) *TranslateGeneralVpcResponse
- func (s *TranslateGeneralVpcResponse) SetHeaders(v map[string]*string) *TranslateGeneralVpcResponse
- func (s *TranslateGeneralVpcResponse) SetStatusCode(v int32) *TranslateGeneralVpcResponse
- func (s TranslateGeneralVpcResponse) String() string
- type TranslateGeneralVpcResponseBody
- func (s TranslateGeneralVpcResponseBody) GoString() string
- func (s *TranslateGeneralVpcResponseBody) SetCode(v int32) *TranslateGeneralVpcResponseBody
- func (s *TranslateGeneralVpcResponseBody) SetData(v *TranslateGeneralVpcResponseBodyData) *TranslateGeneralVpcResponseBody
- func (s *TranslateGeneralVpcResponseBody) SetMessage(v string) *TranslateGeneralVpcResponseBody
- func (s *TranslateGeneralVpcResponseBody) SetRequestId(v string) *TranslateGeneralVpcResponseBody
- func (s TranslateGeneralVpcResponseBody) String() string
- type TranslateGeneralVpcResponseBodyData
- func (s TranslateGeneralVpcResponseBodyData) GoString() string
- func (s *TranslateGeneralVpcResponseBodyData) SetDetectedLanguage(v string) *TranslateGeneralVpcResponseBodyData
- func (s *TranslateGeneralVpcResponseBodyData) SetTranslated(v string) *TranslateGeneralVpcResponseBodyData
- func (s *TranslateGeneralVpcResponseBodyData) SetWordCount(v string) *TranslateGeneralVpcResponseBodyData
- func (s TranslateGeneralVpcResponseBodyData) String() string
- type TranslateImageBatchRequest
- func (s TranslateImageBatchRequest) GoString() string
- func (s *TranslateImageBatchRequest) SetCustomTaskId(v string) *TranslateImageBatchRequest
- func (s *TranslateImageBatchRequest) SetExt(v string) *TranslateImageBatchRequest
- func (s *TranslateImageBatchRequest) SetField(v string) *TranslateImageBatchRequest
- func (s *TranslateImageBatchRequest) SetImageUrls(v string) *TranslateImageBatchRequest
- func (s *TranslateImageBatchRequest) SetSourceLanguage(v string) *TranslateImageBatchRequest
- func (s *TranslateImageBatchRequest) SetTargetLanguage(v string) *TranslateImageBatchRequest
- func (s TranslateImageBatchRequest) String() string
- type TranslateImageBatchResponse
- func (s TranslateImageBatchResponse) GoString() string
- func (s *TranslateImageBatchResponse) SetBody(v *TranslateImageBatchResponseBody) *TranslateImageBatchResponse
- func (s *TranslateImageBatchResponse) SetHeaders(v map[string]*string) *TranslateImageBatchResponse
- func (s *TranslateImageBatchResponse) SetStatusCode(v int32) *TranslateImageBatchResponse
- func (s TranslateImageBatchResponse) String() string
- type TranslateImageBatchResponseBody
- func (s TranslateImageBatchResponseBody) GoString() string
- func (s *TranslateImageBatchResponseBody) SetCode(v int32) *TranslateImageBatchResponseBody
- func (s *TranslateImageBatchResponseBody) SetData(v *TranslateImageBatchResponseBodyData) *TranslateImageBatchResponseBody
- func (s *TranslateImageBatchResponseBody) SetMessage(v string) *TranslateImageBatchResponseBody
- func (s *TranslateImageBatchResponseBody) SetRequestId(v string) *TranslateImageBatchResponseBody
- func (s TranslateImageBatchResponseBody) String() string
- type TranslateImageBatchResponseBodyData
- type TranslateImageRequest
- func (s TranslateImageRequest) GoString() string
- func (s *TranslateImageRequest) SetExt(v string) *TranslateImageRequest
- func (s *TranslateImageRequest) SetField(v string) *TranslateImageRequest
- func (s *TranslateImageRequest) SetImageBase64(v string) *TranslateImageRequest
- func (s *TranslateImageRequest) SetImageUrl(v string) *TranslateImageRequest
- func (s *TranslateImageRequest) SetSourceLanguage(v string) *TranslateImageRequest
- func (s *TranslateImageRequest) SetTargetLanguage(v string) *TranslateImageRequest
- func (s TranslateImageRequest) String() string
- type TranslateImageResponse
- func (s TranslateImageResponse) GoString() string
- func (s *TranslateImageResponse) SetBody(v *TranslateImageResponseBody) *TranslateImageResponse
- func (s *TranslateImageResponse) SetHeaders(v map[string]*string) *TranslateImageResponse
- func (s *TranslateImageResponse) SetStatusCode(v int32) *TranslateImageResponse
- func (s TranslateImageResponse) String() string
- type TranslateImageResponseBody
- func (s TranslateImageResponseBody) GoString() string
- func (s *TranslateImageResponseBody) SetCode(v int32) *TranslateImageResponseBody
- func (s *TranslateImageResponseBody) SetData(v *TranslateImageResponseBodyData) *TranslateImageResponseBody
- func (s *TranslateImageResponseBody) SetMessage(v string) *TranslateImageResponseBody
- func (s *TranslateImageResponseBody) SetRequestId(v string) *TranslateImageResponseBody
- func (s TranslateImageResponseBody) String() string
- type TranslateImageResponseBodyData
- func (s TranslateImageResponseBodyData) GoString() string
- func (s *TranslateImageResponseBodyData) SetFinalImageUrl(v string) *TranslateImageResponseBodyData
- func (s *TranslateImageResponseBodyData) SetInPaintingUrl(v string) *TranslateImageResponseBodyData
- func (s *TranslateImageResponseBodyData) SetTemplateJson(v string) *TranslateImageResponseBodyData
- func (s TranslateImageResponseBodyData) String() string
- type TranslateRequest
- func (s TranslateRequest) GoString() string
- func (s *TranslateRequest) SetContext(v string) *TranslateRequest
- func (s *TranslateRequest) SetFormatType(v string) *TranslateRequest
- func (s *TranslateRequest) SetScene(v string) *TranslateRequest
- func (s *TranslateRequest) SetSourceLanguage(v string) *TranslateRequest
- func (s *TranslateRequest) SetSourceText(v string) *TranslateRequest
- func (s *TranslateRequest) SetTargetLanguage(v string) *TranslateRequest
- func (s TranslateRequest) String() string
- type TranslateResponse
- func (s TranslateResponse) GoString() string
- func (s *TranslateResponse) SetBody(v *TranslateResponseBody) *TranslateResponse
- func (s *TranslateResponse) SetHeaders(v map[string]*string) *TranslateResponse
- func (s *TranslateResponse) SetStatusCode(v int32) *TranslateResponse
- func (s TranslateResponse) String() string
- type TranslateResponseBody
- func (s TranslateResponseBody) GoString() string
- func (s *TranslateResponseBody) SetCode(v int32) *TranslateResponseBody
- func (s *TranslateResponseBody) SetData(v *TranslateResponseBodyData) *TranslateResponseBody
- func (s *TranslateResponseBody) SetMessage(v string) *TranslateResponseBody
- func (s *TranslateResponseBody) SetRequestId(v string) *TranslateResponseBody
- func (s TranslateResponseBody) String() string
- type TranslateResponseBodyData
- func (s TranslateResponseBodyData) GoString() string
- func (s *TranslateResponseBodyData) SetDetectedLanguage(v string) *TranslateResponseBodyData
- func (s *TranslateResponseBodyData) SetTranslated(v string) *TranslateResponseBodyData
- func (s *TranslateResponseBodyData) SetWordCount(v string) *TranslateResponseBodyData
- func (s TranslateResponseBodyData) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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) 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) 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 (s *CreateAsyncTranslateRequest) SetApiType(v string) *CreateAsyncTranslateRequest
func (*CreateAsyncTranslateRequest) SetFormatType ¶ added in v2.2.0
func (s *CreateAsyncTranslateRequest) SetFormatType(v string) *CreateAsyncTranslateRequest
func (*CreateAsyncTranslateRequest) SetScene ¶ added in v2.2.0
func (s *CreateAsyncTranslateRequest) SetScene(v string) *CreateAsyncTranslateRequest
func (*CreateAsyncTranslateRequest) SetSourceLanguage ¶ added in v2.2.0
func (s *CreateAsyncTranslateRequest) SetSourceLanguage(v string) *CreateAsyncTranslateRequest
func (*CreateAsyncTranslateRequest) SetSourceText ¶ added in v2.2.0
func (s *CreateAsyncTranslateRequest) SetSourceText(v string) *CreateAsyncTranslateRequest
func (*CreateAsyncTranslateRequest) SetTargetLanguage ¶ added in v2.2.0
func (s *CreateAsyncTranslateRequest) SetTargetLanguage(v string) *CreateAsyncTranslateRequest
func (CreateAsyncTranslateRequest) String ¶ added in v2.2.0
func (s CreateAsyncTranslateRequest) String() string
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 (s *CreateAsyncTranslateResponse) SetBody(v *CreateAsyncTranslateResponseBody) *CreateAsyncTranslateResponse
func (*CreateAsyncTranslateResponse) SetHeaders ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponse) SetHeaders(v map[string]*string) *CreateAsyncTranslateResponse
func (*CreateAsyncTranslateResponse) SetStatusCode ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponse) SetStatusCode(v int32) *CreateAsyncTranslateResponse
func (CreateAsyncTranslateResponse) String ¶ added in v2.2.0
func (s CreateAsyncTranslateResponse) String() string
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 (s CreateAsyncTranslateResponseBody) GoString() string
func (*CreateAsyncTranslateResponseBody) SetCode ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponseBody) SetCode(v int32) *CreateAsyncTranslateResponseBody
func (*CreateAsyncTranslateResponseBody) SetData ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponseBody) SetData(v *CreateAsyncTranslateResponseBodyData) *CreateAsyncTranslateResponseBody
func (*CreateAsyncTranslateResponseBody) SetMessage ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponseBody) SetMessage(v string) *CreateAsyncTranslateResponseBody
func (*CreateAsyncTranslateResponseBody) SetRequestId ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponseBody) SetRequestId(v string) *CreateAsyncTranslateResponseBody
func (CreateAsyncTranslateResponseBody) String ¶ added in v2.2.0
func (s CreateAsyncTranslateResponseBody) String() string
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 (s CreateAsyncTranslateResponseBodyData) GoString() string
func (*CreateAsyncTranslateResponseBodyData) SetJobId ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponseBodyData) SetJobId(v string) *CreateAsyncTranslateResponseBodyData
func (*CreateAsyncTranslateResponseBodyData) SetStatus ¶ added in v2.2.0
func (s *CreateAsyncTranslateResponseBodyData) SetStatus(v string) *CreateAsyncTranslateResponseBodyData
func (CreateAsyncTranslateResponseBodyData) String ¶ added in v2.2.0
func (s CreateAsyncTranslateResponseBodyData) String() string
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 (s CreateDocTranslateTaskAdvanceRequest) GoString() string
func (*CreateDocTranslateTaskAdvanceRequest) SetCallbackUrl ¶
func (s *CreateDocTranslateTaskAdvanceRequest) SetCallbackUrl(v string) *CreateDocTranslateTaskAdvanceRequest
func (*CreateDocTranslateTaskAdvanceRequest) SetClientToken ¶
func (s *CreateDocTranslateTaskAdvanceRequest) SetClientToken(v string) *CreateDocTranslateTaskAdvanceRequest
func (*CreateDocTranslateTaskAdvanceRequest) SetFileUrlObject ¶
func (s *CreateDocTranslateTaskAdvanceRequest) SetFileUrlObject(v io.Reader) *CreateDocTranslateTaskAdvanceRequest
func (*CreateDocTranslateTaskAdvanceRequest) SetScene ¶
func (s *CreateDocTranslateTaskAdvanceRequest) SetScene(v string) *CreateDocTranslateTaskAdvanceRequest
func (*CreateDocTranslateTaskAdvanceRequest) SetSourceLanguage ¶
func (s *CreateDocTranslateTaskAdvanceRequest) SetSourceLanguage(v string) *CreateDocTranslateTaskAdvanceRequest
func (*CreateDocTranslateTaskAdvanceRequest) SetTargetLanguage ¶
func (s *CreateDocTranslateTaskAdvanceRequest) SetTargetLanguage(v string) *CreateDocTranslateTaskAdvanceRequest
func (CreateDocTranslateTaskAdvanceRequest) String ¶
func (s CreateDocTranslateTaskAdvanceRequest) String() 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 (s CreateDocTranslateTaskRequest) GoString() string
func (*CreateDocTranslateTaskRequest) SetCallbackUrl ¶
func (s *CreateDocTranslateTaskRequest) SetCallbackUrl(v string) *CreateDocTranslateTaskRequest
func (*CreateDocTranslateTaskRequest) SetClientToken ¶
func (s *CreateDocTranslateTaskRequest) SetClientToken(v string) *CreateDocTranslateTaskRequest
func (*CreateDocTranslateTaskRequest) SetFileUrl ¶
func (s *CreateDocTranslateTaskRequest) SetFileUrl(v string) *CreateDocTranslateTaskRequest
func (*CreateDocTranslateTaskRequest) SetScene ¶
func (s *CreateDocTranslateTaskRequest) SetScene(v string) *CreateDocTranslateTaskRequest
func (*CreateDocTranslateTaskRequest) SetSourceLanguage ¶
func (s *CreateDocTranslateTaskRequest) SetSourceLanguage(v string) *CreateDocTranslateTaskRequest
func (*CreateDocTranslateTaskRequest) SetTargetLanguage ¶
func (s *CreateDocTranslateTaskRequest) SetTargetLanguage(v string) *CreateDocTranslateTaskRequest
func (CreateDocTranslateTaskRequest) String ¶
func (s CreateDocTranslateTaskRequest) String() 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 (s CreateDocTranslateTaskResponse) GoString() string
func (*CreateDocTranslateTaskResponse) SetBody ¶
func (s *CreateDocTranslateTaskResponse) SetBody(v *CreateDocTranslateTaskResponseBody) *CreateDocTranslateTaskResponse
func (*CreateDocTranslateTaskResponse) SetHeaders ¶
func (s *CreateDocTranslateTaskResponse) SetHeaders(v map[string]*string) *CreateDocTranslateTaskResponse
func (*CreateDocTranslateTaskResponse) SetStatusCode ¶
func (s *CreateDocTranslateTaskResponse) SetStatusCode(v int32) *CreateDocTranslateTaskResponse
func (CreateDocTranslateTaskResponse) String ¶
func (s CreateDocTranslateTaskResponse) String() 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 (s CreateDocTranslateTaskResponseBody) GoString() string
func (*CreateDocTranslateTaskResponseBody) SetRequestId ¶
func (s *CreateDocTranslateTaskResponseBody) SetRequestId(v string) *CreateDocTranslateTaskResponseBody
func (*CreateDocTranslateTaskResponseBody) SetStatus ¶
func (s *CreateDocTranslateTaskResponseBody) SetStatus(v string) *CreateDocTranslateTaskResponseBody
func (*CreateDocTranslateTaskResponseBody) SetTaskId ¶
func (s *CreateDocTranslateTaskResponseBody) SetTaskId(v string) *CreateDocTranslateTaskResponseBody
func (CreateDocTranslateTaskResponseBody) String ¶
func (s CreateDocTranslateTaskResponseBody) String() 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 (s CreateImageTranslateTaskRequest) GoString() string
func (*CreateImageTranslateTaskRequest) SetClientToken ¶
func (s *CreateImageTranslateTaskRequest) SetClientToken(v string) *CreateImageTranslateTaskRequest
func (*CreateImageTranslateTaskRequest) SetExtra ¶
func (s *CreateImageTranslateTaskRequest) SetExtra(v string) *CreateImageTranslateTaskRequest
func (*CreateImageTranslateTaskRequest) SetSourceLanguage ¶
func (s *CreateImageTranslateTaskRequest) SetSourceLanguage(v string) *CreateImageTranslateTaskRequest
func (*CreateImageTranslateTaskRequest) SetTargetLanguage ¶
func (s *CreateImageTranslateTaskRequest) SetTargetLanguage(v string) *CreateImageTranslateTaskRequest
func (*CreateImageTranslateTaskRequest) SetUrlList ¶
func (s *CreateImageTranslateTaskRequest) SetUrlList(v string) *CreateImageTranslateTaskRequest
func (CreateImageTranslateTaskRequest) String ¶
func (s CreateImageTranslateTaskRequest) String() 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 (s CreateImageTranslateTaskResponse) GoString() string
func (*CreateImageTranslateTaskResponse) SetBody ¶
func (s *CreateImageTranslateTaskResponse) SetBody(v *CreateImageTranslateTaskResponseBody) *CreateImageTranslateTaskResponse
func (*CreateImageTranslateTaskResponse) SetHeaders ¶
func (s *CreateImageTranslateTaskResponse) SetHeaders(v map[string]*string) *CreateImageTranslateTaskResponse
func (*CreateImageTranslateTaskResponse) SetStatusCode ¶
func (s *CreateImageTranslateTaskResponse) SetStatusCode(v int32) *CreateImageTranslateTaskResponse
func (CreateImageTranslateTaskResponse) String ¶
func (s CreateImageTranslateTaskResponse) String() 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 (s CreateImageTranslateTaskResponseBody) GoString() string
func (*CreateImageTranslateTaskResponseBody) SetCode ¶
func (s *CreateImageTranslateTaskResponseBody) SetCode(v int32) *CreateImageTranslateTaskResponseBody
func (*CreateImageTranslateTaskResponseBody) SetMessage ¶
func (s *CreateImageTranslateTaskResponseBody) SetMessage(v string) *CreateImageTranslateTaskResponseBody
func (*CreateImageTranslateTaskResponseBody) SetRequestId ¶
func (s *CreateImageTranslateTaskResponseBody) SetRequestId(v string) *CreateImageTranslateTaskResponseBody
func (CreateImageTranslateTaskResponseBody) String ¶
func (s CreateImageTranslateTaskResponseBody) String() string
type CreateImageTranslateTaskResponseBodyData ¶
type CreateImageTranslateTaskResponseBodyData struct { // example: // // A41F6E25-8520-4AF0-90EF-111111 TaskId *string `json:"TaskId,omitempty" xml:"TaskId,omitempty"` }
func (CreateImageTranslateTaskResponseBodyData) GoString ¶
func (s CreateImageTranslateTaskResponseBodyData) GoString() string
func (*CreateImageTranslateTaskResponseBodyData) SetTaskId ¶
func (s *CreateImageTranslateTaskResponseBodyData) SetTaskId(v string) *CreateImageTranslateTaskResponseBodyData
func (CreateImageTranslateTaskResponseBodyData) String ¶
func (s CreateImageTranslateTaskResponseBodyData) String() 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 (s *GetAsyncTranslateRequest) SetJobId(v string) *GetAsyncTranslateRequest
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 (s *GetAsyncTranslateResponse) SetBody(v *GetAsyncTranslateResponseBody) *GetAsyncTranslateResponse
func (*GetAsyncTranslateResponse) SetHeaders ¶ added in v2.2.0
func (s *GetAsyncTranslateResponse) SetHeaders(v map[string]*string) *GetAsyncTranslateResponse
func (*GetAsyncTranslateResponse) SetStatusCode ¶ added in v2.2.0
func (s *GetAsyncTranslateResponse) SetStatusCode(v int32) *GetAsyncTranslateResponse
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 (s GetAsyncTranslateResponseBody) GoString() string
func (*GetAsyncTranslateResponseBody) SetCode ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBody) SetCode(v int32) *GetAsyncTranslateResponseBody
func (*GetAsyncTranslateResponseBody) SetData ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBody) SetData(v *GetAsyncTranslateResponseBodyData) *GetAsyncTranslateResponseBody
func (*GetAsyncTranslateResponseBody) SetMessage ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBody) SetMessage(v string) *GetAsyncTranslateResponseBody
func (*GetAsyncTranslateResponseBody) SetRequestId ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBody) SetRequestId(v string) *GetAsyncTranslateResponseBody
func (GetAsyncTranslateResponseBody) String ¶ added in v2.2.0
func (s GetAsyncTranslateResponseBody) String() string
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 (s GetAsyncTranslateResponseBodyData) GoString() string
func (*GetAsyncTranslateResponseBodyData) SetDetectedLanguage ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBodyData) SetDetectedLanguage(v string) *GetAsyncTranslateResponseBodyData
func (*GetAsyncTranslateResponseBodyData) SetStatus ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBodyData) SetStatus(v string) *GetAsyncTranslateResponseBodyData
func (*GetAsyncTranslateResponseBodyData) SetTranslatedText ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBodyData) SetTranslatedText(v string) *GetAsyncTranslateResponseBodyData
func (*GetAsyncTranslateResponseBodyData) SetWordCount ¶ added in v2.2.0
func (s *GetAsyncTranslateResponseBodyData) SetWordCount(v string) *GetAsyncTranslateResponseBodyData
func (GetAsyncTranslateResponseBodyData) String ¶ added in v2.2.0
func (s GetAsyncTranslateResponseBodyData) String() string
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 (s GetBatchTranslateByVPCRequest) GoString() string
func (*GetBatchTranslateByVPCRequest) SetApiType ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCRequest) SetApiType(v string) *GetBatchTranslateByVPCRequest
func (*GetBatchTranslateByVPCRequest) SetFormatType ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCRequest) SetFormatType(v string) *GetBatchTranslateByVPCRequest
func (*GetBatchTranslateByVPCRequest) SetScene ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCRequest) SetScene(v string) *GetBatchTranslateByVPCRequest
func (*GetBatchTranslateByVPCRequest) SetSourceLanguage ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCRequest) SetSourceLanguage(v string) *GetBatchTranslateByVPCRequest
func (*GetBatchTranslateByVPCRequest) SetSourceText ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCRequest) SetSourceText(v string) *GetBatchTranslateByVPCRequest
func (*GetBatchTranslateByVPCRequest) SetTargetLanguage ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCRequest) SetTargetLanguage(v string) *GetBatchTranslateByVPCRequest
func (GetBatchTranslateByVPCRequest) String ¶ added in v2.3.0
func (s GetBatchTranslateByVPCRequest) String() string
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 (s GetBatchTranslateByVPCResponse) GoString() string
func (*GetBatchTranslateByVPCResponse) SetBody ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCResponse) SetBody(v *GetBatchTranslateByVPCResponseBody) *GetBatchTranslateByVPCResponse
func (*GetBatchTranslateByVPCResponse) SetHeaders ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCResponse) SetHeaders(v map[string]*string) *GetBatchTranslateByVPCResponse
func (*GetBatchTranslateByVPCResponse) SetStatusCode ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCResponse) SetStatusCode(v int32) *GetBatchTranslateByVPCResponse
func (GetBatchTranslateByVPCResponse) String ¶ added in v2.3.0
func (s GetBatchTranslateByVPCResponse) String() string
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 (s GetBatchTranslateByVPCResponseBody) GoString() string
func (*GetBatchTranslateByVPCResponseBody) SetCode ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCResponseBody) SetCode(v int32) *GetBatchTranslateByVPCResponseBody
func (*GetBatchTranslateByVPCResponseBody) SetMessage ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCResponseBody) SetMessage(v string) *GetBatchTranslateByVPCResponseBody
func (*GetBatchTranslateByVPCResponseBody) SetRequestId ¶ added in v2.3.0
func (s *GetBatchTranslateByVPCResponseBody) SetRequestId(v string) *GetBatchTranslateByVPCResponseBody
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
func (s GetBatchTranslateByVPCResponseBody) String() string
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 (s *GetBatchTranslateRequest) SetApiType(v string) *GetBatchTranslateRequest
func (*GetBatchTranslateRequest) SetFormatType ¶
func (s *GetBatchTranslateRequest) SetFormatType(v string) *GetBatchTranslateRequest
func (*GetBatchTranslateRequest) SetScene ¶
func (s *GetBatchTranslateRequest) SetScene(v string) *GetBatchTranslateRequest
func (*GetBatchTranslateRequest) SetSourceLanguage ¶
func (s *GetBatchTranslateRequest) SetSourceLanguage(v string) *GetBatchTranslateRequest
func (*GetBatchTranslateRequest) SetSourceText ¶
func (s *GetBatchTranslateRequest) SetSourceText(v string) *GetBatchTranslateRequest
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 (s *GetBatchTranslateResponse) SetBody(v *GetBatchTranslateResponseBody) *GetBatchTranslateResponse
func (*GetBatchTranslateResponse) SetHeaders ¶
func (s *GetBatchTranslateResponse) SetHeaders(v map[string]*string) *GetBatchTranslateResponse
func (*GetBatchTranslateResponse) SetStatusCode ¶
func (s *GetBatchTranslateResponse) SetStatusCode(v int32) *GetBatchTranslateResponse
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 (s GetBatchTranslateResponseBody) GoString() string
func (*GetBatchTranslateResponseBody) SetCode ¶
func (s *GetBatchTranslateResponseBody) SetCode(v int32) *GetBatchTranslateResponseBody
func (*GetBatchTranslateResponseBody) SetMessage ¶
func (s *GetBatchTranslateResponseBody) SetMessage(v string) *GetBatchTranslateResponseBody
func (*GetBatchTranslateResponseBody) SetRequestId ¶
func (s *GetBatchTranslateResponseBody) SetRequestId(v string) *GetBatchTranslateResponseBody
func (*GetBatchTranslateResponseBody) SetTranslatedList ¶
func (s *GetBatchTranslateResponseBody) SetTranslatedList(v []map[string]interface{}) *GetBatchTranslateResponseBody
func (GetBatchTranslateResponseBody) String ¶
func (s GetBatchTranslateResponseBody) String() 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 (s *GetDetectLanguageRequest) SetSourceText(v string) *GetDetectLanguageRequest
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 (s *GetDetectLanguageResponse) SetBody(v *GetDetectLanguageResponseBody) *GetDetectLanguageResponse
func (*GetDetectLanguageResponse) SetHeaders ¶
func (s *GetDetectLanguageResponse) SetHeaders(v map[string]*string) *GetDetectLanguageResponse
func (*GetDetectLanguageResponse) SetStatusCode ¶
func (s *GetDetectLanguageResponse) SetStatusCode(v int32) *GetDetectLanguageResponse
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 (s GetDetectLanguageResponseBody) GoString() string
func (*GetDetectLanguageResponseBody) SetDetectedLanguage ¶
func (s *GetDetectLanguageResponseBody) SetDetectedLanguage(v string) *GetDetectLanguageResponseBody
func (*GetDetectLanguageResponseBody) SetLanguageProbabilities ¶ added in v2.2.1
func (s *GetDetectLanguageResponseBody) SetLanguageProbabilities(v string) *GetDetectLanguageResponseBody
func (*GetDetectLanguageResponseBody) SetRequestId ¶
func (s *GetDetectLanguageResponseBody) SetRequestId(v string) *GetDetectLanguageResponseBody
func (GetDetectLanguageResponseBody) String ¶
func (s GetDetectLanguageResponseBody) String() 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 (s *GetDocTranslateTaskRequest) SetTaskId(v string) *GetDocTranslateTaskRequest
func (GetDocTranslateTaskRequest) String ¶
func (s GetDocTranslateTaskRequest) String() 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 (s *GetDocTranslateTaskResponse) SetBody(v *GetDocTranslateTaskResponseBody) *GetDocTranslateTaskResponse
func (*GetDocTranslateTaskResponse) SetHeaders ¶
func (s *GetDocTranslateTaskResponse) SetHeaders(v map[string]*string) *GetDocTranslateTaskResponse
func (*GetDocTranslateTaskResponse) SetStatusCode ¶
func (s *GetDocTranslateTaskResponse) SetStatusCode(v int32) *GetDocTranslateTaskResponse
func (GetDocTranslateTaskResponse) String ¶
func (s GetDocTranslateTaskResponse) String() 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 (s GetDocTranslateTaskResponseBody) GoString() string
func (*GetDocTranslateTaskResponseBody) SetPageCount ¶
func (s *GetDocTranslateTaskResponseBody) SetPageCount(v int32) *GetDocTranslateTaskResponseBody
func (*GetDocTranslateTaskResponseBody) SetRequestId ¶
func (s *GetDocTranslateTaskResponseBody) SetRequestId(v string) *GetDocTranslateTaskResponseBody
func (*GetDocTranslateTaskResponseBody) SetStatus ¶
func (s *GetDocTranslateTaskResponseBody) SetStatus(v string) *GetDocTranslateTaskResponseBody
func (*GetDocTranslateTaskResponseBody) SetTaskId ¶
func (s *GetDocTranslateTaskResponseBody) SetTaskId(v string) *GetDocTranslateTaskResponseBody
func (*GetDocTranslateTaskResponseBody) SetTranslateErrorCode ¶
func (s *GetDocTranslateTaskResponseBody) SetTranslateErrorCode(v string) *GetDocTranslateTaskResponseBody
func (*GetDocTranslateTaskResponseBody) SetTranslateErrorMessage ¶
func (s *GetDocTranslateTaskResponseBody) SetTranslateErrorMessage(v string) *GetDocTranslateTaskResponseBody
func (*GetDocTranslateTaskResponseBody) SetTranslateFileUrl ¶
func (s *GetDocTranslateTaskResponseBody) SetTranslateFileUrl(v string) *GetDocTranslateTaskResponseBody
func (GetDocTranslateTaskResponseBody) String ¶
func (s GetDocTranslateTaskResponseBody) String() 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 (s *GetImageDiagnoseRequest) SetExtra(v string) *GetImageDiagnoseRequest
func (*GetImageDiagnoseRequest) SetUrl ¶
func (s *GetImageDiagnoseRequest) SetUrl(v string) *GetImageDiagnoseRequest
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 (s *GetImageDiagnoseResponse) SetBody(v *GetImageDiagnoseResponseBody) *GetImageDiagnoseResponse
func (*GetImageDiagnoseResponse) SetHeaders ¶
func (s *GetImageDiagnoseResponse) SetHeaders(v map[string]*string) *GetImageDiagnoseResponse
func (*GetImageDiagnoseResponse) SetStatusCode ¶
func (s *GetImageDiagnoseResponse) SetStatusCode(v int32) *GetImageDiagnoseResponse
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 (s *GetImageDiagnoseResponseBody) SetCode(v int32) *GetImageDiagnoseResponseBody
func (*GetImageDiagnoseResponseBody) SetData ¶
func (s *GetImageDiagnoseResponseBody) SetData(v *GetImageDiagnoseResponseBodyData) *GetImageDiagnoseResponseBody
func (*GetImageDiagnoseResponseBody) SetMessage ¶
func (s *GetImageDiagnoseResponseBody) SetMessage(v string) *GetImageDiagnoseResponseBody
func (*GetImageDiagnoseResponseBody) SetRequestId ¶
func (s *GetImageDiagnoseResponseBody) SetRequestId(v string) *GetImageDiagnoseResponseBody
func (GetImageDiagnoseResponseBody) String ¶
func (s GetImageDiagnoseResponseBody) String() string
type GetImageDiagnoseResponseBodyData ¶
type GetImageDiagnoseResponseBodyData struct { // example: // // zh Language *string `json:"Language,omitempty" xml:"Language,omitempty"` }
func (GetImageDiagnoseResponseBodyData) GoString ¶
func (s GetImageDiagnoseResponseBodyData) GoString() string
func (*GetImageDiagnoseResponseBodyData) SetLanguage ¶
func (s *GetImageDiagnoseResponseBodyData) SetLanguage(v string) *GetImageDiagnoseResponseBodyData
func (GetImageDiagnoseResponseBodyData) String ¶
func (s GetImageDiagnoseResponseBodyData) String() 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 (s *GetImageTranslateRequest) SetExtra(v string) *GetImageTranslateRequest
func (*GetImageTranslateRequest) SetSourceLanguage ¶
func (s *GetImageTranslateRequest) SetSourceLanguage(v string) *GetImageTranslateRequest
func (*GetImageTranslateRequest) SetTargetLanguage ¶
func (s *GetImageTranslateRequest) SetTargetLanguage(v string) *GetImageTranslateRequest
func (*GetImageTranslateRequest) SetUrl ¶
func (s *GetImageTranslateRequest) SetUrl(v string) *GetImageTranslateRequest
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 (s *GetImageTranslateResponse) SetBody(v *GetImageTranslateResponseBody) *GetImageTranslateResponse
func (*GetImageTranslateResponse) SetHeaders ¶
func (s *GetImageTranslateResponse) SetHeaders(v map[string]*string) *GetImageTranslateResponse
func (*GetImageTranslateResponse) SetStatusCode ¶
func (s *GetImageTranslateResponse) SetStatusCode(v int32) *GetImageTranslateResponse
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 (s GetImageTranslateResponseBody) GoString() string
func (*GetImageTranslateResponseBody) SetCode ¶
func (s *GetImageTranslateResponseBody) SetCode(v int32) *GetImageTranslateResponseBody
func (*GetImageTranslateResponseBody) SetData ¶
func (s *GetImageTranslateResponseBody) SetData(v *GetImageTranslateResponseBodyData) *GetImageTranslateResponseBody
func (*GetImageTranslateResponseBody) SetMessage ¶
func (s *GetImageTranslateResponseBody) SetMessage(v string) *GetImageTranslateResponseBody
func (*GetImageTranslateResponseBody) SetRequestId ¶
func (s *GetImageTranslateResponseBody) SetRequestId(v string) *GetImageTranslateResponseBody
func (GetImageTranslateResponseBody) String ¶
func (s GetImageTranslateResponseBody) String() 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 (s GetImageTranslateResponseBodyData) GoString() string
func (*GetImageTranslateResponseBodyData) SetOrc ¶
func (s *GetImageTranslateResponseBodyData) SetOrc(v string) *GetImageTranslateResponseBodyData
func (*GetImageTranslateResponseBodyData) SetPictureEditor ¶
func (s *GetImageTranslateResponseBodyData) SetPictureEditor(v string) *GetImageTranslateResponseBodyData
func (*GetImageTranslateResponseBodyData) SetUrl ¶
func (s *GetImageTranslateResponseBodyData) SetUrl(v string) *GetImageTranslateResponseBodyData
func (GetImageTranslateResponseBodyData) String ¶
func (s GetImageTranslateResponseBodyData) String() 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 (s *GetImageTranslateTaskRequest) SetTaskId(v string) *GetImageTranslateTaskRequest
func (GetImageTranslateTaskRequest) String ¶
func (s GetImageTranslateTaskRequest) String() 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 (s GetImageTranslateTaskResponse) GoString() string
func (*GetImageTranslateTaskResponse) SetBody ¶
func (s *GetImageTranslateTaskResponse) SetBody(v *GetImageTranslateTaskResponseBody) *GetImageTranslateTaskResponse
func (*GetImageTranslateTaskResponse) SetHeaders ¶
func (s *GetImageTranslateTaskResponse) SetHeaders(v map[string]*string) *GetImageTranslateTaskResponse
func (*GetImageTranslateTaskResponse) SetStatusCode ¶
func (s *GetImageTranslateTaskResponse) SetStatusCode(v int32) *GetImageTranslateTaskResponse
func (GetImageTranslateTaskResponse) String ¶
func (s GetImageTranslateTaskResponse) String() 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 (s GetImageTranslateTaskResponseBody) GoString() string
func (*GetImageTranslateTaskResponseBody) SetCode ¶
func (s *GetImageTranslateTaskResponseBody) SetCode(v int32) *GetImageTranslateTaskResponseBody
func (*GetImageTranslateTaskResponseBody) SetMessage ¶
func (s *GetImageTranslateTaskResponseBody) SetMessage(v string) *GetImageTranslateTaskResponseBody
func (*GetImageTranslateTaskResponseBody) SetRequestId ¶
func (s *GetImageTranslateTaskResponseBody) SetRequestId(v string) *GetImageTranslateTaskResponseBody
func (GetImageTranslateTaskResponseBody) String ¶
func (s GetImageTranslateTaskResponseBody) String() string
type GetImageTranslateTaskResponseBodyData ¶
type GetImageTranslateTaskResponseBodyData struct { // example: // // [{xxxxxx}] ImageData *string `json:"ImageData,omitempty" xml:"ImageData,omitempty"` }
func (GetImageTranslateTaskResponseBodyData) GoString ¶
func (s GetImageTranslateTaskResponseBodyData) GoString() string
func (*GetImageTranslateTaskResponseBodyData) SetImageData ¶
func (s *GetImageTranslateTaskResponseBodyData) SetImageData(v string) *GetImageTranslateTaskResponseBodyData
func (GetImageTranslateTaskResponseBodyData) String ¶
func (s GetImageTranslateTaskResponseBodyData) String() 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 (s *GetTitleDiagnoseRequest) SetCategoryId(v string) *GetTitleDiagnoseRequest
func (*GetTitleDiagnoseRequest) SetExtra ¶
func (s *GetTitleDiagnoseRequest) SetExtra(v string) *GetTitleDiagnoseRequest
func (*GetTitleDiagnoseRequest) SetLanguage ¶
func (s *GetTitleDiagnoseRequest) SetLanguage(v string) *GetTitleDiagnoseRequest
func (*GetTitleDiagnoseRequest) SetPlatform ¶
func (s *GetTitleDiagnoseRequest) SetPlatform(v string) *GetTitleDiagnoseRequest
func (*GetTitleDiagnoseRequest) SetTitle ¶
func (s *GetTitleDiagnoseRequest) SetTitle(v string) *GetTitleDiagnoseRequest
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 (s *GetTitleDiagnoseResponse) SetBody(v *GetTitleDiagnoseResponseBody) *GetTitleDiagnoseResponse
func (*GetTitleDiagnoseResponse) SetHeaders ¶
func (s *GetTitleDiagnoseResponse) SetHeaders(v map[string]*string) *GetTitleDiagnoseResponse
func (*GetTitleDiagnoseResponse) SetStatusCode ¶
func (s *GetTitleDiagnoseResponse) SetStatusCode(v int32) *GetTitleDiagnoseResponse
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 (s *GetTitleDiagnoseResponseBody) SetCode(v int32) *GetTitleDiagnoseResponseBody
func (*GetTitleDiagnoseResponseBody) SetData ¶
func (s *GetTitleDiagnoseResponseBody) SetData(v *GetTitleDiagnoseResponseBodyData) *GetTitleDiagnoseResponseBody
func (*GetTitleDiagnoseResponseBody) SetMessage ¶
func (s *GetTitleDiagnoseResponseBody) SetMessage(v string) *GetTitleDiagnoseResponseBody
func (*GetTitleDiagnoseResponseBody) SetRequestId ¶
func (s *GetTitleDiagnoseResponseBody) SetRequestId(v string) *GetTitleDiagnoseResponseBody
func (GetTitleDiagnoseResponseBody) String ¶
func (s GetTitleDiagnoseResponseBody) String() 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 (s GetTitleDiagnoseResponseBodyData) GoString() string
func (*GetTitleDiagnoseResponseBodyData) SetAllUppercaseWords ¶
func (s *GetTitleDiagnoseResponseBodyData) SetAllUppercaseWords(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetContainCoreClasses ¶
func (s *GetTitleDiagnoseResponseBodyData) SetContainCoreClasses(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetDisableWords ¶
func (s *GetTitleDiagnoseResponseBodyData) SetDisableWords(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetDuplicateWords ¶
func (s *GetTitleDiagnoseResponseBodyData) SetDuplicateWords(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetLanguageQualityScore ¶
func (s *GetTitleDiagnoseResponseBodyData) SetLanguageQualityScore(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetNoFirstUppercaseList ¶
func (s *GetTitleDiagnoseResponseBodyData) SetNoFirstUppercaseList(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetOverLengthLimit ¶
func (s *GetTitleDiagnoseResponseBodyData) SetOverLengthLimit(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetTotalScore ¶
func (s *GetTitleDiagnoseResponseBodyData) SetTotalScore(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetWordCount ¶
func (s *GetTitleDiagnoseResponseBodyData) SetWordCount(v string) *GetTitleDiagnoseResponseBodyData
func (*GetTitleDiagnoseResponseBodyData) SetWordSpelledCorrectError ¶
func (s *GetTitleDiagnoseResponseBodyData) SetWordSpelledCorrectError(v string) *GetTitleDiagnoseResponseBodyData
func (GetTitleDiagnoseResponseBodyData) String ¶
func (s GetTitleDiagnoseResponseBodyData) String() 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 (s *GetTitleGenerateRequest) SetAttributes(v string) *GetTitleGenerateRequest
func (*GetTitleGenerateRequest) SetCategoryId ¶
func (s *GetTitleGenerateRequest) SetCategoryId(v string) *GetTitleGenerateRequest
func (*GetTitleGenerateRequest) SetExtra ¶
func (s *GetTitleGenerateRequest) SetExtra(v string) *GetTitleGenerateRequest
func (*GetTitleGenerateRequest) SetHotWords ¶
func (s *GetTitleGenerateRequest) SetHotWords(v string) *GetTitleGenerateRequest
func (*GetTitleGenerateRequest) SetLanguage ¶
func (s *GetTitleGenerateRequest) SetLanguage(v string) *GetTitleGenerateRequest
func (*GetTitleGenerateRequest) SetPlatform ¶
func (s *GetTitleGenerateRequest) SetPlatform(v string) *GetTitleGenerateRequest
func (*GetTitleGenerateRequest) SetTitle ¶
func (s *GetTitleGenerateRequest) SetTitle(v string) *GetTitleGenerateRequest
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 (s *GetTitleGenerateResponse) SetBody(v *GetTitleGenerateResponseBody) *GetTitleGenerateResponse
func (*GetTitleGenerateResponse) SetHeaders ¶
func (s *GetTitleGenerateResponse) SetHeaders(v map[string]*string) *GetTitleGenerateResponse
func (*GetTitleGenerateResponse) SetStatusCode ¶
func (s *GetTitleGenerateResponse) SetStatusCode(v int32) *GetTitleGenerateResponse
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 (s *GetTitleGenerateResponseBody) SetCode(v int32) *GetTitleGenerateResponseBody
func (*GetTitleGenerateResponseBody) SetData ¶
func (s *GetTitleGenerateResponseBody) SetData(v *GetTitleGenerateResponseBodyData) *GetTitleGenerateResponseBody
func (*GetTitleGenerateResponseBody) SetMessage ¶
func (s *GetTitleGenerateResponseBody) SetMessage(v string) *GetTitleGenerateResponseBody
func (*GetTitleGenerateResponseBody) SetRequestId ¶
func (s *GetTitleGenerateResponseBody) SetRequestId(v string) *GetTitleGenerateResponseBody
func (GetTitleGenerateResponseBody) String ¶
func (s GetTitleGenerateResponseBody) String() 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 (s GetTitleGenerateResponseBodyData) GoString() string
func (*GetTitleGenerateResponseBodyData) SetTitles ¶
func (s *GetTitleGenerateResponseBodyData) SetTitles(v string) *GetTitleGenerateResponseBodyData
func (GetTitleGenerateResponseBodyData) String ¶
func (s GetTitleGenerateResponseBodyData) String() 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 (s *GetTitleIntelligenceRequest) SetCatLevelThreeId(v int64) *GetTitleIntelligenceRequest
func (*GetTitleIntelligenceRequest) SetCatLevelTwoId ¶
func (s *GetTitleIntelligenceRequest) SetCatLevelTwoId(v int64) *GetTitleIntelligenceRequest
func (*GetTitleIntelligenceRequest) SetExtra ¶
func (s *GetTitleIntelligenceRequest) SetExtra(v string) *GetTitleIntelligenceRequest
func (*GetTitleIntelligenceRequest) SetKeywords ¶
func (s *GetTitleIntelligenceRequest) SetKeywords(v string) *GetTitleIntelligenceRequest
func (*GetTitleIntelligenceRequest) SetPlatform ¶
func (s *GetTitleIntelligenceRequest) SetPlatform(v string) *GetTitleIntelligenceRequest
func (GetTitleIntelligenceRequest) String ¶
func (s GetTitleIntelligenceRequest) String() 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 (s *GetTitleIntelligenceResponse) SetBody(v *GetTitleIntelligenceResponseBody) *GetTitleIntelligenceResponse
func (*GetTitleIntelligenceResponse) SetHeaders ¶
func (s *GetTitleIntelligenceResponse) SetHeaders(v map[string]*string) *GetTitleIntelligenceResponse
func (*GetTitleIntelligenceResponse) SetStatusCode ¶
func (s *GetTitleIntelligenceResponse) SetStatusCode(v int32) *GetTitleIntelligenceResponse
func (GetTitleIntelligenceResponse) String ¶
func (s GetTitleIntelligenceResponse) String() 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 (s GetTitleIntelligenceResponseBody) GoString() string
func (*GetTitleIntelligenceResponseBody) SetCode ¶
func (s *GetTitleIntelligenceResponseBody) SetCode(v int32) *GetTitleIntelligenceResponseBody
func (*GetTitleIntelligenceResponseBody) SetData ¶
func (s *GetTitleIntelligenceResponseBody) SetData(v *GetTitleIntelligenceResponseBodyData) *GetTitleIntelligenceResponseBody
func (*GetTitleIntelligenceResponseBody) SetMessage ¶
func (s *GetTitleIntelligenceResponseBody) SetMessage(v string) *GetTitleIntelligenceResponseBody
func (*GetTitleIntelligenceResponseBody) SetRequestId ¶
func (s *GetTitleIntelligenceResponseBody) SetRequestId(v string) *GetTitleIntelligenceResponseBody
func (GetTitleIntelligenceResponseBody) String ¶
func (s GetTitleIntelligenceResponseBody) String() 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 (s GetTitleIntelligenceResponseBodyData) GoString() string
func (*GetTitleIntelligenceResponseBodyData) SetTitles ¶
func (s *GetTitleIntelligenceResponseBodyData) SetTitles(v string) *GetTitleIntelligenceResponseBodyData
func (GetTitleIntelligenceResponseBodyData) String ¶
func (s GetTitleIntelligenceResponseBodyData) String() 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 (s GetTranslateImageBatchResultRequest) GoString() string
func (*GetTranslateImageBatchResultRequest) SetTaskId ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultRequest) SetTaskId(v string) *GetTranslateImageBatchResultRequest
func (GetTranslateImageBatchResultRequest) String ¶ added in v2.0.1
func (s GetTranslateImageBatchResultRequest) String() string
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 (s GetTranslateImageBatchResultResponse) GoString() string
func (*GetTranslateImageBatchResultResponse) SetHeaders ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponse) SetHeaders(v map[string]*string) *GetTranslateImageBatchResultResponse
func (*GetTranslateImageBatchResultResponse) SetStatusCode ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponse) SetStatusCode(v int32) *GetTranslateImageBatchResultResponse
func (GetTranslateImageBatchResultResponse) String ¶ added in v2.0.1
func (s GetTranslateImageBatchResultResponse) String() string
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 (s GetTranslateImageBatchResultResponseBody) GoString() string
func (*GetTranslateImageBatchResultResponseBody) SetCode ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBody) SetCode(v int32) *GetTranslateImageBatchResultResponseBody
func (*GetTranslateImageBatchResultResponseBody) SetMessage ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBody) SetMessage(v string) *GetTranslateImageBatchResultResponseBody
func (*GetTranslateImageBatchResultResponseBody) SetRequestId ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBody) SetRequestId(v string) *GetTranslateImageBatchResultResponseBody
func (GetTranslateImageBatchResultResponseBody) String ¶ added in v2.0.1
func (s GetTranslateImageBatchResultResponseBody) String() string
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 (s GetTranslateImageBatchResultResponseBodyData) GoString() string
func (*GetTranslateImageBatchResultResponseBodyData) SetStatus ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyData) SetStatus(v string) *GetTranslateImageBatchResultResponseBodyData
func (GetTranslateImageBatchResultResponseBodyData) String ¶ added in v2.0.1
func (s GetTranslateImageBatchResultResponseBodyData) String() string
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 (s GetTranslateImageBatchResultResponseBodyDataResult) GoString() string
func (*GetTranslateImageBatchResultResponseBodyDataResult) SetFinalImageUrl ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetFinalImageUrl(v string) *GetTranslateImageBatchResultResponseBodyDataResult
func (*GetTranslateImageBatchResultResponseBodyDataResult) SetInPaintingUrl ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetInPaintingUrl(v string) *GetTranslateImageBatchResultResponseBodyDataResult
func (*GetTranslateImageBatchResultResponseBodyDataResult) SetMessage ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetMessage(v string) *GetTranslateImageBatchResultResponseBodyDataResult
func (*GetTranslateImageBatchResultResponseBodyDataResult) SetSourceImageUrl ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetSourceImageUrl(v string) *GetTranslateImageBatchResultResponseBodyDataResult
func (*GetTranslateImageBatchResultResponseBodyDataResult) SetSuccess ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetSuccess(v bool) *GetTranslateImageBatchResultResponseBodyDataResult
func (*GetTranslateImageBatchResultResponseBodyDataResult) SetTemplateJson ¶ added in v2.0.1
func (s *GetTranslateImageBatchResultResponseBodyDataResult) SetTemplateJson(v string) *GetTranslateImageBatchResultResponseBodyDataResult
func (GetTranslateImageBatchResultResponseBodyDataResult) String ¶ added in v2.0.1
func (s GetTranslateImageBatchResultResponseBodyDataResult) String() string
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 (s *GetTranslateReportRequest) SetApiName(v string) *GetTranslateReportRequest
func (*GetTranslateReportRequest) SetBeginTime ¶
func (s *GetTranslateReportRequest) SetBeginTime(v string) *GetTranslateReportRequest
func (*GetTranslateReportRequest) SetEndTime ¶
func (s *GetTranslateReportRequest) SetEndTime(v string) *GetTranslateReportRequest
func (*GetTranslateReportRequest) SetGroup ¶
func (s *GetTranslateReportRequest) SetGroup(v string) *GetTranslateReportRequest
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 (s *GetTranslateReportResponse) SetBody(v *GetTranslateReportResponseBody) *GetTranslateReportResponse
func (*GetTranslateReportResponse) SetHeaders ¶
func (s *GetTranslateReportResponse) SetHeaders(v map[string]*string) *GetTranslateReportResponse
func (*GetTranslateReportResponse) SetStatusCode ¶
func (s *GetTranslateReportResponse) SetStatusCode(v int32) *GetTranslateReportResponse
func (GetTranslateReportResponse) String ¶
func (s GetTranslateReportResponse) String() 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 (s GetTranslateReportResponseBody) GoString() string
func (*GetTranslateReportResponseBody) SetCode ¶
func (s *GetTranslateReportResponseBody) SetCode(v int32) *GetTranslateReportResponseBody
func (*GetTranslateReportResponseBody) SetData ¶
func (s *GetTranslateReportResponseBody) SetData(v string) *GetTranslateReportResponseBody
func (*GetTranslateReportResponseBody) SetMessage ¶
func (s *GetTranslateReportResponseBody) SetMessage(v string) *GetTranslateReportResponseBody
func (*GetTranslateReportResponseBody) SetRequestId ¶
func (s *GetTranslateReportResponseBody) SetRequestId(v string) *GetTranslateReportResponseBody
func (GetTranslateReportResponseBody) String ¶
func (s GetTranslateReportResponseBody) String() 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 (s *OpenAlimtServiceRequest) SetOwnerId(v int64) *OpenAlimtServiceRequest
func (*OpenAlimtServiceRequest) SetType ¶
func (s *OpenAlimtServiceRequest) SetType(v string) *OpenAlimtServiceRequest
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 (s *OpenAlimtServiceResponse) SetBody(v *OpenAlimtServiceResponseBody) *OpenAlimtServiceResponse
func (*OpenAlimtServiceResponse) SetHeaders ¶
func (s *OpenAlimtServiceResponse) SetHeaders(v map[string]*string) *OpenAlimtServiceResponse
func (*OpenAlimtServiceResponse) SetStatusCode ¶
func (s *OpenAlimtServiceResponse) SetStatusCode(v int32) *OpenAlimtServiceResponse
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 (s *OpenAlimtServiceResponseBody) SetOrderId(v string) *OpenAlimtServiceResponseBody
func (*OpenAlimtServiceResponseBody) SetRequestId ¶
func (s *OpenAlimtServiceResponseBody) SetRequestId(v string) *OpenAlimtServiceResponseBody
func (OpenAlimtServiceResponseBody) String ¶
func (s OpenAlimtServiceResponseBody) String() 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 (s TranslateCertificateAdvanceRequest) GoString() string
func (*TranslateCertificateAdvanceRequest) SetCertificateType ¶
func (s *TranslateCertificateAdvanceRequest) SetCertificateType(v string) *TranslateCertificateAdvanceRequest
func (*TranslateCertificateAdvanceRequest) SetImageUrlObject ¶
func (s *TranslateCertificateAdvanceRequest) SetImageUrlObject(v io.Reader) *TranslateCertificateAdvanceRequest
func (*TranslateCertificateAdvanceRequest) SetResultType ¶
func (s *TranslateCertificateAdvanceRequest) SetResultType(v string) *TranslateCertificateAdvanceRequest
func (*TranslateCertificateAdvanceRequest) SetSourceLanguage ¶
func (s *TranslateCertificateAdvanceRequest) SetSourceLanguage(v string) *TranslateCertificateAdvanceRequest
func (*TranslateCertificateAdvanceRequest) SetTargetLanguage ¶
func (s *TranslateCertificateAdvanceRequest) SetTargetLanguage(v string) *TranslateCertificateAdvanceRequest
func (TranslateCertificateAdvanceRequest) String ¶
func (s TranslateCertificateAdvanceRequest) String() 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 (s *TranslateCertificateRequest) SetCertificateType(v string) *TranslateCertificateRequest
func (*TranslateCertificateRequest) SetImageUrl ¶
func (s *TranslateCertificateRequest) SetImageUrl(v string) *TranslateCertificateRequest
func (*TranslateCertificateRequest) SetResultType ¶
func (s *TranslateCertificateRequest) SetResultType(v string) *TranslateCertificateRequest
func (*TranslateCertificateRequest) SetSourceLanguage ¶
func (s *TranslateCertificateRequest) SetSourceLanguage(v string) *TranslateCertificateRequest
func (*TranslateCertificateRequest) SetTargetLanguage ¶
func (s *TranslateCertificateRequest) SetTargetLanguage(v string) *TranslateCertificateRequest
func (TranslateCertificateRequest) String ¶
func (s TranslateCertificateRequest) String() 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 (s *TranslateCertificateResponse) SetBody(v *TranslateCertificateResponseBody) *TranslateCertificateResponse
func (*TranslateCertificateResponse) SetHeaders ¶
func (s *TranslateCertificateResponse) SetHeaders(v map[string]*string) *TranslateCertificateResponse
func (*TranslateCertificateResponse) SetStatusCode ¶
func (s *TranslateCertificateResponse) SetStatusCode(v int32) *TranslateCertificateResponse
func (TranslateCertificateResponse) String ¶
func (s TranslateCertificateResponse) String() 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 (s TranslateCertificateResponseBody) GoString() string
func (*TranslateCertificateResponseBody) SetData ¶
func (s *TranslateCertificateResponseBody) SetData(v *TranslateCertificateResponseBodyData) *TranslateCertificateResponseBody
func (*TranslateCertificateResponseBody) SetRequestId ¶
func (s *TranslateCertificateResponseBody) SetRequestId(v string) *TranslateCertificateResponseBody
func (TranslateCertificateResponseBody) String ¶
func (s TranslateCertificateResponseBody) String() string
type TranslateCertificateResponseBodyData ¶
type TranslateCertificateResponseBodyData struct {
TranslatedValues []*TranslateCertificateResponseBodyDataTranslatedValues `json:"TranslatedValues,omitempty" xml:"TranslatedValues,omitempty" type:"Repeated"`
}
func (TranslateCertificateResponseBodyData) GoString ¶
func (s TranslateCertificateResponseBodyData) GoString() string
func (*TranslateCertificateResponseBodyData) SetTranslatedValues ¶
func (s *TranslateCertificateResponseBodyData) SetTranslatedValues(v []*TranslateCertificateResponseBodyDataTranslatedValues) *TranslateCertificateResponseBodyData
func (TranslateCertificateResponseBodyData) String ¶
func (s TranslateCertificateResponseBodyData) String() 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 (s TranslateCertificateResponseBodyDataTranslatedValues) GoString() string
func (*TranslateCertificateResponseBodyDataTranslatedValues) SetKeyTranslation ¶
func (s *TranslateCertificateResponseBodyDataTranslatedValues) SetKeyTranslation(v string) *TranslateCertificateResponseBodyDataTranslatedValues
func (*TranslateCertificateResponseBodyDataTranslatedValues) SetValueTranslation ¶
func (s *TranslateCertificateResponseBodyDataTranslatedValues) SetValueTranslation(v string) *TranslateCertificateResponseBodyDataTranslatedValues
func (TranslateCertificateResponseBodyDataTranslatedValues) String ¶
func (s TranslateCertificateResponseBodyDataTranslatedValues) String() 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 (s *TranslateECommerceRequest) SetContext(v string) *TranslateECommerceRequest
func (*TranslateECommerceRequest) SetFormatType ¶
func (s *TranslateECommerceRequest) SetFormatType(v string) *TranslateECommerceRequest
func (*TranslateECommerceRequest) SetScene ¶
func (s *TranslateECommerceRequest) SetScene(v string) *TranslateECommerceRequest
func (*TranslateECommerceRequest) SetSourceLanguage ¶
func (s *TranslateECommerceRequest) SetSourceLanguage(v string) *TranslateECommerceRequest
func (*TranslateECommerceRequest) SetSourceText ¶
func (s *TranslateECommerceRequest) SetSourceText(v string) *TranslateECommerceRequest
func (*TranslateECommerceRequest) SetTargetLanguage ¶
func (s *TranslateECommerceRequest) SetTargetLanguage(v string) *TranslateECommerceRequest
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 (s *TranslateECommerceResponse) SetBody(v *TranslateECommerceResponseBody) *TranslateECommerceResponse
func (*TranslateECommerceResponse) SetHeaders ¶
func (s *TranslateECommerceResponse) SetHeaders(v map[string]*string) *TranslateECommerceResponse
func (*TranslateECommerceResponse) SetStatusCode ¶
func (s *TranslateECommerceResponse) SetStatusCode(v int32) *TranslateECommerceResponse
func (TranslateECommerceResponse) String ¶
func (s TranslateECommerceResponse) String() 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 (s TranslateECommerceResponseBody) GoString() string
func (*TranslateECommerceResponseBody) SetCode ¶
func (s *TranslateECommerceResponseBody) SetCode(v int32) *TranslateECommerceResponseBody
func (*TranslateECommerceResponseBody) SetData ¶
func (s *TranslateECommerceResponseBody) SetData(v *TranslateECommerceResponseBodyData) *TranslateECommerceResponseBody
func (*TranslateECommerceResponseBody) SetMessage ¶
func (s *TranslateECommerceResponseBody) SetMessage(v string) *TranslateECommerceResponseBody
func (*TranslateECommerceResponseBody) SetRequestId ¶
func (s *TranslateECommerceResponseBody) SetRequestId(v string) *TranslateECommerceResponseBody
func (TranslateECommerceResponseBody) String ¶
func (s TranslateECommerceResponseBody) String() 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 (s TranslateECommerceResponseBodyData) GoString() string
func (*TranslateECommerceResponseBodyData) SetDetectedLanguage ¶ added in v2.2.1
func (s *TranslateECommerceResponseBodyData) SetDetectedLanguage(v string) *TranslateECommerceResponseBodyData
func (*TranslateECommerceResponseBodyData) SetTranslated ¶
func (s *TranslateECommerceResponseBodyData) SetTranslated(v string) *TranslateECommerceResponseBodyData
func (*TranslateECommerceResponseBodyData) SetWordCount ¶
func (s *TranslateECommerceResponseBodyData) SetWordCount(v string) *TranslateECommerceResponseBodyData
func (TranslateECommerceResponseBodyData) String ¶
func (s TranslateECommerceResponseBodyData) String() 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 (s *TranslateGeneralRequest) SetContext(v string) *TranslateGeneralRequest
func (*TranslateGeneralRequest) SetFormatType ¶
func (s *TranslateGeneralRequest) SetFormatType(v string) *TranslateGeneralRequest
func (*TranslateGeneralRequest) SetScene ¶
func (s *TranslateGeneralRequest) SetScene(v string) *TranslateGeneralRequest
func (*TranslateGeneralRequest) SetSourceLanguage ¶
func (s *TranslateGeneralRequest) SetSourceLanguage(v string) *TranslateGeneralRequest
func (*TranslateGeneralRequest) SetSourceText ¶
func (s *TranslateGeneralRequest) SetSourceText(v string) *TranslateGeneralRequest
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 (s *TranslateGeneralResponse) SetBody(v *TranslateGeneralResponseBody) *TranslateGeneralResponse
func (*TranslateGeneralResponse) SetHeaders ¶
func (s *TranslateGeneralResponse) SetHeaders(v map[string]*string) *TranslateGeneralResponse
func (*TranslateGeneralResponse) SetStatusCode ¶
func (s *TranslateGeneralResponse) SetStatusCode(v int32) *TranslateGeneralResponse
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 (s *TranslateGeneralResponseBody) SetCode(v int32) *TranslateGeneralResponseBody
func (*TranslateGeneralResponseBody) SetData ¶
func (s *TranslateGeneralResponseBody) SetData(v *TranslateGeneralResponseBodyData) *TranslateGeneralResponseBody
func (*TranslateGeneralResponseBody) SetMessage ¶
func (s *TranslateGeneralResponseBody) SetMessage(v string) *TranslateGeneralResponseBody
func (*TranslateGeneralResponseBody) SetRequestId ¶
func (s *TranslateGeneralResponseBody) SetRequestId(v string) *TranslateGeneralResponseBody
func (TranslateGeneralResponseBody) String ¶
func (s TranslateGeneralResponseBody) String() 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 (s TranslateGeneralResponseBodyData) GoString() string
func (*TranslateGeneralResponseBodyData) SetDetectedLanguage ¶ added in v2.1.1
func (s *TranslateGeneralResponseBodyData) SetDetectedLanguage(v string) *TranslateGeneralResponseBodyData
func (*TranslateGeneralResponseBodyData) SetTranslated ¶
func (s *TranslateGeneralResponseBodyData) SetTranslated(v string) *TranslateGeneralResponseBodyData
func (*TranslateGeneralResponseBodyData) SetWordCount ¶
func (s *TranslateGeneralResponseBodyData) SetWordCount(v string) *TranslateGeneralResponseBodyData
func (TranslateGeneralResponseBodyData) String ¶
func (s TranslateGeneralResponseBodyData) String() 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 (s *TranslateGeneralVpcRequest) SetContext(v string) *TranslateGeneralVpcRequest
func (*TranslateGeneralVpcRequest) SetFormatType ¶ added in v2.3.0
func (s *TranslateGeneralVpcRequest) SetFormatType(v string) *TranslateGeneralVpcRequest
func (*TranslateGeneralVpcRequest) SetScene ¶ added in v2.3.0
func (s *TranslateGeneralVpcRequest) SetScene(v string) *TranslateGeneralVpcRequest
func (*TranslateGeneralVpcRequest) SetSourceLanguage ¶ added in v2.3.0
func (s *TranslateGeneralVpcRequest) SetSourceLanguage(v string) *TranslateGeneralVpcRequest
func (*TranslateGeneralVpcRequest) SetSourceText ¶ added in v2.3.0
func (s *TranslateGeneralVpcRequest) SetSourceText(v string) *TranslateGeneralVpcRequest
func (*TranslateGeneralVpcRequest) SetTargetLanguage ¶ added in v2.3.0
func (s *TranslateGeneralVpcRequest) SetTargetLanguage(v string) *TranslateGeneralVpcRequest
func (TranslateGeneralVpcRequest) String ¶ added in v2.3.0
func (s TranslateGeneralVpcRequest) String() string
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 (s *TranslateGeneralVpcResponse) SetBody(v *TranslateGeneralVpcResponseBody) *TranslateGeneralVpcResponse
func (*TranslateGeneralVpcResponse) SetHeaders ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponse) SetHeaders(v map[string]*string) *TranslateGeneralVpcResponse
func (*TranslateGeneralVpcResponse) SetStatusCode ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponse) SetStatusCode(v int32) *TranslateGeneralVpcResponse
func (TranslateGeneralVpcResponse) String ¶ added in v2.3.0
func (s TranslateGeneralVpcResponse) String() string
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 (s TranslateGeneralVpcResponseBody) GoString() string
func (*TranslateGeneralVpcResponseBody) SetCode ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBody) SetCode(v int32) *TranslateGeneralVpcResponseBody
func (*TranslateGeneralVpcResponseBody) SetData ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBody) SetData(v *TranslateGeneralVpcResponseBodyData) *TranslateGeneralVpcResponseBody
func (*TranslateGeneralVpcResponseBody) SetMessage ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBody) SetMessage(v string) *TranslateGeneralVpcResponseBody
func (*TranslateGeneralVpcResponseBody) SetRequestId ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBody) SetRequestId(v string) *TranslateGeneralVpcResponseBody
func (TranslateGeneralVpcResponseBody) String ¶ added in v2.3.0
func (s TranslateGeneralVpcResponseBody) String() string
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 (s TranslateGeneralVpcResponseBodyData) GoString() string
func (*TranslateGeneralVpcResponseBodyData) SetDetectedLanguage ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBodyData) SetDetectedLanguage(v string) *TranslateGeneralVpcResponseBodyData
func (*TranslateGeneralVpcResponseBodyData) SetTranslated ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBodyData) SetTranslated(v string) *TranslateGeneralVpcResponseBodyData
func (*TranslateGeneralVpcResponseBodyData) SetWordCount ¶ added in v2.3.0
func (s *TranslateGeneralVpcResponseBodyData) SetWordCount(v string) *TranslateGeneralVpcResponseBodyData
func (TranslateGeneralVpcResponseBodyData) String ¶ added in v2.3.0
func (s TranslateGeneralVpcResponseBodyData) String() string
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 (s *TranslateImageBatchRequest) SetCustomTaskId(v string) *TranslateImageBatchRequest
func (*TranslateImageBatchRequest) SetExt ¶ added in v2.0.1
func (s *TranslateImageBatchRequest) SetExt(v string) *TranslateImageBatchRequest
func (*TranslateImageBatchRequest) SetField ¶ added in v2.0.1
func (s *TranslateImageBatchRequest) SetField(v string) *TranslateImageBatchRequest
func (*TranslateImageBatchRequest) SetImageUrls ¶ added in v2.0.1
func (s *TranslateImageBatchRequest) SetImageUrls(v string) *TranslateImageBatchRequest
func (*TranslateImageBatchRequest) SetSourceLanguage ¶ added in v2.0.1
func (s *TranslateImageBatchRequest) SetSourceLanguage(v string) *TranslateImageBatchRequest
func (*TranslateImageBatchRequest) SetTargetLanguage ¶ added in v2.0.1
func (s *TranslateImageBatchRequest) SetTargetLanguage(v string) *TranslateImageBatchRequest
func (TranslateImageBatchRequest) String ¶ added in v2.0.1
func (s TranslateImageBatchRequest) String() string
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 (s *TranslateImageBatchResponse) SetBody(v *TranslateImageBatchResponseBody) *TranslateImageBatchResponse
func (*TranslateImageBatchResponse) SetHeaders ¶ added in v2.0.1
func (s *TranslateImageBatchResponse) SetHeaders(v map[string]*string) *TranslateImageBatchResponse
func (*TranslateImageBatchResponse) SetStatusCode ¶ added in v2.0.1
func (s *TranslateImageBatchResponse) SetStatusCode(v int32) *TranslateImageBatchResponse
func (TranslateImageBatchResponse) String ¶ added in v2.0.1
func (s TranslateImageBatchResponse) String() string
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 (s TranslateImageBatchResponseBody) GoString() string
func (*TranslateImageBatchResponseBody) SetCode ¶ added in v2.0.1
func (s *TranslateImageBatchResponseBody) SetCode(v int32) *TranslateImageBatchResponseBody
func (*TranslateImageBatchResponseBody) SetData ¶ added in v2.0.1
func (s *TranslateImageBatchResponseBody) SetData(v *TranslateImageBatchResponseBodyData) *TranslateImageBatchResponseBody
func (*TranslateImageBatchResponseBody) SetMessage ¶ added in v2.0.1
func (s *TranslateImageBatchResponseBody) SetMessage(v string) *TranslateImageBatchResponseBody
func (*TranslateImageBatchResponseBody) SetRequestId ¶ added in v2.0.1
func (s *TranslateImageBatchResponseBody) SetRequestId(v string) *TranslateImageBatchResponseBody
func (TranslateImageBatchResponseBody) String ¶ added in v2.0.1
func (s TranslateImageBatchResponseBody) String() string
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 (s TranslateImageBatchResponseBodyData) GoString() string
func (*TranslateImageBatchResponseBodyData) SetTaskId ¶ added in v2.0.1
func (s *TranslateImageBatchResponseBodyData) SetTaskId(v string) *TranslateImageBatchResponseBodyData
func (TranslateImageBatchResponseBodyData) String ¶ added in v2.0.1
func (s TranslateImageBatchResponseBodyData) String() string
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 (s *TranslateImageRequest) SetExt(v string) *TranslateImageRequest
func (*TranslateImageRequest) SetField ¶
func (s *TranslateImageRequest) SetField(v string) *TranslateImageRequest
func (*TranslateImageRequest) SetImageBase64 ¶
func (s *TranslateImageRequest) SetImageBase64(v string) *TranslateImageRequest
func (*TranslateImageRequest) SetImageUrl ¶
func (s *TranslateImageRequest) SetImageUrl(v string) *TranslateImageRequest
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 (s *TranslateImageResponse) SetBody(v *TranslateImageResponseBody) *TranslateImageResponse
func (*TranslateImageResponse) SetHeaders ¶
func (s *TranslateImageResponse) SetHeaders(v map[string]*string) *TranslateImageResponse
func (*TranslateImageResponse) SetStatusCode ¶
func (s *TranslateImageResponse) SetStatusCode(v int32) *TranslateImageResponse
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 (s *TranslateImageResponseBody) SetCode(v int32) *TranslateImageResponseBody
func (*TranslateImageResponseBody) SetData ¶
func (s *TranslateImageResponseBody) SetData(v *TranslateImageResponseBodyData) *TranslateImageResponseBody
func (*TranslateImageResponseBody) SetMessage ¶
func (s *TranslateImageResponseBody) SetMessage(v string) *TranslateImageResponseBody
func (*TranslateImageResponseBody) SetRequestId ¶
func (s *TranslateImageResponseBody) SetRequestId(v string) *TranslateImageResponseBody
func (TranslateImageResponseBody) String ¶
func (s TranslateImageResponseBody) String() 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 (s TranslateImageResponseBodyData) GoString() string
func (*TranslateImageResponseBodyData) SetFinalImageUrl ¶
func (s *TranslateImageResponseBodyData) SetFinalImageUrl(v string) *TranslateImageResponseBodyData
func (*TranslateImageResponseBodyData) SetInPaintingUrl ¶
func (s *TranslateImageResponseBodyData) SetInPaintingUrl(v string) *TranslateImageResponseBodyData
func (*TranslateImageResponseBodyData) SetTemplateJson ¶
func (s *TranslateImageResponseBodyData) SetTemplateJson(v string) *TranslateImageResponseBodyData
func (TranslateImageResponseBodyData) String ¶
func (s TranslateImageResponseBodyData) String() 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 (s *TranslateResponse) SetBody(v *TranslateResponseBody) *TranslateResponse
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 (s *TranslateResponseBody) SetCode(v int32) *TranslateResponseBody
func (*TranslateResponseBody) SetData ¶
func (s *TranslateResponseBody) SetData(v *TranslateResponseBodyData) *TranslateResponseBody
func (*TranslateResponseBody) SetMessage ¶
func (s *TranslateResponseBody) SetMessage(v string) *TranslateResponseBody
func (*TranslateResponseBody) SetRequestId ¶
func (s *TranslateResponseBody) SetRequestId(v string) *TranslateResponseBody
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 (s *TranslateResponseBodyData) SetTranslated(v string) *TranslateResponseBodyData
func (*TranslateResponseBodyData) SetWordCount ¶
func (s *TranslateResponseBodyData) SetWordCount(v string) *TranslateResponseBodyData
func (TranslateResponseBodyData) String ¶
func (s TranslateResponseBodyData) String() string