Documentation ¶
Index ¶
- type AliyunCosmoGatewayInvokeAPIResponse
- type AliyunCosmoGatewayInvokeRequest
- func (r AliyunCosmoGatewayInvokeRequest) GetApiMethodName() string
- func (r AliyunCosmoGatewayInvokeRequest) GetApiParams() url.Values
- func (r AliyunCosmoGatewayInvokeRequest) GetContext() *RdamContext
- func (r AliyunCosmoGatewayInvokeRequest) GetRdamRequest() *RdamGenericRequest
- func (r *AliyunCosmoGatewayInvokeRequest) SetContext(context *RdamContext) error
- func (r *AliyunCosmoGatewayInvokeRequest) SetRdamRequest(rdamRequest *RdamGenericRequest) error
- type AliyunCosmoGatewayInvokeResponse
- type DpResult
- type OperBatchMsg
- type RdamContext
- type RdamGenericRequest
- type RdamResponse
- type YunosCloudcardBatchOpermsgSendAPIResponse
- type YunosCloudcardBatchOpermsgSendRequest
- func (r YunosCloudcardBatchOpermsgSendRequest) GetApiMethodName() string
- func (r YunosCloudcardBatchOpermsgSendRequest) GetApiParams() url.Values
- func (r YunosCloudcardBatchOpermsgSendRequest) GetOperBatchMsg() *OperBatchMsg
- func (r *YunosCloudcardBatchOpermsgSendRequest) SetOperBatchMsg(operBatchMsg *OperBatchMsg) error
- type YunosCloudcardBatchOpermsgSendResponse
- type YunosCosmoDataPushAPIResponse
- type YunosCosmoDataPushRequest
- func (r YunosCosmoDataPushRequest) GetApiMethodName() string
- func (r YunosCosmoDataPushRequest) GetApiParams() url.Values
- func (r YunosCosmoDataPushRequest) GetAppId() string
- func (r YunosCosmoDataPushRequest) GetJsonModel() string
- func (r *YunosCosmoDataPushRequest) SetAppId(appId string) error
- func (r *YunosCosmoDataPushRequest) SetJsonModel(jsonModel string) error
- type YunosCosmoDataPushResponse
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 (r AliyunCosmoGatewayInvokeRequest) GetContext() *RdamContext
func (AliyunCosmoGatewayInvokeRequest) GetRdamRequest ¶
func (r AliyunCosmoGatewayInvokeRequest) GetRdamRequest() *RdamGenericRequest
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 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 (r YunosCloudcardBatchOpermsgSendRequest) GetApiParams() url.Values
func (YunosCloudcardBatchOpermsgSendRequest) GetOperBatchMsg ¶
func (r YunosCloudcardBatchOpermsgSendRequest) GetOperBatchMsg() *OperBatchMsg
func (*YunosCloudcardBatchOpermsgSendRequest) SetOperBatchMsg ¶
func (r *YunosCloudcardBatchOpermsgSendRequest) SetOperBatchMsg(operBatchMsg *OperBatchMsg) error
type YunosCosmoDataPushAPIResponse ¶
type YunosCosmoDataPushAPIResponse struct { model.CommonResponse YunosCosmoDataPushResponse }
COSMO-PUSH模式数据接入 APIResponse yunos.cosmo.data.push
YunOS提供外部数据源接入,并输出到多端设备上,该接口提供了PUSH模式的数据接入
type YunosCosmoDataPushRequest ¶
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