Documentation ¶
Overview ¶
Package dmp 包含DMP API相关结构体
Index ¶
- type ApiContextDto
- type CrowdDto
- type CrowdQueryDto
- type Pager
- type TaobaoDmpCrowdBasicFindAPIRequest
- func (r TaobaoDmpCrowdBasicFindAPIRequest) GetApiContext() *ApiContextDto
- func (r TaobaoDmpCrowdBasicFindAPIRequest) GetApiMethodName() string
- func (r TaobaoDmpCrowdBasicFindAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDmpCrowdBasicFindAPIRequest) GetCrowdQuery() *CrowdQueryDto
- func (r TaobaoDmpCrowdBasicFindAPIRequest) GetPager() *Pager
- func (r TaobaoDmpCrowdBasicFindAPIRequest) GetRawParams() model.Params
- func (r *TaobaoDmpCrowdBasicFindAPIRequest) SetApiContext(_apiContext *ApiContextDto) error
- func (r *TaobaoDmpCrowdBasicFindAPIRequest) SetCrowdQuery(_crowdQuery *CrowdQueryDto) error
- func (r *TaobaoDmpCrowdBasicFindAPIRequest) SetPager(_pager *Pager) error
- type TaobaoDmpCrowdBasicFindAPIResponse
- type TaobaoDmpCrowdBasicFindAPIResponseModel
- type TaobaoDmpCrowdTemplateApplyAPIRequest
- func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiContext() *ApiContextDto
- func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiMethodName() string
- func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetRawParams() model.Params
- func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetTemplateContext() *TemplateContextDto
- func (r *TaobaoDmpCrowdTemplateApplyAPIRequest) SetApiContext(_apiContext *ApiContextDto) error
- func (r *TaobaoDmpCrowdTemplateApplyAPIRequest) SetTemplateContext(_templateContext *TemplateContextDto) error
- type TaobaoDmpCrowdTemplateApplyAPIResponse
- type TaobaoDmpCrowdTemplateApplyAPIResponseModel
- type TaobaoDmpCrowdTemplateTopicFindAPIRequest
- func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiContext() *ApiContextDto
- func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiMethodName() string
- func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetRawParams() model.Params
- func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetTopicQuery() *TopicQueryDto
- func (r *TaobaoDmpCrowdTemplateTopicFindAPIRequest) SetApiContext(_apiContext *ApiContextDto) error
- func (r *TaobaoDmpCrowdTemplateTopicFindAPIRequest) SetTopicQuery(_topicQuery *TopicQueryDto) error
- type TaobaoDmpCrowdTemplateTopicFindAPIResponse
- type TaobaoDmpCrowdTemplateTopicFindAPIResponseModel
- type Template
- type TemplateContextDto
- type Topic
- type TopicQueryDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiContextDto ¶ added in v1.2.5
type ApiContextDto struct { // 业务线编码,引力魔方:displayDefault BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"` }
ApiContextDto 结构体
type CrowdDto ¶ added in v1.2.5
type CrowdDto struct { // 人群有效期 ValidDate string `json:"valid_date,omitempty" xml:"valid_date,omitempty"` // 人群名称 CrowdName string `json:"crowd_name,omitempty" xml:"crowd_name,omitempty"` // 人群创建时间 Createtime string `json:"createtime,omitempty" xml:"createtime,omitempty"` // 人群id CrowdId int64 `json:"crowd_id,omitempty" xml:"crowd_id,omitempty"` // 人群覆盖人数 Coverage int64 `json:"coverage,omitempty" xml:"coverage,omitempty"` }
CrowdDto 结构体
type CrowdQueryDto ¶ added in v1.2.5
type CrowdQueryDto struct { // 按已有人群id查询过滤 CrowdIdList []int64 `json:"crowd_id_list,omitempty" xml:"crowd_id_list>int64,omitempty"` // 按人群名称模糊匹配 CrowdName string `json:"crowd_name,omitempty" xml:"crowd_name,omitempty"` }
CrowdQueryDto 结构体
type Pager ¶ added in v1.2.5
type Pager struct { // 当前页数 IntCurrentPage int64 `json:"int_current_page,omitempty" xml:"int_current_page,omitempty"` // 分页大小 IntPageSize int64 `json:"int_page_size,omitempty" xml:"int_page_size,omitempty"` // 记录总条数 Total int64 `json:"total,omitempty" xml:"total,omitempty"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 当前页数 CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"` }
Pager 结构体
type TaobaoDmpCrowdBasicFindAPIRequest ¶ added in v1.2.5
type TaobaoDmpCrowdBasicFindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDmpCrowdBasicFindAPIRequest DMP_BP版人群列表查询 API请求 taobao.dmp.crowd.basic.find
DMP_BP版人群列表查询
func NewTaobaoDmpCrowdBasicFindRequest ¶ added in v1.2.5
func NewTaobaoDmpCrowdBasicFindRequest() *TaobaoDmpCrowdBasicFindAPIRequest
NewTaobaoDmpCrowdBasicFindRequest 初始化TaobaoDmpCrowdBasicFindAPIRequest对象
func (TaobaoDmpCrowdBasicFindAPIRequest) GetApiContext ¶ added in v1.2.5
func (r TaobaoDmpCrowdBasicFindAPIRequest) GetApiContext() *ApiContextDto
GetApiContext ApiContext Getter
func (TaobaoDmpCrowdBasicFindAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoDmpCrowdBasicFindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDmpCrowdBasicFindAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoDmpCrowdBasicFindAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDmpCrowdBasicFindAPIRequest) GetCrowdQuery ¶ added in v1.2.5
func (r TaobaoDmpCrowdBasicFindAPIRequest) GetCrowdQuery() *CrowdQueryDto
GetCrowdQuery CrowdQuery Getter
func (TaobaoDmpCrowdBasicFindAPIRequest) GetPager ¶ added in v1.2.5
func (r TaobaoDmpCrowdBasicFindAPIRequest) GetPager() *Pager
GetPager Pager Getter
func (TaobaoDmpCrowdBasicFindAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoDmpCrowdBasicFindAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoDmpCrowdBasicFindAPIRequest) SetApiContext ¶ added in v1.2.5
func (r *TaobaoDmpCrowdBasicFindAPIRequest) SetApiContext(_apiContext *ApiContextDto) error
SetApiContext is ApiContext Setter 请求体
func (*TaobaoDmpCrowdBasicFindAPIRequest) SetCrowdQuery ¶ added in v1.2.5
func (r *TaobaoDmpCrowdBasicFindAPIRequest) SetCrowdQuery(_crowdQuery *CrowdQueryDto) error
SetCrowdQuery is CrowdQuery Setter 人群查询条件
func (*TaobaoDmpCrowdBasicFindAPIRequest) SetPager ¶ added in v1.2.5
func (r *TaobaoDmpCrowdBasicFindAPIRequest) SetPager(_pager *Pager) error
SetPager is Pager Setter 分页参数
type TaobaoDmpCrowdBasicFindAPIResponse ¶ added in v1.2.5
type TaobaoDmpCrowdBasicFindAPIResponse struct { model.CommonResponse TaobaoDmpCrowdBasicFindAPIResponseModel }
TaobaoDmpCrowdBasicFindAPIResponse DMP_BP版人群列表查询 API返回值 taobao.dmp.crowd.basic.find
DMP_BP版人群列表查询
type TaobaoDmpCrowdBasicFindAPIResponseModel ¶ added in v1.2.5
type TaobaoDmpCrowdBasicFindAPIResponseModel struct { XMLName xml.Name `xml:"dmp_crowd_basic_find_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 人群对象 Result []CrowdDto `json:"result,omitempty" xml:"result>crowd_dto,omitempty"` // 错误码 ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 分页对象 Pager *Pager `json:"pager,omitempty" xml:"pager,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoDmpCrowdBasicFindAPIResponseModel is DMP_BP版人群列表查询 成功返回结果
type TaobaoDmpCrowdTemplateApplyAPIRequest ¶ added in v1.2.5
type TaobaoDmpCrowdTemplateApplyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDmpCrowdTemplateApplyAPIRequest 人群模版采纳并生成人群API API请求 taobao.dmp.crowd.template.apply
人群模版采纳并生成人群API
func NewTaobaoDmpCrowdTemplateApplyRequest ¶ added in v1.2.5
func NewTaobaoDmpCrowdTemplateApplyRequest() *TaobaoDmpCrowdTemplateApplyAPIRequest
NewTaobaoDmpCrowdTemplateApplyRequest 初始化TaobaoDmpCrowdTemplateApplyAPIRequest对象
func (TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiContext ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiContext() *ApiContextDto
GetApiContext ApiContext Getter
func (TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDmpCrowdTemplateApplyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoDmpCrowdTemplateApplyAPIRequest) GetTemplateContext ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateApplyAPIRequest) GetTemplateContext() *TemplateContextDto
GetTemplateContext TemplateContext Getter
func (*TaobaoDmpCrowdTemplateApplyAPIRequest) SetApiContext ¶ added in v1.2.5
func (r *TaobaoDmpCrowdTemplateApplyAPIRequest) SetApiContext(_apiContext *ApiContextDto) error
SetApiContext is ApiContext Setter 请求体
func (*TaobaoDmpCrowdTemplateApplyAPIRequest) SetTemplateContext ¶ added in v1.2.5
func (r *TaobaoDmpCrowdTemplateApplyAPIRequest) SetTemplateContext(_templateContext *TemplateContextDto) error
SetTemplateContext is TemplateContext Setter 采纳模版context
type TaobaoDmpCrowdTemplateApplyAPIResponse ¶ added in v1.2.5
type TaobaoDmpCrowdTemplateApplyAPIResponse struct { model.CommonResponse TaobaoDmpCrowdTemplateApplyAPIResponseModel }
TaobaoDmpCrowdTemplateApplyAPIResponse 人群模版采纳并生成人群API API返回值 taobao.dmp.crowd.template.apply
人群模版采纳并生成人群API
type TaobaoDmpCrowdTemplateApplyAPIResponseModel ¶ added in v1.2.5
type TaobaoDmpCrowdTemplateApplyAPIResponseModel struct { XMLName xml.Name `xml:"dmp_crowd_template_apply_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码 ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 生成的人群id Result int64 `json:"result,omitempty" xml:"result,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoDmpCrowdTemplateApplyAPIResponseModel is 人群模版采纳并生成人群API 成功返回结果
type TaobaoDmpCrowdTemplateTopicFindAPIRequest ¶ added in v1.2.5
type TaobaoDmpCrowdTemplateTopicFindAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoDmpCrowdTemplateTopicFindAPIRequest 平台精选榜单和模版查询接口 API请求 taobao.dmp.crowd.template.topic.find
查询平台精选榜单和模版信息
func NewTaobaoDmpCrowdTemplateTopicFindRequest ¶ added in v1.2.5
func NewTaobaoDmpCrowdTemplateTopicFindRequest() *TaobaoDmpCrowdTemplateTopicFindAPIRequest
NewTaobaoDmpCrowdTemplateTopicFindRequest 初始化TaobaoDmpCrowdTemplateTopicFindAPIRequest对象
func (TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiContext ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiContext() *ApiContextDto
GetApiContext ApiContext Getter
func (TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetTopicQuery ¶ added in v1.2.5
func (r TaobaoDmpCrowdTemplateTopicFindAPIRequest) GetTopicQuery() *TopicQueryDto
GetTopicQuery TopicQuery Getter
func (*TaobaoDmpCrowdTemplateTopicFindAPIRequest) SetApiContext ¶ added in v1.2.5
func (r *TaobaoDmpCrowdTemplateTopicFindAPIRequest) SetApiContext(_apiContext *ApiContextDto) error
SetApiContext is ApiContext Setter 请求体
func (*TaobaoDmpCrowdTemplateTopicFindAPIRequest) SetTopicQuery ¶ added in v1.2.5
func (r *TaobaoDmpCrowdTemplateTopicFindAPIRequest) SetTopicQuery(_topicQuery *TopicQueryDto) error
SetTopicQuery is TopicQuery Setter 查询对象
type TaobaoDmpCrowdTemplateTopicFindAPIResponse ¶ added in v1.2.5
type TaobaoDmpCrowdTemplateTopicFindAPIResponse struct { model.CommonResponse TaobaoDmpCrowdTemplateTopicFindAPIResponseModel }
TaobaoDmpCrowdTemplateTopicFindAPIResponse 平台精选榜单和模版查询接口 API返回值 taobao.dmp.crowd.template.topic.find
查询平台精选榜单和模版信息
type TaobaoDmpCrowdTemplateTopicFindAPIResponseModel ¶ added in v1.2.5
type TaobaoDmpCrowdTemplateTopicFindAPIResponseModel struct { XMLName xml.Name `xml:"dmp_crowd_template_topic_find_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 榜单对象数组 Result []Topic `json:"result,omitempty" xml:"result>topic,omitempty"` // 错误码 ResultErrorCode string `json:"result_error_code,omitempty" xml:"result_error_code,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoDmpCrowdTemplateTopicFindAPIResponseModel is 平台精选榜单和模版查询接口 成功返回结果
type Template ¶ added in v1.2.5
type Template struct { // 模版扩展json信息,usageIndex: 使用热度,mark: 打标文案 Ext string `json:"ext,omitempty" xml:"ext,omitempty"` // 模版描述信息 Description string `json:"description,omitempty" xml:"description,omitempty"` // 模版推荐理由 Highlight string `json:"highlight,omitempty" xml:"highlight,omitempty"` // 模版名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 模版id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
Template 结构体
type TemplateContextDto ¶ added in v1.2.5
type TemplateContextDto struct { // 算法推荐模版context ContextParams string `json:"context_params,omitempty" xml:"context_params,omitempty"` // 榜单id TopicId int64 `json:"topic_id,omitempty" xml:"topic_id,omitempty"` // 模版id TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` }
TemplateContextDto 结构体
type Topic ¶ added in v1.2.5
type Topic struct { // 榜单下的模版对象数组 Templates []Template `json:"templates,omitempty" xml:"templates>template,omitempty"` // 榜单名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 榜单描述 Description string `json:"description,omitempty" xml:"description,omitempty"` // 榜单id Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
Topic 结构体
type TopicQueryDto ¶ added in v1.2.5
type TopicQueryDto struct { // 算法推荐模版context ContextParams string `json:"context_params,omitempty" xml:"context_params,omitempty"` }
TopicQueryDto 结构体
Source Files ¶
- ApiContextDto.go
- CrowdDto.go
- CrowdQueryDto.go
- Pager.go
- TaobaoDmpCrowdBasicFindAPIRequest.go
- TaobaoDmpCrowdBasicFindAPIResponse.go
- TaobaoDmpCrowdTemplateApplyAPIRequest.go
- TaobaoDmpCrowdTemplateApplyAPIResponse.go
- TaobaoDmpCrowdTemplateTopicFindAPIRequest.go
- TaobaoDmpCrowdTemplateTopicFindAPIResponse.go
- Template.go
- TemplateContextDto.go
- Topic.go
- TopicQueryDto.go
- doc.go