qianniu

package
v1.2.9 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package qianniu 包含千牛接口相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrderStatisticsResult

type OrderStatisticsResult struct {
	// tqdj_order_num
	TqdjOrderNum int64 `json:"tqdj_order_num,omitempty" xml:"tqdj_order_num,omitempty"`
	// take_order_num
	TakeOrderNum int64 `json:"take_order_num,omitempty" xml:"take_order_num,omitempty"`
	// home_order_num
	HomeOrderNum int64 `json:"home_order_num,omitempty" xml:"home_order_num,omitempty"`
	// step_order_num
	StepOrderNum int64 `json:"step_order_num,omitempty" xml:"step_order_num,omitempty"`
}

OrderStatisticsResult 结构体

type PicAuditParam added in v1.2.9

type PicAuditParam struct {
	// 图片链接列表
	PicUrls []string `json:"pic_urls,omitempty" xml:"pic_urls>string,omitempty"`
	// 用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

PicAuditParam 结构体

type PicAuditResult added in v1.2.9

type PicAuditResult struct {
	// 经审核的图片链接列表
	AuditedUrls []string `json:"audited_urls,omitempty" xml:"audited_urls>string,omitempty"`
	// 不合法的图片链接序号
	IllegalIndex []string `json:"illegal_index,omitempty" xml:"illegal_index>string,omitempty"`
}

PicAuditResult 结构体

type QTask

type QTask struct {
	// 执行者用户昵称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 发起人nick
	SenderNick string `json:"sender_nick,omitempty" xml:"sender_nick,omitempty"`
	// 任务创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 任务更新时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 任务完成时间,格式:当前时间毫秒数
	GmtFinished string `json:"gmt_finished,omitempty" xml:"gmt_finished,omitempty"`
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 子业务类型
	SubBizType string `json:"sub_biz_type,omitempty" xml:"sub_biz_type,omitempty"`
	// 业务ID
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 业务参数
	BizParam string `json:"biz_param,omitempty" xml:"biz_param,omitempty"`
	// 业务入口
	BizEntry string `json:"biz_entry,omitempty" xml:"biz_entry,omitempty"`
	// 任务标签
	Tag string `json:"tag,omitempty" xml:"tag,omitempty"`
	// 任务备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 提醒时间
	RemindTime string `json:"remind_time,omitempty" xml:"remind_time,omitempty"`
	// 与业务相关的对象。当前主要用于保存买家nick
	BizNick string `json:"biz_nick,omitempty" xml:"biz_nick,omitempty"`
	// biz_type的类型中文名
	BizTypeStr string `json:"biz_type_str,omitempty" xml:"biz_type_str,omitempty"`
	// json格式的字符串,包含跳转协议
	Action string `json:"action,omitempty" xml:"action,omitempty"`
	// 点击业务号时的动作
	BizIdAction string `json:"biz_id_action,omitempty" xml:"biz_id_action,omitempty"`
	// 业务号的展示名称
	BizIdName string `json:"biz_id_name,omitempty" xml:"biz_id_name,omitempty"`
	// 新任务的内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 附件的文件名
	Attachments string `json:"attachments,omitempty" xml:"attachments,omitempty"`
	// 语音附件的文件名
	VoiceFile string `json:"voice_file,omitempty" xml:"voice_file,omitempty"`
	// newYunpanAttachments
	NewYunpanAttachments string `json:"new_yunpan_attachments,omitempty" xml:"new_yunpan_attachments,omitempty"`
	// 买家uid密文
	OpenBuyerUid string `json:"open_buyer_uid,omitempty" xml:"open_buyer_uid,omitempty"`
	// 任务ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 执行者用户数字ID
	ReceiverUid int64 `json:"receiver_uid,omitempty" xml:"receiver_uid,omitempty"`
	// 发起人uid
	SenderUid int64 `json:"sender_uid,omitempty" xml:"sender_uid,omitempty"`
	// 表示是否为本条记录接收人实际完成
	FinishFlag int64 `json:"finish_flag,omitempty" xml:"finish_flag,omitempty"`
	// 任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,6-已转发
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 子任务状态,由业务方自定义
	SubStatus int64 `json:"sub_status,omitempty" xml:"sub_status,omitempty"`
	// 任务完成标识, 0-一个人完成整个任务, 1-所有人完成整个任务完成,冗余任务元数据字段
	FinishStrategy int64 `json:"finish_strategy,omitempty" xml:"finish_strategy,omitempty"`
	// gmt_create的数字格式
	GmtCreateLong int64 `json:"gmt_create_long,omitempty" xml:"gmt_create_long,omitempty"`
	// gmt_modified的数字格式
	GmtModifiedLong int64 `json:"gmt_modified_long,omitempty" xml:"gmt_modified_long,omitempty"`
	// gmt_finished的数字格式
	GmtFinishedLong int64 `json:"gmt_finished_long,omitempty" xml:"gmt_finished_long,omitempty"`
	// 到期提醒的方式。0-不提醒 1-pc和移动提醒 2-仅pc提醒 3-仅移动提醒。在查询类接口中,只需要传2或3即可,为1的数据都会包含在其中。
	RemindFlag int64 `json:"remind_flag,omitempty" xml:"remind_flag,omitempty"`
	// remind_time的数字格式
	RemindTimeLong int64 `json:"remind_time_long,omitempty" xml:"remind_time_long,omitempty"`
	// 同次操作相关的任务数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 优先级,同任务元中的priority值,方便查询使用。
	Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"`
	// 任务元id
	MetadataId int64 `json:"metadata_id,omitempty" xml:"metadata_id,omitempty"`
	// 当前任务的评论数
	CommentCount int64 `json:"comment_count,omitempty" xml:"comment_count,omitempty"`
	// 任务“已读”、“未读”状态,0:已读,1:未读
	ReadStatus int64 `json:"read_status,omitempty" xml:"read_status,omitempty"`
	// 关联的任务元数据
	Meta *QTaskMetadata `json:"meta,omitempty" xml:"meta,omitempty"`
	// 是否删除
	IsDeleted int64 `json:"is_deleted,omitempty" xml:"is_deleted,omitempty"`
	// 父任务的id
	ParentTaskId int64 `json:"parent_task_id,omitempty" xml:"parent_task_id,omitempty"`
}

QTask 结构体

type QTaskMetadata

type QTaskMetadata struct {
	// 任务标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 任务摘要内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 任务开始时间,格式:当前时间毫秒数
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 任务结束时间,格式:当前时间毫秒数
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 发起者用户昵称
	SenderNick string `json:"sender_nick,omitempty" xml:"sender_nick,omitempty"`
	// 任务元备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 轻任务附件信息,userId_timestamp_随机字符串,例如:23434_1234458623_seresfto
	Attachments string `json:"attachments,omitempty" xml:"attachments,omitempty"`
	// 我的安排的任务上的提醒时间
	BizRemindTime string `json:"biz_remind_time,omitempty" xml:"biz_remind_time,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 任务更新时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 接收的任务类型,所有相关的任务的类型一致时有效。当任务类型不一致时为diff
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// biztype的中文名
	BizTypeStr string `json:"biz_type_str,omitempty" xml:"biz_type_str,omitempty"`
	// 点击动作的协议
	Action string `json:"action,omitempty" xml:"action,omitempty"`
	// 语音备注的文件名
	VoiceFile string `json:"voice_file,omitempty" xml:"voice_file,omitempty"`
	// 任务接收人的列表
	Receiver string `json:"receiver,omitempty" xml:"receiver,omitempty"`
	// newYunpanAttachments
	NewYunpanAttachments string `json:"new_yunpan_attachments,omitempty" xml:"new_yunpan_attachments,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 来源系统ID
	BizSysId int64 `json:"biz_sys_id,omitempty" xml:"biz_sys_id,omitempty"`
	// 任务在来源系统的类型, 这个是业务系统的自定义类型
	BizSysTaskType int64 `json:"biz_sys_task_type,omitempty" xml:"biz_sys_task_type,omitempty"`
	// 发起者用户数字ID
	SenderUid int64 `json:"sender_uid,omitempty" xml:"sender_uid,omitempty"`
	// 提醒标志位: 0表示不需要提醒,1表示需要状态变更提醒
	ReminderFlag int64 `json:"reminder_flag,omitempty" xml:"reminder_flag,omitempty"`
	// 任务完成标识: 0表示只要有一个人完成任务即可,1表示所有人需要各自都完成任务
	FinishStrategy int64 `json:"finish_strategy,omitempty" xml:"finish_strategy,omitempty"`
	// 优先级,0低,1中,2高
	Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"`
	// 与此任务元相关的任务数
	TaskCount int64 `json:"task_count,omitempty" xml:"task_count,omitempty"`
	// 是biz_remind_time的数字格式
	BizRemindTimeLong int64 `json:"biz_remind_time_long,omitempty" xml:"biz_remind_time_long,omitempty"`
	// 完成的任务数。如果完成策略是只需要1个人完成的,则只要一个人完成就会返回总任务条数。如果是所有人都要完成的,则会返回实际完成条数。
	FinishCount int64 `json:"finish_count,omitempty" xml:"finish_count,omitempty"`
	// start_time的数字格式
	StartTimeLong int64 `json:"start_time_long,omitempty" xml:"start_time_long,omitempty"`
	// end_time的数字格式
	EndTimeLong int64 `json:"end_time_long,omitempty" xml:"end_time_long,omitempty"`
	// gmt_create的数字格式
	GmtCreateLong int64 `json:"gmt_create_long,omitempty" xml:"gmt_create_long,omitempty"`
	// gmt_modified的数字格式
	GmtModifiedLong int64 `json:"gmt_modified_long,omitempty" xml:"gmt_modified_long,omitempty"`
	// 同次操作的任务元数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 0为未完成,2为完成,4为取消
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 当前任务的评论数
	CommentCount int64 `json:"comment_count,omitempty" xml:"comment_count,omitempty"`
}

QTaskMetadata 结构体

type QnCopilotResultDo added in v1.2.9

type QnCopilotResultDo struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 审核结果
	Result *PicAuditResult `json:"result,omitempty" xml:"result,omitempty"`
}

QnCopilotResultDo 结构体

type RecordList

type RecordList struct {
	// 变更时间
	ChangeTime string `json:"change_time,omitempty" xml:"change_time,omitempty"`
	// 登陆域
	Domain string `json:"domain,omitempty" xml:"domain,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// mainAccountId
	MainAccountId int64 `json:"main_account_id,omitempty" xml:"main_account_id,omitempty"`
	// 操作记录,1在线,-1离线,2挂起,3解挂
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 记录类型,PC上下线:8;移动上下线:4;挂起类型:5
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 查询记录的帐号ID
	AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"`
	// 变更时间戳
	ChangeTimeTs int64 `json:"change_time_ts,omitempty" xml:"change_time_ts,omitempty"`
}

RecordList 结构体

type TaobaoDaogoubaoOrderStatisticsTotalAPIRequest added in v1.2.0

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

TaobaoDaogoubaoOrderStatisticsTotalAPIRequest 销售订单总额统计 API请求 taobao.daogoubao.order.statistics.total

对接千牛端数字中心

func NewTaobaoDaogoubaoOrderStatisticsTotalRequest

func NewTaobaoDaogoubaoOrderStatisticsTotalRequest() *TaobaoDaogoubaoOrderStatisticsTotalAPIRequest

NewTaobaoDaogoubaoOrderStatisticsTotalRequest 初始化TaobaoDaogoubaoOrderStatisticsTotalAPIRequest对象

func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetDebugId added in v1.2.0

GetDebugId DebugId Getter

func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetField added in v1.2.0

GetField Field Getter

func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetDebugId added in v1.2.0

SetDebugId is DebugId Setter 调试时用的传入id

func (*TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetField added in v1.2.0

SetField is Field Setter 需要的字段名

type TaobaoDaogoubaoOrderStatisticsTotalAPIResponse

type TaobaoDaogoubaoOrderStatisticsTotalAPIResponse struct {
	model.CommonResponse
	TaobaoDaogoubaoOrderStatisticsTotalAPIResponseModel
}

TaobaoDaogoubaoOrderStatisticsTotalAPIResponse 销售订单总额统计 API返回值 taobao.daogoubao.order.statistics.total

对接千牛端数字中心

type TaobaoDaogoubaoOrderStatisticsTotalAPIResponseModel added in v1.2.0

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

TaobaoDaogoubaoOrderStatisticsTotalAPIResponseModel is 销售订单总额统计 成功返回结果

type TaobaoQianniuBuyerTagGetAPIRequest added in v1.2.0

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

TaobaoQianniuBuyerTagGetAPIRequest 判断买家是否有某些标 API请求 taobao.qianniu.buyer.tag.get

判断某个买家是否有某些标

func NewTaobaoQianniuBuyerTagGetRequest

func NewTaobaoQianniuBuyerTagGetRequest() *TaobaoQianniuBuyerTagGetAPIRequest

NewTaobaoQianniuBuyerTagGetRequest 初始化TaobaoQianniuBuyerTagGetAPIRequest对象

func (TaobaoQianniuBuyerTagGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuBuyerTagGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuBuyerTagGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuBuyerTagGetAPIRequest) GetBuyerNick added in v1.2.0

func (r TaobaoQianniuBuyerTagGetAPIRequest) GetBuyerNick() string

GetBuyerNick BuyerNick Getter

func (TaobaoQianniuBuyerTagGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuBuyerTagGetAPIRequest) GetTagList added in v1.2.0

GetTagList TagList Getter

func (*TaobaoQianniuBuyerTagGetAPIRequest) SetBuyerNick added in v1.2.0

func (r *TaobaoQianniuBuyerTagGetAPIRequest) SetBuyerNick(_buyerNick string) error

SetBuyerNick is BuyerNick Setter 买家nick

func (*TaobaoQianniuBuyerTagGetAPIRequest) SetTagList added in v1.2.0

func (r *TaobaoQianniuBuyerTagGetAPIRequest) SetTagList(_tagList string) error

SetTagList is TagList Setter 支持的表,多个tag用英文逗号切割

type TaobaoQianniuBuyerTagGetAPIResponse

type TaobaoQianniuBuyerTagGetAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuBuyerTagGetAPIResponseModel
}

TaobaoQianniuBuyerTagGetAPIResponse 判断买家是否有某些标 API返回值 taobao.qianniu.buyer.tag.get

判断某个买家是否有某些标

type TaobaoQianniuBuyerTagGetAPIResponseModel added in v1.2.0

type TaobaoQianniuBuyerTagGetAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_buyer_tag_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 用户tag信息
	UserTagInfo *UserTagQueryResult `json:"user_tag_info,omitempty" xml:"user_tag_info,omitempty"`
}

TaobaoQianniuBuyerTagGetAPIResponseModel is 判断买家是否有某些标 成功返回结果

type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest added in v1.2.0

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

TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest 查询客服在线状态 API请求 taobao.qianniu.cloudkefu.onlinestatuslog.get

按天查询客服账号的在线状态记录。如:登录,下线,挂起等 有别于taobao.qianniu.cloudkefu.statuslog.get接口,这个接口可以查询30天内的流水,不需要分页查询

func NewTaobaoQianniuCloudkefuOnlinestatuslogGetRequest

func NewTaobaoQianniuCloudkefuOnlinestatuslogGetRequest() *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest

NewTaobaoQianniuCloudkefuOnlinestatuslogGetRequest 初始化TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest对象

func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetAccountIds added in v1.2.0

GetAccountIds AccountIds Getter

func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetStartDate added in v1.2.0

GetStartDate StartDate Getter

func (*TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetAccountIds added in v1.2.0

func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetAccountIds(_accountIds []string) error

SetAccountIds is AccountIds Setter 子帐号列表,最多10个

func (*TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetEndDate added in v1.2.0

SetEndDate is EndDate Setter 查询结束日期,只有日期有效,时间忽略

func (*TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetStartDate added in v1.2.0

SetStartDate is StartDate Setter 查询开始日期,只有日期有效,时间忽略

type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponse

type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponseModel
}

TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponse 查询客服在线状态 API返回值 taobao.qianniu.cloudkefu.onlinestatuslog.get

按天查询客服账号的在线状态记录。如:登录,下线,挂起等 有别于taobao.qianniu.cloudkefu.statuslog.get接口,这个接口可以查询30天内的流水,不需要分页查询

type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponseModel added in v1.2.0

type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_cloudkefu_onlinestatuslog_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// module
	RecordList []RecordList `json:"record_list,omitempty" xml:"record_list>record_list,omitempty"`
	// cause
	Cause string `json:"cause,omitempty" xml:"cause,omitempty"`
	// errorMap
	ErrorMap string `json:"error_map,omitempty" xml:"error_map,omitempty"`
	// attachment
	Attachment string `json:"attachment,omitempty" xml:"attachment,omitempty"`
	// solution
	Solution string `json:"solution,omitempty" xml:"solution,omitempty"`
	// version
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponseModel is 查询客服在线状态 成功返回结果

type TaobaoQianniuNumberPutAPIRequest added in v1.2.0

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

TaobaoQianniuNumberPutAPIRequest ISV上传数据接口 API请求 taobao.qianniu.number.put

ISV提供给卖家使用的业务数据,需要通过这个接口上传到千牛数据中心。

func NewTaobaoQianniuNumberPutRequest

func NewTaobaoQianniuNumberPutRequest() *TaobaoQianniuNumberPutAPIRequest

NewTaobaoQianniuNumberPutRequest 初始化TaobaoQianniuNumberPutAPIRequest对象

func (TaobaoQianniuNumberPutAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuNumberPutAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuNumberPutAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuNumberPutAPIRequest) GetData added in v1.2.0

GetData Data Getter

func (TaobaoQianniuNumberPutAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQianniuNumberPutAPIRequest) SetData added in v1.2.0

func (r *TaobaoQianniuNumberPutAPIRequest) SetData(_data string) error

SetData is Data Setter 考虑到稳定性,建议一次卖家最多为200个。标准json格式的数组构成的字符串。每个元素为{user_id:****,field:"****",value:"****"}分别是用户的userid,数据的名称,以及数据的值。

type TaobaoQianniuNumberPutAPIResponse

type TaobaoQianniuNumberPutAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuNumberPutAPIResponseModel
}

TaobaoQianniuNumberPutAPIResponse ISV上传数据接口 API返回值 taobao.qianniu.number.put

ISV提供给卖家使用的业务数据,需要通过这个接口上传到千牛数据中心。

type TaobaoQianniuNumberPutAPIResponseModel added in v1.2.0

type TaobaoQianniuNumberPutAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_number_put_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否上传成功。返回的是个json串,分别表示每条记录是否成功。
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoQianniuNumberPutAPIResponseModel is ISV上传数据接口 成功返回结果

type TaobaoQianniuTaskCancelAPIRequest added in v1.2.0

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

TaobaoQianniuTaskCancelAPIRequest 取消轻任务 API请求 taobao.qianniu.task.cancel

由任务发起者调用

func NewTaobaoQianniuTaskCancelRequest

func NewTaobaoQianniuTaskCancelRequest() *TaobaoQianniuTaskCancelAPIRequest

NewTaobaoQianniuTaskCancelRequest 初始化TaobaoQianniuTaskCancelAPIRequest对象

func (TaobaoQianniuTaskCancelAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskCancelAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskCancelAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskCancelAPIRequest) GetMemo added in v1.2.0

GetMemo Memo Getter

func (TaobaoQianniuTaskCancelAPIRequest) GetMetaId added in v1.2.0

GetMetaId MetaId Getter

func (TaobaoQianniuTaskCancelAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQianniuTaskCancelAPIRequest) SetMemo added in v1.2.0

SetMemo is Memo Setter 任务备注

func (*TaobaoQianniuTaskCancelAPIRequest) SetMetaId added in v1.2.0

func (r *TaobaoQianniuTaskCancelAPIRequest) SetMetaId(_metaId int64) error

SetMetaId is MetaId Setter 任务元数据ID

type TaobaoQianniuTaskCancelAPIResponse

type TaobaoQianniuTaskCancelAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskCancelAPIResponseModel
}

TaobaoQianniuTaskCancelAPIResponse 取消轻任务 API返回值 taobao.qianniu.task.cancel

由任务发起者调用

type TaobaoQianniuTaskCancelAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskCancelAPIResponseModel is 取消轻任务 成功返回结果

type TaobaoQianniuTaskCreateAPIRequest added in v1.2.0

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

TaobaoQianniuTaskCreateAPIRequest 创建轻任务 API请求 taobao.qianniu.task.create

发起一个轻任务,分配给多个执行者,并发送消息提醒,由任务发起者调用

func NewTaobaoQianniuTaskCreateRequest

func NewTaobaoQianniuTaskCreateRequest() *TaobaoQianniuTaskCreateAPIRequest

NewTaobaoQianniuTaskCreateRequest 初始化TaobaoQianniuTaskCreateAPIRequest对象

func (TaobaoQianniuTaskCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskCreateAPIRequest) GetMeta added in v1.2.0

GetMeta Meta Getter

func (TaobaoQianniuTaskCreateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTaskCreateAPIRequest) GetTasks added in v1.2.0

GetTasks Tasks Getter

func (*TaobaoQianniuTaskCreateAPIRequest) SetMeta added in v1.2.0

SetMeta is Meta Setter 任务元数据,JSON格式,例如:<br/>meta = {<br/> title : "可自定义",<br/> content : “任务正文”,<br/> sender_uid : user_id,<br/> sender_nick : user_nick,<br/> reminder_flag : 1,<br/> finish_strategy : 0,<br/> biz_type : "memo",<br/> priority : 0<br/> };<br/>说明:reminder_flag:1表示需要发送任务提醒消息,0表示不需要消息提醒。建议写1;<br/>finish_strategy : 0表示只要一个人完成任务就可以,1表示所有人都需要完成任务。根据场景设置,建议选0;<br/>biz_type : 任务类型,请咨询千牛官方获取正确的任务类型;<br/>priority : 1表示高优先级,0表示普通;<br/>这里的举例为必填字段,一些选填字段没有列出,如有其它需求请联系千牛官方。

func (*TaobaoQianniuTaskCreateAPIRequest) SetTasks added in v1.2.0

func (r *TaobaoQianniuTaskCreateAPIRequest) SetTasks(_tasks string) error

SetTasks is Tasks Setter 任务列表,JSON格式的数组,即支持多个接收人,例如:<br/>task = [{<br/> receiver_uid : user_id,<br/> receiver_nick : user_nick,<br/> biz_type : "memo",<br/> sub_biz_type : "memo",<br/> biz_id : user_nick,<br/> biz_nick : user_nick<br/> }];<br/>上述为必填字段,其它字段请咨询千牛官方。

type TaobaoQianniuTaskCreateAPIResponse

type TaobaoQianniuTaskCreateAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskCreateAPIResponseModel
}

TaobaoQianniuTaskCreateAPIResponse 创建轻任务 API返回值 taobao.qianniu.task.create

发起一个轻任务,分配给多个执行者,并发送消息提醒,由任务发起者调用

type TaobaoQianniuTaskCreateAPIResponseModel added in v1.2.0

type TaobaoQianniuTaskCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_task_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 创建的任务元数据
	Result *QTaskMetadata `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoQianniuTaskCreateAPIResponseModel is 创建轻任务 成功返回结果

type TaobaoQianniuTaskFinishAPIRequest added in v1.2.0

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

TaobaoQianniuTaskFinishAPIRequest 完成轻任务 API请求 taobao.qianniu.task.finish

由任务执行者调用

func NewTaobaoQianniuTaskFinishRequest

func NewTaobaoQianniuTaskFinishRequest() *TaobaoQianniuTaskFinishAPIRequest

NewTaobaoQianniuTaskFinishRequest 初始化TaobaoQianniuTaskFinishAPIRequest对象

func (TaobaoQianniuTaskFinishAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskFinishAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskFinishAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskFinishAPIRequest) GetMemo added in v1.2.0

GetMemo Memo Getter

func (TaobaoQianniuTaskFinishAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTaskFinishAPIRequest) GetTaskId added in v1.2.0

GetTaskId TaskId Getter

func (*TaobaoQianniuTaskFinishAPIRequest) SetMemo added in v1.2.0

SetMemo is Memo Setter 任务备注

func (*TaobaoQianniuTaskFinishAPIRequest) SetTaskId added in v1.2.0

func (r *TaobaoQianniuTaskFinishAPIRequest) SetTaskId(_taskId int64) error

SetTaskId is TaskId Setter 任务ID

type TaobaoQianniuTaskFinishAPIResponse

type TaobaoQianniuTaskFinishAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskFinishAPIResponseModel
}

TaobaoQianniuTaskFinishAPIResponse 完成轻任务 API返回值 taobao.qianniu.task.finish

由任务执行者调用

type TaobaoQianniuTaskFinishAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskFinishAPIResponseModel is 完成轻任务 成功返回结果

type TaobaoQianniuTaskIncreaseAPIRequest added in v1.2.0

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

TaobaoQianniuTaskIncreaseAPIRequest 增加任务接收人接口 API请求 taobao.qianniu.task.increase

根据任务元id增加任务接收人

func NewTaobaoQianniuTaskIncreaseRequest

func NewTaobaoQianniuTaskIncreaseRequest() *TaobaoQianniuTaskIncreaseAPIRequest

NewTaobaoQianniuTaskIncreaseRequest 初始化TaobaoQianniuTaskIncreaseAPIRequest对象

func (TaobaoQianniuTaskIncreaseAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskIncreaseAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskIncreaseAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskIncreaseAPIRequest) GetMetadataId added in v1.2.0

func (r TaobaoQianniuTaskIncreaseAPIRequest) GetMetadataId() int64

GetMetadataId MetadataId Getter

func (TaobaoQianniuTaskIncreaseAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTaskIncreaseAPIRequest) GetTasks added in v1.2.0

GetTasks Tasks Getter

func (*TaobaoQianniuTaskIncreaseAPIRequest) SetMetadataId added in v1.2.0

func (r *TaobaoQianniuTaskIncreaseAPIRequest) SetMetadataId(_metadataId int64) error

SetMetadataId is MetadataId Setter 任务元id

func (*TaobaoQianniuTaskIncreaseAPIRequest) SetTasks added in v1.2.0

func (r *TaobaoQianniuTaskIncreaseAPIRequest) SetTasks(_tasks string) error

SetTasks is Tasks Setter 任务列表,JSON格式,例如: tasks =[{ "receiver_uid" : 123, "receiver_nick" : "nick"}, { "receiver_uid" : 456, "receiver_nick" : "nick2"} ]

type TaobaoQianniuTaskIncreaseAPIResponse

type TaobaoQianniuTaskIncreaseAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskIncreaseAPIResponseModel
}

TaobaoQianniuTaskIncreaseAPIResponse 增加任务接收人接口 API返回值 taobao.qianniu.task.increase

根据任务元id增加任务接收人

type TaobaoQianniuTaskIncreaseAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskIncreaseAPIResponseModel is 增加任务接收人接口 成功返回结果

type TaobaoQianniuTaskMessageSendAPIRequest added in v1.2.0

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

TaobaoQianniuTaskMessageSendAPIRequest 发送任务提醒消息 API请求 taobao.qianniu.task.message.send

如果taskid不为空,则只发给task对应的单个接收人。如果taskid为空,则发给metadata_id对应的所有接收人。消息会以任务消息的形式发给客户端。

func NewTaobaoQianniuTaskMessageSendRequest

func NewTaobaoQianniuTaskMessageSendRequest() *TaobaoQianniuTaskMessageSendAPIRequest

NewTaobaoQianniuTaskMessageSendRequest 初始化TaobaoQianniuTaskMessageSendAPIRequest对象

func (TaobaoQianniuTaskMessageSendAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskMessageSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskMessageSendAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskMessageSendAPIRequest) GetMetadataId added in v1.2.0

GetMetadataId MetadataId Getter

func (TaobaoQianniuTaskMessageSendAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTaskMessageSendAPIRequest) GetTaskId added in v1.2.0

GetTaskId TaskId Getter

func (*TaobaoQianniuTaskMessageSendAPIRequest) SetMetadataId added in v1.2.0

func (r *TaobaoQianniuTaskMessageSendAPIRequest) SetMetadataId(_metadataId int64) error

SetMetadataId is MetadataId Setter 任务元id,如果taskid不为空,则只发给task对应的单个接收人。如果taskid为空,则发给metadata_id对应的所有接收人。

func (*TaobaoQianniuTaskMessageSendAPIRequest) SetTaskId added in v1.2.0

func (r *TaobaoQianniuTaskMessageSendAPIRequest) SetTaskId(_taskId int64) error

SetTaskId is TaskId Setter 任务ID。如果taskid不为空,则只发给task对应的单个接收人。如果taskid为空,则发给metadata_id对应的所有接收人。

type TaobaoQianniuTaskMessageSendAPIResponse

type TaobaoQianniuTaskMessageSendAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskMessageSendAPIResponseModel
}

TaobaoQianniuTaskMessageSendAPIResponse 发送任务提醒消息 API返回值 taobao.qianniu.task.message.send

如果taskid不为空,则只发给task对应的单个接收人。如果taskid为空,则发给metadata_id对应的所有接收人。消息会以任务消息的形式发给客户端。

type TaobaoQianniuTaskMessageSendAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskMessageSendAPIResponseModel is 发送任务提醒消息 成功返回结果

type TaobaoQianniuTaskRemoveAPIRequest added in v1.2.0

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

TaobaoQianniuTaskRemoveAPIRequest 轻任务删除接口 API请求 taobao.qianniu.task.remove

轻任务删除接口。

func NewTaobaoQianniuTaskRemoveRequest

func NewTaobaoQianniuTaskRemoveRequest() *TaobaoQianniuTaskRemoveAPIRequest

NewTaobaoQianniuTaskRemoveRequest 初始化TaobaoQianniuTaskRemoveAPIRequest对象

func (TaobaoQianniuTaskRemoveAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskRemoveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskRemoveAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskRemoveAPIRequest) GetMetadataId added in v1.2.0

func (r TaobaoQianniuTaskRemoveAPIRequest) GetMetadataId() int64

GetMetadataId MetadataId Getter

func (TaobaoQianniuTaskRemoveAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQianniuTaskRemoveAPIRequest) SetMetadataId added in v1.2.0

func (r *TaobaoQianniuTaskRemoveAPIRequest) SetMetadataId(_metadataId int64) error

SetMetadataId is MetadataId Setter 对于发起人删除一个任务,请使用这个字段,同时清除所有处理人。

type TaobaoQianniuTaskRemoveAPIResponse

type TaobaoQianniuTaskRemoveAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskRemoveAPIResponseModel
}

TaobaoQianniuTaskRemoveAPIResponse 轻任务删除接口 API返回值 taobao.qianniu.task.remove

轻任务删除接口。

type TaobaoQianniuTaskRemoveAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskRemoveAPIResponseModel is 轻任务删除接口 成功返回结果

type TaobaoQianniuTaskUpdateAPIRequest added in v1.2.0

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

TaobaoQianniuTaskUpdateAPIRequest 更新轻任务 API请求 taobao.qianniu.task.update

由任务执行者调用,sub_status,tag和memo至少提供一个

func NewTaobaoQianniuTaskUpdateRequest

func NewTaobaoQianniuTaskUpdateRequest() *TaobaoQianniuTaskUpdateAPIRequest

NewTaobaoQianniuTaskUpdateRequest 初始化TaobaoQianniuTaskUpdateAPIRequest对象

func (TaobaoQianniuTaskUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskUpdateAPIRequest) GetBizParam added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetBizParam() string

GetBizParam BizParam Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetIsDeleted added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetIsDeleted() int64

GetIsDeleted IsDeleted Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetMemo added in v1.2.0

GetMemo Memo Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetMemoMode added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetMemoMode() int64

GetMemoMode MemoMode Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetPriority added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetPriority() int64

GetPriority Priority Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTaskUpdateAPIRequest) GetRemindFlag added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetRemindFlag() int64

GetRemindFlag RemindFlag Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetRemindTime added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetRemindTime() int64

GetRemindTime RemindTime Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetSubStatus added in v1.2.0

func (r TaobaoQianniuTaskUpdateAPIRequest) GetSubStatus() string

GetSubStatus SubStatus Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetTag added in v1.2.0

GetTag Tag Getter

func (TaobaoQianniuTaskUpdateAPIRequest) GetTaskId added in v1.2.0

GetTaskId TaskId Getter

func (*TaobaoQianniuTaskUpdateAPIRequest) SetBizParam added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetBizParam(_bizParam string) error

SetBizParam is BizParam Setter 应用自定义参数

func (*TaobaoQianniuTaskUpdateAPIRequest) SetIsDeleted added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetIsDeleted(_isDeleted int64) error

SetIsDeleted is IsDeleted Setter 0表示没有删除,1表示删除

func (*TaobaoQianniuTaskUpdateAPIRequest) SetMemo added in v1.2.0

SetMemo is Memo Setter 任务备注。当memo_mode为1时,memo将采用追加方式。

func (*TaobaoQianniuTaskUpdateAPIRequest) SetMemoMode added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetMemoMode(_memoMode int64) error

SetMemoMode is MemoMode Setter 表示memo字段的更新策略。如需采用追加方式的,请将此字段设置为1。

func (*TaobaoQianniuTaskUpdateAPIRequest) SetPriority added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetPriority(_priority int64) error

SetPriority is Priority Setter 默认填0,数字越大优化级越高。当前常用0和1.

func (*TaobaoQianniuTaskUpdateAPIRequest) SetRemindFlag added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetRemindFlag(_remindFlag int64) error

SetRemindFlag is RemindFlag Setter 0为不提醒,1为全部提醒,2为PC提醒,3为移动提醒,4为已提醒,5为已忽略。

func (*TaobaoQianniuTaskUpdateAPIRequest) SetRemindTime added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetRemindTime(_remindTime int64) error

SetRemindTime is RemindTime Setter 提醒时间,时间的毫秒数

func (*TaobaoQianniuTaskUpdateAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 状态值,多个以逗号分隔

func (*TaobaoQianniuTaskUpdateAPIRequest) SetSubStatus added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetSubStatus(_subStatus string) error

SetSubStatus is SubStatus Setter 子任务状态,由业务方自定义

func (*TaobaoQianniuTaskUpdateAPIRequest) SetTag added in v1.2.0

SetTag is Tag Setter 任务标签

func (*TaobaoQianniuTaskUpdateAPIRequest) SetTaskId added in v1.2.0

func (r *TaobaoQianniuTaskUpdateAPIRequest) SetTaskId(_taskId int64) error

SetTaskId is TaskId Setter 任务ID

type TaobaoQianniuTaskUpdateAPIResponse

type TaobaoQianniuTaskUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskUpdateAPIResponseModel
}

TaobaoQianniuTaskUpdateAPIResponse 更新轻任务 API返回值 taobao.qianniu.task.update

由任务执行者调用,sub_status,tag和memo至少提供一个

type TaobaoQianniuTaskUpdateAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskUpdateAPIResponseModel is 更新轻任务 成功返回结果

type TaobaoQianniuTaskmetaUpdateAPIRequest added in v1.2.0

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

TaobaoQianniuTaskmetaUpdateAPIRequest 更新任务元数据 API请求 taobao.qianniu.taskmeta.update

由任务发起者调用

func NewTaobaoQianniuTaskmetaUpdateRequest

func NewTaobaoQianniuTaskmetaUpdateRequest() *TaobaoQianniuTaskmetaUpdateAPIRequest

NewTaobaoQianniuTaskmetaUpdateRequest 初始化TaobaoQianniuTaskmetaUpdateAPIRequest对象

func (TaobaoQianniuTaskmetaUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskmetaUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskmetaUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskmetaUpdateAPIRequest) GetMeta added in v1.2.0

GetMeta Meta Getter

func (TaobaoQianniuTaskmetaUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoQianniuTaskmetaUpdateAPIRequest) SetMeta added in v1.2.0

SetMeta is Meta Setter 要更新的任务元数据,JSON格式,例如:<br/>meta= {<br/> "id" : 1,<br/> "title" : "xxx",<br/> "content" : "yyyy",<br/> "biz_sys_Id" : 12232,<br/> "biz_sys_task_type" : 1212,<br/> "start_time" : 1380173565480,<br/> "end_time" : 1380173565480,<br/> "sender_uid" : 213123213,<br/> "sender_nick" : "tbtest1063",<br/> "reminder_flag" : 1,<br/> "finish_strategy" : 1<br/> }

type TaobaoQianniuTaskmetaUpdateAPIResponse

type TaobaoQianniuTaskmetaUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskmetaUpdateAPIResponseModel
}

TaobaoQianniuTaskmetaUpdateAPIResponse 更新任务元数据 API返回值 taobao.qianniu.taskmeta.update

由任务发起者调用

type TaobaoQianniuTaskmetaUpdateAPIResponseModel added in v1.2.0

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

TaobaoQianniuTaskmetaUpdateAPIResponseModel is 更新任务元数据 成功返回结果

type TaobaoQianniuTaskmetasGetAPIRequest added in v1.2.0

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

TaobaoQianniuTaskmetasGetAPIRequest 任务元查询接口 API请求 taobao.qianniu.taskmetas.get

任务元查询接口

func NewTaobaoQianniuTaskmetasGetRequest

func NewTaobaoQianniuTaskmetasGetRequest() *TaobaoQianniuTaskmetasGetAPIRequest

NewTaobaoQianniuTaskmetasGetRequest 初始化TaobaoQianniuTaskmetasGetAPIRequest对象

func (TaobaoQianniuTaskmetasGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTaskmetasGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTaskmetasGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTaskmetasGetAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetClientInfo added in v1.2.0

func (r TaobaoQianniuTaskmetasGetAPIRequest) GetClientInfo() string

GetClientInfo ClientInfo Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoQianniuTaskmetasGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetKeyWord added in v1.2.0

GetKeyWord KeyWord Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetMetaIds added in v1.2.0

GetMetaIds MetaIds Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetOrderBy added in v1.2.0

GetOrderBy OrderBy Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetOrderType added in v1.2.0

GetOrderType OrderType Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTaskmetasGetAPIRequest) GetReceiverUid added in v1.2.0

func (r TaobaoQianniuTaskmetasGetAPIRequest) GetReceiverUid() int64

GetReceiverUid ReceiverUid Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetSenderUid added in v1.2.0

func (r TaobaoQianniuTaskmetasGetAPIRequest) GetSenderUid() int64

GetSenderUid SenderUid Getter

func (TaobaoQianniuTaskmetasGetAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetBizType added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetBizType(_bizType string) error

SetBizType is BizType Setter 任务类型

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetClientInfo added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetClientInfo(_clientInfo string) error

SetClientInfo is ClientInfo Setter 客户端的版本信息

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页码

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 逗号分隔的字段列表.如id,title,content,sender_uid,sender_nick,finish_strategy,biz_sys_Id,biz_sys_task_type,start_time,end_time,reminder_flag,priority

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetKeyWord added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetKeyWord(_keyWord string) error

SetKeyWord is KeyWord Setter 按关键字搜索

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetMetaIds added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetMetaIds(_metaIds string) error

SetMetaIds is MetaIds Setter 任务元ID,多个以逗号分离

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetOrderBy added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetOrderBy(_orderBy string) error

SetOrderBy is OrderBy Setter 排序字段。gmt_create,priority等

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetOrderType added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetOrderType(_orderType string) error

SetOrderType is OrderType Setter 升降序。asc为升,desc为降

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 分页数,最大100

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetReceiverUid added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetReceiverUid(_receiverUid int64) error

SetReceiverUid is ReceiverUid Setter 接收人uid

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetSenderUid added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetSenderUid(_senderUid int64) error

SetSenderUid is SenderUid Setter 发起任务人的uid

func (*TaobaoQianniuTaskmetasGetAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetStatus(_status int64) error

SetStatus is Status Setter 0为未完成。2为完成。4为取消。不填为所有

type TaobaoQianniuTaskmetasGetAPIResponse

type TaobaoQianniuTaskmetasGetAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTaskmetasGetAPIResponseModel
}

TaobaoQianniuTaskmetasGetAPIResponse 任务元查询接口 API返回值 taobao.qianniu.taskmetas.get

任务元查询接口

type TaobaoQianniuTaskmetasGetAPIResponseModel added in v1.2.0

type TaobaoQianniuTaskmetasGetAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_taskmetas_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// taskmetas
	Taskmetas []QTaskMetadata `json:"taskmetas,omitempty" xml:"taskmetas>q_task_metadata,omitempty"`
}

TaobaoQianniuTaskmetasGetAPIResponseModel is 任务元查询接口 成功返回结果

type TaobaoQianniuTasksCountAPIRequest added in v1.2.0

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

TaobaoQianniuTasksCountAPIRequest 任务查询条数接口 API请求 taobao.qianniu.tasks.count

任务查询条数接口

func NewTaobaoQianniuTasksCountRequest

func NewTaobaoQianniuTasksCountRequest() *TaobaoQianniuTasksCountAPIRequest

NewTaobaoQianniuTasksCountRequest 初始化TaobaoQianniuTasksCountAPIRequest对象

func (TaobaoQianniuTasksCountAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTasksCountAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTasksCountAPIRequest) GetBizIds added in v1.2.0

GetBizIds BizIds Getter

func (TaobaoQianniuTasksCountAPIRequest) GetBizNick added in v1.2.0

GetBizNick BizNick Getter

func (TaobaoQianniuTasksCountAPIRequest) GetBizType added in v1.2.0

GetBizType BizType Getter

func (TaobaoQianniuTasksCountAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (TaobaoQianniuTasksCountAPIRequest) GetExcludeBizType added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetExcludeBizType() string

GetExcludeBizType ExcludeBizType Getter

func (TaobaoQianniuTasksCountAPIRequest) GetKeyWord added in v1.2.0

GetKeyWord KeyWord Getter

func (TaobaoQianniuTasksCountAPIRequest) GetMetadataIds added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetMetadataIds() string

GetMetadataIds MetadataIds Getter

func (TaobaoQianniuTasksCountAPIRequest) GetPriority added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetPriority() int64

GetPriority Priority Getter

func (TaobaoQianniuTasksCountAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoQianniuTasksCountAPIRequest) GetReceiverUid added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetReceiverUid() int64

GetReceiverUid ReceiverUid Getter

func (TaobaoQianniuTasksCountAPIRequest) GetRemindFlag added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetRemindFlag() int64

GetRemindFlag RemindFlag Getter

func (TaobaoQianniuTasksCountAPIRequest) GetSenderUid added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetSenderUid() int64

GetSenderUid SenderUid Getter

func (TaobaoQianniuTasksCountAPIRequest) GetStartDate added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetStartDate() string

GetStartDate StartDate Getter

func (TaobaoQianniuTasksCountAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (TaobaoQianniuTasksCountAPIRequest) GetSubBizType added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetSubBizType() string

GetSubBizType SubBizType Getter

func (TaobaoQianniuTasksCountAPIRequest) GetSubStatus added in v1.2.0

func (r TaobaoQianniuTasksCountAPIRequest) GetSubStatus() string

GetSubStatus SubStatus Getter

func (TaobaoQianniuTasksCountAPIRequest) GetTaskIds added in v1.2.0

GetTaskIds TaskIds Getter

func (*TaobaoQianniuTasksCountAPIRequest) SetBizIds added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetBizIds(_bizIds string) error

SetBizIds is BizIds Setter 业务ID列表,逗号分隔

func (*TaobaoQianniuTasksCountAPIRequest) SetBizNick added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetBizNick(_bizNick string) error

SetBizNick is BizNick Setter 与业务相关的买家nick

func (*TaobaoQianniuTasksCountAPIRequest) SetBizType added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetBizType(_bizType string) error

SetBizType is BizType Setter 业务类型

func (*TaobaoQianniuTasksCountAPIRequest) SetEndDate added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 按时间段搜索的结束日期。不填则不限。格式为2014-01-01

func (*TaobaoQianniuTasksCountAPIRequest) SetExcludeBizType added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetExcludeBizType(_excludeBizType string) error

SetExcludeBizType is ExcludeBizType Setter 需要排除的任务类型

func (*TaobaoQianniuTasksCountAPIRequest) SetKeyWord added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetKeyWord(_keyWord string) error

SetKeyWord is KeyWord Setter 关键词搜索。只对任务内容进行模糊匹配,以及bizid和biznick进行精准匹配

func (*TaobaoQianniuTasksCountAPIRequest) SetMetadataIds added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetMetadataIds(_metadataIds string) error

SetMetadataIds is MetadataIds Setter 任务元id,多个以逗号分隔

func (*TaobaoQianniuTasksCountAPIRequest) SetPriority added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetPriority(_priority int64) error

SetPriority is Priority Setter 优先级

func (*TaobaoQianniuTasksCountAPIRequest) SetReceiverUid added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetReceiverUid(_receiverUid int64) error

SetReceiverUid is ReceiverUid Setter 任务执行者用户数字ID

func (*TaobaoQianniuTasksCountAPIRequest) SetRemindFlag added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetRemindFlag(_remindFlag int64) error

SetRemindFlag is RemindFlag Setter 0-不需要提醒,未设提醒时间 1-设置过提醒时间,需要提醒

func (*TaobaoQianniuTasksCountAPIRequest) SetSenderUid added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetSenderUid(_senderUid int64) error

SetSenderUid is SenderUid Setter 任务发起者用户数字ID

func (*TaobaoQianniuTasksCountAPIRequest) SetStartDate added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 按时间段搜索时的开始日期,格式如2014-01-01,不填则不限

func (*TaobaoQianniuTasksCountAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 逗号分隔的任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,5-忽略

func (*TaobaoQianniuTasksCountAPIRequest) SetSubBizType added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetSubBizType(_subBizType string) error

SetSubBizType is SubBizType Setter 子任务类型

func (*TaobaoQianniuTasksCountAPIRequest) SetSubStatus added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetSubStatus(_subStatus string) error

SetSubStatus is SubStatus Setter 逗号分隔的子任务状态,由业务方自定义

func (*TaobaoQianniuTasksCountAPIRequest) SetTaskIds added in v1.2.0

func (r *TaobaoQianniuTasksCountAPIRequest) SetTaskIds(_taskIds string) error

SetTaskIds is TaskIds Setter 任务的ID列表,用逗号分隔

type TaobaoQianniuTasksCountAPIResponse

type TaobaoQianniuTasksCountAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTasksCountAPIResponseModel
}

TaobaoQianniuTasksCountAPIResponse 任务查询条数接口 API返回值 taobao.qianniu.tasks.count

任务查询条数接口

type TaobaoQianniuTasksCountAPIResponseModel added in v1.2.0

type TaobaoQianniuTasksCountAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_tasks_count_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 符合查询条件的总条数
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoQianniuTasksCountAPIResponseModel is 任务查询条数接口 成功返回结果

type TaobaoQianniuTasksGetAPIRequest added in v1.2.0

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

TaobaoQianniuTasksGetAPIRequest 获取指定的任务 API请求 taobao.qianniu.tasks.get

获取指定的任务,可用的参数组合:<br/>task_ids + need_meta + fields:精确查找<br/>biz_type + sub_biz_type + biz_ids + need_meta + fields:按照业务ID查找<br/>biz_type + sub_biz_type + sender_uid + need_meta + fields:按照发起者查找<br/>biz_type + sub_biz_type + receiver_uid + need_meta + fields:按照执行者查找<br/>biz_type+modify_start_time+modify_end_time+fields:能支持指定修改时间的查询,用于增量查询等

func NewTaobaoQianniuTasksGetRequest

func NewTaobaoQianniuTasksGetRequest() *TaobaoQianniuTasksGetAPIRequest

NewTaobaoQianniuTasksGetRequest 初始化TaobaoQianniuTasksGetAPIRequest对象

func (TaobaoQianniuTasksGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQianniuTasksGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQianniuTasksGetAPIRequest) GetBizIds added in v1.2.0

GetBizIds BizIds Getter

func (TaobaoQianniuTasksGetAPIRequest) GetBizNick added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetBizNick() string

GetBizNick BizNick Getter

func (TaobaoQianniuTasksGetAPIRequest) GetBizType added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetBizType() string

GetBizType BizType Getter

func (TaobaoQianniuTasksGetAPIRequest) GetClientInfo added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetClientInfo() string

GetClientInfo ClientInfo Getter

func (TaobaoQianniuTasksGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoQianniuTasksGetAPIRequest) GetEndDate added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetEndDate() string

GetEndDate EndDate Getter

func (TaobaoQianniuTasksGetAPIRequest) GetExcludeBizType added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetExcludeBizType() string

GetExcludeBizType ExcludeBizType Getter

func (TaobaoQianniuTasksGetAPIRequest) GetFields added in v1.2.0

GetFields Fields Getter

func (TaobaoQianniuTasksGetAPIRequest) GetKeyWord added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetKeyWord() string

GetKeyWord KeyWord Getter

func (TaobaoQianniuTasksGetAPIRequest) GetMetadataIds added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetMetadataIds() string

GetMetadataIds MetadataIds Getter

func (TaobaoQianniuTasksGetAPIRequest) GetModifyEndTimeStr added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetModifyEndTimeStr() string

GetModifyEndTimeStr ModifyEndTimeStr Getter

func (TaobaoQianniuTasksGetAPIRequest) GetModifyStartTimeStr added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetModifyStartTimeStr() string

GetModifyStartTimeStr ModifyStartTimeStr Getter

func (TaobaoQianniuTasksGetAPIRequest) GetNeedDeleted added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetNeedDeleted() bool

GetNeedDeleted NeedDeleted Getter

func (TaobaoQianniuTasksGetAPIRequest) GetNeedMeta added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetNeedMeta() bool

GetNeedMeta NeedMeta Getter

func (TaobaoQianniuTasksGetAPIRequest) GetOrderBy added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetOrderBy() string

GetOrderBy OrderBy Getter

func (TaobaoQianniuTasksGetAPIRequest) GetOrderType added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetOrderType() string

GetOrderType OrderType Getter

func (TaobaoQianniuTasksGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoQianniuTasksGetAPIRequest) GetPriority added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetPriority() int64

GetPriority Priority Getter

func (TaobaoQianniuTasksGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoQianniuTasksGetAPIRequest) GetRawParams() model.Params

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

func (TaobaoQianniuTasksGetAPIRequest) GetReceiverUid added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetReceiverUid() int64

GetReceiverUid ReceiverUid Getter

func (TaobaoQianniuTasksGetAPIRequest) GetRemindFlag added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetRemindFlag() int64

GetRemindFlag RemindFlag Getter

func (TaobaoQianniuTasksGetAPIRequest) GetSenderUid added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetSenderUid() int64

GetSenderUid SenderUid Getter

func (TaobaoQianniuTasksGetAPIRequest) GetStartDate added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetStartDate() string

GetStartDate StartDate Getter

func (TaobaoQianniuTasksGetAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (TaobaoQianniuTasksGetAPIRequest) GetSubBizType added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetSubBizType() string

GetSubBizType SubBizType Getter

func (TaobaoQianniuTasksGetAPIRequest) GetSubStatus added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetSubStatus() string

GetSubStatus SubStatus Getter

func (TaobaoQianniuTasksGetAPIRequest) GetTaskIds added in v1.2.0

func (r TaobaoQianniuTasksGetAPIRequest) GetTaskIds() string

GetTaskIds TaskIds Getter

func (*TaobaoQianniuTasksGetAPIRequest) SetBizIds added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetBizIds(_bizIds string) error

SetBizIds is BizIds Setter 业务ID列表,逗号分隔

func (*TaobaoQianniuTasksGetAPIRequest) SetBizNick added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetBizNick(_bizNick string) error

SetBizNick is BizNick Setter 业务相关的对象,当前主要表示买家nick

func (*TaobaoQianniuTasksGetAPIRequest) SetBizType added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetBizType(_bizType string) error

SetBizType is BizType Setter 业务类型

func (*TaobaoQianniuTasksGetAPIRequest) SetClientInfo added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetClientInfo(_clientInfo string) error

SetClientInfo is ClientInfo Setter 客户端的版本信息

func (*TaobaoQianniuTasksGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页数,从1开始

func (*TaobaoQianniuTasksGetAPIRequest) SetEndDate added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 根据任务创建时间搜索的结束日期(含),不填则不限。例如只查询2014-01-01当天的任务,则将start_date和end_date都设置成2014-01-01

func (*TaobaoQianniuTasksGetAPIRequest) SetExcludeBizType added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetExcludeBizType(_excludeBizType string) error

SetExcludeBizType is ExcludeBizType Setter 需要排除的任务类型

func (*TaobaoQianniuTasksGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 逗号分隔的字段列表,各个字段含义: id:任务ID receiver_uid:执行者用户数字ID receiver_nick:执行者用户昵称 status:任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,5-忽略 sub_status:子任务状态,由业务方自定义 finish_strategy:任务完成策略:1-一个人完成,2-所有人完成 gmt_finished:任务完成时间,格式:时间毫秒数 biz_type:业务类型 sub_biz_type:子业务类型 biz_id:业务ID biz_param:业务参数 biz_entry:业务入口 tag:任务标签 memo:任务备注

func (*TaobaoQianniuTasksGetAPIRequest) SetKeyWord added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetKeyWord(_keyWord string) error

SetKeyWord is KeyWord Setter 关键词搜索。只对任务内容进行模糊匹配,以及bizid和biznick进行精准匹配

func (*TaobaoQianniuTasksGetAPIRequest) SetMetadataIds added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetMetadataIds(_metadataIds string) error

SetMetadataIds is MetadataIds Setter 任务元id,多个以逗号分隔

func (*TaobaoQianniuTasksGetAPIRequest) SetModifyEndTimeStr added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetModifyEndTimeStr(_modifyEndTimeStr string) error

SetModifyEndTimeStr is ModifyEndTimeStr Setter 根据任务修改时间搜索的结束时间(含),不填则不限。例如查询“2014-01-01 00:00:10”之前有修改的任务,则将modify_end_time_str设置成“2014-01-01 00:00:10”

func (*TaobaoQianniuTasksGetAPIRequest) SetModifyStartTimeStr added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetModifyStartTimeStr(_modifyStartTimeStr string) error

SetModifyStartTimeStr is ModifyStartTimeStr Setter 根据任务修改时间搜索的开始时间(含),不填则不限。例如查询“2014-01-01 00:00:10”之后有修改的任务,则将modify_start_time_str设置成“2014-01-01 00:00:10”

func (*TaobaoQianniuTasksGetAPIRequest) SetNeedDeleted added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetNeedDeleted(_needDeleted bool) error

SetNeedDeleted is NeedDeleted Setter 是否需要删除的任务,默认为false

func (*TaobaoQianniuTasksGetAPIRequest) SetNeedMeta added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetNeedMeta(_needMeta bool) error

SetNeedMeta is NeedMeta Setter 是否需要meta信息,默认值为false

func (*TaobaoQianniuTasksGetAPIRequest) SetOrderBy added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetOrderBy(_orderBy string) error

SetOrderBy is OrderBy Setter 排序字段,可以为id,gmt_create,gmt_finished,metadata_id等

func (*TaobaoQianniuTasksGetAPIRequest) SetOrderType added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetOrderType(_orderType string) error

SetOrderType is OrderType Setter asc为升,desc为降

func (*TaobaoQianniuTasksGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页条数

func (*TaobaoQianniuTasksGetAPIRequest) SetPriority added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetPriority(_priority int64) error

SetPriority is Priority Setter 优先级。即创建时的metadata中的优先级。0为低,1为中,2为高。

func (*TaobaoQianniuTasksGetAPIRequest) SetReceiverUid added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetReceiverUid(_receiverUid int64) error

SetReceiverUid is ReceiverUid Setter 任务执行者用户数字ID

func (*TaobaoQianniuTasksGetAPIRequest) SetRemindFlag added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetRemindFlag(_remindFlag int64) error

SetRemindFlag is RemindFlag Setter 0-不需要提醒,未设提醒时间 1-设置过提醒时间,需要提醒

func (*TaobaoQianniuTasksGetAPIRequest) SetSenderUid added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetSenderUid(_senderUid int64) error

SetSenderUid is SenderUid Setter 任务发起者用户数字ID

func (*TaobaoQianniuTasksGetAPIRequest) SetStartDate added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 根据任务创建时间搜索的开始日期(含),不填则不限。例如只查询2014-01-01当天的任务,则将start_date和end_date都设置成2014-01-01

func (*TaobaoQianniuTasksGetAPIRequest) SetStatus added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 逗号分隔的任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,5-忽略

func (*TaobaoQianniuTasksGetAPIRequest) SetSubBizType added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetSubBizType(_subBizType string) error

SetSubBizType is SubBizType Setter 子任务类型

func (*TaobaoQianniuTasksGetAPIRequest) SetSubStatus added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetSubStatus(_subStatus string) error

SetSubStatus is SubStatus Setter 逗号分隔的子任务状态,由业务方自定义

func (*TaobaoQianniuTasksGetAPIRequest) SetTaskIds added in v1.2.0

func (r *TaobaoQianniuTasksGetAPIRequest) SetTaskIds(_taskIds string) error

SetTaskIds is TaskIds Setter 任务的ID列表,用逗号分隔

type TaobaoQianniuTasksGetAPIResponse

type TaobaoQianniuTasksGetAPIResponse struct {
	model.CommonResponse
	TaobaoQianniuTasksGetAPIResponseModel
}

TaobaoQianniuTasksGetAPIResponse 获取指定的任务 API返回值 taobao.qianniu.tasks.get

获取指定的任务,可用的参数组合:<br/>task_ids + need_meta + fields:精确查找<br/>biz_type + sub_biz_type + biz_ids + need_meta + fields:按照业务ID查找<br/>biz_type + sub_biz_type + sender_uid + need_meta + fields:按照发起者查找<br/>biz_type + sub_biz_type + receiver_uid + need_meta + fields:按照执行者查找<br/>biz_type+modify_start_time+modify_end_time+fields:能支持指定修改时间的查询,用于增量查询等

type TaobaoQianniuTasksGetAPIResponseModel added in v1.2.0

type TaobaoQianniuTasksGetAPIResponseModel struct {
	XMLName xml.Name `xml:"qianniu_tasks_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回的任务列表
	Tasks []QTask `json:"tasks,omitempty" xml:"tasks>q_task,omitempty"`
}

TaobaoQianniuTasksGetAPIResponseModel is 获取指定的任务 成功返回结果

type TaobaoQncopilotPictureAuditAPIRequest added in v1.2.9

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

TaobaoQncopilotPictureAuditAPIRequest AIGC创作图片审核 API请求 taobao.qncopilot.picture.audit

AIGC创作图片审核

func NewTaobaoQncopilotPictureAuditRequest added in v1.2.9

func NewTaobaoQncopilotPictureAuditRequest() *TaobaoQncopilotPictureAuditAPIRequest

NewTaobaoQncopilotPictureAuditRequest 初始化TaobaoQncopilotPictureAuditAPIRequest对象

func (TaobaoQncopilotPictureAuditAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoQncopilotPictureAuditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoQncopilotPictureAuditAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoQncopilotPictureAuditAPIRequest) GetParam added in v1.2.9

GetParam Param Getter

func (TaobaoQncopilotPictureAuditAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoQncopilotPictureAuditAPIRequest) SetParam added in v1.2.9

SetParam is Param Setter 图片审核请求

type TaobaoQncopilotPictureAuditAPIResponse added in v1.2.9

type TaobaoQncopilotPictureAuditAPIResponse struct {
	model.CommonResponse
	TaobaoQncopilotPictureAuditAPIResponseModel
}

TaobaoQncopilotPictureAuditAPIResponse AIGC创作图片审核 API返回值 taobao.qncopilot.picture.audit

AIGC创作图片审核

type TaobaoQncopilotPictureAuditAPIResponseModel added in v1.2.9

type TaobaoQncopilotPictureAuditAPIResponseModel struct {
	XMLName xml.Name `xml:"qncopilot_picture_audit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 审核结果
	QnCopilotResultDo *QnCopilotResultDo `json:"qn_copilot_result_do,omitempty" xml:"qn_copilot_result_do,omitempty"`
}

TaobaoQncopilotPictureAuditAPIResponseModel is AIGC创作图片审核 成功返回结果

type UserTagQueryResult

type UserTagQueryResult struct {
	// 买家是否有这个标,true表示有,false表示没有
	EnterpriseBuyer bool `json:"enterprise_buyer,omitempty" xml:"enterprise_buyer,omitempty"`
}

UserTagQueryResult 结构体

Jump to

Keyboard shortcuts

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