Documentation ¶
Overview ¶
Package seaking 包含阿里翻译API相关结构体
Index ¶
- type AlibabaSeakingAuthmachineapiAPIRequest
- func (r AlibabaSeakingAuthmachineapiAPIRequest) GetApiMethodName() string
- func (r AlibabaSeakingAuthmachineapiAPIRequest) GetApiParams() url.Values
- func (r AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifier() string
- func (r AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType() string
- 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() 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) 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() 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) 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() url.Values
- 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() url.Values
- func (r AlibabaSeakingImagetranslateSubmitAPIRequest) GetImageTranslateDetailList() []ImageTranslateDetailDto
- 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() url.Values
- func (r AlibabaSeakingServicepackAPIRequest) GetIdentifier() string
- func (r AlibabaSeakingServicepackAPIRequest) GetIdentifyType() string
- 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() url.Values
- 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() url.Values
- 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() url.Values
- 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.2.0
type AlibabaSeakingAuthmachineapiAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingAuthmachineapiAPIRequest 机翻Api授权 API请求 alibaba.seaking.authmachineapi
机翻Api授权
func NewAlibabaSeakingAuthmachineapiRequest ¶
func NewAlibabaSeakingAuthmachineapiRequest() *AlibabaSeakingAuthmachineapiAPIRequest
NewAlibabaSeakingAuthmachineapiRequest 初始化AlibabaSeakingAuthmachineapiAPIRequest对象
func (AlibabaSeakingAuthmachineapiAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingAuthmachineapiAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingAuthmachineapiAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingAuthmachineapiAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifier ¶ added in v1.2.0
func (r AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifier() string
GetIdentifier Identifier Getter
func (AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType ¶ added in v1.2.0
func (r AlibabaSeakingAuthmachineapiAPIRequest) GetIdentifyType() string
GetIdentifyType IdentifyType Getter
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) 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授权
type AlibabaSeakingAuthmachineapiAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingAuthmachineapiAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_authmachineapi_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaSeakingAuthmachineapiAPIResponseModel is 机翻Api授权 成功返回结果
type AlibabaSeakingDiagnosistitleAPIRequest ¶ added in v1.2.0
type AlibabaSeakingDiagnosistitleAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingDiagnosistitleAPIRequest 标题诊断 API请求 alibaba.seaking.diagnosistitle
标题诊断
func NewAlibabaSeakingDiagnosistitleRequest ¶
func NewAlibabaSeakingDiagnosistitleRequest() *AlibabaSeakingDiagnosistitleAPIRequest
NewAlibabaSeakingDiagnosistitleRequest 初始化AlibabaSeakingDiagnosistitleAPIRequest对象
func (AlibabaSeakingDiagnosistitleAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingDiagnosistitleAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingDiagnosistitleAPIRequest) GetCategoryId ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (AlibabaSeakingDiagnosistitleAPIRequest) GetExtra ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetExtra() *Extra
GetExtra Extra Getter
func (AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifier ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetIdentifier() string
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
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetLanguage() string
GetLanguage Language Getter
func (AlibabaSeakingDiagnosistitleAPIRequest) GetPlatform ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetPlatform() string
GetPlatform Platform Getter
func (AlibabaSeakingDiagnosistitleAPIRequest) GetTitle ¶ added in v1.2.0
func (r AlibabaSeakingDiagnosistitleAPIRequest) GetTitle() string
GetTitle Title Getter
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
func (r *AlibabaSeakingDiagnosistitleAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 标题
type AlibabaSeakingDiagnosistitleAPIResponse ¶
type AlibabaSeakingDiagnosistitleAPIResponse struct { model.CommonResponse AlibabaSeakingDiagnosistitleAPIResponseModel }
AlibabaSeakingDiagnosistitleAPIResponse 标题诊断 API返回值 alibaba.seaking.diagnosistitle
标题诊断
type AlibabaSeakingDiagnosistitleAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingDiagnosistitleAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_diagnosistitle_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 全大写的单词 AllUppercaseWords []string `json:"all_uppercase_words,omitempty" xml:"all_uppercase_words>string,omitempty"` // 违禁词 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.2.0
type AlibabaSeakingFeedbackAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingFeedbackAPIRequest API服务发布成功商品ID回传 API请求 alibaba.seaking.feedback
API服务发布成功商品ID回传,用于跟进商品id后续的使用情况
func NewAlibabaSeakingFeedbackRequest ¶
func NewAlibabaSeakingFeedbackRequest() *AlibabaSeakingFeedbackAPIRequest
NewAlibabaSeakingFeedbackRequest 初始化AlibabaSeakingFeedbackAPIRequest对象
func (AlibabaSeakingFeedbackAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingFeedbackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingFeedbackAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingFeedbackAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingFeedbackAPIRequest) GetIdentifier ¶ added in v1.2.0
func (r AlibabaSeakingFeedbackAPIRequest) GetIdentifier() string
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) 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) 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后续的使用情况
type AlibabaSeakingFeedbackAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingFeedbackAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_feedback_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaSeakingFeedbackAPIResponseModel is API服务发布成功商品ID回传 成功返回结果
type AlibabaSeakingImagetranslateResultAPIRequest ¶ added in v1.2.0
type AlibabaSeakingImagetranslateResultAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingImagetranslateResultAPIRequest 获取图片翻译任务结果 API请求 alibaba.seaking.imagetranslate.result
获取图片翻译任务结果
func NewAlibabaSeakingImagetranslateResultRequest ¶
func NewAlibabaSeakingImagetranslateResultRequest() *AlibabaSeakingImagetranslateResultAPIRequest
NewAlibabaSeakingImagetranslateResultRequest 初始化AlibabaSeakingImagetranslateResultAPIRequest对象
func (AlibabaSeakingImagetranslateResultAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateResultAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingImagetranslateResultAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateResultAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingImagetranslateResultAPIRequest) GetTaskId ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateResultAPIRequest) GetTaskId() int64
GetTaskId TaskId Getter
func (AlibabaSeakingImagetranslateResultAPIRequest) GetToken ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateResultAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaSeakingImagetranslateResultAPIRequest) GetTokenFrom ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateResultAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaSeakingImagetranslateResultAPIRequest) SetTaskId ¶ added in v1.2.0
func (r *AlibabaSeakingImagetranslateResultAPIRequest) SetTaskId(_taskId int64) error
SetTaskId is TaskId Setter 任务id
func (*AlibabaSeakingImagetranslateResultAPIRequest) SetToken ¶ added in v1.2.0
func (r *AlibabaSeakingImagetranslateResultAPIRequest) SetToken(_token string) error
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
获取图片翻译任务结果
type AlibabaSeakingImagetranslateResultAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingImagetranslateResultAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_imagetranslate_result_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaskResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaSeakingImagetranslateResultAPIResponseModel is 获取图片翻译任务结果 成功返回结果
type AlibabaSeakingImagetranslateSubmitAPIRequest ¶ added in v1.2.0
type AlibabaSeakingImagetranslateSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingImagetranslateSubmitAPIRequest 提交图片翻译任务 API请求 alibaba.seaking.imagetranslate.submit
提交图片翻译任务
func NewAlibabaSeakingImagetranslateSubmitRequest ¶
func NewAlibabaSeakingImagetranslateSubmitRequest() *AlibabaSeakingImagetranslateSubmitAPIRequest
NewAlibabaSeakingImagetranslateSubmitRequest 初始化AlibabaSeakingImagetranslateSubmitAPIRequest对象
func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateSubmitAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetImageTranslateDetailList ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateSubmitAPIRequest) GetImageTranslateDetailList() []ImageTranslateDetailDto
GetImageTranslateDetailList ImageTranslateDetailList Getter
func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetToken ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateSubmitAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaSeakingImagetranslateSubmitAPIRequest) GetTokenFrom ¶ added in v1.2.0
func (r AlibabaSeakingImagetranslateSubmitAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
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
func (r *AlibabaSeakingImagetranslateSubmitAPIRequest) SetToken(_token string) error
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
提交图片翻译任务
type AlibabaSeakingImagetranslateSubmitAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingImagetranslateSubmitAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_imagetranslate_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 任务id TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"` }
AlibabaSeakingImagetranslateSubmitAPIResponseModel is 提交图片翻译任务 成功返回结果
type AlibabaSeakingServicepackAPIRequest ¶ added in v1.2.0
type AlibabaSeakingServicepackAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingServicepackAPIRequest 获取海王用户权限包 API请求 alibaba.seaking.servicepack
获取海王用户权限包
func NewAlibabaSeakingServicepackRequest ¶
func NewAlibabaSeakingServicepackRequest() *AlibabaSeakingServicepackAPIRequest
NewAlibabaSeakingServicepackRequest 初始化AlibabaSeakingServicepackAPIRequest对象
func (AlibabaSeakingServicepackAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingServicepackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingServicepackAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingServicepackAPIRequest) GetApiParams() 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) 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
获取海王用户权限包
type AlibabaSeakingServicepackAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingServicepackAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_servicepack_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 权限包列表 ServicePackList []AlibabaSeakingServicepackResult `json:"service_pack_list,omitempty" xml:"service_pack_list>alibaba_seaking_servicepack_result,omitempty"` }
AlibabaSeakingServicepackAPIResponseModel is 获取海王用户权限包 成功返回结果
type AlibabaSeakingServicepackResult ¶
type AlibabaSeakingServicepackResult struct { // 到期时间 ValidateTo string `json:"validate_to,omitempty" xml:"validate_to,omitempty"` // 权限包名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 权限包id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
AlibabaSeakingServicepackResult 结构体
type AlibabaSeakingTaskReportAPIRequest ¶ added in v1.2.0
type AlibabaSeakingTaskReportAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingTaskReportAPIRequest 跳转任务发布成功商品ID回传 API请求 alibaba.seaking.task.report
跳转任务发布成功商品ID回传
func NewAlibabaSeakingTaskReportRequest ¶
func NewAlibabaSeakingTaskReportRequest() *AlibabaSeakingTaskReportAPIRequest
NewAlibabaSeakingTaskReportRequest 初始化AlibabaSeakingTaskReportAPIRequest对象
func (AlibabaSeakingTaskReportAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingTaskReportAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingTaskReportAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingTaskReportAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingTaskReportAPIRequest) GetReportDetail ¶ added in v1.2.0
func (r AlibabaSeakingTaskReportAPIRequest) GetReportDetail() []TaskDetailReportDto
GetReportDetail ReportDetail Getter
func (AlibabaSeakingTaskReportAPIRequest) GetTaskType ¶ added in v1.2.0
func (r AlibabaSeakingTaskReportAPIRequest) GetTaskType() string
GetTaskType TaskType Getter
func (AlibabaSeakingTaskReportAPIRequest) GetToken ¶ added in v1.2.0
func (r AlibabaSeakingTaskReportAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaSeakingTaskReportAPIRequest) GetTokenFrom ¶ added in v1.2.0
func (r AlibabaSeakingTaskReportAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
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回传
type AlibabaSeakingTaskReportAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingTaskReportAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_task_report_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 Result bool `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaSeakingTaskReportAPIResponseModel is 跳转任务发布成功商品ID回传 成功返回结果
type AlibabaSeakingTitlerewriteResultAPIRequest ¶ added in v1.2.0
type AlibabaSeakingTitlerewriteResultAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingTitlerewriteResultAPIRequest 获取标题改写任务结果 API请求 alibaba.seaking.titlerewrite.result
获取标题改写任务结果
func NewAlibabaSeakingTitlerewriteResultRequest ¶
func NewAlibabaSeakingTitlerewriteResultRequest() *AlibabaSeakingTitlerewriteResultAPIRequest
NewAlibabaSeakingTitlerewriteResultRequest 初始化AlibabaSeakingTitlerewriteResultAPIRequest对象
func (AlibabaSeakingTitlerewriteResultAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteResultAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingTitlerewriteResultAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteResultAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaSeakingTitlerewriteResultAPIRequest) GetTaskId ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteResultAPIRequest) GetTaskId() int64
GetTaskId TaskId Getter
func (AlibabaSeakingTitlerewriteResultAPIRequest) GetToken ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteResultAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaSeakingTitlerewriteResultAPIRequest) GetTokenFrom ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteResultAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetTaskId ¶ added in v1.2.0
func (r *AlibabaSeakingTitlerewriteResultAPIRequest) SetTaskId(_taskId int64) error
SetTaskId is TaskId Setter 任务id
func (*AlibabaSeakingTitlerewriteResultAPIRequest) SetToken ¶ added in v1.2.0
func (r *AlibabaSeakingTitlerewriteResultAPIRequest) SetToken(_token string) error
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
获取标题改写任务结果
type AlibabaSeakingTitlerewriteResultAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingTitlerewriteResultAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_titlerewrite_result_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *TaskResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaSeakingTitlerewriteResultAPIResponseModel is 获取标题改写任务结果 成功返回结果
type AlibabaSeakingTitlerewriteSubmitAPIRequest ¶ added in v1.2.0
type AlibabaSeakingTitlerewriteSubmitAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaSeakingTitlerewriteSubmitAPIRequest 提交标题改写任务 API请求 alibaba.seaking.titlerewrite.submit
提交标题改写任务
func NewAlibabaSeakingTitlerewriteSubmitRequest ¶
func NewAlibabaSeakingTitlerewriteSubmitRequest() *AlibabaSeakingTitlerewriteSubmitAPIRequest
NewAlibabaSeakingTitlerewriteSubmitRequest 初始化AlibabaSeakingTitlerewriteSubmitAPIRequest对象
func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetApiParams() url.Values
GetApiParams 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
func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetToken() string
GetToken Token Getter
func (AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTokenFrom ¶ added in v1.2.0
func (r AlibabaSeakingTitlerewriteSubmitAPIRequest) GetTokenFrom() string
GetTokenFrom TokenFrom Getter
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
func (r *AlibabaSeakingTitlerewriteSubmitAPIRequest) SetToken(_token string) error
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
提交标题改写任务
type AlibabaSeakingTitlerewriteSubmitAPIResponseModel ¶ added in v1.2.0
type AlibabaSeakingTitlerewriteSubmitAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_seaking_titlerewrite_submit_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 任务id TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"` }
AlibabaSeakingTitlerewriteSubmitAPIResponseModel is 提交标题改写任务 成功返回结果
type 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