Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) BatchGetDevicesInfo(AppId int64, Devices string, optional openapi.M) (*BatchGetDevicesInfoResponse, error)
- func (api API) PushByteMessage(AppId int64, PushContent string, SendType int, optional openapi.M) (*PushByteMessageResponse, error)
- func (api API) RevertRpc(AppId int64, DeviceId, RpcContent string, TimeOut int, optional openapi.M) (*RevertRpcResponse, error)
- type BatchGetDevicesInfoResponse
- type PushByteMessageResponse
- type RevertRpcResponse
Constants ¶
View Source
const ( Product = "Push" Style = "RPC" Version = "2015-08-27" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) BatchGetDevicesInfo ¶
func (api API) BatchGetDevicesInfo(AppId int64, Devices string, optional openapi.M) (*BatchGetDevicesInfoResponse, error)
BatchGetDevicesInfo version 2015-08-27
required parameters:
name: AppId, type: int64 name: Devices, type: string
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) PushByteMessage ¶
func (api API) PushByteMessage(AppId int64, PushContent string, SendType int, optional openapi.M) (*PushByteMessageResponse, error)
PushByteMessage version 2015-08-27
required parameters:
name: AppId, type: int64 name: PushContent, type: string name: SendType, type: int
optional parameters:
name: Accounts, type: string name: DeviceIds, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RevertRpc ¶
func (api API) RevertRpc(AppId int64, DeviceId, RpcContent string, TimeOut int, optional openapi.M) (*RevertRpcResponse, error)
RevertRpc version 2015-08-27
required parameters:
name: AppId, type: int64 name: DeviceId, type: string name: RpcContent, type: string name: TimeOut, type: int
optional parameters:
name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
type BatchGetDevicesInfoResponse ¶
type BatchGetDevicesInfoResponse struct { DeviceInfos struct { DeviceInfo []struct { DeviceId string IsOnline bool Status int } } }
BatchGetDevicesInfoResponse represents the response of the api BatchGetDevicesInfo.
type PushByteMessageResponse ¶
type PushByteMessageResponse struct {
ResponseId string
}
PushByteMessageResponse represents the response of the api PushByteMessage.
type RevertRpcResponse ¶
RevertRpcResponse represents the response of the api RevertRpc.
Click to show internal directories.
Click to hide internal directories.