comment

package
v0.0.0-...-4c075ac Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentHideItemData

type CommentHideItemData struct {
	SuccessCommentIds []int64 `json:"success_comment_ids"` //项目列表
}

type CommentListItem

type CommentListItem struct {
	AdId        int    `json:"ad_id"`
	AdName      string `json:"ad_name"`
	AwemeId     string `json:"aweme_id"`
	AwemeName   string `json:"aweme_name"`
	CommentId   int64  `json:"comment_id"`
	CreateTime  string `json:"create_time"`
	CreativeId  int64  `json:"creative_id"`
	EmotionType string `json:"emotion_type"`
	HideStatus  string `json:"hide_status"`
	IsStick     int    `json:"is_stick"`
	ItemId      int64  `json:"item_id"`
	ItemTitle   string `json:"item_title"`
	LevelType   string `json:"level_type"`
	LikeCount   int    `json:"like_count"`
	PromotionId int    `json:"promotion_id"`
	ReplyCount  int    `json:"reply_count"`
	ReplyStatus string `json:"reply_status"`
	Text        string `json:"text"`
}

type CommentListItemData

type CommentListItemData struct {
	CommentList []CommentListItem  `json:"comment_list"`        //项目列表
	PageInfo    promotion.PageInfo `json:"page_info,omitempty"` //分页信息
}

type CommentReplyItemData

type CommentReplyItemData struct {
	SuccessCommentIds []int64 `json:"success_comment_ids"` //项目列表
}

type Filtering

type Filtering struct {
	AdIds        []int64 `json:"ad_ids"`
	CreativeIds  []int64 `json:"creative_ids"`
	ItemIds      []int64 `json:"item_ids"`
	BindRelation string  `json:"bind_relation"`
	LevelType    string  `json:"level_type"`
	IsReplied    int     `json:"is_replied,omitempty"`
	HideStatus   string  `json:"hide_status"`
	EmotionType  string  `json:"emotion_type,omitempty"`
}

type GetCommentListReq

type GetCommentListReq struct {
	AdvertiserId    int64      `json:"advertiser_id"`
	PlatformVersion string     `json:"platform_version"`
	StartTime       string     `json:"start_time"`
	EndTime         string     `json:"end_time"`
	OrderField      string     `json:"order_field"`
	OrderType       string     `json:"order_type"`
	Filtering       *Filtering `json:"filtering"`
	IncludeMetrics  bool       `json:"include_metrics"`
	Page            int        `json:"page"`
	PageSize        int        `json:"page_size"`
}

func (GetCommentListReq) Encode

func (r GetCommentListReq) Encode() string

Encode implement GetRequest interface

type GetCommentListRes

type GetCommentListRes struct {
	model.BaseResponse
	//common.OceanEngineApiCommonResultParam
	Data *CommentListItemData `json:"data"` // json返回值
}

GetCommentListRes 获取项目列表返回的数据

type HideCommentRes

type HideCommentRes struct {
	model.BaseResponse
	//common.OceanEngineApiCommonResultParam
	Data *CommentHideItemData `json:"data"` // json返回值
}

HideCommentRes 返回的数据

type HideReq

type HideReq struct {
	AdvertiserId int64   `json:"advertiser_id"`
	CommentIds   []int64 `json:"comment_ids"`
}

func (HideReq) Encode

func (r HideReq) Encode() []byte

Encode implement GetRequest interface

type ReplyCommentRes

type ReplyCommentRes struct {
	model.BaseResponse
	//common.OceanEngineApiCommonResultParam
	Data *CommentReplyItemData `json:"data"` // json返回值
}

ReplyCommentRes 返回的数据

type ReplyReq

type ReplyReq struct {
	AdvertiserId int64   `json:"advertiser_id"`
	CommentIds   []int64 `json:"comment_ids"`
	ReplyText    string  `json:"reply_text"`
}

func (ReplyReq) Encode

func (r ReplyReq) Encode() []byte

Encode implement GetRequest interface

type TopReq

type TopReq struct {
	AdvertiserId int64   `json:"advertiser_id"`
	CommentIds   []int64 `json:"comment_ids"`
	StickType    string  `json:"stick_type"`
}

****************************

func (TopReq) Encode

func (r TopReq) Encode() []byte

Encode implement GetRequest interface

type TopRes

type TopRes struct {
	model.BaseResponse
	//common.OceanEngineApiCommonResultParam
	Data struct{} `json:"data"` // json返回值
}

TopRes DelTermsRes

Jump to

Keyboard shortcuts

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