Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) TranslateECommerce(request *TranslateECommerceRequest) (_result *TranslateECommerceResponse, _err error)
- func (client *Client) TranslateECommerceWithOptions(request *TranslateECommerceRequest, runtime *util.RuntimeOptions) (_result *TranslateECommerceResponse, _err error)
- func (client *Client) TranslateGeneral(request *TranslateGeneralRequest) (_result *TranslateGeneralResponse, _err error)
- func (client *Client) TranslateGeneralWithOptions(request *TranslateGeneralRequest, runtime *util.RuntimeOptions) (_result *TranslateGeneralResponse, _err error)
- type TranslateECommerceRequest
- func (s TranslateECommerceRequest) GoString() string
- 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
- type TranslateGeneralRequest
- func (s TranslateGeneralRequest) GoString() string
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetEndpoint ¶
func (*Client) TranslateECommerce ¶
func (client *Client) TranslateECommerce(request *TranslateECommerceRequest) (_result *TranslateECommerceResponse, _err error)
func (*Client) TranslateECommerceWithOptions ¶
func (client *Client) TranslateECommerceWithOptions(request *TranslateECommerceRequest, runtime *util.RuntimeOptions) (_result *TranslateECommerceResponse, _err error)
func (*Client) TranslateGeneral ¶
func (client *Client) TranslateGeneral(request *TranslateGeneralRequest) (_result *TranslateGeneralResponse, _err error)
func (*Client) TranslateGeneralWithOptions ¶
func (client *Client) TranslateGeneralWithOptions(request *TranslateGeneralRequest, runtime *util.RuntimeOptions) (_result *TranslateGeneralResponse, _err error)
type TranslateECommerceRequest ¶
type TranslateECommerceRequest struct { FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"` Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"` SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"` SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"` TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"` }
func (TranslateECommerceRequest) GoString ¶
func (s TranslateECommerceRequest) GoString() string
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 { Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data *TranslateECommerceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` 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 {
Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
}
func (TranslateECommerceResponseBodyData) GoString ¶
func (s TranslateECommerceResponseBodyData) GoString() string
func (*TranslateECommerceResponseBodyData) SetTranslated ¶
func (s *TranslateECommerceResponseBodyData) SetTranslated(v string) *TranslateECommerceResponseBodyData
func (TranslateECommerceResponseBodyData) String ¶
func (s TranslateECommerceResponseBodyData) String() string
type TranslateGeneralRequest ¶
type TranslateGeneralRequest struct { FormatType *string `json:"FormatType,omitempty" xml:"FormatType,omitempty"` Scene *string `json:"Scene,omitempty" xml:"Scene,omitempty"` SourceLanguage *string `json:"SourceLanguage,omitempty" xml:"SourceLanguage,omitempty"` SourceText *string `json:"SourceText,omitempty" xml:"SourceText,omitempty"` TargetLanguage *string `json:"TargetLanguage,omitempty" xml:"TargetLanguage,omitempty"` }
func (TranslateGeneralRequest) GoString ¶
func (s TranslateGeneralRequest) GoString() string
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 { Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data *TranslateGeneralResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` 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 {
Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
}
func (TranslateGeneralResponseBodyData) GoString ¶
func (s TranslateGeneralResponseBodyData) GoString() string
func (*TranslateGeneralResponseBodyData) SetTranslated ¶
func (s *TranslateGeneralResponseBodyData) SetTranslated(v string) *TranslateGeneralResponseBodyData
func (TranslateGeneralResponseBodyData) String ¶
func (s TranslateGeneralResponseBodyData) String() string
Click to show internal directories.
Click to hide internal directories.