Documentation ¶
Overview ¶
Package seaking 包含阿里翻译API相关结构体
Index ¶
- type AlibabaseakingauthmachineapiAPIRequest
- func (r AlibabaseakingauthmachineapiAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingauthmachineapiAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingauthmachineapiAPIRequest) GetIdentifier() string
- func (r AlibabaseakingauthmachineapiAPIRequest) GetIdentifyType() string
- func (r AlibabaseakingauthmachineapiAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingauthmachineapiAPIRequest) GetSubIdentifier() string
- func (r AlibabaseakingauthmachineapiAPIRequest) GetSubIdentifyType() string
- func (r *AlibabaseakingauthmachineapiAPIRequest) SetIdentifier(_identifier string) error
- func (r *AlibabaseakingauthmachineapiAPIRequest) SetIdentifyType(_identifyType string) error
- func (r *AlibabaseakingauthmachineapiAPIRequest) SetSubIdentifier(_subIdentifier string) error
- func (r *AlibabaseakingauthmachineapiAPIRequest) SetSubIdentifyType(_subIdentifyType string) error
- type AlibabaseakingauthmachineapiAPIResponse
- type AlibabaseakingauthmachineapiAPIResponseModel
- type AlibabaseakingdiagnosistitleAPIRequest
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetCategoryId() int64
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetExtra() *Extra
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetIdentifier() string
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetIdentifierType() string
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetLanguage() string
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetPlatform() string
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingdiagnosistitleAPIRequest) GetTitle() string
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetCategoryId(_categoryId int64) error
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetExtra(_extra *Extra) error
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetIdentifier(_identifier string) error
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetIdentifierType(_identifierType string) error
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetLanguage(_language string) error
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetPlatform(_platform string) error
- func (r *AlibabaseakingdiagnosistitleAPIRequest) SetTitle(_title string) error
- type AlibabaseakingdiagnosistitleAPIResponse
- type AlibabaseakingdiagnosistitleAPIResponseModel
- type AlibabaseakingfeedbackAPIRequest
- func (r AlibabaseakingfeedbackAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingfeedbackAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingfeedbackAPIRequest) GetIdentifier() string
- func (r AlibabaseakingfeedbackAPIRequest) GetIdentifierType() string
- func (r AlibabaseakingfeedbackAPIRequest) GetInvokeApiName() string
- func (r AlibabaseakingfeedbackAPIRequest) GetPlatform() string
- func (r AlibabaseakingfeedbackAPIRequest) GetProductId() string
- func (r AlibabaseakingfeedbackAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingfeedbackAPIRequest) GetSubIdentifier() string
- func (r AlibabaseakingfeedbackAPIRequest) GetSubIdentifierType() string
- func (r *AlibabaseakingfeedbackAPIRequest) SetIdentifier(_identifier string) error
- func (r *AlibabaseakingfeedbackAPIRequest) SetIdentifierType(_identifierType string) error
- func (r *AlibabaseakingfeedbackAPIRequest) SetInvokeApiName(_invokeApiName string) error
- func (r *AlibabaseakingfeedbackAPIRequest) SetPlatform(_platform string) error
- func (r *AlibabaseakingfeedbackAPIRequest) SetProductId(_productId string) error
- func (r *AlibabaseakingfeedbackAPIRequest) SetSubIdentifier(_subIdentifier string) error
- func (r *AlibabaseakingfeedbackAPIRequest) SetSubIdentifierType(_subIdentifierType string) error
- type AlibabaseakingfeedbackAPIResponse
- type AlibabaseakingfeedbackAPIResponseModel
- type AlibabaseakingimagetranslateresultAPIRequest
- func (r AlibabaseakingimagetranslateresultAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingimagetranslateresultAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingimagetranslateresultAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingimagetranslateresultAPIRequest) GetTaskId() int64
- func (r AlibabaseakingimagetranslateresultAPIRequest) GetToken() string
- func (r AlibabaseakingimagetranslateresultAPIRequest) GetTokenFrom() string
- func (r *AlibabaseakingimagetranslateresultAPIRequest) SetTaskId(_taskId int64) error
- func (r *AlibabaseakingimagetranslateresultAPIRequest) SetToken(_token string) error
- func (r *AlibabaseakingimagetranslateresultAPIRequest) SetTokenFrom(_tokenFrom string) error
- type AlibabaseakingimagetranslateresultAPIResponse
- type AlibabaseakingimagetranslateresultAPIResponseModel
- type AlibabaseakingimagetranslatesubmitAPIRequest
- func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetImageTranslateDetailList() []ImageTranslateDetailDto
- func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetToken() string
- func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetTokenFrom() string
- func (r *AlibabaseakingimagetranslatesubmitAPIRequest) SetImageTranslateDetailList(_imageTranslateDetailList []ImageTranslateDetailDto) error
- func (r *AlibabaseakingimagetranslatesubmitAPIRequest) SetToken(_token string) error
- func (r *AlibabaseakingimagetranslatesubmitAPIRequest) SetTokenFrom(_tokenFrom string) error
- type AlibabaseakingimagetranslatesubmitAPIResponse
- type AlibabaseakingimagetranslatesubmitAPIResponseModel
- type AlibabaseakingservicepackAPIRequest
- func (r AlibabaseakingservicepackAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingservicepackAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingservicepackAPIRequest) GetIdentifier() string
- func (r AlibabaseakingservicepackAPIRequest) GetIdentifyType() string
- func (r AlibabaseakingservicepackAPIRequest) GetRawParams() model.Params
- func (r *AlibabaseakingservicepackAPIRequest) SetIdentifier(_identifier string) error
- func (r *AlibabaseakingservicepackAPIRequest) SetIdentifyType(_identifyType string) error
- type AlibabaseakingservicepackAPIResponse
- type AlibabaseakingservicepackAPIResponseModel
- type AlibabaseakingservicepackResult
- type AlibabaseakingtaskreportAPIRequest
- func (r AlibabaseakingtaskreportAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingtaskreportAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingtaskreportAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingtaskreportAPIRequest) GetReportDetail() []TaskDetailReportDto
- func (r AlibabaseakingtaskreportAPIRequest) GetTaskType() string
- func (r AlibabaseakingtaskreportAPIRequest) GetToken() string
- func (r AlibabaseakingtaskreportAPIRequest) GetTokenFrom() string
- func (r *AlibabaseakingtaskreportAPIRequest) SetReportDetail(_reportDetail []TaskDetailReportDto) error
- func (r *AlibabaseakingtaskreportAPIRequest) SetTaskType(_taskType string) error
- func (r *AlibabaseakingtaskreportAPIRequest) SetToken(_token string) error
- func (r *AlibabaseakingtaskreportAPIRequest) SetTokenFrom(_tokenFrom string) error
- type AlibabaseakingtaskreportAPIResponse
- type AlibabaseakingtaskreportAPIResponseModel
- type AlibabaseakingtitlerewriteresultAPIRequest
- func (r AlibabaseakingtitlerewriteresultAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingtitlerewriteresultAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingtitlerewriteresultAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingtitlerewriteresultAPIRequest) GetTaskId() int64
- func (r AlibabaseakingtitlerewriteresultAPIRequest) GetToken() string
- func (r AlibabaseakingtitlerewriteresultAPIRequest) GetTokenFrom() string
- func (r *AlibabaseakingtitlerewriteresultAPIRequest) SetTaskId(_taskId int64) error
- func (r *AlibabaseakingtitlerewriteresultAPIRequest) SetToken(_token string) error
- func (r *AlibabaseakingtitlerewriteresultAPIRequest) SetTokenFrom(_tokenFrom string) error
- type AlibabaseakingtitlerewriteresultAPIResponse
- type AlibabaseakingtitlerewriteresultAPIResponseModel
- type AlibabaseakingtitlerewritesubmitAPIRequest
- func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetApiMethodName() string
- func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetRawParams() model.Params
- func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetTitleRewriteDetailList() []TitleRewriteDetailDto
- func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetToken() string
- func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetTokenFrom() string
- func (r *AlibabaseakingtitlerewritesubmitAPIRequest) SetTitleRewriteDetailList(_titleRewriteDetailList []TitleRewriteDetailDto) error
- func (r *AlibabaseakingtitlerewritesubmitAPIRequest) SetToken(_token string) error
- func (r *AlibabaseakingtitlerewritesubmitAPIRequest) SetTokenFrom(_tokenFrom string) error
- type AlibabaseakingtitlerewritesubmitAPIResponse
- type AlibabaseakingtitlerewritesubmitAPIResponseModel
- type Extra
- type ImageTranslateDetailDto
- type TaskDetailReportDto
- type TaskResultDetailDto
- type TaskResultDto
- type TitleRewriteDetailDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaseakingauthmachineapiAPIRequest ¶ added in v1.3.1
type AlibabaseakingauthmachineapiAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingauthmachineapiAPIRequest 机翻Api授权 API请求 alibaba.seaking.authmachineapi
机翻Api授权
func NewAlibabaseakingauthmachineapiRequest ¶ added in v1.3.1
func NewAlibabaseakingauthmachineapiRequest() *AlibabaseakingauthmachineapiAPIRequest
NewAlibabaseakingauthmachineapiRequest 初始化AlibabaseakingauthmachineapiAPIRequest对象
func (AlibabaseakingauthmachineapiAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingauthmachineapiAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingauthmachineapiAPIRequest) GetIdentifier ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetIdentifier() string
GetIdentifier Identifier Getter
func (AlibabaseakingauthmachineapiAPIRequest) GetIdentifyType ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetIdentifyType() string
GetIdentifyType IdentifyType Getter
func (AlibabaseakingauthmachineapiAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingauthmachineapiAPIRequest) GetSubIdentifier ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetSubIdentifier() string
GetSubIdentifier SubIdentifier Getter
func (AlibabaseakingauthmachineapiAPIRequest) GetSubIdentifyType ¶ added in v1.3.1
func (r AlibabaseakingauthmachineapiAPIRequest) GetSubIdentifyType() string
GetSubIdentifyType SubIdentifyType Getter
func (*AlibabaseakingauthmachineapiAPIRequest) SetIdentifier ¶ added in v1.3.1
func (r *AlibabaseakingauthmachineapiAPIRequest) SetIdentifier(_identifier string) error
SetIdentifier is Identifier Setter erp用户id
func (*AlibabaseakingauthmachineapiAPIRequest) SetIdentifyType ¶ added in v1.3.1
func (r *AlibabaseakingauthmachineapiAPIRequest) SetIdentifyType(_identifyType string) error
SetIdentifyType is IdentifyType Setter erp名称
func (*AlibabaseakingauthmachineapiAPIRequest) SetSubIdentifier ¶ added in v1.3.1
func (r *AlibabaseakingauthmachineapiAPIRequest) SetSubIdentifier(_subIdentifier string) error
SetSubIdentifier is SubIdentifier Setter 店铺id(ae为cn开头的店铺id, lazada为邮箱)
func (*AlibabaseakingauthmachineapiAPIRequest) SetSubIdentifyType ¶ added in v1.3.1
func (r *AlibabaseakingauthmachineapiAPIRequest) SetSubIdentifyType(_subIdentifyType string) error
SetSubIdentifyType is SubIdentifyType Setter 店铺所在平台
type AlibabaseakingauthmachineapiAPIResponse ¶ added in v1.3.1
type AlibabaseakingauthmachineapiAPIResponse struct { model.CommonResponse AlibabaseakingauthmachineapiAPIResponseModel }
AlibabaseakingauthmachineapiAPIResponse 机翻Api授权 API返回值 alibaba.seaking.authmachineapi
机翻Api授权
type AlibabaseakingauthmachineapiAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabaseakingdiagnosistitleAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingdiagnosistitleAPIRequest 标题诊断 API请求 alibaba.seaking.diagnosistitle
标题诊断
func NewAlibabaseakingdiagnosistitleRequest ¶ added in v1.3.1
func NewAlibabaseakingdiagnosistitleRequest() *AlibabaseakingdiagnosistitleAPIRequest
NewAlibabaseakingdiagnosistitleRequest 初始化AlibabaseakingdiagnosistitleAPIRequest对象
func (AlibabaseakingdiagnosistitleAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingdiagnosistitleAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingdiagnosistitleAPIRequest) GetCategoryId ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (AlibabaseakingdiagnosistitleAPIRequest) GetExtra ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetExtra() *Extra
GetExtra Extra Getter
func (AlibabaseakingdiagnosistitleAPIRequest) GetIdentifier ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetIdentifier() string
GetIdentifier Identifier Getter
func (AlibabaseakingdiagnosistitleAPIRequest) GetIdentifierType ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetIdentifierType() string
GetIdentifierType IdentifierType Getter
func (AlibabaseakingdiagnosistitleAPIRequest) GetLanguage ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetLanguage() string
GetLanguage Language Getter
func (AlibabaseakingdiagnosistitleAPIRequest) GetPlatform ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetPlatform() string
GetPlatform Platform Getter
func (AlibabaseakingdiagnosistitleAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingdiagnosistitleAPIRequest) GetTitle ¶ added in v1.3.1
func (r AlibabaseakingdiagnosistitleAPIRequest) GetTitle() string
GetTitle Title Getter
func (*AlibabaseakingdiagnosistitleAPIRequest) SetCategoryId ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 类目id,没有的时候传-1
func (*AlibabaseakingdiagnosistitleAPIRequest) SetExtra ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetExtra(_extra *Extra) error
SetExtra is Extra Setter 扩展信息
func (*AlibabaseakingdiagnosistitleAPIRequest) SetIdentifier ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetIdentifier(_identifier string) error
SetIdentifier is Identifier Setter erp用户id
func (*AlibabaseakingdiagnosistitleAPIRequest) SetIdentifierType ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetIdentifierType(_identifierType string) error
SetIdentifierType is IdentifierType Setter 调用来源(erp名称)
func (*AlibabaseakingdiagnosistitleAPIRequest) SetLanguage ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetLanguage(_language string) error
SetLanguage is Language Setter 语种
func (*AlibabaseakingdiagnosistitleAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetPlatform(_platform string) error
SetPlatform is Platform Setter 商品所在平台(ae/icbu)
func (*AlibabaseakingdiagnosistitleAPIRequest) SetTitle ¶ added in v1.3.1
func (r *AlibabaseakingdiagnosistitleAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 标题
type AlibabaseakingdiagnosistitleAPIResponse ¶ added in v1.3.1
type AlibabaseakingdiagnosistitleAPIResponse struct { model.CommonResponse AlibabaseakingdiagnosistitleAPIResponseModel }
AlibabaseakingdiagnosistitleAPIResponse 标题诊断 API返回值 alibaba.seaking.diagnosistitle
标题诊断
type AlibabaseakingdiagnosistitleAPIResponseModel ¶ added in v1.3.1
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 标题诊断 成功返回结果
type AlibabaseakingfeedbackAPIRequest ¶ added in v1.3.1
type AlibabaseakingfeedbackAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingfeedbackAPIRequest API服务发布成功商品ID回传 API请求 alibaba.seaking.feedback
API服务发布成功商品ID回传,用于跟进商品id后续的使用情况
func NewAlibabaseakingfeedbackRequest ¶ added in v1.3.1
func NewAlibabaseakingfeedbackRequest() *AlibabaseakingfeedbackAPIRequest
NewAlibabaseakingfeedbackRequest 初始化AlibabaseakingfeedbackAPIRequest对象
func (AlibabaseakingfeedbackAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingfeedbackAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingfeedbackAPIRequest) GetIdentifier ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetIdentifier() string
GetIdentifier Identifier Getter
func (AlibabaseakingfeedbackAPIRequest) GetIdentifierType ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetIdentifierType() string
GetIdentifierType IdentifierType Getter
func (AlibabaseakingfeedbackAPIRequest) GetInvokeApiName ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetInvokeApiName() string
GetInvokeApiName InvokeApiName Getter
func (AlibabaseakingfeedbackAPIRequest) GetPlatform ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetPlatform() string
GetPlatform Platform Getter
func (AlibabaseakingfeedbackAPIRequest) GetProductId ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetProductId() string
GetProductId ProductId Getter
func (AlibabaseakingfeedbackAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingfeedbackAPIRequest) GetSubIdentifier ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetSubIdentifier() string
GetSubIdentifier SubIdentifier Getter
func (AlibabaseakingfeedbackAPIRequest) GetSubIdentifierType ¶ added in v1.3.1
func (r AlibabaseakingfeedbackAPIRequest) GetSubIdentifierType() string
GetSubIdentifierType SubIdentifierType Getter
func (*AlibabaseakingfeedbackAPIRequest) SetIdentifier ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetIdentifier(_identifier string) error
SetIdentifier is Identifier Setter erp名称
func (*AlibabaseakingfeedbackAPIRequest) SetIdentifierType ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetIdentifierType(_identifierType string) error
SetIdentifierType is IdentifierType Setter erp用户id
func (*AlibabaseakingfeedbackAPIRequest) SetInvokeApiName ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetInvokeApiName(_invokeApiName string) error
SetInvokeApiName is InvokeApiName Setter api 接口名字
func (*AlibabaseakingfeedbackAPIRequest) SetPlatform ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetPlatform(_platform string) error
SetPlatform is Platform Setter 商品投放平台
func (*AlibabaseakingfeedbackAPIRequest) SetProductId ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetProductId(_productId string) error
SetProductId is ProductId Setter 商品id
func (*AlibabaseakingfeedbackAPIRequest) SetSubIdentifier ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetSubIdentifier(_subIdentifier string) error
SetSubIdentifier is SubIdentifier Setter 店铺id(ae为cn开头的店铺id, lazada为邮箱)
func (*AlibabaseakingfeedbackAPIRequest) SetSubIdentifierType ¶ added in v1.3.1
func (r *AlibabaseakingfeedbackAPIRequest) SetSubIdentifierType(_subIdentifierType string) error
SetSubIdentifierType is SubIdentifierType Setter 店铺所在平台
type AlibabaseakingfeedbackAPIResponse ¶ added in v1.3.1
type AlibabaseakingfeedbackAPIResponse struct { model.CommonResponse AlibabaseakingfeedbackAPIResponseModel }
AlibabaseakingfeedbackAPIResponse API服务发布成功商品ID回传 API返回值 alibaba.seaking.feedback
API服务发布成功商品ID回传,用于跟进商品id后续的使用情况
type AlibabaseakingfeedbackAPIResponseModel ¶ added in v1.3.1
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 AlibabaseakingimagetranslateresultAPIRequest ¶ added in v1.3.1
type AlibabaseakingimagetranslateresultAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingimagetranslateresultAPIRequest 获取图片翻译任务结果 API请求 alibaba.seaking.imagetranslate.result
获取图片翻译任务结果
func NewAlibabaseakingimagetranslateresultRequest ¶ added in v1.3.1
func NewAlibabaseakingimagetranslateresultRequest() *AlibabaseakingimagetranslateresultAPIRequest
NewAlibabaseakingimagetranslateresultRequest 初始化AlibabaseakingimagetranslateresultAPIRequest对象
func (AlibabaseakingimagetranslateresultAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingimagetranslateresultAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingimagetranslateresultAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingimagetranslateresultAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingimagetranslateresultAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingimagetranslateresultAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingimagetranslateresultAPIRequest) GetTaskId ¶ added in v1.3.1
func (r AlibabaseakingimagetranslateresultAPIRequest) GetTaskId() int64
GetTaskId TaskId Getter
func (AlibabaseakingimagetranslateresultAPIRequest) GetToken ¶ added in v1.3.1
func (r AlibabaseakingimagetranslateresultAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaseakingimagetranslateresultAPIRequest) GetTokenFrom ¶ added in v1.3.1
func (r AlibabaseakingimagetranslateresultAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaseakingimagetranslateresultAPIRequest) SetTaskId ¶ added in v1.3.1
func (r *AlibabaseakingimagetranslateresultAPIRequest) SetTaskId(_taskId int64) error
SetTaskId is TaskId Setter 任务id
func (*AlibabaseakingimagetranslateresultAPIRequest) SetToken ¶ added in v1.3.1
func (r *AlibabaseakingimagetranslateresultAPIRequest) SetToken(_token string) error
SetToken is Token Setter 用户token
func (*AlibabaseakingimagetranslateresultAPIRequest) SetTokenFrom ¶ added in v1.3.1
func (r *AlibabaseakingimagetranslateresultAPIRequest) SetTokenFrom(_tokenFrom string) error
SetTokenFrom is TokenFrom Setter token来源站点
type AlibabaseakingimagetranslateresultAPIResponse ¶ added in v1.3.1
type AlibabaseakingimagetranslateresultAPIResponse struct { model.CommonResponse AlibabaseakingimagetranslateresultAPIResponseModel }
AlibabaseakingimagetranslateresultAPIResponse 获取图片翻译任务结果 API返回值 alibaba.seaking.imagetranslate.result
获取图片翻译任务结果
type AlibabaseakingimagetranslateresultAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabaseakingimagetranslatesubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingimagetranslatesubmitAPIRequest 提交图片翻译任务 API请求 alibaba.seaking.imagetranslate.submit
提交图片翻译任务
func NewAlibabaseakingimagetranslatesubmitRequest ¶ added in v1.3.1
func NewAlibabaseakingimagetranslatesubmitRequest() *AlibabaseakingimagetranslatesubmitAPIRequest
NewAlibabaseakingimagetranslatesubmitRequest 初始化AlibabaseakingimagetranslatesubmitAPIRequest对象
func (AlibabaseakingimagetranslatesubmitAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingimagetranslatesubmitAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingimagetranslatesubmitAPIRequest) GetImageTranslateDetailList ¶ added in v1.3.1
func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetImageTranslateDetailList() []ImageTranslateDetailDto
GetImageTranslateDetailList ImageTranslateDetailList Getter
func (AlibabaseakingimagetranslatesubmitAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingimagetranslatesubmitAPIRequest) GetToken ¶ added in v1.3.1
func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaseakingimagetranslatesubmitAPIRequest) GetTokenFrom ¶ added in v1.3.1
func (r AlibabaseakingimagetranslatesubmitAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaseakingimagetranslatesubmitAPIRequest) SetImageTranslateDetailList ¶ added in v1.3.1
func (r *AlibabaseakingimagetranslatesubmitAPIRequest) SetImageTranslateDetailList(_imageTranslateDetailList []ImageTranslateDetailDto) error
SetImageTranslateDetailList is ImageTranslateDetailList Setter 子任务列表
func (*AlibabaseakingimagetranslatesubmitAPIRequest) SetToken ¶ added in v1.3.1
func (r *AlibabaseakingimagetranslatesubmitAPIRequest) SetToken(_token string) error
SetToken is Token Setter 用户token
func (*AlibabaseakingimagetranslatesubmitAPIRequest) SetTokenFrom ¶ added in v1.3.1
func (r *AlibabaseakingimagetranslatesubmitAPIRequest) SetTokenFrom(_tokenFrom string) error
SetTokenFrom is TokenFrom Setter token来源站点
type AlibabaseakingimagetranslatesubmitAPIResponse ¶ added in v1.3.1
type AlibabaseakingimagetranslatesubmitAPIResponse struct { model.CommonResponse AlibabaseakingimagetranslatesubmitAPIResponseModel }
AlibabaseakingimagetranslatesubmitAPIResponse 提交图片翻译任务 API返回值 alibaba.seaking.imagetranslate.submit
提交图片翻译任务
type AlibabaseakingimagetranslatesubmitAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabaseakingservicepackAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingservicepackAPIRequest 获取海王用户权限包 API请求 alibaba.seaking.servicepack
获取海王用户权限包
func NewAlibabaseakingservicepackRequest ¶ added in v1.3.1
func NewAlibabaseakingservicepackRequest() *AlibabaseakingservicepackAPIRequest
NewAlibabaseakingservicepackRequest 初始化AlibabaseakingservicepackAPIRequest对象
func (AlibabaseakingservicepackAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingservicepackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingservicepackAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingservicepackAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingservicepackAPIRequest) GetIdentifier ¶ added in v1.3.1
func (r AlibabaseakingservicepackAPIRequest) GetIdentifier() string
GetIdentifier Identifier Getter
func (AlibabaseakingservicepackAPIRequest) GetIdentifyType ¶ added in v1.3.1
func (r AlibabaseakingservicepackAPIRequest) GetIdentifyType() string
GetIdentifyType IdentifyType Getter
func (AlibabaseakingservicepackAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingservicepackAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaseakingservicepackAPIRequest) SetIdentifier ¶ added in v1.3.1
func (r *AlibabaseakingservicepackAPIRequest) SetIdentifier(_identifier string) error
SetIdentifier is Identifier Setter 验证类型下的唯一id
func (*AlibabaseakingservicepackAPIRequest) SetIdentifyType ¶ added in v1.3.1
func (r *AlibabaseakingservicepackAPIRequest) SetIdentifyType(_identifyType string) error
SetIdentifyType is IdentifyType Setter 验证类型
type AlibabaseakingservicepackAPIResponse ¶ added in v1.3.1
type AlibabaseakingservicepackAPIResponse struct { model.CommonResponse AlibabaseakingservicepackAPIResponseModel }
AlibabaseakingservicepackAPIResponse 获取海王用户权限包 API返回值 alibaba.seaking.servicepack
获取海王用户权限包
type AlibabaseakingservicepackAPIResponseModel ¶ added in v1.3.1
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>alibabaseakingservicepack_result,omitempty"` }
AlibabaseakingservicepackAPIResponseModel is 获取海王用户权限包 成功返回结果
type AlibabaseakingservicepackResult ¶ added in v1.3.1
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.3.1
type AlibabaseakingtaskreportAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingtaskreportAPIRequest 跳转任务发布成功商品ID回传 API请求 alibaba.seaking.task.report
跳转任务发布成功商品ID回传
func NewAlibabaseakingtaskreportRequest ¶ added in v1.3.1
func NewAlibabaseakingtaskreportRequest() *AlibabaseakingtaskreportAPIRequest
NewAlibabaseakingtaskreportRequest 初始化AlibabaseakingtaskreportAPIRequest对象
func (AlibabaseakingtaskreportAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingtaskreportAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingtaskreportAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingtaskreportAPIRequest) GetReportDetail ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetReportDetail() []TaskDetailReportDto
GetReportDetail ReportDetail Getter
func (AlibabaseakingtaskreportAPIRequest) GetTaskType ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetTaskType() string
GetTaskType TaskType Getter
func (AlibabaseakingtaskreportAPIRequest) GetToken ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaseakingtaskreportAPIRequest) GetTokenFrom ¶ added in v1.3.1
func (r AlibabaseakingtaskreportAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaseakingtaskreportAPIRequest) SetReportDetail ¶ added in v1.3.1
func (r *AlibabaseakingtaskreportAPIRequest) SetReportDetail(_reportDetail []TaskDetailReportDto) error
SetReportDetail is ReportDetail Setter 上报数据详情
func (*AlibabaseakingtaskreportAPIRequest) SetTaskType ¶ added in v1.3.1
func (r *AlibabaseakingtaskreportAPIRequest) SetTaskType(_taskType string) error
SetTaskType is TaskType Setter 任务类型(title/image)
func (*AlibabaseakingtaskreportAPIRequest) SetToken ¶ added in v1.3.1
func (r *AlibabaseakingtaskreportAPIRequest) SetToken(_token string) error
SetToken is Token Setter 用户token
func (*AlibabaseakingtaskreportAPIRequest) SetTokenFrom ¶ added in v1.3.1
func (r *AlibabaseakingtaskreportAPIRequest) SetTokenFrom(_tokenFrom string) error
SetTokenFrom is TokenFrom Setter token来源站点
type AlibabaseakingtaskreportAPIResponse ¶ added in v1.3.1
type AlibabaseakingtaskreportAPIResponse struct { model.CommonResponse AlibabaseakingtaskreportAPIResponseModel }
AlibabaseakingtaskreportAPIResponse 跳转任务发布成功商品ID回传 API返回值 alibaba.seaking.task.report
跳转任务发布成功商品ID回传
type AlibabaseakingtaskreportAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabaseakingtitlerewriteresultAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingtitlerewriteresultAPIRequest 获取标题改写任务结果 API请求 alibaba.seaking.titlerewrite.result
获取标题改写任务结果
func NewAlibabaseakingtitlerewriteresultRequest ¶ added in v1.3.1
func NewAlibabaseakingtitlerewriteresultRequest() *AlibabaseakingtitlerewriteresultAPIRequest
NewAlibabaseakingtitlerewriteresultRequest 初始化AlibabaseakingtitlerewriteresultAPIRequest对象
func (AlibabaseakingtitlerewriteresultAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingtitlerewriteresultAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingtitlerewriteresultAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingtitlerewriteresultAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingtitlerewriteresultAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingtitlerewriteresultAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingtitlerewriteresultAPIRequest) GetTaskId ¶ added in v1.3.1
func (r AlibabaseakingtitlerewriteresultAPIRequest) GetTaskId() int64
GetTaskId TaskId Getter
func (AlibabaseakingtitlerewriteresultAPIRequest) GetToken ¶ added in v1.3.1
func (r AlibabaseakingtitlerewriteresultAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaseakingtitlerewriteresultAPIRequest) GetTokenFrom ¶ added in v1.3.1
func (r AlibabaseakingtitlerewriteresultAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaseakingtitlerewriteresultAPIRequest) SetTaskId ¶ added in v1.3.1
func (r *AlibabaseakingtitlerewriteresultAPIRequest) SetTaskId(_taskId int64) error
SetTaskId is TaskId Setter 任务id
func (*AlibabaseakingtitlerewriteresultAPIRequest) SetToken ¶ added in v1.3.1
func (r *AlibabaseakingtitlerewriteresultAPIRequest) SetToken(_token string) error
SetToken is Token Setter 用户token
func (*AlibabaseakingtitlerewriteresultAPIRequest) SetTokenFrom ¶ added in v1.3.1
func (r *AlibabaseakingtitlerewriteresultAPIRequest) SetTokenFrom(_tokenFrom string) error
SetTokenFrom is TokenFrom Setter token来源站点
type AlibabaseakingtitlerewriteresultAPIResponse ¶ added in v1.3.1
type AlibabaseakingtitlerewriteresultAPIResponse struct { model.CommonResponse AlibabaseakingtitlerewriteresultAPIResponseModel }
AlibabaseakingtitlerewriteresultAPIResponse 获取标题改写任务结果 API返回值 alibaba.seaking.titlerewrite.result
获取标题改写任务结果
type AlibabaseakingtitlerewriteresultAPIResponseModel ¶ added in v1.3.1
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.3.1
type AlibabaseakingtitlerewritesubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaseakingtitlerewritesubmitAPIRequest 提交标题改写任务 API请求 alibaba.seaking.titlerewrite.submit
提交标题改写任务
func NewAlibabaseakingtitlerewritesubmitRequest ¶ added in v1.3.1
func NewAlibabaseakingtitlerewritesubmitRequest() *AlibabaseakingtitlerewritesubmitAPIRequest
NewAlibabaseakingtitlerewritesubmitRequest 初始化AlibabaseakingtitlerewritesubmitAPIRequest对象
func (AlibabaseakingtitlerewritesubmitAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaseakingtitlerewritesubmitAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaseakingtitlerewritesubmitAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaseakingtitlerewritesubmitAPIRequest) GetTitleRewriteDetailList ¶ added in v1.3.1
func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetTitleRewriteDetailList() []TitleRewriteDetailDto
GetTitleRewriteDetailList TitleRewriteDetailList Getter
func (AlibabaseakingtitlerewritesubmitAPIRequest) GetToken ¶ added in v1.3.1
func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaseakingtitlerewritesubmitAPIRequest) GetTokenFrom ¶ added in v1.3.1
func (r AlibabaseakingtitlerewritesubmitAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaseakingtitlerewritesubmitAPIRequest) SetTitleRewriteDetailList ¶ added in v1.3.1
func (r *AlibabaseakingtitlerewritesubmitAPIRequest) SetTitleRewriteDetailList(_titleRewriteDetailList []TitleRewriteDetailDto) error
SetTitleRewriteDetailList is TitleRewriteDetailList Setter 任务详情列表
func (*AlibabaseakingtitlerewritesubmitAPIRequest) SetToken ¶ added in v1.3.1
func (r *AlibabaseakingtitlerewritesubmitAPIRequest) SetToken(_token string) error
SetToken is Token Setter 用户token
func (*AlibabaseakingtitlerewritesubmitAPIRequest) SetTokenFrom ¶ added in v1.3.1
func (r *AlibabaseakingtitlerewritesubmitAPIRequest) SetTokenFrom(_tokenFrom string) error
SetTokenFrom is TokenFrom Setter token来源站点
type AlibabaseakingtitlerewritesubmitAPIResponse ¶ added in v1.3.1
type AlibabaseakingtitlerewritesubmitAPIResponse struct { model.CommonResponse AlibabaseakingtitlerewritesubmitAPIResponseModel }
AlibabaseakingtitlerewritesubmitAPIResponse 提交标题改写任务 API返回值 alibaba.seaking.titlerewrite.submit
提交标题改写任务
type AlibabaseakingtitlerewritesubmitAPIResponseModel ¶ added in v1.3.1
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 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 结构体
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 结构体
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 结构体
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 { // 子任务列表 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 结构体
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 结构体
Source Files ¶
- AlibabaSeakingAuthmachineapiAPIRequest.go
- AlibabaSeakingAuthmachineapiAPIResponse.go
- AlibabaSeakingDiagnosistitleAPIRequest.go
- AlibabaSeakingDiagnosistitleAPIResponse.go
- AlibabaSeakingFeedbackAPIRequest.go
- AlibabaSeakingFeedbackAPIResponse.go
- AlibabaSeakingImagetranslateResultAPIRequest.go
- AlibabaSeakingImagetranslateResultAPIResponse.go
- AlibabaSeakingImagetranslateSubmitAPIRequest.go
- AlibabaSeakingImagetranslateSubmitAPIResponse.go
- AlibabaSeakingServicepackAPIRequest.go
- AlibabaSeakingServicepackAPIResponse.go
- AlibabaSeakingServicepackResult.go
- AlibabaSeakingTaskReportAPIRequest.go
- AlibabaSeakingTaskReportAPIResponse.go
- AlibabaSeakingTitlerewriteResultAPIRequest.go
- AlibabaSeakingTitlerewriteResultAPIResponse.go
- AlibabaSeakingTitlerewriteSubmitAPIRequest.go
- AlibabaSeakingTitlerewriteSubmitAPIResponse.go
- Extra.go
- ImageTranslateDetailDto.go
- TaskDetailReportDto.go
- TaskResultDetailDto.go
- TaskResultDto.go
- TitleRewriteDetailDto.go
- doc.go