yunosappstore

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package yunosappstore 包含ALiOS应用中心相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAdInfo added in v1.3.4

func ReleaseAdInfo(v *AdInfo)

ReleaseAdInfo 释放AdInfo

func ReleaseAppInfo added in v1.3.4

func ReleaseAppInfo(v *AppInfo)

ReleaseAppInfo 释放AppInfo

func ReleaseCallbacks added in v1.3.4

func ReleaseCallbacks(v *Callbacks)

ReleaseCallbacks 释放Callbacks

func ReleaseYunosAppstoreAppsGetAPIRequest added in v1.3.4

func ReleaseYunosAppstoreAppsGetAPIRequest(v *YunosAppstoreAppsGetAPIRequest)

ReleaseYunosAppstoreAppsGetAPIRequest 将 YunosAppstoreAppsGetAPIRequest 放入 sync.Pool

func ReleaseYunosAppstoreAppsGetAPIResponse added in v1.3.4

func ReleaseYunosAppstoreAppsGetAPIResponse(v *YunosAppstoreAppsGetAPIResponse)

ReleaseYunosAppstoreAppsGetAPIResponse 将 YunosAppstoreAppsGetAPIResponse 保存到 sync.Pool

func ReleaseYunosAppstoreOpenGetadsAPIRequest added in v1.3.4

func ReleaseYunosAppstoreOpenGetadsAPIRequest(v *YunosAppstoreOpenGetadsAPIRequest)

ReleaseYunosAppstoreOpenGetadsAPIRequest 将 YunosAppstoreOpenGetadsAPIRequest 放入 sync.Pool

func ReleaseYunosAppstoreOpenGetadsAPIResponse added in v1.3.4

func ReleaseYunosAppstoreOpenGetadsAPIResponse(v *YunosAppstoreOpenGetadsAPIResponse)

ReleaseYunosAppstoreOpenGetadsAPIResponse 将 YunosAppstoreOpenGetadsAPIResponse 保存到 sync.Pool

func ReleaseYunosAppstoreOpenReportadAPIRequest added in v1.3.4

func ReleaseYunosAppstoreOpenReportadAPIRequest(v *YunosAppstoreOpenReportadAPIRequest)

ReleaseYunosAppstoreOpenReportadAPIRequest 将 YunosAppstoreOpenReportadAPIRequest 放入 sync.Pool

func ReleaseYunosAppstoreOpenReportadAPIResponse added in v1.3.4

func ReleaseYunosAppstoreOpenReportadAPIResponse(v *YunosAppstoreOpenReportadAPIResponse)

ReleaseYunosAppstoreOpenReportadAPIResponse 将 YunosAppstoreOpenReportadAPIResponse 保存到 sync.Pool

func ReleaseYunosAppstorePadHpApplistAPIRequest added in v1.3.4

func ReleaseYunosAppstorePadHpApplistAPIRequest(v *YunosAppstorePadHpApplistAPIRequest)

ReleaseYunosAppstorePadHpApplistAPIRequest 将 YunosAppstorePadHpApplistAPIRequest 放入 sync.Pool

func ReleaseYunosAppstorePadHpApplistAPIResponse added in v1.3.4

func ReleaseYunosAppstorePadHpApplistAPIResponse(v *YunosAppstorePadHpApplistAPIResponse)

ReleaseYunosAppstorePadHpApplistAPIResponse 将 YunosAppstorePadHpApplistAPIResponse 保存到 sync.Pool

func ReleaseYunosAppstorePadHpApplistResult added in v1.3.4

func ReleaseYunosAppstorePadHpApplistResult(v *YunosAppstorePadHpApplistResult)

ReleaseYunosAppstorePadHpApplistResult 释放YunosAppstorePadHpApplistResult

Types

type AdInfo

type AdInfo struct {
	// 创意列表
	Creatives []string `json:"creatives,omitempty" xml:"creatives>string,omitempty"`
	// 广告跟踪id
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 简介
	Intro string `json:"intro,omitempty" xml:"intro,omitempty"`
	// icon
	Icon string `json:"icon,omitempty" xml:"icon,omitempty"`
	// 版本名
	VerName string `json:"ver_name,omitempty" xml:"ver_name,omitempty"`
	// 结算类型
	FeeType string `json:"fee_type,omitempty" xml:"fee_type,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 包名
	Pkg string `json:"pkg,omitempty" xml:"pkg,omitempty"`
	// 包文件md5
	Md5 string `json:"md5,omitempty" xml:"md5,omitempty"`
	// deeplink
	Deeplink string `json:"deeplink,omitempty" xml:"deeplink,omitempty"`
	// 下地地址
	DownloadUrl string `json:"download_url,omitempty" xml:"download_url,omitempty"`
	// 回调地址
	Callbacks *Callbacks `json:"callbacks,omitempty" xml:"callbacks,omitempty"`
	// 版本号
	VerCode int64 `json:"ver_code,omitempty" xml:"ver_code,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

AdInfo 结构体

func GetAdInfo added in v1.3.4

func GetAdInfo() *AdInfo

GetAdInfo() 从对象池中获取AdInfo

type AppInfo

type AppInfo struct {
	// 应用icon
	Icon string `json:"icon,omitempty" xml:"icon,omitempty"`
	// 应用包名
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// 应用名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 应用版本名称
	VersionName string `json:"version_name,omitempty" xml:"version_name,omitempty"`
	// 应用版本号
	VersionCode int64 `json:"version_code,omitempty" xml:"version_code,omitempty"`
}

AppInfo 结构体

func GetAppInfo added in v1.3.4

func GetAppInfo() *AppInfo

GetAppInfo() 从对象池中获取AppInfo

type Callbacks

type Callbacks struct {
	// 点击
	Click string `json:"click,omitempty" xml:"click,omitempty"`
	// 曝光
	View string `json:"view,omitempty" xml:"view,omitempty"`
	// 竞价成功
	Deal string `json:"deal,omitempty" xml:"deal,omitempty"`
}

Callbacks 结构体

func GetCallbacks added in v1.3.4

func GetCallbacks() *Callbacks

GetCallbacks() 从对象池中获取Callbacks

type YunosAppstoreAppsGetAPIRequest added in v1.2.0

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

YunosAppstoreAppsGetAPIRequest 根据包名列表获取应用信息列表 API请求 yunos.appstore.apps.get

根据包名列表获取应用信息列表

func GetYunosAppstoreAppsGetAPIRequest added in v1.3.4

func GetYunosAppstoreAppsGetAPIRequest() *YunosAppstoreAppsGetAPIRequest

GetYunosAppstoreAppsGetRequest 从 sync.Pool 获取 YunosAppstoreAppsGetAPIRequest

func NewYunosAppstoreAppsGetRequest

func NewYunosAppstoreAppsGetRequest() *YunosAppstoreAppsGetAPIRequest

NewYunosAppstoreAppsGetRequest 初始化YunosAppstoreAppsGetAPIRequest对象

func (YunosAppstoreAppsGetAPIRequest) GetApiMethodName added in v1.2.0

func (r YunosAppstoreAppsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YunosAppstoreAppsGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (YunosAppstoreAppsGetAPIRequest) GetPkgs added in v1.2.0

func (r YunosAppstoreAppsGetAPIRequest) GetPkgs() []string

GetPkgs Pkgs Getter

func (YunosAppstoreAppsGetAPIRequest) GetRawParams added in v1.2.8

func (r YunosAppstoreAppsGetAPIRequest) GetRawParams() model.Params

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

func (*YunosAppstoreAppsGetAPIRequest) Reset added in v1.3.4

func (r *YunosAppstoreAppsGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*YunosAppstoreAppsGetAPIRequest) SetPkgs added in v1.2.0

func (r *YunosAppstoreAppsGetAPIRequest) SetPkgs(_pkgs []string) error

SetPkgs is Pkgs Setter 应用包名列表

type YunosAppstoreAppsGetAPIResponse

type YunosAppstoreAppsGetAPIResponse struct {
	model.CommonResponse
	YunosAppstoreAppsGetAPIResponseModel
}

YunosAppstoreAppsGetAPIResponse 根据包名列表获取应用信息列表 API返回值 yunos.appstore.apps.get

根据包名列表获取应用信息列表

func GetYunosAppstoreAppsGetAPIResponse added in v1.3.4

func GetYunosAppstoreAppsGetAPIResponse() *YunosAppstoreAppsGetAPIResponse

GetYunosAppstoreAppsGetAPIResponse 从 sync.Pool 获取 YunosAppstoreAppsGetAPIResponse

func (*YunosAppstoreAppsGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstoreAppsGetAPIResponseModel added in v1.2.0

type YunosAppstoreAppsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"yunos_appstore_apps_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 应用信息列表
	AppInfoList []AppInfo `json:"app_info_list,omitempty" xml:"app_info_list>app_info,omitempty"`
}

YunosAppstoreAppsGetAPIResponseModel is 根据包名列表获取应用信息列表 成功返回结果

func (*YunosAppstoreAppsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstoreOpenGetadsAPIRequest added in v1.2.0

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

YunosAppstoreOpenGetadsAPIRequest 获取外投广告 API请求 yunos.appstore.open.getads

将广告外投给外部合作伙伴

func GetYunosAppstoreOpenGetadsAPIRequest added in v1.3.4

func GetYunosAppstoreOpenGetadsAPIRequest() *YunosAppstoreOpenGetadsAPIRequest

GetYunosAppstoreOpenGetadsRequest 从 sync.Pool 获取 YunosAppstoreOpenGetadsAPIRequest

func NewYunosAppstoreOpenGetadsRequest

func NewYunosAppstoreOpenGetadsRequest() *YunosAppstoreOpenGetadsAPIRequest

NewYunosAppstoreOpenGetadsRequest 初始化YunosAppstoreOpenGetadsAPIRequest对象

func (YunosAppstoreOpenGetadsAPIRequest) GetApiMethodName added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YunosAppstoreOpenGetadsAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (YunosAppstoreOpenGetadsAPIRequest) GetCaseId added in v1.2.0

GetCaseId CaseId Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetCats added in v1.2.0

GetCats Cats Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetClientIp added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetClientIp() string

GetClientIp ClientIp Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetClientVerCode added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetClientVerCode() int64

GetClientVerCode ClientVerCode Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetDeviceId added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetDeviceId() string

GetDeviceId DeviceId Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetExcludeCats added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetExcludeCats() []string

GetExcludeCats ExcludeCats Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetExcludeInstall added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetExcludeInstall() bool

GetExcludeInstall ExcludeInstall Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetExcludePkgs added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetExcludePkgs() []string

GetExcludePkgs ExcludePkgs Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetFeeType added in v1.2.0

GetFeeType FeeType Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetMrp added in v1.2.0

GetMrp Mrp Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetOptions added in v1.2.0

GetOptions Options Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetPkgs added in v1.2.0

GetPkgs Pkgs Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetRawParams added in v1.2.8

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

func (YunosAppstoreOpenGetadsAPIRequest) GetRid added in v1.2.0

GetRid Rid Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetSize added in v1.2.0

GetSize Size Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetSsp added in v1.2.0

GetSsp Ssp Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetTemplateIds added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetTemplateIds() []int64

GetTemplateIds TemplateIds Getter

func (YunosAppstoreOpenGetadsAPIRequest) GetTryMapToUuid added in v1.2.0

func (r YunosAppstoreOpenGetadsAPIRequest) GetTryMapToUuid() bool

GetTryMapToUuid TryMapToUuid Getter

func (*YunosAppstoreOpenGetadsAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*YunosAppstoreOpenGetadsAPIRequest) SetCaseId added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetCaseId(_caseId string) error

SetCaseId is CaseId Setter 场景或页面标识

func (*YunosAppstoreOpenGetadsAPIRequest) SetCats added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetCats(_cats []string) error

SetCats is Cats Setter 指定广告分类

func (*YunosAppstoreOpenGetadsAPIRequest) SetClientIp added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetClientIp(_clientIp string) error

SetClientIp is ClientIp Setter 客户端来源ip

func (*YunosAppstoreOpenGetadsAPIRequest) SetClientVerCode added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetClientVerCode(_clientVerCode int64) error

SetClientVerCode is ClientVerCode Setter 客户端版本号

func (*YunosAppstoreOpenGetadsAPIRequest) SetDeviceId added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetDeviceId(_deviceId string) error

SetDeviceId is DeviceId Setter 设备唯一标识

func (*YunosAppstoreOpenGetadsAPIRequest) SetExcludeCats added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetExcludeCats(_excludeCats []string) error

SetExcludeCats is ExcludeCats Setter 排除分类

func (*YunosAppstoreOpenGetadsAPIRequest) SetExcludeInstall added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetExcludeInstall(_excludeInstall bool) error

SetExcludeInstall is ExcludeInstall Setter 是否排除已安装

func (*YunosAppstoreOpenGetadsAPIRequest) SetExcludePkgs added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetExcludePkgs(_excludePkgs []string) error

SetExcludePkgs is ExcludePkgs Setter 排除包名列表

func (*YunosAppstoreOpenGetadsAPIRequest) SetFeeType added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetFeeType(_feeType string) error

SetFeeType is FeeType Setter 结算类型

func (*YunosAppstoreOpenGetadsAPIRequest) SetMrp added in v1.2.0

SetMrp is Mrp Setter 广告底价

func (*YunosAppstoreOpenGetadsAPIRequest) SetOptions added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetOptions(_options int64) error

SetOptions is Options Setter 请求特征集

func (*YunosAppstoreOpenGetadsAPIRequest) SetPkgs added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetPkgs(_pkgs []string) error

SetPkgs is Pkgs Setter 广告指定包名

func (*YunosAppstoreOpenGetadsAPIRequest) SetRid added in v1.2.0

SetRid is Rid Setter 请求id

func (*YunosAppstoreOpenGetadsAPIRequest) SetSize added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetSize(_size int64) error

SetSize is Size Setter 广告数量

func (*YunosAppstoreOpenGetadsAPIRequest) SetSsp added in v1.2.0

SetSsp is Ssp Setter ssp标识

func (*YunosAppstoreOpenGetadsAPIRequest) SetTemplateIds added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetTemplateIds(_templateIds []int64) error

SetTemplateIds is TemplateIds Setter 创意模板id列表

func (*YunosAppstoreOpenGetadsAPIRequest) SetTryMapToUuid added in v1.2.0

func (r *YunosAppstoreOpenGetadsAPIRequest) SetTryMapToUuid(_tryMapToUuid bool) error

SetTryMapToUuid is TryMapToUuid Setter 是否映射到uuid

type YunosAppstoreOpenGetadsAPIResponse

type YunosAppstoreOpenGetadsAPIResponse struct {
	model.CommonResponse
	YunosAppstoreOpenGetadsAPIResponseModel
}

YunosAppstoreOpenGetadsAPIResponse 获取外投广告 API返回值 yunos.appstore.open.getads

将广告外投给外部合作伙伴

func GetYunosAppstoreOpenGetadsAPIResponse added in v1.3.4

func GetYunosAppstoreOpenGetadsAPIResponse() *YunosAppstoreOpenGetadsAPIResponse

GetYunosAppstoreOpenGetadsAPIResponse 从 sync.Pool 获取 YunosAppstoreOpenGetadsAPIResponse

func (*YunosAppstoreOpenGetadsAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstoreOpenGetadsAPIResponseModel added in v1.2.0

type YunosAppstoreOpenGetadsAPIResponseModel struct {
	XMLName xml.Name `xml:"yunos_appstore_open_getads_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 广告集
	Ads []AdInfo `json:"ads,omitempty" xml:"ads>ad_info,omitempty"`
	// 响应消息
	Rm string `json:"rm,omitempty" xml:"rm,omitempty"`
	// 请求id
	Rid string `json:"rid,omitempty" xml:"rid,omitempty"`
	// 响应码
	Rc int64 `json:"rc,omitempty" xml:"rc,omitempty"`
}

YunosAppstoreOpenGetadsAPIResponseModel is 获取外投广告 成功返回结果

func (*YunosAppstoreOpenGetadsAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstoreOpenReportadAPIRequest added in v1.2.0

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

YunosAppstoreOpenReportadAPIRequest 外投广告上报接口 API请求 yunos.appstore.open.reportad

外投广告回流上报接口

func GetYunosAppstoreOpenReportadAPIRequest added in v1.3.4

func GetYunosAppstoreOpenReportadAPIRequest() *YunosAppstoreOpenReportadAPIRequest

GetYunosAppstoreOpenReportadRequest 从 sync.Pool 获取 YunosAppstoreOpenReportadAPIRequest

func NewYunosAppstoreOpenReportadRequest

func NewYunosAppstoreOpenReportadRequest() *YunosAppstoreOpenReportadAPIRequest

NewYunosAppstoreOpenReportadRequest 初始化YunosAppstoreOpenReportadAPIRequest对象

func (YunosAppstoreOpenReportadAPIRequest) GetAction added in v1.2.0

GetAction Action Getter

func (YunosAppstoreOpenReportadAPIRequest) GetApiMethodName added in v1.2.0

func (r YunosAppstoreOpenReportadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YunosAppstoreOpenReportadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (YunosAppstoreOpenReportadAPIRequest) GetClientVerCode added in v1.2.0

func (r YunosAppstoreOpenReportadAPIRequest) GetClientVerCode() int64

GetClientVerCode ClientVerCode Getter

func (YunosAppstoreOpenReportadAPIRequest) GetDeviceId added in v1.2.0

GetDeviceId DeviceId Getter

func (YunosAppstoreOpenReportadAPIRequest) GetRawParams added in v1.2.8

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

func (YunosAppstoreOpenReportadAPIRequest) GetTime added in v1.2.0

GetTime Time Getter

func (YunosAppstoreOpenReportadAPIRequest) GetTraceIds added in v1.2.0

func (r YunosAppstoreOpenReportadAPIRequest) GetTraceIds() []string

GetTraceIds TraceIds Getter

func (*YunosAppstoreOpenReportadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*YunosAppstoreOpenReportadAPIRequest) SetAction added in v1.2.0

func (r *YunosAppstoreOpenReportadAPIRequest) SetAction(_action int64) error

SetAction is Action Setter 事件类型:0 代表曝光事件;1 代表点击下载事件;2 代表下载完成事件;3 代表安装完成事件

func (*YunosAppstoreOpenReportadAPIRequest) SetClientVerCode added in v1.2.0

func (r *YunosAppstoreOpenReportadAPIRequest) SetClientVerCode(_clientVerCode int64) error

SetClientVerCode is ClientVerCode Setter 客户端版本号

func (*YunosAppstoreOpenReportadAPIRequest) SetDeviceId added in v1.2.0

func (r *YunosAppstoreOpenReportadAPIRequest) SetDeviceId(_deviceId string) error

SetDeviceId is DeviceId Setter 客户端设备标识

func (*YunosAppstoreOpenReportadAPIRequest) SetTime added in v1.2.0

SetTime is Time Setter 事件时间,当前毫秒数

func (*YunosAppstoreOpenReportadAPIRequest) SetTraceIds added in v1.2.0

func (r *YunosAppstoreOpenReportadAPIRequest) SetTraceIds(_traceIds []string) error

SetTraceIds is TraceIds Setter 广告跟踪id列表

type YunosAppstoreOpenReportadAPIResponse

type YunosAppstoreOpenReportadAPIResponse struct {
	model.CommonResponse
	YunosAppstoreOpenReportadAPIResponseModel
}

YunosAppstoreOpenReportadAPIResponse 外投广告上报接口 API返回值 yunos.appstore.open.reportad

外投广告回流上报接口

func GetYunosAppstoreOpenReportadAPIResponse added in v1.3.4

func GetYunosAppstoreOpenReportadAPIResponse() *YunosAppstoreOpenReportadAPIResponse

GetYunosAppstoreOpenReportadAPIResponse 从 sync.Pool 获取 YunosAppstoreOpenReportadAPIResponse

func (*YunosAppstoreOpenReportadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstoreOpenReportadAPIResponseModel added in v1.2.0

type YunosAppstoreOpenReportadAPIResponseModel struct {
	XMLName xml.Name `xml:"yunos_appstore_open_reportad_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应消息
	Rm string `json:"rm,omitempty" xml:"rm,omitempty"`
	// 响应码
	Rc int64 `json:"rc,omitempty" xml:"rc,omitempty"`
}

YunosAppstoreOpenReportadAPIResponseModel is 外投广告上报接口 成功返回结果

func (*YunosAppstoreOpenReportadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstorePadHpApplistAPIRequest added in v1.2.0

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

YunosAppstorePadHpApplistAPIRequest 查询HpPad appList API请求 yunos.appstore.pad.hp.applist

提供hp pad应用群数据

func GetYunosAppstorePadHpApplistAPIRequest added in v1.3.4

func GetYunosAppstorePadHpApplistAPIRequest() *YunosAppstorePadHpApplistAPIRequest

GetYunosAppstorePadHpApplistRequest 从 sync.Pool 获取 YunosAppstorePadHpApplistAPIRequest

func NewYunosAppstorePadHpApplistRequest

func NewYunosAppstorePadHpApplistRequest() *YunosAppstorePadHpApplistAPIRequest

NewYunosAppstorePadHpApplistRequest 初始化YunosAppstorePadHpApplistAPIRequest对象

func (YunosAppstorePadHpApplistAPIRequest) GetApiMethodName added in v1.2.0

func (r YunosAppstorePadHpApplistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (YunosAppstorePadHpApplistAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (YunosAppstorePadHpApplistAPIRequest) GetCode added in v1.2.0

GetCode Code Getter

func (YunosAppstorePadHpApplistAPIRequest) GetRawParams added in v1.2.8

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

func (*YunosAppstorePadHpApplistAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*YunosAppstorePadHpApplistAPIRequest) SetCode added in v1.2.0

SetCode is Code Setter 获取的应用群code

type YunosAppstorePadHpApplistAPIResponse

type YunosAppstorePadHpApplistAPIResponse struct {
	model.CommonResponse
	YunosAppstorePadHpApplistAPIResponseModel
}

YunosAppstorePadHpApplistAPIResponse 查询HpPad appList API返回值 yunos.appstore.pad.hp.applist

提供hp pad应用群数据

func GetYunosAppstorePadHpApplistAPIResponse added in v1.3.4

func GetYunosAppstorePadHpApplistAPIResponse() *YunosAppstorePadHpApplistAPIResponse

GetYunosAppstorePadHpApplistAPIResponse 从 sync.Pool 获取 YunosAppstorePadHpApplistAPIResponse

func (*YunosAppstorePadHpApplistAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstorePadHpApplistAPIResponseModel added in v1.2.0

type YunosAppstorePadHpApplistAPIResponseModel struct {
	XMLName xml.Name `xml:"yunos_appstore_pad_hp_applist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Results []YunosAppstorePadHpApplistResult `json:"results,omitempty" xml:"results>yunos_appstore_pad_hp_applist_result,omitempty"`
}

YunosAppstorePadHpApplistAPIResponseModel is 查询HpPad appList 成功返回结果

func (*YunosAppstorePadHpApplistAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type YunosAppstorePadHpApplistResult

type YunosAppstorePadHpApplistResult struct {
	// icon
	Icon string `json:"icon,omitempty" xml:"icon,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// packageName
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// developerName
	DeveloperName string `json:"developer_name,omitempty" xml:"developer_name,omitempty"`
	// uri
	Uri string `json:"uri,omitempty" xml:"uri,omitempty"`
	// url
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// intro
	Intro string `json:"intro,omitempty" xml:"intro,omitempty"`
	// versionCode
	VersionCode int64 `json:"version_code,omitempty" xml:"version_code,omitempty"`
}

YunosAppstorePadHpApplistResult 结构体

func GetYunosAppstorePadHpApplistResult added in v1.3.4

func GetYunosAppstorePadHpApplistResult() *YunosAppstorePadHpApplistResult

GetYunosAppstorePadHpApplistResult() 从对象池中获取YunosAppstorePadHpApplistResult

Jump to

Keyboard shortcuts

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