yunos

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunCosmoGatewayInvokeAPIResponse

type AliyunCosmoGatewayInvokeAPIResponse struct {
	model.CommonResponse
	AliyunCosmoGatewayInvokeResponse
}

alios cosmo服务调用 APIResponse aliyun.cosmo.gateway.invoke

AliOS cosmo服务分发平台对外调用接口

type AliyunCosmoGatewayInvokeRequest

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

alios cosmo服务调用 APIRequest aliyun.cosmo.gateway.invoke

AliOS cosmo服务分发平台对外调用接口

func NewAliyunCosmoGatewayInvokeRequest

func NewAliyunCosmoGatewayInvokeRequest() *AliyunCosmoGatewayInvokeRequest

func (AliyunCosmoGatewayInvokeRequest) GetApiMethodName

func (r AliyunCosmoGatewayInvokeRequest) GetApiMethodName() string

func (AliyunCosmoGatewayInvokeRequest) GetApiParams

func (r AliyunCosmoGatewayInvokeRequest) GetApiParams() url.Values

func (AliyunCosmoGatewayInvokeRequest) GetContext

func (AliyunCosmoGatewayInvokeRequest) GetRdamRequest

func (*AliyunCosmoGatewayInvokeRequest) SetContext

func (r *AliyunCosmoGatewayInvokeRequest) SetContext(context *RdamContext) error

func (*AliyunCosmoGatewayInvokeRequest) SetRdamRequest

func (r *AliyunCosmoGatewayInvokeRequest) SetRdamRequest(rdamRequest *RdamGenericRequest) error

type AliyunCosmoGatewayInvokeResponse

type AliyunCosmoGatewayInvokeResponse struct {
	XMLName   xml.Name `xml:"aliyun_cosmo_gateway_invoke_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *RdamResponse `json:"result,omitempty" xml:"result,omitempty"`
}

type DpResult

type DpResult struct {
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`

	Message string `json:"message,omitempty" xml:"message,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

DpResult

type OperBatchMsg

type OperBatchMsg struct {
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`

	TplId string `json:"tpl_id,omitempty" xml:"tpl_id,omitempty"`

	Content string `json:"content,omitempty" xml:"content,omitempty"`

	TjFlag bool `json:"tj_flag,omitempty" xml:"tj_flag,omitempty"`
}

OperBatchMsg

type RdamContext

type RdamContext struct {
}

RdamContext

type RdamGenericRequest

type RdamGenericRequest struct {
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
}

RdamGenericRequest

type RdamResponse

type RdamResponse struct {
	Message string `json:"message,omitempty" xml:"message,omitempty"`

	More string `json:"more,omitempty" xml:"more,omitempty"`

	Code int64 `json:"code,omitempty" xml:"code,omitempty"`

	DataList []string `json:"data_list,omitempty" xml:"data_list>string,omitempty"`

	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
}

RdamResponse

type YunosCloudcardBatchOpermsgSendAPIResponse

type YunosCloudcardBatchOpermsgSendAPIResponse struct {
	model.CommonResponse
	YunosCloudcardBatchOpermsgSendResponse
}

YUNOS生活服务群发消息 APIResponse yunos.cloudcard.batch.opermsg.send

这个是一个群发消息接口,ISV通过该接口给订阅自己服务号的所有YUNOS终端用户发送服务号消息,目前该接口有调用频率限制,具体规则参考YUNOS开放平台文档。

type YunosCloudcardBatchOpermsgSendRequest

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

YUNOS生活服务群发消息 APIRequest yunos.cloudcard.batch.opermsg.send

这个是一个群发消息接口,ISV通过该接口给订阅自己服务号的所有YUNOS终端用户发送服务号消息,目前该接口有调用频率限制,具体规则参考YUNOS开放平台文档。

func NewYunosCloudcardBatchOpermsgSendRequest

func NewYunosCloudcardBatchOpermsgSendRequest() *YunosCloudcardBatchOpermsgSendRequest

func (YunosCloudcardBatchOpermsgSendRequest) GetApiMethodName

func (r YunosCloudcardBatchOpermsgSendRequest) GetApiMethodName() string

func (YunosCloudcardBatchOpermsgSendRequest) GetApiParams

func (YunosCloudcardBatchOpermsgSendRequest) GetOperBatchMsg

func (*YunosCloudcardBatchOpermsgSendRequest) SetOperBatchMsg

func (r *YunosCloudcardBatchOpermsgSendRequest) SetOperBatchMsg(operBatchMsg *OperBatchMsg) error

type YunosCloudcardBatchOpermsgSendResponse

type YunosCloudcardBatchOpermsgSendResponse struct {
	XMLName   xml.Name `xml:"yunos_cloudcard_batch_opermsg_send_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

type YunosCosmoDataPushAPIResponse

type YunosCosmoDataPushAPIResponse struct {
	model.CommonResponse
	YunosCosmoDataPushResponse
}

COSMO-PUSH模式数据接入 APIResponse yunos.cosmo.data.push

YunOS提供外部数据源接入,并输出到多端设备上,该接口提供了PUSH模式的数据接入

type YunosCosmoDataPushRequest

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

COSMO-PUSH模式数据接入 APIRequest yunos.cosmo.data.push

YunOS提供外部数据源接入,并输出到多端设备上,该接口提供了PUSH模式的数据接入

func NewYunosCosmoDataPushRequest

func NewYunosCosmoDataPushRequest() *YunosCosmoDataPushRequest

func (YunosCosmoDataPushRequest) GetApiMethodName

func (r YunosCosmoDataPushRequest) GetApiMethodName() string

func (YunosCosmoDataPushRequest) GetApiParams

func (r YunosCosmoDataPushRequest) GetApiParams() url.Values

func (YunosCosmoDataPushRequest) GetAppId

func (r YunosCosmoDataPushRequest) GetAppId() string

func (YunosCosmoDataPushRequest) GetJsonModel

func (r YunosCosmoDataPushRequest) GetJsonModel() string

func (*YunosCosmoDataPushRequest) SetAppId

func (r *YunosCosmoDataPushRequest) SetAppId(appId string) error

func (*YunosCosmoDataPushRequest) SetJsonModel

func (r *YunosCosmoDataPushRequest) SetJsonModel(jsonModel string) error

type YunosCosmoDataPushResponse

type YunosCosmoDataPushResponse struct {
	XMLName   xml.Name `xml:"yunos_cosmo_data_push_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	Result *DpResult `json:"result,omitempty" xml:"result,omitempty"`
}

Jump to

Keyboard shortcuts

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