Documentation ¶
Overview ¶
千牛接口 model
Index ¶
- type OrderStatisticsResult
- type QTask
- type QTaskMetadata
- type RecordList
- type TaobaoDaogoubaoOrderStatisticsTotalAPIRequest
- func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiMethodName() string
- func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiParams() url.Values
- func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetDebugId() string
- func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetField() string
- func (r *TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetDebugId(_debugId string) error
- func (r *TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetField(_field string) error
- type TaobaoDaogoubaoOrderStatisticsTotalAPIResponse
- type TaobaoDaogoubaoOrderStatisticsTotalAPIResponseModel
- type TaobaoQianniuBuyerTagGetAPIRequest
- func (r TaobaoQianniuBuyerTagGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuBuyerTagGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuBuyerTagGetAPIRequest) GetBuyerNick() string
- func (r TaobaoQianniuBuyerTagGetAPIRequest) GetTagList() string
- func (r *TaobaoQianniuBuyerTagGetAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoQianniuBuyerTagGetAPIRequest) SetTagList(_tagList string) error
- type TaobaoQianniuBuyerTagGetAPIResponse
- type TaobaoQianniuBuyerTagGetAPIResponseModel
- type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest
- func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetAccountIds() []int64
- func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetEndDate() string
- func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetStartDate() string
- func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetAccountIds(_accountIds []int64) error
- func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetStartDate(_startDate string) error
- type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponse
- type TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponseModel
- type TaobaoQianniuNumberPutAPIRequest
- type TaobaoQianniuNumberPutAPIResponse
- type TaobaoQianniuNumberPutAPIResponseModel
- type TaobaoQianniuTaskCancelAPIRequest
- func (r TaobaoQianniuTaskCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskCancelAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskCancelAPIRequest) GetMemo() string
- func (r TaobaoQianniuTaskCancelAPIRequest) GetMetaId() int64
- func (r *TaobaoQianniuTaskCancelAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoQianniuTaskCancelAPIRequest) SetMetaId(_metaId int64) error
- type TaobaoQianniuTaskCancelAPIResponse
- type TaobaoQianniuTaskCancelAPIResponseModel
- type TaobaoQianniuTaskCreateAPIRequest
- func (r TaobaoQianniuTaskCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskCreateAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskCreateAPIRequest) GetMeta() string
- func (r TaobaoQianniuTaskCreateAPIRequest) GetTasks() string
- func (r *TaobaoQianniuTaskCreateAPIRequest) SetMeta(_meta string) error
- func (r *TaobaoQianniuTaskCreateAPIRequest) SetTasks(_tasks string) error
- type TaobaoQianniuTaskCreateAPIResponse
- type TaobaoQianniuTaskCreateAPIResponseModel
- type TaobaoQianniuTaskFinishAPIRequest
- func (r TaobaoQianniuTaskFinishAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskFinishAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskFinishAPIRequest) GetMemo() string
- func (r TaobaoQianniuTaskFinishAPIRequest) GetTaskId() int64
- func (r *TaobaoQianniuTaskFinishAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoQianniuTaskFinishAPIRequest) SetTaskId(_taskId int64) error
- type TaobaoQianniuTaskFinishAPIResponse
- type TaobaoQianniuTaskFinishAPIResponseModel
- type TaobaoQianniuTaskIncreaseAPIRequest
- func (r TaobaoQianniuTaskIncreaseAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskIncreaseAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskIncreaseAPIRequest) GetMetadataId() int64
- func (r TaobaoQianniuTaskIncreaseAPIRequest) GetTasks() string
- func (r *TaobaoQianniuTaskIncreaseAPIRequest) SetMetadataId(_metadataId int64) error
- func (r *TaobaoQianniuTaskIncreaseAPIRequest) SetTasks(_tasks string) error
- type TaobaoQianniuTaskIncreaseAPIResponse
- type TaobaoQianniuTaskIncreaseAPIResponseModel
- type TaobaoQianniuTaskMessageSendAPIRequest
- func (r TaobaoQianniuTaskMessageSendAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskMessageSendAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskMessageSendAPIRequest) GetMetadataId() int64
- func (r TaobaoQianniuTaskMessageSendAPIRequest) GetTaskId() int64
- func (r *TaobaoQianniuTaskMessageSendAPIRequest) SetMetadataId(_metadataId int64) error
- func (r *TaobaoQianniuTaskMessageSendAPIRequest) SetTaskId(_taskId int64) error
- type TaobaoQianniuTaskMessageSendAPIResponse
- type TaobaoQianniuTaskMessageSendAPIResponseModel
- type TaobaoQianniuTaskRemoveAPIRequest
- type TaobaoQianniuTaskRemoveAPIResponse
- type TaobaoQianniuTaskRemoveAPIResponseModel
- type TaobaoQianniuTaskUpdateAPIRequest
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetBizParam() string
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetIsDeleted() int64
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetMemo() string
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetMemoMode() int64
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetPriority() int64
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetRemindFlag() int64
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetRemindTime() int64
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetStatus() string
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetSubStatus() string
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetTag() string
- func (r TaobaoQianniuTaskUpdateAPIRequest) GetTaskId() int64
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetBizParam(_bizParam string) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetIsDeleted(_isDeleted int64) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetMemoMode(_memoMode int64) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetPriority(_priority int64) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetRemindFlag(_remindFlag int64) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetRemindTime(_remindTime int64) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetStatus(_status string) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetSubStatus(_subStatus string) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetTag(_tag string) error
- func (r *TaobaoQianniuTaskUpdateAPIRequest) SetTaskId(_taskId int64) error
- type TaobaoQianniuTaskUpdateAPIResponse
- type TaobaoQianniuTaskUpdateAPIResponseModel
- type TaobaoQianniuTaskmetaUpdateAPIRequest
- type TaobaoQianniuTaskmetaUpdateAPIResponse
- type TaobaoQianniuTaskmetaUpdateAPIResponseModel
- type TaobaoQianniuTaskmetasGetAPIRequest
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetBizType() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetClientInfo() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetCurrentPage() int64
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetFields() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetKeyWord() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetMetaIds() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetOrderBy() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetOrderType() string
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetPageSize() int64
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetReceiverUid() int64
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetSenderUid() int64
- func (r TaobaoQianniuTaskmetasGetAPIRequest) GetStatus() int64
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetBizType(_bizType string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetClientInfo(_clientInfo string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetKeyWord(_keyWord string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetMetaIds(_metaIds string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetOrderBy(_orderBy string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetOrderType(_orderType string) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetReceiverUid(_receiverUid int64) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetSenderUid(_senderUid int64) error
- func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetStatus(_status int64) error
- type TaobaoQianniuTaskmetasGetAPIResponse
- type TaobaoQianniuTaskmetasGetAPIResponseModel
- type TaobaoQianniuTasksCountAPIRequest
- func (r TaobaoQianniuTasksCountAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTasksCountAPIRequest) GetBizIds() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetBizNick() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetBizType() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetEndDate() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetExcludeBizType() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetKeyWord() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetMetadataIds() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetPriority() int64
- func (r TaobaoQianniuTasksCountAPIRequest) GetReceiverUid() int64
- func (r TaobaoQianniuTasksCountAPIRequest) GetRemindFlag() int64
- func (r TaobaoQianniuTasksCountAPIRequest) GetSenderUid() int64
- func (r TaobaoQianniuTasksCountAPIRequest) GetStartDate() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetStatus() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetSubBizType() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetSubStatus() string
- func (r TaobaoQianniuTasksCountAPIRequest) GetTaskIds() string
- func (r *TaobaoQianniuTasksCountAPIRequest) SetBizIds(_bizIds string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetBizNick(_bizNick string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetBizType(_bizType string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetExcludeBizType(_excludeBizType string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetKeyWord(_keyWord string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetMetadataIds(_metadataIds string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetPriority(_priority int64) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetReceiverUid(_receiverUid int64) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetRemindFlag(_remindFlag int64) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetSenderUid(_senderUid int64) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetStartDate(_startDate string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetStatus(_status string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetSubBizType(_subBizType string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetSubStatus(_subStatus string) error
- func (r *TaobaoQianniuTasksCountAPIRequest) SetTaskIds(_taskIds string) error
- type TaobaoQianniuTasksCountAPIResponse
- type TaobaoQianniuTasksCountAPIResponseModel
- type TaobaoQianniuTasksGetAPIRequest
- func (r TaobaoQianniuTasksGetAPIRequest) GetApiMethodName() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetApiParams() url.Values
- func (r TaobaoQianniuTasksGetAPIRequest) GetBizIds() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetBizNick() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetBizType() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetClientInfo() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetCurrentPage() int64
- func (r TaobaoQianniuTasksGetAPIRequest) GetEndDate() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetExcludeBizType() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetFields() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetKeyWord() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetMetadataIds() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetModifyEndTimeStr() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetModifyStartTimeStr() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetNeedDeleted() bool
- func (r TaobaoQianniuTasksGetAPIRequest) GetNeedMeta() bool
- func (r TaobaoQianniuTasksGetAPIRequest) GetOrderBy() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetOrderType() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetPageSize() int64
- func (r TaobaoQianniuTasksGetAPIRequest) GetPriority() int64
- func (r TaobaoQianniuTasksGetAPIRequest) GetReceiverUid() int64
- func (r TaobaoQianniuTasksGetAPIRequest) GetRemindFlag() int64
- func (r TaobaoQianniuTasksGetAPIRequest) GetSenderUid() int64
- func (r TaobaoQianniuTasksGetAPIRequest) GetStartDate() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetStatus() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetSubBizType() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetSubStatus() string
- func (r TaobaoQianniuTasksGetAPIRequest) GetTaskIds() string
- func (r *TaobaoQianniuTasksGetAPIRequest) SetBizIds(_bizIds string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetBizNick(_bizNick string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetBizType(_bizType string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetClientInfo(_clientInfo string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetExcludeBizType(_excludeBizType string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetFields(_fields string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetKeyWord(_keyWord string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetMetadataIds(_metadataIds string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetModifyEndTimeStr(_modifyEndTimeStr string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetModifyStartTimeStr(_modifyStartTimeStr string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetNeedDeleted(_needDeleted bool) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetNeedMeta(_needMeta bool) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetOrderBy(_orderBy string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetOrderType(_orderType string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetPriority(_priority int64) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetReceiverUid(_receiverUid int64) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetRemindFlag(_remindFlag int64) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetSenderUid(_senderUid int64) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetStartDate(_startDate string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetStatus(_status string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetSubBizType(_subBizType string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetSubStatus(_subStatus string) error
- func (r *TaobaoQianniuTasksGetAPIRequest) SetTaskIds(_taskIds string) error
- type TaobaoQianniuTasksGetAPIResponse
- type TaobaoQianniuTasksGetAPIResponseModel
- type UserTagQueryResult
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 QTask ¶
type QTask struct { // 任务ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 执行者用户数字ID ReceiverUid int64 `json:"receiver_uid,omitempty" xml:"receiver_uid,omitempty"` // 执行者用户昵称 ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"` // 任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,5-忽略 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"` // 任务完成时间,格式:当前时间毫秒数 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"` // 关联的任务元数据 Meta *QTaskMetadata `json:"meta,omitempty" xml:"meta,omitempty"` // newYunpanAttachments NewYunpanAttachments string `json:"new_yunpan_attachments,omitempty" xml:"new_yunpan_attachments,omitempty"` // 任务创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` }
QTask 结构体
type QTaskMetadata ¶
type QTaskMetadata struct { // 主键 Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 任务标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 任务摘要内容 Content string `json:"content,omitempty" xml:"content,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"` // 任务开始时间,格式:当前时间毫秒数 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 任务结束时间,格式:当前时间毫秒数 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 发起者用户数字ID SenderUid int64 `json:"sender_uid,omitempty" xml:"sender_uid,omitempty"` // 发起者用户昵称 SenderNick string `json:"sender_nick,omitempty" xml:"sender_nick,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"` // 与此任务元相关的任务数 TaskCount int64 `json:"task_count,omitempty" xml:"task_count,omitempty"` // 优先级,0低,1中,2高 Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` // 任务元备注 Memo string `json:"memo,omitempty" xml:"memo,omitempty"` // 轻任务附件信息,userId_timestamp_随机字符串,例如:23434_1234458623_seresfto Attachments string `json:"attachments,omitempty" xml:"attachments,omitempty"` // 语音备注的文件名 VoiceFile string `json:"voice_file,omitempty" xml:"voice_file,omitempty"` // 任务的接收人 Receiver string `json:"receiver,omitempty" xml:"receiver,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 完成的任务数。如果完成策略是只需要1个人完成的,则只要一个人完成就会返回总任务条数。如果是所有人都要完成的,则会返回实际完成条数。 FinishCount int64 `json:"finish_count,omitempty" xml:"finish_count,omitempty"` // 任务更新时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,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"` // 接收的任务类型,所有相关的任务的类型一致时有效。当任务类型不一致时为diff BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 0为未完成,2为完成,4为取消 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // biztype的中文名 BizTypeStr string `json:"biz_type_str,omitempty" xml:"biz_type_str,omitempty"` // 当前任务的评论数 CommentCount int64 `json:"comment_count,omitempty" xml:"comment_count,omitempty"` // 点击动作的协议 Action string `json:"action,omitempty" xml:"action,omitempty"` // 我的安排的任务上的提醒时间 BizRemindTime string `json:"biz_remind_time,omitempty" xml:"biz_remind_time,omitempty"` // 是biz_remind_time的数字格式 BizRemindTimeLong int64 `json:"biz_remind_time_long,omitempty" xml:"biz_remind_time_long,omitempty"` // newYunpanAttachments NewYunpanAttachments string `json:"new_yunpan_attachments,omitempty" xml:"new_yunpan_attachments,omitempty"` }
QTaskMetadata 结构体
type RecordList ¶
type RecordList struct { // 操作记录,1在线,-1离线,2挂起,3解挂 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 记录类型,PC上下线:8;移动上下线:4;挂起类型:5 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 登陆域 Domain string `json:"domain,omitempty" xml:"domain,omitempty"` // mainAccountId MainAccountId int64 `json:"main_account_id,omitempty" xml:"main_account_id,omitempty"` // 查询记录的帐号ID AccountId int64 `json:"account_id,omitempty" xml:"account_id,omitempty"` // 变更时间戳 ChangeTimeTs int64 `json:"change_time_ts,omitempty" xml:"change_time_ts,omitempty"` // 变更时间 ChangeTime string `json:"change_time,omitempty" xml:"change_time,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,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
func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetDebugId ¶ added in v1.2.0
func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetDebugId() string
Get DebugId Getter
func (TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetField ¶ added in v1.2.0
func (r TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) GetField() string
Get Field Getter
func (*TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetDebugId ¶ added in v1.2.0
func (r *TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetDebugId(_debugId string) error
Set is DebugId Setter 调试时用的传入id
func (*TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetField ¶ added in v1.2.0
func (r *TaobaoDaogoubaoOrderStatisticsTotalAPIRequest) SetField(_field string) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuBuyerTagGetAPIRequest) GetBuyerNick ¶ added in v1.2.0
func (r TaobaoQianniuBuyerTagGetAPIRequest) GetBuyerNick() string
Get BuyerNick Getter
func (TaobaoQianniuBuyerTagGetAPIRequest) GetTagList ¶ added in v1.2.0
func (r TaobaoQianniuBuyerTagGetAPIRequest) GetTagList() string
Get TagList Getter
func (*TaobaoQianniuBuyerTagGetAPIRequest) SetBuyerNick ¶ added in v1.2.0
func (r *TaobaoQianniuBuyerTagGetAPIRequest) SetBuyerNick(_buyerNick string) error
Set is BuyerNick Setter 买家nick
func (*TaobaoQianniuBuyerTagGetAPIRequest) SetTagList ¶ added in v1.2.0
func (r *TaobaoQianniuBuyerTagGetAPIRequest) SetTagList(_tagList string) error
Set 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
func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetAccountIds() []int64
Get AccountIds Getter
func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetEndDate ¶ added in v1.2.0
func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetEndDate() string
Get EndDate Getter
func (TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetStartDate ¶ added in v1.2.0
func (r TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) GetStartDate() string
Get StartDate Getter
func (*TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetAccountIds ¶ added in v1.2.0
func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetAccountIds(_accountIds []int64) error
Set is AccountIds Setter 子帐号列表,最多10个
func (*TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetEndDate ¶ added in v1.2.0
func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetEndDate(_endDate string) error
Set is EndDate Setter 查询结束日期,只有日期有效,时间忽略
func (*TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetStartDate ¶ added in v1.2.0
func (r *TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest) SetStartDate(_startDate string) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuNumberPutAPIRequest) GetData ¶ added in v1.2.0
func (r TaobaoQianniuNumberPutAPIRequest) GetData() string
Get Data Getter
func (*TaobaoQianniuNumberPutAPIRequest) SetData ¶ added in v1.2.0
func (r *TaobaoQianniuNumberPutAPIRequest) SetData(_data string) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskCancelAPIRequest) GetMemo ¶ added in v1.2.0
func (r TaobaoQianniuTaskCancelAPIRequest) GetMemo() string
Get Memo Getter
func (TaobaoQianniuTaskCancelAPIRequest) GetMetaId ¶ added in v1.2.0
func (r TaobaoQianniuTaskCancelAPIRequest) GetMetaId() int64
Get MetaId Getter
func (*TaobaoQianniuTaskCancelAPIRequest) SetMemo ¶ added in v1.2.0
func (r *TaobaoQianniuTaskCancelAPIRequest) SetMemo(_memo string) error
Set is Memo Setter 任务备注
func (*TaobaoQianniuTaskCancelAPIRequest) SetMetaId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskCancelAPIRequest) SetMetaId(_metaId int64) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskCreateAPIRequest) GetMeta ¶ added in v1.2.0
func (r TaobaoQianniuTaskCreateAPIRequest) GetMeta() string
Get Meta Getter
func (TaobaoQianniuTaskCreateAPIRequest) GetTasks ¶ added in v1.2.0
func (r TaobaoQianniuTaskCreateAPIRequest) GetTasks() string
Get Tasks Getter
func (*TaobaoQianniuTaskCreateAPIRequest) SetMeta ¶ added in v1.2.0
func (r *TaobaoQianniuTaskCreateAPIRequest) SetMeta(_meta string) error
Set 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
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskFinishAPIRequest) GetMemo ¶ added in v1.2.0
func (r TaobaoQianniuTaskFinishAPIRequest) GetMemo() string
Get Memo Getter
func (TaobaoQianniuTaskFinishAPIRequest) GetTaskId ¶ added in v1.2.0
func (r TaobaoQianniuTaskFinishAPIRequest) GetTaskId() int64
Get TaskId Getter
func (*TaobaoQianniuTaskFinishAPIRequest) SetMemo ¶ added in v1.2.0
func (r *TaobaoQianniuTaskFinishAPIRequest) SetMemo(_memo string) error
Set is Memo Setter 任务备注
func (*TaobaoQianniuTaskFinishAPIRequest) SetTaskId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskFinishAPIRequest) SetTaskId(_taskId int64) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskIncreaseAPIRequest) GetMetadataId ¶ added in v1.2.0
func (r TaobaoQianniuTaskIncreaseAPIRequest) GetMetadataId() int64
Get MetadataId Getter
func (TaobaoQianniuTaskIncreaseAPIRequest) GetTasks ¶ added in v1.2.0
func (r TaobaoQianniuTaskIncreaseAPIRequest) GetTasks() string
Get Tasks Getter
func (*TaobaoQianniuTaskIncreaseAPIRequest) SetMetadataId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskIncreaseAPIRequest) SetMetadataId(_metadataId int64) error
Set is MetadataId Setter 任务元id
func (*TaobaoQianniuTaskIncreaseAPIRequest) SetTasks ¶ added in v1.2.0
func (r *TaobaoQianniuTaskIncreaseAPIRequest) SetTasks(_tasks string) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskMessageSendAPIRequest) GetMetadataId ¶ added in v1.2.0
func (r TaobaoQianniuTaskMessageSendAPIRequest) GetMetadataId() int64
Get MetadataId Getter
func (TaobaoQianniuTaskMessageSendAPIRequest) GetTaskId ¶ added in v1.2.0
func (r TaobaoQianniuTaskMessageSendAPIRequest) GetTaskId() int64
Get TaskId Getter
func (*TaobaoQianniuTaskMessageSendAPIRequest) SetMetadataId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskMessageSendAPIRequest) SetMetadataId(_metadataId int64) error
Set is MetadataId Setter 任务元id,如果taskid不为空,则只发给task对应的单个接收人。如果taskid为空,则发给metadata_id对应的所有接收人。
func (*TaobaoQianniuTaskMessageSendAPIRequest) SetTaskId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskMessageSendAPIRequest) SetTaskId(_taskId int64) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskRemoveAPIRequest) GetMetadataId ¶ added in v1.2.0
func (r TaobaoQianniuTaskRemoveAPIRequest) GetMetadataId() int64
Get MetadataId Getter
func (*TaobaoQianniuTaskRemoveAPIRequest) SetMetadataId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskRemoveAPIRequest) SetMetadataId(_metadataId int64) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskUpdateAPIRequest) GetBizParam ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetBizParam() string
Get BizParam Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetIsDeleted ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetIsDeleted() int64
Get IsDeleted Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetMemo ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetMemo() string
Get Memo Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetMemoMode ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetMemoMode() int64
Get MemoMode Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetPriority ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetPriority() int64
Get Priority Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetRemindFlag ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetRemindFlag() int64
Get RemindFlag Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetRemindTime ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetRemindTime() int64
Get RemindTime Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetStatus() string
Get Status Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetSubStatus ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetSubStatus() string
Get SubStatus Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetTag ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetTag() string
Get Tag Getter
func (TaobaoQianniuTaskUpdateAPIRequest) GetTaskId ¶ added in v1.2.0
func (r TaobaoQianniuTaskUpdateAPIRequest) GetTaskId() int64
Get TaskId Getter
func (*TaobaoQianniuTaskUpdateAPIRequest) SetBizParam ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetBizParam(_bizParam string) error
Set is BizParam Setter 应用自定义参数
func (*TaobaoQianniuTaskUpdateAPIRequest) SetIsDeleted ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetIsDeleted(_isDeleted int64) error
Set is IsDeleted Setter 0表示没有删除,1表示删除
func (*TaobaoQianniuTaskUpdateAPIRequest) SetMemo ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetMemo(_memo string) error
Set is Memo Setter 任务备注。当memo_mode为1时,memo将采用追加方式。
func (*TaobaoQianniuTaskUpdateAPIRequest) SetMemoMode ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetMemoMode(_memoMode int64) error
Set is MemoMode Setter 表示memo字段的更新策略。如需采用追加方式的,请将此字段设置为1。
func (*TaobaoQianniuTaskUpdateAPIRequest) SetPriority ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetPriority(_priority int64) error
Set is Priority Setter 默认填0,数字越大优化级越高。当前常用0和1.
func (*TaobaoQianniuTaskUpdateAPIRequest) SetRemindFlag ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetRemindFlag(_remindFlag int64) error
Set 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
Set is RemindTime Setter 提醒时间,时间的毫秒数
func (*TaobaoQianniuTaskUpdateAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetStatus(_status string) error
Set is Status Setter 状态值,多个以逗号分隔
func (*TaobaoQianniuTaskUpdateAPIRequest) SetSubStatus ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetSubStatus(_subStatus string) error
Set is SubStatus Setter 子任务状态,由业务方自定义
func (*TaobaoQianniuTaskUpdateAPIRequest) SetTag ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetTag(_tag string) error
Set is Tag Setter 任务标签
func (*TaobaoQianniuTaskUpdateAPIRequest) SetTaskId ¶ added in v1.2.0
func (r *TaobaoQianniuTaskUpdateAPIRequest) SetTaskId(_taskId int64) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskmetaUpdateAPIRequest) GetMeta ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetaUpdateAPIRequest) GetMeta() string
Get Meta Getter
func (*TaobaoQianniuTaskmetaUpdateAPIRequest) SetMeta ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetaUpdateAPIRequest) SetMeta(_meta string) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTaskmetasGetAPIRequest) GetBizType ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetBizType() string
Get BizType Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetClientInfo ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetClientInfo() string
Get ClientInfo Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetCurrentPage ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetCurrentPage() int64
Get CurrentPage Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetFields() string
Get Fields Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetKeyWord ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetKeyWord() string
Get KeyWord Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetMetaIds ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetMetaIds() string
Get MetaIds Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetOrderBy ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetOrderBy() string
Get OrderBy Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetOrderType ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetOrderType() string
Get OrderType Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetPageSize() int64
Get PageSize Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetReceiverUid ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetReceiverUid() int64
Get ReceiverUid Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetSenderUid ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetSenderUid() int64
Get SenderUid Getter
func (TaobaoQianniuTaskmetasGetAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoQianniuTaskmetasGetAPIRequest) GetStatus() int64
Get Status Getter
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetBizType ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetBizType(_bizType string) error
Set is BizType Setter 任务类型
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetClientInfo ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetClientInfo(_clientInfo string) error
Set is ClientInfo Setter 客户端的版本信息
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetCurrentPage ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetCurrentPage(_currentPage int64) error
Set is CurrentPage Setter 当前页码
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetFields(_fields string) error
Set 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
Set is KeyWord Setter 按关键字搜索
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetMetaIds ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetMetaIds(_metaIds string) error
Set is MetaIds Setter 任务元ID,多个以逗号分离
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetOrderBy ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetOrderBy(_orderBy string) error
Set is OrderBy Setter 排序字段。gmt_create,priority等
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetOrderType ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetOrderType(_orderType string) error
Set is OrderType Setter 升降序。asc为升,desc为降
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetPageSize(_pageSize int64) error
Set is PageSize Setter 分页数,最大100
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetReceiverUid ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetReceiverUid(_receiverUid int64) error
Set is ReceiverUid Setter 接收人uid
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetSenderUid ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetSenderUid(_senderUid int64) error
Set is SenderUid Setter 发起任务人的uid
func (*TaobaoQianniuTaskmetasGetAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoQianniuTaskmetasGetAPIRequest) SetStatus(_status int64) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTasksCountAPIRequest) GetBizIds ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetBizIds() string
Get BizIds Getter
func (TaobaoQianniuTasksCountAPIRequest) GetBizNick ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetBizNick() string
Get BizNick Getter
func (TaobaoQianniuTasksCountAPIRequest) GetBizType ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetBizType() string
Get BizType Getter
func (TaobaoQianniuTasksCountAPIRequest) GetEndDate ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetEndDate() string
Get EndDate Getter
func (TaobaoQianniuTasksCountAPIRequest) GetExcludeBizType ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetExcludeBizType() string
Get ExcludeBizType Getter
func (TaobaoQianniuTasksCountAPIRequest) GetKeyWord ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetKeyWord() string
Get KeyWord Getter
func (TaobaoQianniuTasksCountAPIRequest) GetMetadataIds ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetMetadataIds() string
Get MetadataIds Getter
func (TaobaoQianniuTasksCountAPIRequest) GetPriority ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetPriority() int64
Get Priority Getter
func (TaobaoQianniuTasksCountAPIRequest) GetReceiverUid ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetReceiverUid() int64
Get ReceiverUid Getter
func (TaobaoQianniuTasksCountAPIRequest) GetRemindFlag ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetRemindFlag() int64
Get RemindFlag Getter
func (TaobaoQianniuTasksCountAPIRequest) GetSenderUid ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetSenderUid() int64
Get SenderUid Getter
func (TaobaoQianniuTasksCountAPIRequest) GetStartDate ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetStartDate() string
Get StartDate Getter
func (TaobaoQianniuTasksCountAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetStatus() string
Get Status Getter
func (TaobaoQianniuTasksCountAPIRequest) GetSubBizType ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetSubBizType() string
Get SubBizType Getter
func (TaobaoQianniuTasksCountAPIRequest) GetSubStatus ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetSubStatus() string
Get SubStatus Getter
func (TaobaoQianniuTasksCountAPIRequest) GetTaskIds ¶ added in v1.2.0
func (r TaobaoQianniuTasksCountAPIRequest) GetTaskIds() string
Get TaskIds Getter
func (*TaobaoQianniuTasksCountAPIRequest) SetBizIds ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetBizIds(_bizIds string) error
Set is BizIds Setter 业务ID列表,逗号分隔
func (*TaobaoQianniuTasksCountAPIRequest) SetBizNick ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetBizNick(_bizNick string) error
Set is BizNick Setter 与业务相关的买家nick
func (*TaobaoQianniuTasksCountAPIRequest) SetBizType ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetBizType(_bizType string) error
Set is BizType Setter 业务类型
func (*TaobaoQianniuTasksCountAPIRequest) SetEndDate ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetEndDate(_endDate string) error
Set is EndDate Setter 按时间段搜索的结束日期。不填则不限。格式为2014-01-01
func (*TaobaoQianniuTasksCountAPIRequest) SetExcludeBizType ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetExcludeBizType(_excludeBizType string) error
Set is ExcludeBizType Setter 需要排除的任务类型
func (*TaobaoQianniuTasksCountAPIRequest) SetKeyWord ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetKeyWord(_keyWord string) error
Set is KeyWord Setter 关键词搜索。只对任务内容进行模糊匹配,以及bizid和biznick进行精准匹配
func (*TaobaoQianniuTasksCountAPIRequest) SetMetadataIds ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetMetadataIds(_metadataIds string) error
Set is MetadataIds Setter 任务元id,多个以逗号分隔
func (*TaobaoQianniuTasksCountAPIRequest) SetPriority ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetPriority(_priority int64) error
Set is Priority Setter 优先级
func (*TaobaoQianniuTasksCountAPIRequest) SetReceiverUid ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetReceiverUid(_receiverUid int64) error
Set is ReceiverUid Setter 任务执行者用户数字ID
func (*TaobaoQianniuTasksCountAPIRequest) SetRemindFlag ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetRemindFlag(_remindFlag int64) error
Set is RemindFlag Setter 0-不需要提醒,未设提醒时间 1-设置过提醒时间,需要提醒
func (*TaobaoQianniuTasksCountAPIRequest) SetSenderUid ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetSenderUid(_senderUid int64) error
Set is SenderUid Setter 任务发起者用户数字ID
func (*TaobaoQianniuTasksCountAPIRequest) SetStartDate ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetStartDate(_startDate string) error
Set is StartDate Setter 按时间段搜索时的开始日期,格式如2014-01-01,不填则不限
func (*TaobaoQianniuTasksCountAPIRequest) SetStatus ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetStatus(_status string) error
Set is Status Setter 逗号分隔的任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,5-忽略
func (*TaobaoQianniuTasksCountAPIRequest) SetSubBizType ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetSubBizType(_subBizType string) error
Set is SubBizType Setter 子任务类型
func (*TaobaoQianniuTasksCountAPIRequest) SetSubStatus ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetSubStatus(_subStatus string) error
Set is SubStatus Setter 逗号分隔的子任务状态,由业务方自定义
func (*TaobaoQianniuTasksCountAPIRequest) SetTaskIds ¶ added in v1.2.0
func (r *TaobaoQianniuTasksCountAPIRequest) SetTaskIds(_taskIds string) error
Set 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoQianniuTasksGetAPIRequest) GetBizIds ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetBizIds() string
Get BizIds Getter
func (TaobaoQianniuTasksGetAPIRequest) GetBizNick ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetBizNick() string
Get BizNick Getter
func (TaobaoQianniuTasksGetAPIRequest) GetBizType ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetBizType() string
Get BizType Getter
func (TaobaoQianniuTasksGetAPIRequest) GetClientInfo ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetClientInfo() string
Get ClientInfo Getter
func (TaobaoQianniuTasksGetAPIRequest) GetCurrentPage ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetCurrentPage() int64
Get CurrentPage Getter
func (TaobaoQianniuTasksGetAPIRequest) GetEndDate ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetEndDate() string
Get EndDate Getter
func (TaobaoQianniuTasksGetAPIRequest) GetExcludeBizType ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetExcludeBizType() string
Get ExcludeBizType Getter
func (TaobaoQianniuTasksGetAPIRequest) GetFields ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetFields() string
Get Fields Getter
func (TaobaoQianniuTasksGetAPIRequest) GetKeyWord ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetKeyWord() string
Get KeyWord Getter
func (TaobaoQianniuTasksGetAPIRequest) GetMetadataIds ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetMetadataIds() string
Get MetadataIds Getter
func (TaobaoQianniuTasksGetAPIRequest) GetModifyEndTimeStr ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetModifyEndTimeStr() string
Get ModifyEndTimeStr Getter
func (TaobaoQianniuTasksGetAPIRequest) GetModifyStartTimeStr ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetModifyStartTimeStr() string
Get ModifyStartTimeStr Getter
func (TaobaoQianniuTasksGetAPIRequest) GetNeedDeleted ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetNeedDeleted() bool
Get NeedDeleted Getter
func (TaobaoQianniuTasksGetAPIRequest) GetNeedMeta ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetNeedMeta() bool
Get NeedMeta Getter
func (TaobaoQianniuTasksGetAPIRequest) GetOrderBy ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetOrderBy() string
Get OrderBy Getter
func (TaobaoQianniuTasksGetAPIRequest) GetOrderType ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetOrderType() string
Get OrderType Getter
func (TaobaoQianniuTasksGetAPIRequest) GetPageSize ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetPageSize() int64
Get PageSize Getter
func (TaobaoQianniuTasksGetAPIRequest) GetPriority ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetPriority() int64
Get Priority Getter
func (TaobaoQianniuTasksGetAPIRequest) GetReceiverUid ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetReceiverUid() int64
Get ReceiverUid Getter
func (TaobaoQianniuTasksGetAPIRequest) GetRemindFlag ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetRemindFlag() int64
Get RemindFlag Getter
func (TaobaoQianniuTasksGetAPIRequest) GetSenderUid ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetSenderUid() int64
Get SenderUid Getter
func (TaobaoQianniuTasksGetAPIRequest) GetStartDate ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetStartDate() string
Get StartDate Getter
func (TaobaoQianniuTasksGetAPIRequest) GetStatus ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetStatus() string
Get Status Getter
func (TaobaoQianniuTasksGetAPIRequest) GetSubBizType ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetSubBizType() string
Get SubBizType Getter
func (TaobaoQianniuTasksGetAPIRequest) GetSubStatus ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetSubStatus() string
Get SubStatus Getter
func (TaobaoQianniuTasksGetAPIRequest) GetTaskIds ¶ added in v1.2.0
func (r TaobaoQianniuTasksGetAPIRequest) GetTaskIds() string
Get TaskIds Getter
func (*TaobaoQianniuTasksGetAPIRequest) SetBizIds ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetBizIds(_bizIds string) error
Set is BizIds Setter 业务ID列表,逗号分隔
func (*TaobaoQianniuTasksGetAPIRequest) SetBizNick ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetBizNick(_bizNick string) error
Set is BizNick Setter 业务相关的对象,当前主要表示买家nick
func (*TaobaoQianniuTasksGetAPIRequest) SetBizType ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetBizType(_bizType string) error
Set is BizType Setter 业务类型
func (*TaobaoQianniuTasksGetAPIRequest) SetClientInfo ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetClientInfo(_clientInfo string) error
Set is ClientInfo Setter 客户端的版本信息
func (*TaobaoQianniuTasksGetAPIRequest) SetCurrentPage ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetCurrentPage(_currentPage int64) error
Set is CurrentPage Setter 当前页数,从1开始
func (*TaobaoQianniuTasksGetAPIRequest) SetEndDate ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetEndDate(_endDate string) error
Set 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
Set is ExcludeBizType Setter 需要排除的任务类型
func (*TaobaoQianniuTasksGetAPIRequest) SetFields ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetFields(_fields string) error
Set 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
Set is KeyWord Setter 关键词搜索。只对任务内容进行模糊匹配,以及bizid和biznick进行精准匹配
func (*TaobaoQianniuTasksGetAPIRequest) SetMetadataIds ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetMetadataIds(_metadataIds string) error
Set is MetadataIds Setter 任务元id,多个以逗号分隔
func (*TaobaoQianniuTasksGetAPIRequest) SetModifyEndTimeStr ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetModifyEndTimeStr(_modifyEndTimeStr string) error
Set 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
Set 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
Set is NeedDeleted Setter 是否需要删除的任务,默认为false
func (*TaobaoQianniuTasksGetAPIRequest) SetNeedMeta ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetNeedMeta(_needMeta bool) error
Set is NeedMeta Setter 是否需要meta信息,默认值为false
func (*TaobaoQianniuTasksGetAPIRequest) SetOrderBy ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetOrderBy(_orderBy string) error
Set 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
Set is OrderType Setter asc为升,desc为降
func (*TaobaoQianniuTasksGetAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetPageSize(_pageSize int64) error
Set is PageSize Setter 每页条数
func (*TaobaoQianniuTasksGetAPIRequest) SetPriority ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetPriority(_priority int64) error
Set is Priority Setter 优先级。即创建时的metadata中的优先级。0为低,1为中,2为高。
func (*TaobaoQianniuTasksGetAPIRequest) SetReceiverUid ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetReceiverUid(_receiverUid int64) error
Set is ReceiverUid Setter 任务执行者用户数字ID
func (*TaobaoQianniuTasksGetAPIRequest) SetRemindFlag ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetRemindFlag(_remindFlag int64) error
Set is RemindFlag Setter 0-不需要提醒,未设提醒时间 1-设置过提醒时间,需要提醒
func (*TaobaoQianniuTasksGetAPIRequest) SetSenderUid ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetSenderUid(_senderUid int64) error
Set is SenderUid Setter 任务发起者用户数字ID
func (*TaobaoQianniuTasksGetAPIRequest) SetStartDate ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetStartDate(_startDate string) error
Set 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
Set is Status Setter 逗号分隔的任务状态:0-未执行,1-执行中,2-执行完成,3-超时,4-取消,5-忽略
func (*TaobaoQianniuTasksGetAPIRequest) SetSubBizType ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetSubBizType(_subBizType string) error
Set is SubBizType Setter 子任务类型
func (*TaobaoQianniuTasksGetAPIRequest) SetSubStatus ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetSubStatus(_subStatus string) error
Set is SubStatus Setter 逗号分隔的子任务状态,由业务方自定义
func (*TaobaoQianniuTasksGetAPIRequest) SetTaskIds ¶ added in v1.2.0
func (r *TaobaoQianniuTasksGetAPIRequest) SetTaskIds(_taskIds string) error
Set 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 UserTagQueryResult ¶
type UserTagQueryResult struct { // 买家是否有这个标,true表示有,false表示没有 EnterpriseBuyer bool `json:"enterprise_buyer,omitempty" xml:"enterprise_buyer,omitempty"` }
UserTagQueryResult 结构体
Source Files ¶
- OrderStatisticsResult.go
- QTask.go
- QTaskMetadata.go
- RecordList.go
- TaobaoDaogoubaoOrderStatisticsTotalAPIRequest.go
- TaobaoDaogoubaoOrderStatisticsTotalAPIResponse.go
- TaobaoQianniuBuyerTagGetAPIRequest.go
- TaobaoQianniuBuyerTagGetAPIResponse.go
- TaobaoQianniuCloudkefuOnlinestatuslogGetAPIRequest.go
- TaobaoQianniuCloudkefuOnlinestatuslogGetAPIResponse.go
- TaobaoQianniuNumberPutAPIRequest.go
- TaobaoQianniuNumberPutAPIResponse.go
- TaobaoQianniuTaskCancelAPIRequest.go
- TaobaoQianniuTaskCancelAPIResponse.go
- TaobaoQianniuTaskCreateAPIRequest.go
- TaobaoQianniuTaskCreateAPIResponse.go
- TaobaoQianniuTaskFinishAPIRequest.go
- TaobaoQianniuTaskFinishAPIResponse.go
- TaobaoQianniuTaskIncreaseAPIRequest.go
- TaobaoQianniuTaskIncreaseAPIResponse.go
- TaobaoQianniuTaskMessageSendAPIRequest.go
- TaobaoQianniuTaskMessageSendAPIResponse.go
- TaobaoQianniuTaskRemoveAPIRequest.go
- TaobaoQianniuTaskRemoveAPIResponse.go
- TaobaoQianniuTaskUpdateAPIRequest.go
- TaobaoQianniuTaskUpdateAPIResponse.go
- TaobaoQianniuTaskmetaUpdateAPIRequest.go
- TaobaoQianniuTaskmetaUpdateAPIResponse.go
- TaobaoQianniuTaskmetasGetAPIRequest.go
- TaobaoQianniuTaskmetasGetAPIResponse.go
- TaobaoQianniuTasksCountAPIRequest.go
- TaobaoQianniuTasksCountAPIResponse.go
- TaobaoQianniuTasksGetAPIRequest.go
- TaobaoQianniuTasksGetAPIResponse.go
- UserTagQueryResult.go
- doc.go