terms

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: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddTermsReq

type AddTermsReq struct {
	AdvertiserId int64    `json:"advertiser_id"`
	AwemeId      string   `json:"aweme_id"`
	IsApplyToAdv bool     `json:"is_apply_to_adv"`
	Terms        []string `json:"terms"`
}

AddTermsReq 添加屏蔽词

func (AddTermsReq) Encode

func (r AddTermsReq) Encode() []byte

Encode implement GetRequest interface

type AddTermsRes

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

AddTermsRes AddTermsRes

type AddUserTermData

type AddUserTermData struct {
	Success []string `json:"success"` //
	Fail    []*Fail  `json:"fail"`    //
}

type AddUserTermsReq

type AddUserTermsReq struct {
	AdvertiserId     int64    `json:"advertiser_id"`
	BannedType       string   `json:"banned_type"`
	AwemeId          string   `json:"aweme_id,omitempty"`
	IsApplyToAdv     bool     `json:"is_apply_to_adv"`
	AwemeUserIds     []string `json:"aweme_user_ids,omitempty"`
	NicknameKeywords []string `json:"nickname_keywords,omitempty"`
}

AddUserTermsReq 添加屏蔽用户

func (AddUserTermsReq) Encode

func (r AddUserTermsReq) Encode() []byte

Encode implement GetRequest interface

type AddUserTermsRes

type AddUserTermsRes struct {
	model.BaseResponse
	Data *AddUserTermData `json:"data"` // json返回值
}

AddUserTermsRes

type DelTermsReq

type DelTermsReq struct {
	AdvertiserId int64    `json:"advertiser_id"`
	AwemeId      string   `json:"aweme_id"`
	IsApplyToAdv bool     `json:"is_apply_to_adv"`
	Terms        []string `json:"terms"`
}

DelTermsReq 删除屏蔽词

func (DelTermsReq) Encode

func (r DelTermsReq) Encode() []byte

Encode implement GetRequest interface

type DelTermsRes

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

DelTermsRes DelTermsRes

type DelUserTermData

type DelUserTermData struct {
	Success []string `json:"success"` //
	Fail    []*Fail  `json:"fail"`    //
}

type DelUserTermsReq

type DelUserTermsReq struct {
	AdvertiserId     int64    `json:"advertiser_id"`
	BannedType       string   `json:"banned_type"`
	AwemeId          string   `json:"aweme_id,omitempty"`
	IsApplyToAdv     bool     `json:"is_apply_to_adv"`
	AwemeUserIds     []string `json:"aweme_user_ids,omitempty"`
	NicknameKeywords []string `json:"nickname_keywords,omitempty"`
}

DelUserTermsReq 删除屏蔽用户

func (DelUserTermsReq) Encode

func (r DelUserTermsReq) Encode() []byte

Encode implement GetRequest interface

type DelUserTermsRes

type DelUserTermsRes struct {
	model.BaseResponse
	Data *DelUserTermData `json:"data"` // json返回值
}

DelUserTermsRes

type Fail

type Fail struct {
	ResultKey string `json:"result_key"` //
	Message   string `json:"message"`    //
}

type TermsListItermData

type TermsListItermData struct {
	TermsListIterms []string           `json:"terms"`               //
	PageInfo        promotion.PageInfo `json:"page_info,omitempty"` //分页信息
}

type TermsListReq

type TermsListReq struct {
	AdvertiserId int64  `json:"advertiser_id"`
	AwemeId      string `json:"aweme_id"`
	IsApplyToAdv bool   `json:"is_apply_to_adv"`
	Page         int    `json:"page"`
	PageSize     int    `json:"page_size"`
}

TermsListReq 获取屏蔽词

func (TermsListReq) Encode

func (r TermsListReq) Encode() string

Encode implement GetRequest interface

type TermsListRes

type TermsListRes struct {
	model.BaseResponse
	Data *TermsListItermData `json:"data"` // json返回值
}

TermsListRes

type TermsUserListIterm

type TermsUserListIterm struct {
	AwemeName       string `json:"aweme_name"`
	BannedType      string `json:"banned_type"`
	AwemeUserId     string `json:"aweme_user_id"`
	NicknameKeyword string `json:"nickname_keyword"`
}

type TermsUserListItermData

type TermsUserListItermData struct {
	List     []TermsUserListIterm `json:"list"`                //
	PageInfo promotion.PageInfo   `json:"page_info,omitempty"` //分页信息
}

type TermsUserListReq

type TermsUserListReq struct {
	AdvertiserId    int64  `json:"advertiser_id"`
	AwemeId         string `json:"aweme_id,omitempty"`
	IsApplyToAdv    bool   `json:"is_apply_to_adv,omitempty"`
	BannedType      string `json:"banned_type,omitempty"`
	AwemeUserId     string `json:"aweme_user_id,omitempty"`
	NicknameKeyword string `json:"nickname_keyword,omitempty"`
	Page            int    `json:"page"`
	PageSize        int    `json:"page_size"`
}

TermsUserListReq 获取屏蔽用户

func (TermsUserListReq) Encode

func (r TermsUserListReq) Encode() string

Encode implement GetRequest interface

type TermsUserListRes

type TermsUserListRes struct {
	model.BaseResponse
	Data *TermsUserListItermData `json:"data"` // json返回值
}

TermsUserListRes

type UpdateTermsReq

type UpdateTermsReq struct {
	AdvertiserId int64  `json:"advertiser_id"`
	AwemeId      string `json:"aweme_id,omitempty"`
	IsApplyToAdv bool   `json:"is_apply_to_adv"`
	OriginTerm   string `json:"origin_term"`
	NewTerm      string `json:"new_term"`
}

UpdateTermsReq 更新屏蔽词

func (UpdateTermsReq) Encode

func (r UpdateTermsReq) Encode() []byte

Encode implement GetRequest interface

type UpdateTermsRes

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

UpdateTermsRes DelTermsRes

Jump to

Keyboard shortcuts

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