seaking

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package seaking 包含阿里翻译API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaSeakingAuthmachineapiAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingAuthmachineapiAPIRequest(v *AlibabaSeakingAuthmachineapiAPIRequest)

ReleaseAlibabaSeakingAuthmachineapiAPIRequest 将 AlibabaSeakingAuthmachineapiAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingAuthmachineapiAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingAuthmachineapiAPIResponse(v *AlibabaSeakingAuthmachineapiAPIResponse)

ReleaseAlibabaSeakingAuthmachineapiAPIResponse 将 AlibabaSeakingAuthmachineapiAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingDiagnosistitleAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingDiagnosistitleAPIRequest(v *AlibabaSeakingDiagnosistitleAPIRequest)

ReleaseAlibabaSeakingDiagnosistitleAPIRequest 将 AlibabaSeakingDiagnosistitleAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingDiagnosistitleAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingDiagnosistitleAPIResponse(v *AlibabaSeakingDiagnosistitleAPIResponse)

ReleaseAlibabaSeakingDiagnosistitleAPIResponse 将 AlibabaSeakingDiagnosistitleAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingFeedbackAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingFeedbackAPIRequest(v *AlibabaSeakingFeedbackAPIRequest)

ReleaseAlibabaSeakingFeedbackAPIRequest 将 AlibabaSeakingFeedbackAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingFeedbackAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingFeedbackAPIResponse(v *AlibabaSeakingFeedbackAPIResponse)

ReleaseAlibabaSeakingFeedbackAPIResponse 将 AlibabaSeakingFeedbackAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingImagetranslateResultAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingImagetranslateResultAPIRequest(v *AlibabaSeakingImagetranslateResultAPIRequest)

ReleaseAlibabaSeakingImagetranslateResultAPIRequest 将 AlibabaSeakingImagetranslateResultAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingImagetranslateResultAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingImagetranslateResultAPIResponse(v *AlibabaSeakingImagetranslateResultAPIResponse)

ReleaseAlibabaSeakingImagetranslateResultAPIResponse 将 AlibabaSeakingImagetranslateResultAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingImagetranslateSubmitAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingImagetranslateSubmitAPIRequest(v *AlibabaSeakingImagetranslateSubmitAPIRequest)

ReleaseAlibabaSeakingImagetranslateSubmitAPIRequest 将 AlibabaSeakingImagetranslateSubmitAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingImagetranslateSubmitAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingImagetranslateSubmitAPIResponse(v *AlibabaSeakingImagetranslateSubmitAPIResponse)

ReleaseAlibabaSeakingImagetranslateSubmitAPIResponse 将 AlibabaSeakingImagetranslateSubmitAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingServicepackAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingServicepackAPIRequest(v *AlibabaSeakingServicepackAPIRequest)

ReleaseAlibabaSeakingServicepackAPIRequest 将 AlibabaSeakingServicepackAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingServicepackAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingServicepackAPIResponse(v *AlibabaSeakingServicepackAPIResponse)

ReleaseAlibabaSeakingServicepackAPIResponse 将 AlibabaSeakingServicepackAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingServicepackResult added in v1.3.4

func ReleaseAlibabaSeakingServicepackResult(v *AlibabaSeakingServicepackResult)

ReleaseAlibabaSeakingServicepackResult 释放AlibabaSeakingServicepackResult

func ReleaseAlibabaSeakingTaskReportAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingTaskReportAPIRequest(v *AlibabaSeakingTaskReportAPIRequest)

ReleaseAlibabaSeakingTaskReportAPIRequest 将 AlibabaSeakingTaskReportAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingTaskReportAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingTaskReportAPIResponse(v *AlibabaSeakingTaskReportAPIResponse)

ReleaseAlibabaSeakingTaskReportAPIResponse 将 AlibabaSeakingTaskReportAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingTitlerewriteResultAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingTitlerewriteResultAPIRequest(v *AlibabaSeakingTitlerewriteResultAPIRequest)

ReleaseAlibabaSeakingTitlerewriteResultAPIRequest 将 AlibabaSeakingTitlerewriteResultAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingTitlerewriteResultAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingTitlerewriteResultAPIResponse(v *AlibabaSeakingTitlerewriteResultAPIResponse)

ReleaseAlibabaSeakingTitlerewriteResultAPIResponse 将 AlibabaSeakingTitlerewriteResultAPIResponse 保存到 sync.Pool

func ReleaseAlibabaSeakingTitlerewriteSubmitAPIRequest added in v1.3.4

func ReleaseAlibabaSeakingTitlerewriteSubmitAPIRequest(v *AlibabaSeakingTitlerewriteSubmitAPIRequest)

ReleaseAlibabaSeakingTitlerewriteSubmitAPIRequest 将 AlibabaSeakingTitlerewriteSubmitAPIRequest 放入 sync.Pool

func ReleaseAlibabaSeakingTitlerewriteSubmitAPIResponse added in v1.3.4

func ReleaseAlibabaSeakingTitlerewriteSubmitAPIResponse(v *AlibabaSeakingTitlerewriteSubmitAPIResponse)

ReleaseAlibabaSeakingTitlerewriteSubmitAPIResponse 将 AlibabaSeakingTitlerewriteSubmitAPIResponse 保存到 sync.Pool

func ReleaseExtra added in v1.3.4

func ReleaseExtra(v *Extra)

ReleaseExtra 释放Extra

func ReleaseImageTranslateDetailDto added in v1.3.4

func ReleaseImageTranslateDetailDto(v *ImageTranslateDetailDto)

ReleaseImageTranslateDetailDto 释放ImageTranslateDetailDto

func ReleaseTaskDetailReportDto added in v1.3.4

func ReleaseTaskDetailReportDto(v *TaskDetailReportDto)

ReleaseTaskDetailReportDto 释放TaskDetailReportDto

func ReleaseTaskResultDetailDto added in v1.3.4

func ReleaseTaskResultDetailDto(v *TaskResultDetailDto)

ReleaseTaskResultDetailDto 释放TaskResultDetailDto

func ReleaseTaskResultDto added in v1.3.4

func ReleaseTaskResultDto(v *TaskResultDto)

ReleaseTaskResultDto 释放TaskResultDto

func ReleaseTitleRewriteDetailDto added in v1.3.4

func ReleaseTitleRewriteDetailDto(v *TitleRewriteDetailDto)

ReleaseTitleRewriteDetailDto 释放TitleRewriteDetailDto

Types

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 GetAlibabaSeakingAuthmachineapiAPIRequest added in v1.3.4

func GetAlibabaSeakingAuthmachineapiAPIRequest() *AlibabaSeakingAuthmachineapiAPIRequest

GetAlibabaSeakingAuthmachineapiRequest 从 sync.Pool 获取 AlibabaSeakingAuthmachineapiAPIRequest

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

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifier added in v1.2.0

GetIdentifier Identifier Getter

func (AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType() string

GetIdentifyType IdentifyType Getter

func (AlibabaSeakingAuthmachineapiAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifier added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifier() string

GetSubIdentifier SubIdentifier Getter

func (AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifyType added in v1.2.0

func (r AlibabaSeakingAuthmachineapiAPIRequest) GetSubIdentifyType() string

GetSubIdentifyType SubIdentifyType Getter

func (*AlibabaSeakingAuthmachineapiAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetIdentifier added in v1.2.0

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

SetIdentifier is Identifier Setter erp用户id

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetIdentifyType added in v1.2.0

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

SetIdentifyType is IdentifyType Setter erp名称

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetSubIdentifier added in v1.2.0

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

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

func (*AlibabaSeakingAuthmachineapiAPIRequest) SetSubIdentifyType added in v1.2.0

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

SetSubIdentifyType is SubIdentifyType Setter 店铺所在平台

type AlibabaSeakingAuthmachineapiAPIResponse

type AlibabaSeakingAuthmachineapiAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingAuthmachineapiAPIResponseModel
}

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

机翻Api授权

func GetAlibabaSeakingAuthmachineapiAPIResponse added in v1.3.4

func GetAlibabaSeakingAuthmachineapiAPIResponse() *AlibabaSeakingAuthmachineapiAPIResponse

GetAlibabaSeakingAuthmachineapiAPIResponse 从 sync.Pool 获取 AlibabaSeakingAuthmachineapiAPIResponse

func (*AlibabaSeakingAuthmachineapiAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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授权 成功返回结果

func (*AlibabaSeakingAuthmachineapiAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSeakingDiagnosistitleAPIRequest added in v1.2.0

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

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

标题诊断

func GetAlibabaSeakingDiagnosistitleAPIRequest added in v1.3.4

func GetAlibabaSeakingDiagnosistitleAPIRequest() *AlibabaSeakingDiagnosistitleAPIRequest

GetAlibabaSeakingDiagnosistitleRequest 从 sync.Pool 获取 AlibabaSeakingDiagnosistitleAPIRequest

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

func (r AlibabaSeakingDiagnosistitleAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingDiagnosistitleAPIRequest) GetCategoryId added in v1.2.0

GetCategoryId CategoryId Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetExtra added in v1.2.0

GetExtra Extra Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifier added in v1.2.0

GetIdentifier Identifier Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifierType() string

GetIdentifierType IdentifierType Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetLanguage added in v1.2.0

GetLanguage Language Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetPlatform added in v1.2.0

GetPlatform Platform Getter

func (AlibabaSeakingDiagnosistitleAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingDiagnosistitleAPIRequest) GetTitle added in v1.2.0

GetTitle Title Getter

func (*AlibabaSeakingDiagnosistitleAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetCategoryId added in v1.2.0

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

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

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetExtra added in v1.2.0

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

SetExtra is Extra Setter 扩展信息

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetIdentifier added in v1.2.0

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

SetIdentifier is Identifier Setter erp用户id

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetIdentifierType added in v1.2.0

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

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

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetLanguage added in v1.2.0

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

SetLanguage is Language Setter 语种

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetPlatform added in v1.2.0

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

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

func (*AlibabaSeakingDiagnosistitleAPIRequest) SetTitle added in v1.2.0

SetTitle is Title Setter 标题

type AlibabaSeakingDiagnosistitleAPIResponse

type AlibabaSeakingDiagnosistitleAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingDiagnosistitleAPIResponseModel
}

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

标题诊断

func GetAlibabaSeakingDiagnosistitleAPIResponse added in v1.3.4

func GetAlibabaSeakingDiagnosistitleAPIResponse() *AlibabaSeakingDiagnosistitleAPIResponse

GetAlibabaSeakingDiagnosistitleAPIResponse 从 sync.Pool 获取 AlibabaSeakingDiagnosistitleAPIResponse

func (*AlibabaSeakingDiagnosistitleAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
	// 违禁词
	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"`
	// 首字母未大写单词
	NoFirstUppercaseWordList []string `json:"no_first_uppercase_word_list,omitempty" xml:"no_first_uppercase_word_list>string,omitempty"`
	// 拼写错误的单词
	SpellErrorWordList []string `json:"spell_error_word_list,omitempty" xml:"spell_error_word_list>string,omitempty"`
	// 语言质量分(0-5)
	LanguageQualityScore string `json:"language_quality_score,omitempty" xml:"language_quality_score,omitempty"`
	// 总分(0-100)
	TotalScore int64 `json:"total_score,omitempty" xml:"total_score,omitempty"`
	// 是否包含类目主词
	ContainCoreClasses bool `json:"contain_core_classes,omitempty" xml:"contain_core_classes,omitempty"`
	// 标题是否超过长度限制
	OverLengthLimit bool `json:"over_length_limit,omitempty" xml:"over_length_limit,omitempty"`
}

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

func (*AlibabaSeakingDiagnosistitleAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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 GetAlibabaSeakingFeedbackAPIRequest added in v1.3.4

func GetAlibabaSeakingFeedbackAPIRequest() *AlibabaSeakingFeedbackAPIRequest

GetAlibabaSeakingFeedbackRequest 从 sync.Pool 获取 AlibabaSeakingFeedbackAPIRequest

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(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingFeedbackAPIRequest) GetIdentifier added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetIdentifier() string

GetIdentifier Identifier Getter

func (AlibabaSeakingFeedbackAPIRequest) GetIdentifierType added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetIdentifierType() string

GetIdentifierType IdentifierType Getter

func (AlibabaSeakingFeedbackAPIRequest) GetInvokeApiName added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetInvokeApiName() string

GetInvokeApiName InvokeApiName Getter

func (AlibabaSeakingFeedbackAPIRequest) GetPlatform added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetPlatform() string

GetPlatform Platform Getter

func (AlibabaSeakingFeedbackAPIRequest) GetProductId added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetProductId() string

GetProductId ProductId Getter

func (AlibabaSeakingFeedbackAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingFeedbackAPIRequest) GetSubIdentifier added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetSubIdentifier() string

GetSubIdentifier SubIdentifier Getter

func (AlibabaSeakingFeedbackAPIRequest) GetSubIdentifierType added in v1.2.0

func (r AlibabaSeakingFeedbackAPIRequest) GetSubIdentifierType() string

GetSubIdentifierType SubIdentifierType Getter

func (*AlibabaSeakingFeedbackAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingFeedbackAPIRequest) SetIdentifier added in v1.2.0

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

SetIdentifier is Identifier Setter erp名称

func (*AlibabaSeakingFeedbackAPIRequest) SetIdentifierType added in v1.2.0

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

SetIdentifierType is IdentifierType Setter erp用户id

func (*AlibabaSeakingFeedbackAPIRequest) SetInvokeApiName added in v1.2.0

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

SetInvokeApiName is InvokeApiName Setter api 接口名字

func (*AlibabaSeakingFeedbackAPIRequest) SetPlatform added in v1.2.0

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

SetPlatform is Platform Setter 商品投放平台

func (*AlibabaSeakingFeedbackAPIRequest) SetProductId added in v1.2.0

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

SetProductId is ProductId Setter 商品id

func (*AlibabaSeakingFeedbackAPIRequest) SetSubIdentifier added in v1.2.0

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

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

func (*AlibabaSeakingFeedbackAPIRequest) SetSubIdentifierType added in v1.2.0

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

SetSubIdentifierType is SubIdentifierType Setter 店铺所在平台

type AlibabaSeakingFeedbackAPIResponse

type AlibabaSeakingFeedbackAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingFeedbackAPIResponseModel
}

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

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

func GetAlibabaSeakingFeedbackAPIResponse added in v1.3.4

func GetAlibabaSeakingFeedbackAPIResponse() *AlibabaSeakingFeedbackAPIResponse

GetAlibabaSeakingFeedbackAPIResponse 从 sync.Pool 获取 AlibabaSeakingFeedbackAPIResponse

func (*AlibabaSeakingFeedbackAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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回传 成功返回结果

func (*AlibabaSeakingFeedbackAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSeakingImagetranslateResultAPIRequest added in v1.2.0

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

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

获取图片翻译任务结果

func GetAlibabaSeakingImagetranslateResultAPIRequest added in v1.3.4

func GetAlibabaSeakingImagetranslateResultAPIRequest() *AlibabaSeakingImagetranslateResultAPIRequest

GetAlibabaSeakingImagetranslateResultRequest 从 sync.Pool 获取 AlibabaSeakingImagetranslateResultAPIRequest

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) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingImagetranslateResultAPIRequest) GetTaskId added in v1.2.0

GetTaskId TaskId Getter

func (AlibabaSeakingImagetranslateResultAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (AlibabaSeakingImagetranslateResultAPIRequest) GetTokenFrom added in v1.2.0

GetTokenFrom TokenFrom Getter

func (*AlibabaSeakingImagetranslateResultAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingImagetranslateResultAPIRequest) SetTaskId added in v1.2.0

SetTaskId is TaskId Setter 任务id

func (*AlibabaSeakingImagetranslateResultAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户token

func (*AlibabaSeakingImagetranslateResultAPIRequest) SetTokenFrom added in v1.2.0

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

SetTokenFrom is TokenFrom Setter token来源站点

type AlibabaSeakingImagetranslateResultAPIResponse

type AlibabaSeakingImagetranslateResultAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagetranslateResultAPIResponseModel
}

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

获取图片翻译任务结果

func GetAlibabaSeakingImagetranslateResultAPIResponse added in v1.3.4

func GetAlibabaSeakingImagetranslateResultAPIResponse() *AlibabaSeakingImagetranslateResultAPIResponse

GetAlibabaSeakingImagetranslateResultAPIResponse 从 sync.Pool 获取 AlibabaSeakingImagetranslateResultAPIResponse

func (*AlibabaSeakingImagetranslateResultAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 获取图片翻译任务结果 成功返回结果

func (*AlibabaSeakingImagetranslateResultAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSeakingImagetranslateSubmitAPIRequest added in v1.2.0

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

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

提交图片翻译任务

func GetAlibabaSeakingImagetranslateSubmitAPIRequest added in v1.3.4

func GetAlibabaSeakingImagetranslateSubmitAPIRequest() *AlibabaSeakingImagetranslateSubmitAPIRequest

GetAlibabaSeakingImagetranslateSubmitRequest 从 sync.Pool 获取 AlibabaSeakingImagetranslateSubmitAPIRequest

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

GetImageTranslateDetailList ImageTranslateDetailList Getter

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetTokenFrom added in v1.2.0

GetTokenFrom TokenFrom Getter

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) SetImageTranslateDetailList added in v1.2.0

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

SetImageTranslateDetailList is ImageTranslateDetailList Setter 子任务列表

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户token

func (*AlibabaSeakingImagetranslateSubmitAPIRequest) SetTokenFrom added in v1.2.0

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

SetTokenFrom is TokenFrom Setter token来源站点

type AlibabaSeakingImagetranslateSubmitAPIResponse

type AlibabaSeakingImagetranslateSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingImagetranslateSubmitAPIResponseModel
}

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

提交图片翻译任务

func GetAlibabaSeakingImagetranslateSubmitAPIResponse added in v1.3.4

func GetAlibabaSeakingImagetranslateSubmitAPIResponse() *AlibabaSeakingImagetranslateSubmitAPIResponse

GetAlibabaSeakingImagetranslateSubmitAPIResponse 从 sync.Pool 获取 AlibabaSeakingImagetranslateSubmitAPIResponse

func (*AlibabaSeakingImagetranslateSubmitAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 提交图片翻译任务 成功返回结果

func (*AlibabaSeakingImagetranslateSubmitAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSeakingServicepackAPIRequest added in v1.2.0

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

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

获取海王用户权限包

func GetAlibabaSeakingServicepackAPIRequest added in v1.3.4

func GetAlibabaSeakingServicepackAPIRequest() *AlibabaSeakingServicepackAPIRequest

GetAlibabaSeakingServicepackRequest 从 sync.Pool 获取 AlibabaSeakingServicepackAPIRequest

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

func (r AlibabaSeakingServicepackAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingServicepackAPIRequest) GetIdentifier added in v1.2.0

func (r AlibabaSeakingServicepackAPIRequest) GetIdentifier() string

GetIdentifier Identifier Getter

func (AlibabaSeakingServicepackAPIRequest) GetIdentifyType added in v1.2.0

func (r AlibabaSeakingServicepackAPIRequest) GetIdentifyType() string

GetIdentifyType IdentifyType Getter

func (AlibabaSeakingServicepackAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaSeakingServicepackAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingServicepackAPIRequest) SetIdentifier added in v1.2.0

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

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

func (*AlibabaSeakingServicepackAPIRequest) SetIdentifyType added in v1.2.0

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

SetIdentifyType is IdentifyType Setter 验证类型

type AlibabaSeakingServicepackAPIResponse

type AlibabaSeakingServicepackAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingServicepackAPIResponseModel
}

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

获取海王用户权限包

func GetAlibabaSeakingServicepackAPIResponse added in v1.3.4

func GetAlibabaSeakingServicepackAPIResponse() *AlibabaSeakingServicepackAPIResponse

GetAlibabaSeakingServicepackAPIResponse 从 sync.Pool 获取 AlibabaSeakingServicepackAPIResponse

func (*AlibabaSeakingServicepackAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 获取海王用户权限包 成功返回结果

func (*AlibabaSeakingServicepackAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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 结构体

func GetAlibabaSeakingServicepackResult added in v1.3.4

func GetAlibabaSeakingServicepackResult() *AlibabaSeakingServicepackResult

GetAlibabaSeakingServicepackResult() 从对象池中获取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 GetAlibabaSeakingTaskReportAPIRequest added in v1.3.4

func GetAlibabaSeakingTaskReportAPIRequest() *AlibabaSeakingTaskReportAPIRequest

GetAlibabaSeakingTaskReportRequest 从 sync.Pool 获取 AlibabaSeakingTaskReportAPIRequest

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

func (r AlibabaSeakingTaskReportAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTaskReportAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingTaskReportAPIRequest) GetReportDetail added in v1.2.0

GetReportDetail ReportDetail Getter

func (AlibabaSeakingTaskReportAPIRequest) GetTaskType added in v1.2.0

GetTaskType TaskType Getter

func (AlibabaSeakingTaskReportAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (AlibabaSeakingTaskReportAPIRequest) GetTokenFrom added in v1.2.0

func (r AlibabaSeakingTaskReportAPIRequest) GetTokenFrom() string

GetTokenFrom TokenFrom Getter

func (*AlibabaSeakingTaskReportAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingTaskReportAPIRequest) SetReportDetail added in v1.2.0

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

SetReportDetail is ReportDetail Setter 上报数据详情

func (*AlibabaSeakingTaskReportAPIRequest) SetTaskType added in v1.2.0

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

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

func (*AlibabaSeakingTaskReportAPIRequest) SetToken added in v1.2.0

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

SetToken is Token Setter 用户token

func (*AlibabaSeakingTaskReportAPIRequest) SetTokenFrom added in v1.2.0

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

SetTokenFrom is TokenFrom Setter token来源站点

type AlibabaSeakingTaskReportAPIResponse

type AlibabaSeakingTaskReportAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTaskReportAPIResponseModel
}

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

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

func GetAlibabaSeakingTaskReportAPIResponse added in v1.3.4

func GetAlibabaSeakingTaskReportAPIResponse() *AlibabaSeakingTaskReportAPIResponse

GetAlibabaSeakingTaskReportAPIResponse 从 sync.Pool 获取 AlibabaSeakingTaskReportAPIResponse

func (*AlibabaSeakingTaskReportAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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回传 成功返回结果

func (*AlibabaSeakingTaskReportAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSeakingTitlerewriteResultAPIRequest added in v1.2.0

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

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

获取标题改写任务结果

func GetAlibabaSeakingTitlerewriteResultAPIRequest added in v1.3.4

func GetAlibabaSeakingTitlerewriteResultAPIRequest() *AlibabaSeakingTitlerewriteResultAPIRequest

GetAlibabaSeakingTitlerewriteResultRequest 从 sync.Pool 获取 AlibabaSeakingTitlerewriteResultAPIRequest

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

func (r AlibabaSeakingTitlerewriteResultAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetTaskId added in v1.2.0

GetTaskId TaskId Getter

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (AlibabaSeakingTitlerewriteResultAPIRequest) GetTokenFrom added in v1.2.0

GetTokenFrom TokenFrom Getter

func (*AlibabaSeakingTitlerewriteResultAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetTaskId added in v1.2.0

SetTaskId is TaskId Setter 任务id

func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户token

func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetTokenFrom added in v1.2.0

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

SetTokenFrom is TokenFrom Setter token来源站点

type AlibabaSeakingTitlerewriteResultAPIResponse

type AlibabaSeakingTitlerewriteResultAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTitlerewriteResultAPIResponseModel
}

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

获取标题改写任务结果

func GetAlibabaSeakingTitlerewriteResultAPIResponse added in v1.3.4

func GetAlibabaSeakingTitlerewriteResultAPIResponse() *AlibabaSeakingTitlerewriteResultAPIResponse

GetAlibabaSeakingTitlerewriteResultAPIResponse 从 sync.Pool 获取 AlibabaSeakingTitlerewriteResultAPIResponse

func (*AlibabaSeakingTitlerewriteResultAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 获取标题改写任务结果 成功返回结果

func (*AlibabaSeakingTitlerewriteResultAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaSeakingTitlerewriteSubmitAPIRequest added in v1.2.0

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

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

提交标题改写任务

func GetAlibabaSeakingTitlerewriteSubmitAPIRequest added in v1.3.4

func GetAlibabaSeakingTitlerewriteSubmitAPIRequest() *AlibabaSeakingTitlerewriteSubmitAPIRequest

GetAlibabaSeakingTitlerewriteSubmitRequest 从 sync.Pool 获取 AlibabaSeakingTitlerewriteSubmitAPIRequest

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

func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTitleRewriteDetailList added in v1.2.0

func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTitleRewriteDetailList() []TitleRewriteDetailDto

GetTitleRewriteDetailList TitleRewriteDetailList Getter

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTokenFrom added in v1.2.0

GetTokenFrom TokenFrom Getter

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) SetTitleRewriteDetailList added in v1.2.0

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

SetTitleRewriteDetailList is TitleRewriteDetailList Setter 任务详情列表

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户token

func (*AlibabaSeakingTitlerewriteSubmitAPIRequest) SetTokenFrom added in v1.2.0

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

SetTokenFrom is TokenFrom Setter token来源站点

type AlibabaSeakingTitlerewriteSubmitAPIResponse

type AlibabaSeakingTitlerewriteSubmitAPIResponse struct {
	model.CommonResponse
	AlibabaSeakingTitlerewriteSubmitAPIResponseModel
}

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

提交标题改写任务

func GetAlibabaSeakingTitlerewriteSubmitAPIResponse added in v1.3.4

func GetAlibabaSeakingTitlerewriteSubmitAPIResponse() *AlibabaSeakingTitlerewriteSubmitAPIResponse

GetAlibabaSeakingTitlerewriteSubmitAPIResponse 从 sync.Pool 获取 AlibabaSeakingTitlerewriteSubmitAPIResponse

func (*AlibabaSeakingTitlerewriteSubmitAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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 提交标题改写任务 成功返回结果

func (*AlibabaSeakingTitlerewriteSubmitAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type Extra

type Extra struct {
	// 商品所在平台
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 商品id
	ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 店铺id
	SubIdentifier string `json:"sub_identifier,omitempty" xml:"sub_identifier,omitempty"`
	// 店铺所在平台
	SubIdentifyType string `json:"sub_identify_type,omitempty" xml:"sub_identify_type,omitempty"`
}

Extra 结构体

func GetExtra added in v1.3.4

func GetExtra() *Extra

GetExtra() 从对象池中获取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"`
	// 商品所在平台(ae/lazada))
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 子任务编号,从1开始,必须连续
	Idx int64 `json:"idx,omitempty" xml:"idx,omitempty"`
}

ImageTranslateDetailDto 结构体

func GetImageTranslateDetailDto added in v1.3.4

func GetImageTranslateDetailDto() *ImageTranslateDetailDto

GetImageTranslateDetailDto() 从对象池中获取ImageTranslateDetailDto

type TaskDetailReportDto

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

TaskDetailReportDto 结构体

func GetTaskDetailReportDto added in v1.3.4

func GetTaskDetailReportDto() *TaskDetailReportDto

GetTaskDetailReportDto() 从对象池中获取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 结构体

func GetTaskResultDetailDto added in v1.3.4

func GetTaskResultDetailDto() *TaskResultDetailDto

GetTaskResultDetailDto() 从对象池中获取TaskResultDetailDto

type TaskResultDto

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

TaskResultDto 结构体

func GetTaskResultDto added in v1.3.4

func GetTaskResultDto() *TaskResultDto

GetTaskResultDto() 从对象池中获取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"`
	// 商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 商品所在平台(ae/lazada)
	Platform string `json:"platform,omitempty" xml:"platform,omitempty"`
	// 商品图片
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 类目id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 商品id
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 子任务编号,从1开始,必须连续
	Idx int64 `json:"idx,omitempty" xml:"idx,omitempty"`
}

TitleRewriteDetailDto 结构体

func GetTitleRewriteDetailDto added in v1.3.4

func GetTitleRewriteDetailDto() *TitleRewriteDetailDto

GetTitleRewriteDetailDto() 从对象池中获取TitleRewriteDetailDto

Jump to

Keyboard shortcuts

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