Documentation ¶
Overview ¶
Package yunosappstore 包含ALiOS应用中心相关结构体
Index ¶
- func ReleaseAdInfo(v *AdInfo)
- func ReleaseAppInfo(v *AppInfo)
- func ReleaseCallbacks(v *Callbacks)
- func ReleaseYunosAppstoreAppsGetAPIRequest(v *YunosAppstoreAppsGetAPIRequest)
- func ReleaseYunosAppstoreAppsGetAPIResponse(v *YunosAppstoreAppsGetAPIResponse)
- func ReleaseYunosAppstoreOpenGetadsAPIRequest(v *YunosAppstoreOpenGetadsAPIRequest)
- func ReleaseYunosAppstoreOpenGetadsAPIResponse(v *YunosAppstoreOpenGetadsAPIResponse)
- func ReleaseYunosAppstoreOpenReportadAPIRequest(v *YunosAppstoreOpenReportadAPIRequest)
- func ReleaseYunosAppstoreOpenReportadAPIResponse(v *YunosAppstoreOpenReportadAPIResponse)
- func ReleaseYunosAppstorePadHpApplistAPIRequest(v *YunosAppstorePadHpApplistAPIRequest)
- func ReleaseYunosAppstorePadHpApplistAPIResponse(v *YunosAppstorePadHpApplistAPIResponse)
- func ReleaseYunosAppstorePadHpApplistResult(v *YunosAppstorePadHpApplistResult)
- type AdInfo
- type AppInfo
- type Callbacks
- type YunosAppstoreAppsGetAPIRequest
- func (r YunosAppstoreAppsGetAPIRequest) GetApiMethodName() string
- func (r YunosAppstoreAppsGetAPIRequest) GetApiParams(params url.Values)
- func (r YunosAppstoreAppsGetAPIRequest) GetPkgs() []string
- func (r YunosAppstoreAppsGetAPIRequest) GetRawParams() model.Params
- func (r *YunosAppstoreAppsGetAPIRequest) Reset()
- func (r *YunosAppstoreAppsGetAPIRequest) SetPkgs(_pkgs []string) error
- type YunosAppstoreAppsGetAPIResponse
- type YunosAppstoreAppsGetAPIResponseModel
- type YunosAppstoreOpenGetadsAPIRequest
- func (r YunosAppstoreOpenGetadsAPIRequest) GetApiMethodName() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetApiParams(params url.Values)
- func (r YunosAppstoreOpenGetadsAPIRequest) GetCaseId() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetCats() []string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetClientIp() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetClientVerCode() int64
- func (r YunosAppstoreOpenGetadsAPIRequest) GetDeviceId() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetExcludeCats() []string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetExcludeInstall() bool
- func (r YunosAppstoreOpenGetadsAPIRequest) GetExcludePkgs() []string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetFeeType() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetMrp() int64
- func (r YunosAppstoreOpenGetadsAPIRequest) GetOptions() int64
- func (r YunosAppstoreOpenGetadsAPIRequest) GetPkgs() []string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetRawParams() model.Params
- func (r YunosAppstoreOpenGetadsAPIRequest) GetRid() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetSize() int64
- func (r YunosAppstoreOpenGetadsAPIRequest) GetSsp() string
- func (r YunosAppstoreOpenGetadsAPIRequest) GetTemplateIds() []int64
- func (r YunosAppstoreOpenGetadsAPIRequest) GetTryMapToUuid() bool
- func (r *YunosAppstoreOpenGetadsAPIRequest) Reset()
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetCaseId(_caseId string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetCats(_cats []string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetClientIp(_clientIp string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetClientVerCode(_clientVerCode int64) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetDeviceId(_deviceId string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetExcludeCats(_excludeCats []string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetExcludeInstall(_excludeInstall bool) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetExcludePkgs(_excludePkgs []string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetFeeType(_feeType string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetMrp(_mrp int64) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetOptions(_options int64) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetPkgs(_pkgs []string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetRid(_rid string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetSize(_size int64) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetSsp(_ssp string) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetTemplateIds(_templateIds []int64) error
- func (r *YunosAppstoreOpenGetadsAPIRequest) SetTryMapToUuid(_tryMapToUuid bool) error
- type YunosAppstoreOpenGetadsAPIResponse
- type YunosAppstoreOpenGetadsAPIResponseModel
- type YunosAppstoreOpenReportadAPIRequest
- func (r YunosAppstoreOpenReportadAPIRequest) GetAction() int64
- func (r YunosAppstoreOpenReportadAPIRequest) GetApiMethodName() string
- func (r YunosAppstoreOpenReportadAPIRequest) GetApiParams(params url.Values)
- func (r YunosAppstoreOpenReportadAPIRequest) GetClientVerCode() int64
- func (r YunosAppstoreOpenReportadAPIRequest) GetDeviceId() string
- func (r YunosAppstoreOpenReportadAPIRequest) GetRawParams() model.Params
- func (r YunosAppstoreOpenReportadAPIRequest) GetTime() int64
- func (r YunosAppstoreOpenReportadAPIRequest) GetTraceIds() []string
- func (r *YunosAppstoreOpenReportadAPIRequest) Reset()
- func (r *YunosAppstoreOpenReportadAPIRequest) SetAction(_action int64) error
- func (r *YunosAppstoreOpenReportadAPIRequest) SetClientVerCode(_clientVerCode int64) error
- func (r *YunosAppstoreOpenReportadAPIRequest) SetDeviceId(_deviceId string) error
- func (r *YunosAppstoreOpenReportadAPIRequest) SetTime(_time int64) error
- func (r *YunosAppstoreOpenReportadAPIRequest) SetTraceIds(_traceIds []string) error
- type YunosAppstoreOpenReportadAPIResponse
- type YunosAppstoreOpenReportadAPIResponseModel
- type YunosAppstorePadHpApplistAPIRequest
- func (r YunosAppstorePadHpApplistAPIRequest) GetApiMethodName() string
- func (r YunosAppstorePadHpApplistAPIRequest) GetApiParams(params url.Values)
- func (r YunosAppstorePadHpApplistAPIRequest) GetCode() string
- func (r YunosAppstorePadHpApplistAPIRequest) GetRawParams() model.Params
- func (r *YunosAppstorePadHpApplistAPIRequest) Reset()
- func (r *YunosAppstorePadHpApplistAPIRequest) SetCode(_code string) error
- type YunosAppstorePadHpApplistAPIResponse
- type YunosAppstorePadHpApplistAPIResponseModel
- type YunosAppstorePadHpApplistResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 结构体
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 结构体
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 结构体
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
func (m *YunosAppstoreAppsGetAPIResponse) Reset()
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
func (m *YunosAppstoreAppsGetAPIResponseModel) Reset()
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
func (r YunosAppstoreOpenGetadsAPIRequest) GetCaseId() string
GetCaseId CaseId Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetCats ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetCats() []string
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
func (r YunosAppstoreOpenGetadsAPIRequest) GetFeeType() string
GetFeeType FeeType Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetMrp ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetMrp() int64
GetMrp Mrp Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetOptions ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetOptions() int64
GetOptions Options Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetPkgs ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetPkgs() []string
GetPkgs Pkgs Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetRawParams ¶ added in v1.2.8
func (r YunosAppstoreOpenGetadsAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YunosAppstoreOpenGetadsAPIRequest) GetRid ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetRid() string
GetRid Rid Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetSize ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetSize() int64
GetSize Size Getter
func (YunosAppstoreOpenGetadsAPIRequest) GetSsp ¶ added in v1.2.0
func (r YunosAppstoreOpenGetadsAPIRequest) GetSsp() string
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
func (r *YunosAppstoreOpenGetadsAPIRequest) Reset()
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
func (r *YunosAppstoreOpenGetadsAPIRequest) SetMrp(_mrp int64) error
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
func (r *YunosAppstoreOpenGetadsAPIRequest) SetRid(_rid string) error
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
func (r *YunosAppstoreOpenGetadsAPIRequest) SetSsp(_ssp string) error
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
func (m *YunosAppstoreOpenGetadsAPIResponse) Reset()
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
func (m *YunosAppstoreOpenGetadsAPIResponseModel) Reset()
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
func (r YunosAppstoreOpenReportadAPIRequest) GetAction() int64
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
func (r YunosAppstoreOpenReportadAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (YunosAppstoreOpenReportadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r YunosAppstoreOpenReportadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YunosAppstoreOpenReportadAPIRequest) GetTime ¶ added in v1.2.0
func (r YunosAppstoreOpenReportadAPIRequest) GetTime() int64
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
func (r *YunosAppstoreOpenReportadAPIRequest) Reset()
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
func (r *YunosAppstoreOpenReportadAPIRequest) SetTime(_time int64) error
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
func (m *YunosAppstoreOpenReportadAPIResponse) Reset()
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
func (m *YunosAppstoreOpenReportadAPIResponseModel) Reset()
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
func (r YunosAppstorePadHpApplistAPIRequest) GetCode() string
GetCode Code Getter
func (YunosAppstorePadHpApplistAPIRequest) GetRawParams ¶ added in v1.2.8
func (r YunosAppstorePadHpApplistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosAppstorePadHpApplistAPIRequest) Reset ¶ added in v1.3.4
func (r *YunosAppstorePadHpApplistAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*YunosAppstorePadHpApplistAPIRequest) SetCode ¶ added in v1.2.0
func (r *YunosAppstorePadHpApplistAPIRequest) SetCode(_code string) error
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
func (m *YunosAppstorePadHpApplistAPIResponse) Reset()
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
func (m *YunosAppstorePadHpApplistAPIResponseModel) Reset()
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
Source Files ¶
- AdInfo.go
- AppInfo.go
- Callbacks.go
- YunosAppstoreAppsGetAPIRequest.go
- YunosAppstoreAppsGetAPIResponse.go
- YunosAppstoreOpenGetadsAPIRequest.go
- YunosAppstoreOpenGetadsAPIResponse.go
- YunosAppstoreOpenReportadAPIRequest.go
- YunosAppstoreOpenReportadAPIResponse.go
- YunosAppstorePadHpApplistAPIRequest.go
- YunosAppstorePadHpApplistAPIResponse.go
- YunosAppstorePadHpApplistResult.go
- doc.go