seaking

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

阿里翻译API model

https://open.taobao.com/API.htm?docId=51871&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlifanyiMarketAuthenticateAPIRequest added in v1.2.0

type AlibabaAlifanyiMarketAuthenticateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaAlifanyiMarketAuthenticateAPIRequest

第三方授权 API请求 alibaba.alifanyi.market.authenticate

第三方授权,获取授权码

func NewAlibabaAlifanyiMarketAuthenticateRequest

func NewAlibabaAlifanyiMarketAuthenticateRequest() *AlibabaAlifanyiMarketAuthenticateAPIRequest

NewAlibabaAlifanyiMarketAuthenticateRequest 初始化AlibabaAlifanyiMarketAuthenticateAPIRequest对象

func (AlibabaAlifanyiMarketAuthenticateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlifanyiMarketAuthenticateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlifanyiMarketAuthenticateAPIRequest) GetExpireTime added in v1.2.0

Get ExpireTime Getter

func (*AlibabaAlifanyiMarketAuthenticateAPIRequest) SetExpireTime added in v1.2.0

func (r *AlibabaAlifanyiMarketAuthenticateAPIRequest) SetExpireTime(_expireTime int64) error

Set is ExpireTime Setter 有效时长

type AlibabaAlifanyiMarketAuthenticateAPIResponse

type AlibabaAlifanyiMarketAuthenticateAPIResponse struct {
	model.CommonResponse
	AlibabaAlifanyiMarketAuthenticateAPIResponseModel
}
AlibabaAlifanyiMarketAuthenticateAPIResponse

第三方授权 API返回值 alibaba.alifanyi.market.authenticate

第三方授权,获取授权码

type AlibabaAlifanyiMarketAuthenticateAPIResponseModel added in v1.2.0

type AlibabaAlifanyiMarketAuthenticateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alifanyi_market_authenticate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 授权码
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 错误描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 接口是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlibabaAlifanyiMarketAuthenticateAPIResponseModel is 第三方授权 成功返回结果

type AlibabaAlifanyiMarketExamAPIRequest added in v1.2.0

type AlibabaAlifanyiMarketExamAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaAlifanyiMarketExamAPIRequest

通过考试用户 API请求 alibaba.alifanyi.market.exam

企业或组织购买软件服务后可参与阿里翻译在线系统的考试认证,接口返回该企业或组织认证通过的用户

func NewAlibabaAlifanyiMarketExamRequest

func NewAlibabaAlifanyiMarketExamRequest() *AlibabaAlifanyiMarketExamAPIRequest

NewAlibabaAlifanyiMarketExamRequest 初始化AlibabaAlifanyiMarketExamAPIRequest对象

func (AlibabaAlifanyiMarketExamAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAlifanyiMarketExamAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlifanyiMarketExamAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlifanyiMarketExamAPIRequest) GetReportQueryApiDTO added in v1.2.0

func (r AlibabaAlifanyiMarketExamAPIRequest) GetReportQueryApiDTO() *ReportQueryApiDto

Get ReportQueryApiDTO Getter

func (*AlibabaAlifanyiMarketExamAPIRequest) SetReportQueryApiDTO added in v1.2.0

func (r *AlibabaAlifanyiMarketExamAPIRequest) SetReportQueryApiDTO(_reportQueryApiDTO *ReportQueryApiDto) error

Set is ReportQueryApiDTO Setter 请求参数

type AlibabaAlifanyiMarketExamAPIResponse

type AlibabaAlifanyiMarketExamAPIResponse struct {
	model.CommonResponse
	AlibabaAlifanyiMarketExamAPIResponseModel
}
AlibabaAlifanyiMarketExamAPIResponse

通过考试用户 API返回值 alibaba.alifanyi.market.exam

企业或组织购买软件服务后可参与阿里翻译在线系统的考试认证,接口返回该企业或组织认证通过的用户

type AlibabaAlifanyiMarketExamAPIResponseModel added in v1.2.0

type AlibabaAlifanyiMarketExamAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alifanyi_market_exam_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ResMsgClientDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlifanyiMarketExamAPIResponseModel is 通过考试用户 成功返回结果

type AlibabaAlifanyiMarketExamData

type AlibabaAlifanyiMarketExamData struct {
	// 考试分数
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 考卷id
	ExamPaperId string `json:"exam_paper_id,omitempty" xml:"exam_paper_id,omitempty"`
	// 考卷名称
	ExamPaperName string `json:"exam_paper_name,omitempty" xml:"exam_paper_name,omitempty"`
	// 开放id
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 通过考试时间
	PassTime string `json:"pass_time,omitempty" xml:"pass_time,omitempty"`
}

AlibabaAlifanyiMarketExamData 结构体

type AlibabaAlifanyiMarketLoginAPIRequest added in v1.2.0

type AlibabaAlifanyiMarketLoginAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaAlifanyiMarketLoginAPIRequest

登陆用户 API请求 alibaba.alifanyi.market.login

企业或组织购买软件服务后可登陆阿里翻译众包系统,接口返回该企业的用户。

func NewAlibabaAlifanyiMarketLoginRequest

func NewAlibabaAlifanyiMarketLoginRequest() *AlibabaAlifanyiMarketLoginAPIRequest

NewAlibabaAlifanyiMarketLoginRequest 初始化AlibabaAlifanyiMarketLoginAPIRequest对象

func (AlibabaAlifanyiMarketLoginAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAlifanyiMarketLoginAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAlifanyiMarketLoginAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAlifanyiMarketLoginAPIRequest) GetReportQueryApiDTO added in v1.2.0

func (r AlibabaAlifanyiMarketLoginAPIRequest) GetReportQueryApiDTO() *ReportQueryApiDto

Get ReportQueryApiDTO Getter

func (*AlibabaAlifanyiMarketLoginAPIRequest) SetReportQueryApiDTO added in v1.2.0

func (r *AlibabaAlifanyiMarketLoginAPIRequest) SetReportQueryApiDTO(_reportQueryApiDTO *ReportQueryApiDto) error

Set is ReportQueryApiDTO Setter 请求参数

type AlibabaAlifanyiMarketLoginAPIResponse

type AlibabaAlifanyiMarketLoginAPIResponse struct {
	model.CommonResponse
	AlibabaAlifanyiMarketLoginAPIResponseModel
}
AlibabaAlifanyiMarketLoginAPIResponse

登陆用户 API返回值 alibaba.alifanyi.market.login

企业或组织购买软件服务后可登陆阿里翻译众包系统,接口返回该企业的用户。

type AlibabaAlifanyiMarketLoginAPIResponseModel added in v1.2.0

type AlibabaAlifanyiMarketLoginAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_alifanyi_market_login_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *ResMsgClientDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaAlifanyiMarketLoginAPIResponseModel is 登陆用户 成功返回结果

type AlibabaSeakingAititlegenerateAPIRequest added in v1.2.0

type AlibabaSeakingAititlegenerateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingAititlegenerateAPIRequest

标题智能优化 API请求 alibaba.seaking.aititlegenerate

标题智能优化

func NewAlibabaSeakingAititlegenerateRequest

func NewAlibabaSeakingAititlegenerateRequest() *AlibabaSeakingAititlegenerateAPIRequest

NewAlibabaSeakingAititlegenerateRequest 初始化AlibabaSeakingAititlegenerateAPIRequest对象

func (AlibabaSeakingAititlegenerateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingAititlegenerateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingAititlegenerateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingAititlegenerateAPIRequest) GetAttributes added in v1.2.0

Get Attributes Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetCategoryId added in v1.2.0

Get CategoryId Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetExtra added in v1.2.0

Get Extra Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetIdentifier added in v1.2.0

Get Identifier Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingAititlegenerateAPIRequest) GetIdentifierType() string

Get IdentifierType Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetLanguage added in v1.2.0

Get Language Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetPlatform added in v1.2.0

Get Platform Getter

func (AlibabaSeakingAititlegenerateAPIRequest) GetTitle added in v1.2.0

Get Title Getter

func (*AlibabaSeakingAititlegenerateAPIRequest) SetAttributes added in v1.2.0

func (r *AlibabaSeakingAititlegenerateAPIRequest) SetAttributes(_attributes string) error

Set is Attributes Setter 商品属性

func (*AlibabaSeakingAititlegenerateAPIRequest) SetCategoryId added in v1.2.0

func (r *AlibabaSeakingAititlegenerateAPIRequest) SetCategoryId(_categoryId int64) error

Set is CategoryId Setter 类目id,没有的时候传-1

func (*AlibabaSeakingAititlegenerateAPIRequest) SetExtra added in v1.2.0

Set is Extra Setter 扩展信息

func (*AlibabaSeakingAititlegenerateAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingAititlegenerateAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter erp用户id

func (*AlibabaSeakingAititlegenerateAPIRequest) SetIdentifierType added in v1.2.0

func (r *AlibabaSeakingAititlegenerateAPIRequest) SetIdentifierType(_identifierType string) error

Set is IdentifierType Setter 调用来源(erp名称)

func (*AlibabaSeakingAititlegenerateAPIRequest) SetLanguage added in v1.2.0

func (r *AlibabaSeakingAititlegenerateAPIRequest) SetLanguage(_language string) error

Set is Language Setter 语种

func (*AlibabaSeakingAititlegenerateAPIRequest) SetPlatform added in v1.2.0

func (r *AlibabaSeakingAititlegenerateAPIRequest) SetPlatform(_platform string) error

Set is Platform Setter 商品所在平台(ae/icbu)

func (*AlibabaSeakingAititlegenerateAPIRequest) SetTitle added in v1.2.0

Set is Title Setter 标题

type AlibabaSeakingAititlegenerateAPIResponse

type AlibabaSeakingAititlegenerateAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingAititlegenerateAPIResponseModel
}
AlibabaSeakingAititlegenerateAPIResponse

标题智能优化 API返回值 alibaba.seaking.aititlegenerate

标题智能优化

type AlibabaSeakingAititlegenerateAPIResponseModel added in v1.2.0

type AlibabaSeakingAititlegenerateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_aititlegenerate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 智能生成的标题列表
	ResultList []string `json:"result_list,omitempty" xml:"result_list>string,omitempty"`
}

AlibabaSeakingAititlegenerateAPIResponseModel is 标题智能优化 成功返回结果

type AlibabaSeakingAuthmachineapiAPIRequest added in v1.2.0

type AlibabaSeakingAuthmachineapiAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingAuthmachineapiAPIRequest

机翻Api授权 API请求 alibaba.seaking.authmachineapi

机翻Api授权

func NewAlibabaSeakingAuthmachineapiRequest

func NewAlibabaSeakingAuthmachineapiRequest() *AlibabaSeakingAuthmachineapiAPIRequest

NewAlibabaSeakingAuthmachineapiRequest 初始化AlibabaSeakingAuthmachineapiAPIRequest对象

func (AlibabaSeakingAuthmachineapiAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingAuthmachineapiAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifier added in v1.2.0

Get Identifier Getter

func (AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType() string

Get IdentifyType Getter

func (AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifier added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifier() string

Get SubIdentifier Getter

func (AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifyType added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifyType() string

Get SubIdentifyType Getter

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingAuthmachineapiAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter erp用户id

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetIdentifyType added in v1.2.0

func (r *AlibabaSeakingAuthmachineapiAPIRequest) SetIdentifyType(_identifyType string) error

Set is IdentifyType Setter erp名称

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetSubIdentifier added in v1.2.0

func (r *AlibabaSeakingAuthmachineapiAPIRequest) SetSubIdentifier(_subIdentifier string) error

Set is SubIdentifier Setter 店铺id(ae为cn开头的店铺id, lazada为邮箱)

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetSubIdentifyType added in v1.2.0

func (r *AlibabaSeakingAuthmachineapiAPIRequest) SetSubIdentifyType(_subIdentifyType string) error

Set is SubIdentifyType Setter 店铺所在平台

type AlibabaSeakingAuthmachineapiAPIResponse

type AlibabaSeakingAuthmachineapiAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingAuthmachineapiAPIResponseModel
}
AlibabaSeakingAuthmachineapiAPIResponse

机翻Api授权 API返回值 alibaba.seaking.authmachineapi

机翻Api授权

type AlibabaSeakingAuthmachineapiAPIResponseModel added in v1.2.0

type AlibabaSeakingAuthmachineapiAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_authmachineapi_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingAuthmachineapiAPIResponseModel is 机翻Api授权 成功返回结果

type AlibabaSeakingDiagnosistitleAPIRequest added in v1.2.0

type AlibabaSeakingDiagnosistitleAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingDiagnosistitleAPIRequest

标题诊断 API请求 alibaba.seaking.diagnosistitle

标题诊断

func NewAlibabaSeakingDiagnosistitleRequest

func NewAlibabaSeakingDiagnosistitleRequest() *AlibabaSeakingDiagnosistitleAPIRequest

NewAlibabaSeakingDiagnosistitleRequest 初始化AlibabaSeakingDiagnosistitleAPIRequest对象

func (AlibabaSeakingDiagnosistitleAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingDiagnosistitleAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingDiagnosistitleAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingDiagnosistitleAPIRequest) GetCategoryId added in v1.2.0

Get CategoryId Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetExtra added in v1.2.0

Get Extra Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifier added in v1.2.0

Get Identifier Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifierType() string

Get IdentifierType Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetLanguage added in v1.2.0

Get Language Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetPlatform added in v1.2.0

Get Platform Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetTitle added in v1.2.0

Get Title Getter

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetCategoryId added in v1.2.0

func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetCategoryId(_categoryId int64) error

Set is CategoryId Setter 类目id,没有的时候传-1

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetExtra added in v1.2.0

func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetExtra(_extra *Extra) error

Set is Extra Setter 扩展信息

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter erp用户id

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetIdentifierType added in v1.2.0

func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetIdentifierType(_identifierType string) error

Set is IdentifierType Setter 调用来源(erp名称)

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetLanguage added in v1.2.0

func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetLanguage(_language string) error

Set is Language Setter 语种

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetPlatform added in v1.2.0

func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetPlatform(_platform string) error

Set is Platform Setter 商品所在平台(ae/icbu)

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetTitle added in v1.2.0

Set is Title Setter 标题

type AlibabaSeakingDiagnosistitleAPIResponse

type AlibabaSeakingDiagnosistitleAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingDiagnosistitleAPIResponseModel
}
AlibabaSeakingDiagnosistitleAPIResponse

标题诊断 API返回值 alibaba.seaking.diagnosistitle

标题诊断

type AlibabaSeakingDiagnosistitleAPIResponseModel added in v1.2.0

type AlibabaSeakingDiagnosistitleAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_diagnosistitle_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 全大写的单词
	AllUppercaseWords []string `json:"all_uppercase_words,omitempty" xml:"all_uppercase_words>string,omitempty"`
	// 是否包含类目主词
	ContainCoreClasses bool `json:"contain_core_classes,omitempty" xml:"contain_core_classes,omitempty"`
	// 违禁词
	DisableWordList []string `json:"disable_word_list,omitempty" xml:"disable_word_list>string,omitempty"`
	// 重复的词
	DuplicateWordList []string `json:"duplicate_word_list,omitempty" xml:"duplicate_word_list>string,omitempty"`
	// 语言质量分(0-5)
	LanguageQualityScore string `json:"language_quality_score,omitempty" xml:"language_quality_score,omitempty"`
	// 首字母未大写单词
	NoFirstUppercaseWordList []string `json:"no_first_uppercase_word_list,omitempty" xml:"no_first_uppercase_word_list>string,omitempty"`
	// 标题是否超过长度限制
	OverLengthLimit bool `json:"over_length_limit,omitempty" xml:"over_length_limit,omitempty"`
	// 总分(0-100)
	TotalScore int64 `json:"total_score,omitempty" xml:"total_score,omitempty"`
	// 拼写错误的单词
	SpellErrorWordList []string `json:"spell_error_word_list,omitempty" xml:"spell_error_word_list>string,omitempty"`
}

AlibabaSeakingDiagnosistitleAPIResponseModel is 标题诊断 成功返回结果

type AlibabaSeakingFeedbackAPIRequest added in v1.2.0

type AlibabaSeakingFeedbackAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingFeedbackAPIRequest

API服务发布成功商品ID回传 API请求 alibaba.seaking.feedback

API服务发布成功商品ID回传,用于跟进商品id后续的使用情况

func NewAlibabaSeakingFeedbackRequest

func NewAlibabaSeakingFeedbackRequest() *AlibabaSeakingFeedbackAPIRequest

NewAlibabaSeakingFeedbackRequest 初始化AlibabaSeakingFeedbackAPIRequest对象

func (AlibabaSeakingFeedbackAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingFeedbackAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingFeedbackAPIRequest) GetIdentifier added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetIdentifier() string

Get Identifier Getter

func (AlibabaSeakingFeedbackAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetIdentifierType() string

Get IdentifierType Getter

func (AlibabaSeakingFeedbackAPIRequest) GetInvokeApiName added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetInvokeApiName() string

Get InvokeApiName Getter

func (AlibabaSeakingFeedbackAPIRequest) GetPlatform added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetPlatform() string

Get Platform Getter

func (AlibabaSeakingFeedbackAPIRequest) GetProductId added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetProductId() string

Get ProductId Getter

func (AlibabaSeakingFeedbackAPIRequest) GetSubIdentifier added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetSubIdentifier() string

Get SubIdentifier Getter

func (AlibabaSeakingFeedbackAPIRequest) GetSubIdentifierType added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetSubIdentifierType() string

Get SubIdentifierType Getter

func (*AlibabaSeakingFeedbackAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter erp名称

func (*AlibabaSeakingFeedbackAPIRequest) SetIdentifierType added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetIdentifierType(_identifierType string) error

Set is IdentifierType Setter erp用户id

func (*AlibabaSeakingFeedbackAPIRequest) SetInvokeApiName added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetInvokeApiName(_invokeApiName string) error

Set is InvokeApiName Setter api 接口名字

func (*AlibabaSeakingFeedbackAPIRequest) SetPlatform added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetPlatform(_platform string) error

Set is Platform Setter 商品投放平台

func (*AlibabaSeakingFeedbackAPIRequest) SetProductId added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetProductId(_productId string) error

Set is ProductId Setter 商品id

func (*AlibabaSeakingFeedbackAPIRequest) SetSubIdentifier added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetSubIdentifier(_subIdentifier string) error

Set is SubIdentifier Setter 店铺id(ae为cn开头的店铺id, lazada为邮箱)

func (*AlibabaSeakingFeedbackAPIRequest) SetSubIdentifierType added in v1.2.0

func (r *AlibabaSeakingFeedbackAPIRequest) SetSubIdentifierType(_subIdentifierType string) error

Set is SubIdentifierType Setter 店铺所在平台

type AlibabaSeakingFeedbackAPIResponse

type AlibabaSeakingFeedbackAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingFeedbackAPIResponseModel
}
AlibabaSeakingFeedbackAPIResponse

API服务发布成功商品ID回传 API返回值 alibaba.seaking.feedback

API服务发布成功商品ID回传,用于跟进商品id后续的使用情况

type AlibabaSeakingFeedbackAPIResponseModel added in v1.2.0

type AlibabaSeakingFeedbackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_feedback_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingFeedbackAPIResponseModel is API服务发布成功商品ID回传 成功返回结果

type AlibabaSeakingImagerecognizeAPIRequest added in v1.2.0

type AlibabaSeakingImagerecognizeAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingImagerecognizeAPIRequest

图片语种识别 API请求 alibaba.seaking.imagerecognize

图片语种识别

func NewAlibabaSeakingImagerecognizeRequest

func NewAlibabaSeakingImagerecognizeRequest() *AlibabaSeakingImagerecognizeAPIRequest

NewAlibabaSeakingImagerecognizeRequest 初始化AlibabaSeakingImagerecognizeAPIRequest对象

func (AlibabaSeakingImagerecognizeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingImagerecognizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingImagerecognizeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingImagerecognizeAPIRequest) GetExtra added in v1.2.0

Get Extra Getter

func (AlibabaSeakingImagerecognizeAPIRequest) GetIdentifier added in v1.2.0

Get Identifier Getter

func (AlibabaSeakingImagerecognizeAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingImagerecognizeAPIRequest) GetIdentifierType() string

Get IdentifierType Getter

func (AlibabaSeakingImagerecognizeAPIRequest) GetUrl added in v1.2.0

Get Url Getter

func (*AlibabaSeakingImagerecognizeAPIRequest) SetExtra added in v1.2.0

func (r *AlibabaSeakingImagerecognizeAPIRequest) SetExtra(_extra *Extra) error

Set is Extra Setter 扩展信息

func (*AlibabaSeakingImagerecognizeAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingImagerecognizeAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter erp用户id

func (*AlibabaSeakingImagerecognizeAPIRequest) SetIdentifierType added in v1.2.0

func (r *AlibabaSeakingImagerecognizeAPIRequest) SetIdentifierType(_identifierType string) error

Set is IdentifierType Setter 调用来源(erp名称)

func (*AlibabaSeakingImagerecognizeAPIRequest) SetUrl added in v1.2.0

Set is Url Setter 图片url

type AlibabaSeakingImagerecognizeAPIResponse

type AlibabaSeakingImagerecognizeAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagerecognizeAPIResponseModel
}
AlibabaSeakingImagerecognizeAPIResponse

图片语种识别 API返回值 alibaba.seaking.imagerecognize

图片语种识别

type AlibabaSeakingImagerecognizeAPIResponseModel added in v1.2.0

type AlibabaSeakingImagerecognizeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_imagerecognize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 识别出的图片语种
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingImagerecognizeAPIResponseModel is 图片语种识别 成功返回结果

type AlibabaSeakingImagetranslateAPIRequest added in v1.2.0

type AlibabaSeakingImagetranslateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingImagetranslateAPIRequest

图片机器翻译 API请求 alibaba.seaking.imagetranslate

图片机器翻译

func NewAlibabaSeakingImagetranslateRequest

func NewAlibabaSeakingImagetranslateRequest() *AlibabaSeakingImagetranslateAPIRequest

NewAlibabaSeakingImagetranslateRequest 初始化AlibabaSeakingImagetranslateAPIRequest对象

func (AlibabaSeakingImagetranslateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingImagetranslateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingImagetranslateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingImagetranslateAPIRequest) GetExtra added in v1.2.0

Get Extra Getter

func (AlibabaSeakingImagetranslateAPIRequest) GetIdentifier added in v1.2.0

Get Identifier Getter

func (AlibabaSeakingImagetranslateAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingImagetranslateAPIRequest) GetIdentifierType() string

Get IdentifierType Getter

func (AlibabaSeakingImagetranslateAPIRequest) GetSourceLang added in v1.2.0

Get SourceLang Getter

func (AlibabaSeakingImagetranslateAPIRequest) GetTargetLang added in v1.2.0

Get TargetLang Getter

func (AlibabaSeakingImagetranslateAPIRequest) GetUrl added in v1.2.0

Get Url Getter

func (*AlibabaSeakingImagetranslateAPIRequest) SetExtra added in v1.2.0

func (r *AlibabaSeakingImagetranslateAPIRequest) SetExtra(_extra *Extra) error

Set is Extra Setter 扩展信息

func (*AlibabaSeakingImagetranslateAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingImagetranslateAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter erp用户id

func (*AlibabaSeakingImagetranslateAPIRequest) SetIdentifierType added in v1.2.0

func (r *AlibabaSeakingImagetranslateAPIRequest) SetIdentifierType(_identifierType string) error

Set is IdentifierType Setter 调用来源(erp名称)

func (*AlibabaSeakingImagetranslateAPIRequest) SetSourceLang added in v1.2.0

func (r *AlibabaSeakingImagetranslateAPIRequest) SetSourceLang(_sourceLang string) error

Set is SourceLang Setter 源语种

func (*AlibabaSeakingImagetranslateAPIRequest) SetTargetLang added in v1.2.0

func (r *AlibabaSeakingImagetranslateAPIRequest) SetTargetLang(_targetLang string) error

Set is TargetLang Setter 目标语种

func (*AlibabaSeakingImagetranslateAPIRequest) SetUrl added in v1.2.0

Set is Url Setter 原图url

type AlibabaSeakingImagetranslateAPIResponse

type AlibabaSeakingImagetranslateAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagetranslateAPIResponseModel
}
AlibabaSeakingImagetranslateAPIResponse

图片机器翻译 API返回值 alibaba.seaking.imagetranslate

图片机器翻译

type AlibabaSeakingImagetranslateAPIResponseModel added in v1.2.0

type AlibabaSeakingImagetranslateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_imagetranslate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 译图url
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingImagetranslateAPIResponseModel is 图片机器翻译 成功返回结果

type AlibabaSeakingImagetranslateResultAPIRequest added in v1.2.0

type AlibabaSeakingImagetranslateResultAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingImagetranslateResultAPIRequest

获取图片翻译任务结果 API请求 alibaba.seaking.imagetranslate.result

获取图片翻译任务结果

func NewAlibabaSeakingImagetranslateResultRequest

func NewAlibabaSeakingImagetranslateResultRequest() *AlibabaSeakingImagetranslateResultAPIRequest

NewAlibabaSeakingImagetranslateResultRequest 初始化AlibabaSeakingImagetranslateResultAPIRequest对象

func (AlibabaSeakingImagetranslateResultAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingImagetranslateResultAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingImagetranslateResultAPIRequest) GetTaskId added in v1.2.0

Get TaskId Getter

func (AlibabaSeakingImagetranslateResultAPIRequest) GetToken added in v1.2.0

Get Token Getter

func (AlibabaSeakingImagetranslateResultAPIRequest) GetTokenFrom added in v1.2.0

Get TokenFrom Getter

func (*AlibabaSeakingImagetranslateResultAPIRequest) SetTaskId added in v1.2.0

Set is TaskId Setter 任务id

func (*AlibabaSeakingImagetranslateResultAPIRequest) SetToken added in v1.2.0

Set is Token Setter 用户token

func (*AlibabaSeakingImagetranslateResultAPIRequest) SetTokenFrom added in v1.2.0

func (r *AlibabaSeakingImagetranslateResultAPIRequest) SetTokenFrom(_tokenFrom string) error

Set is TokenFrom Setter token来源站点

type AlibabaSeakingImagetranslateResultAPIResponse

type AlibabaSeakingImagetranslateResultAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagetranslateResultAPIResponseModel
}
AlibabaSeakingImagetranslateResultAPIResponse

获取图片翻译任务结果 API返回值 alibaba.seaking.imagetranslate.result

获取图片翻译任务结果

type AlibabaSeakingImagetranslateResultAPIResponseModel added in v1.2.0

type AlibabaSeakingImagetranslateResultAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_imagetranslate_result_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaskResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingImagetranslateResultAPIResponseModel is 获取图片翻译任务结果 成功返回结果

type AlibabaSeakingImagetranslateSubmitAPIRequest added in v1.2.0

type AlibabaSeakingImagetranslateSubmitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingImagetranslateSubmitAPIRequest

提交图片翻译任务 API请求 alibaba.seaking.imagetranslate.submit

提交图片翻译任务

func NewAlibabaSeakingImagetranslateSubmitRequest

func NewAlibabaSeakingImagetranslateSubmitRequest() *AlibabaSeakingImagetranslateSubmitAPIRequest

NewAlibabaSeakingImagetranslateSubmitRequest 初始化AlibabaSeakingImagetranslateSubmitAPIRequest对象

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetImageTranslateDetailList added in v1.2.0

Get ImageTranslateDetailList Getter

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetToken added in v1.2.0

Get Token Getter

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetTokenFrom added in v1.2.0

Get TokenFrom Getter

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) SetImageTranslateDetailList added in v1.2.0

func (r *AlibabaSeakingImagetranslateSubmitAPIRequest) SetImageTranslateDetailList(_imageTranslateDetailList []ImageTranslateDetailDto) error

Set is ImageTranslateDetailList Setter 子任务列表

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) SetToken added in v1.2.0

Set is Token Setter 用户token

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) SetTokenFrom added in v1.2.0

func (r *AlibabaSeakingImagetranslateSubmitAPIRequest) SetTokenFrom(_tokenFrom string) error

Set is TokenFrom Setter token来源站点

type AlibabaSeakingImagetranslateSubmitAPIResponse

type AlibabaSeakingImagetranslateSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagetranslateSubmitAPIResponseModel
}
AlibabaSeakingImagetranslateSubmitAPIResponse

提交图片翻译任务 API返回值 alibaba.seaking.imagetranslate.submit

提交图片翻译任务

type AlibabaSeakingImagetranslateSubmitAPIResponseModel added in v1.2.0

type AlibabaSeakingImagetranslateSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_imagetranslate_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 任务id
	TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

AlibabaSeakingImagetranslateSubmitAPIResponseModel is 提交图片翻译任务 成功返回结果

type AlibabaSeakingServicepackAPIRequest added in v1.2.0

type AlibabaSeakingServicepackAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingServicepackAPIRequest

获取海王用户权限包 API请求 alibaba.seaking.servicepack

获取海王用户权限包

func NewAlibabaSeakingServicepackRequest

func NewAlibabaSeakingServicepackRequest() *AlibabaSeakingServicepackAPIRequest

NewAlibabaSeakingServicepackRequest 初始化AlibabaSeakingServicepackAPIRequest对象

func (AlibabaSeakingServicepackAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingServicepackAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingServicepackAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingServicepackAPIRequest) GetIdentifier added in v1.2.0

func (r AlibabaSeakingServicepackAPIRequest) GetIdentifier() string

Get Identifier Getter

func (AlibabaSeakingServicepackAPIRequest) GetIdentifyType added in v1.2.0

func (r AlibabaSeakingServicepackAPIRequest) GetIdentifyType() string

Get IdentifyType Getter

func (*AlibabaSeakingServicepackAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingServicepackAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter 验证类型下的唯一id

func (*AlibabaSeakingServicepackAPIRequest) SetIdentifyType added in v1.2.0

func (r *AlibabaSeakingServicepackAPIRequest) SetIdentifyType(_identifyType string) error

Set is IdentifyType Setter 验证类型

type AlibabaSeakingServicepackAPIResponse

type AlibabaSeakingServicepackAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingServicepackAPIResponseModel
}
AlibabaSeakingServicepackAPIResponse

获取海王用户权限包 API返回值 alibaba.seaking.servicepack

获取海王用户权限包

type AlibabaSeakingServicepackAPIResponseModel added in v1.2.0

type AlibabaSeakingServicepackAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_servicepack_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 权限包列表
	ServicePackList []AlibabaSeakingServicepackResult `json:"service_pack_list,omitempty" xml:"service_pack_list>alibaba_seaking_servicepack_result,omitempty"`
}

AlibabaSeakingServicepackAPIResponseModel is 获取海王用户权限包 成功返回结果

type AlibabaSeakingServicepackResult

type AlibabaSeakingServicepackResult struct {
	// 到期时间
	ValidateTo string `json:"validate_to,omitempty" xml:"validate_to,omitempty"`
	// 权限包名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 权限包id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

AlibabaSeakingServicepackResult 结构体

type AlibabaSeakingTaskReportAPIRequest added in v1.2.0

type AlibabaSeakingTaskReportAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingTaskReportAPIRequest

跳转任务发布成功商品ID回传 API请求 alibaba.seaking.task.report

跳转任务发布成功商品ID回传

func NewAlibabaSeakingTaskReportRequest

func NewAlibabaSeakingTaskReportRequest() *AlibabaSeakingTaskReportAPIRequest

NewAlibabaSeakingTaskReportRequest 初始化AlibabaSeakingTaskReportAPIRequest对象

func (AlibabaSeakingTaskReportAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingTaskReportAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingTaskReportAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTaskReportAPIRequest) GetReportDetail added in v1.2.0

Get ReportDetail Getter

func (AlibabaSeakingTaskReportAPIRequest) GetTaskType added in v1.2.0

Get TaskType Getter

func (AlibabaSeakingTaskReportAPIRequest) GetToken added in v1.2.0

Get Token Getter

func (AlibabaSeakingTaskReportAPIRequest) GetTokenFrom added in v1.2.0

func (r AlibabaSeakingTaskReportAPIRequest) GetTokenFrom() string

Get TokenFrom Getter

func (*AlibabaSeakingTaskReportAPIRequest) SetReportDetail added in v1.2.0

func (r *AlibabaSeakingTaskReportAPIRequest) SetReportDetail(_reportDetail []TaskDetailReportDto) error

Set is ReportDetail Setter 上报数据详情

func (*AlibabaSeakingTaskReportAPIRequest) SetTaskType added in v1.2.0

func (r *AlibabaSeakingTaskReportAPIRequest) SetTaskType(_taskType string) error

Set is TaskType Setter 任务类型(title/image)

func (*AlibabaSeakingTaskReportAPIRequest) SetToken added in v1.2.0

func (r *AlibabaSeakingTaskReportAPIRequest) SetToken(_token string) error

Set is Token Setter 用户token

func (*AlibabaSeakingTaskReportAPIRequest) SetTokenFrom added in v1.2.0

func (r *AlibabaSeakingTaskReportAPIRequest) SetTokenFrom(_tokenFrom string) error

Set is TokenFrom Setter token来源站点

type AlibabaSeakingTaskReportAPIResponse

type AlibabaSeakingTaskReportAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTaskReportAPIResponseModel
}
AlibabaSeakingTaskReportAPIResponse

跳转任务发布成功商品ID回传 API返回值 alibaba.seaking.task.report

跳转任务发布成功商品ID回传

type AlibabaSeakingTaskReportAPIResponseModel added in v1.2.0

type AlibabaSeakingTaskReportAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_task_report_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingTaskReportAPIResponseModel is 跳转任务发布成功商品ID回传 成功返回结果

type AlibabaSeakingTitlerewriteResultAPIRequest added in v1.2.0

type AlibabaSeakingTitlerewriteResultAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingTitlerewriteResultAPIRequest

获取标题改写任务结果 API请求 alibaba.seaking.titlerewrite.result

获取标题改写任务结果

func NewAlibabaSeakingTitlerewriteResultRequest

func NewAlibabaSeakingTitlerewriteResultRequest() *AlibabaSeakingTitlerewriteResultAPIRequest

NewAlibabaSeakingTitlerewriteResultRequest 初始化AlibabaSeakingTitlerewriteResultAPIRequest对象

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetTaskId added in v1.2.0

Get TaskId Getter

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetToken added in v1.2.0

Get Token Getter

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetTokenFrom added in v1.2.0

Get TokenFrom Getter

func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetTaskId added in v1.2.0

Set is TaskId Setter 任务id

func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetToken added in v1.2.0

Set is Token Setter 用户token

func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetTokenFrom added in v1.2.0

func (r *AlibabaSeakingTitlerewriteResultAPIRequest) SetTokenFrom(_tokenFrom string) error

Set is TokenFrom Setter token来源站点

type AlibabaSeakingTitlerewriteResultAPIResponse

type AlibabaSeakingTitlerewriteResultAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTitlerewriteResultAPIResponseModel
}
AlibabaSeakingTitlerewriteResultAPIResponse

获取标题改写任务结果 API返回值 alibaba.seaking.titlerewrite.result

获取标题改写任务结果

type AlibabaSeakingTitlerewriteResultAPIResponseModel added in v1.2.0

type AlibabaSeakingTitlerewriteResultAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_titlerewrite_result_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaskResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingTitlerewriteResultAPIResponseModel is 获取标题改写任务结果 成功返回结果

type AlibabaSeakingTitlerewriteSubmitAPIRequest added in v1.2.0

type AlibabaSeakingTitlerewriteSubmitAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingTitlerewriteSubmitAPIRequest

提交标题改写任务 API请求 alibaba.seaking.titlerewrite.submit

提交标题改写任务

func NewAlibabaSeakingTitlerewriteSubmitRequest

func NewAlibabaSeakingTitlerewriteSubmitRequest() *AlibabaSeakingTitlerewriteSubmitAPIRequest

NewAlibabaSeakingTitlerewriteSubmitRequest 初始化AlibabaSeakingTitlerewriteSubmitAPIRequest对象

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTitleRewriteDetailList added in v1.2.0

func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTitleRewriteDetailList() []TitleRewriteDetailDto

Get TitleRewriteDetailList Getter

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetToken added in v1.2.0

Get Token Getter

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTokenFrom added in v1.2.0

Get TokenFrom Getter

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) SetTitleRewriteDetailList added in v1.2.0

func (r *AlibabaSeakingTitlerewriteSubmitAPIRequest) SetTitleRewriteDetailList(_titleRewriteDetailList []TitleRewriteDetailDto) error

Set is TitleRewriteDetailList Setter 任务详情列表

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) SetToken added in v1.2.0

Set is Token Setter 用户token

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) SetTokenFrom added in v1.2.0

func (r *AlibabaSeakingTitlerewriteSubmitAPIRequest) SetTokenFrom(_tokenFrom string) error

Set is TokenFrom Setter token来源站点

type AlibabaSeakingTitlerewriteSubmitAPIResponse

type AlibabaSeakingTitlerewriteSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTitlerewriteSubmitAPIResponseModel
}
AlibabaSeakingTitlerewriteSubmitAPIResponse

提交标题改写任务 API返回值 alibaba.seaking.titlerewrite.submit

提交标题改写任务

type AlibabaSeakingTitlerewriteSubmitAPIResponseModel added in v1.2.0

type AlibabaSeakingTitlerewriteSubmitAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_titlerewrite_submit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 任务id
	TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

AlibabaSeakingTitlerewriteSubmitAPIResponseModel is 提交标题改写任务 成功返回结果

type AlibabaSeakingTranslateAPIRequest added in v1.2.0

type AlibabaSeakingTranslateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}
AlibabaSeakingTranslateAPIRequest

MT定制接口 API请求 alibaba.seaking.translate

MT定制接口

func NewAlibabaSeakingTranslateRequest

func NewAlibabaSeakingTranslateRequest() *AlibabaSeakingTranslateAPIRequest

NewAlibabaSeakingTranslateRequest 初始化AlibabaSeakingTranslateAPIRequest对象

func (AlibabaSeakingTranslateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaSeakingTranslateAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTranslateAPIRequest) GetExtra added in v1.2.0

Get Extra Getter

func (AlibabaSeakingTranslateAPIRequest) GetFieldType added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetFieldType() string

Get FieldType Getter

func (AlibabaSeakingTranslateAPIRequest) GetIdentifier added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetIdentifier() string

Get Identifier Getter

func (AlibabaSeakingTranslateAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetIdentifierType() string

Get IdentifierType Getter

func (AlibabaSeakingTranslateAPIRequest) GetSourceFormat added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetSourceFormat() string

Get SourceFormat Getter

func (AlibabaSeakingTranslateAPIRequest) GetSourceLang added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetSourceLang() string

Get SourceLang Getter

func (AlibabaSeakingTranslateAPIRequest) GetSourceText added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetSourceText() string

Get SourceText Getter

func (AlibabaSeakingTranslateAPIRequest) GetTargetLang added in v1.2.0

func (r AlibabaSeakingTranslateAPIRequest) GetTargetLang() string

Get TargetLang Getter

func (*AlibabaSeakingTranslateAPIRequest) SetExtra added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetExtra(_extra *Extra) error

Set is Extra Setter 扩展信息

func (*AlibabaSeakingTranslateAPIRequest) SetFieldType added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetFieldType(_fieldType string) error

Set is FieldType Setter 原文类型(title: 标题/offer: 详描/message: 消息)

func (*AlibabaSeakingTranslateAPIRequest) SetIdentifier added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetIdentifier(_identifier string) error

Set is Identifier Setter 定制用户id

func (*AlibabaSeakingTranslateAPIRequest) SetIdentifierType added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetIdentifierType(_identifierType string) error

Set is IdentifierType Setter 定制用户类型

func (*AlibabaSeakingTranslateAPIRequest) SetSourceFormat added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetSourceFormat(_sourceFormat string) error

Set is SourceFormat Setter 原文格式(text/html)

func (*AlibabaSeakingTranslateAPIRequest) SetSourceLang added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetSourceLang(_sourceLang string) error

Set is SourceLang Setter 源语种

func (*AlibabaSeakingTranslateAPIRequest) SetSourceText added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetSourceText(_sourceText string) error

Set is SourceText Setter 原文

func (*AlibabaSeakingTranslateAPIRequest) SetTargetLang added in v1.2.0

func (r *AlibabaSeakingTranslateAPIRequest) SetTargetLang(_targetLang string) error

Set is TargetLang Setter 目标语种

type AlibabaSeakingTranslateAPIResponse

type AlibabaSeakingTranslateAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTranslateAPIResponseModel
}
AlibabaSeakingTranslateAPIResponse

MT定制接口 API返回值 alibaba.seaking.translate

MT定制接口

type AlibabaSeakingTranslateAPIResponseModel added in v1.2.0

type AlibabaSeakingTranslateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_seaking_translate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 译文
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaSeakingTranslateAPIResponseModel is MT定制接口 成功返回结果

type Extra

type Extra struct {
	// 店铺所在平台
	SubIdentifier string `json:"sub_identifier,omitempty" xml:"sub_identifier,omitempty"`
	// 店铺id
	SubIdentifyType string `json:"sub_identify_type,omitempty" xml:"sub_identify_type,omitempty"`
	// 商品id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品所在平台
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 是否需要orc信息
	HaveOrc string `json:"have_orc,omitempty" xml:"have_orc,omitempty"`
}

Extra 结构体

type ImageTranslateDetailDto

type ImageTranslateDetailDto struct {
	// 目标语种
	TargetLang string `json:"target_lang,omitempty" xml:"target_lang,omitempty"`
	// 源语种
	SourceLang string `json:"source_lang,omitempty" xml:"source_lang,omitempty"`
	// 图片url
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品所在平台(ae/lazada))
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 子任务编号,从1开始,必须连续
	Idx int64 `json:"idx,omitempty" xml:"idx,omitempty"`
}

ImageTranslateDetailDto 结构体

type ReportQueryApiDto

type ReportQueryApiDto struct {
	// 请求日期
	QueryDate string `json:"query_date,omitempty" xml:"query_date,omitempty"`
	// 每页size
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页码
	Page int64 `json:"page,omitempty" xml:"page,omitempty"`
	// 业务类型
	Biz string `json:"biz,omitempty" xml:"biz,omitempty"`
}

ReportQueryApiDto 结构体

type ResMsgClientDto

type ResMsgClientDto struct {
	// 考试结果
	List []AlibabaAlifanyiMarketExamData `json:"list,omitempty" xml:"list>alibaba_alifanyi_market_exam_data,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 错误码
	BizErrorCode int64 `json:"biz_error_code,omitempty" xml:"biz_error_code,omitempty"`
	// 开放ids
	DataList []string `json:"data_list,omitempty" xml:"data_list>string,omitempty"`
}

ResMsgClientDto 结构体

type TaskDetailReportDto

type TaskDetailReportDto struct {
	// 子任务编号,不填则表示更新所有子任务
	Idx int64 `json:"idx,omitempty" xml:"idx,omitempty"`
	// 商品所在平台(ae/lazada))
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 任务id
	TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"`
}

TaskDetailReportDto 结构体

type TaskResultDetailDto

type TaskResultDetailDto struct {
	// 图片翻译结果
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 子任务状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 子任务编号
	Idx int64 `json:"idx,omitempty" xml:"idx,omitempty"`
}

TaskResultDetailDto 结构体

type TaskResultDto

type TaskResultDto struct {
	// 完成的任务数
	FinishedCount int64 `json:"finished_count,omitempty" xml:"finished_count,omitempty"`
	// 总计任务数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 任务状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 子任务列表
	TaskResultDetailList []TaskResultDetailDto `json:"task_result_detail_list,omitempty" xml:"task_result_detail_list>task_result_detail_dto,omitempty"`
}

TaskResultDto 结构体

type TitleRewriteDetailDto

type TitleRewriteDetailDto struct {
	// 目标语种
	TargetLang string `json:"target_lang,omitempty" xml:"target_lang,omitempty"`
	// 源语种
	SourceLang string `json:"source_lang,omitempty" xml:"source_lang,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 商品所在平台(ae/lazada)
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 子任务编号,从1开始,必须连续
	Idx int64 `json:"idx,omitempty" xml:"idx,omitempty"`
	// 商品图片
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
}

TitleRewriteDetailDto 结构体

Source Files

Jump to

Keyboard shortcuts

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