Documentation
¶
Overview ¶
Package cmns 包含yunos推送服务api相关结构体
Index ¶
- type CmnsMessage
- type DeviceResult
- type MessageAckResult
- type MessageDetailResult
- type MessageResult
- type Pagination
- type PaginationQueryResult
- type PushRequest
- type Receiver
- type YunosservicecmnscoadevicegetAPIRequest
- func (r YunosservicecmnscoadevicegetAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoadevicegetAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoadevicegetAPIRequest) GetRawParams() model.Params
- func (r YunosservicecmnscoadevicegetAPIRequest) GetType() string
- func (r YunosservicecmnscoadevicegetAPIRequest) GetValue() string
- func (r *YunosservicecmnscoadevicegetAPIRequest) SetType(_type string) error
- func (r *YunosservicecmnscoadevicegetAPIRequest) SetValue(_value string) error
- type YunosservicecmnscoadevicegetAPIResponse
- type YunosservicecmnscoadevicegetAPIResponseModel
- type YunosservicecmnscoadeviceisonlineAPIRequest
- func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetRawParams() model.Params
- func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetType() string
- func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetValue() string
- func (r *YunosservicecmnscoadeviceisonlineAPIRequest) SetType(_type string) error
- func (r *YunosservicecmnscoadeviceisonlineAPIRequest) SetValue(_value string) error
- type YunosservicecmnscoadeviceisonlineAPIResponse
- type YunosservicecmnscoadeviceisonlineAPIResponseModel
- type YunosservicecmnscoamessageackAPIRequest
- func (r YunosservicecmnscoamessageackAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoamessageackAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoamessageackAPIRequest) GetDeviceToken() string
- func (r YunosservicecmnscoamessageackAPIRequest) GetImei() string
- func (r YunosservicecmnscoamessageackAPIRequest) GetMid() int64
- func (r YunosservicecmnscoamessageackAPIRequest) GetRawParams() model.Params
- func (r YunosservicecmnscoamessageackAPIRequest) GetUuid() string
- func (r *YunosservicecmnscoamessageackAPIRequest) SetDeviceToken(_deviceToken string) error
- func (r *YunosservicecmnscoamessageackAPIRequest) SetImei(_imei string) error
- func (r *YunosservicecmnscoamessageackAPIRequest) SetMid(_mid int64) error
- func (r *YunosservicecmnscoamessageackAPIRequest) SetUuid(_uuid string) error
- type YunosservicecmnscoamessageackAPIResponse
- type YunosservicecmnscoamessageackAPIResponseModel
- type YunosservicecmnscoamessageackslistAPIRequest
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetDid() int64
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetMid() int64
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetPageIndex() int64
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetPageSize() int64
- func (r YunosservicecmnscoamessageackslistAPIRequest) GetRawParams() model.Params
- func (r *YunosservicecmnscoamessageackslistAPIRequest) SetDid(_did int64) error
- func (r *YunosservicecmnscoamessageackslistAPIRequest) SetMid(_mid int64) error
- func (r *YunosservicecmnscoamessageackslistAPIRequest) SetPageIndex(_pageIndex int64) error
- func (r *YunosservicecmnscoamessageackslistAPIRequest) SetPageSize(_pageSize int64) error
- type YunosservicecmnscoamessageackslistAPIResponse
- type YunosservicecmnscoamessageackslistAPIResponseModel
- type YunosservicecmnscoamessagecancelAPIRequest
- func (r YunosservicecmnscoamessagecancelAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoamessagecancelAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoamessagecancelAPIRequest) GetMid() int64
- func (r YunosservicecmnscoamessagecancelAPIRequest) GetRawParams() model.Params
- func (r *YunosservicecmnscoamessagecancelAPIRequest) SetMid(_mid int64) error
- type YunosservicecmnscoamessagecancelAPIResponse
- type YunosservicecmnscoamessagecancelAPIResponseModel
- type YunosservicecmnscoamessagegetAPIRequest
- func (r YunosservicecmnscoamessagegetAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoamessagegetAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoamessagegetAPIRequest) GetMid() int64
- func (r YunosservicecmnscoamessagegetAPIRequest) GetRawParams() model.Params
- func (r *YunosservicecmnscoamessagegetAPIRequest) SetMid(_mid int64) error
- type YunosservicecmnscoamessagegetAPIResponse
- type YunosservicecmnscoamessagegetAPIResponseModel
- type YunosservicecmnscoamessagepushAPIRequest
- func (r YunosservicecmnscoamessagepushAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoamessagepushAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoamessagepushAPIRequest) GetPushRequest() *PushRequest
- func (r YunosservicecmnscoamessagepushAPIRequest) GetRawParams() model.Params
- func (r *YunosservicecmnscoamessagepushAPIRequest) SetPushRequest(_pushRequest *PushRequest) error
- type YunosservicecmnscoamessagepushAPIResponse
- type YunosservicecmnscoamessagepushAPIResponseModel
- type YunosservicecmnscoamessageresultgetAPIRequest
- func (r YunosservicecmnscoamessageresultgetAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoamessageresultgetAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoamessageresultgetAPIRequest) GetMid() int64
- func (r YunosservicecmnscoamessageresultgetAPIRequest) GetRawParams() model.Params
- func (r *YunosservicecmnscoamessageresultgetAPIRequest) SetMid(_mid int64) error
- type YunosservicecmnscoamessageresultgetAPIResponse
- type YunosservicecmnscoamessageresultgetAPIResponseModel
- type YunosservicecmnscoapushAPIRequest
- func (r YunosservicecmnscoapushAPIRequest) GetApiMethodName() string
- func (r YunosservicecmnscoapushAPIRequest) GetApiParams(params url.Values)
- func (r YunosservicecmnscoapushAPIRequest) GetMsgObj() *CmnsMessage
- func (r YunosservicecmnscoapushAPIRequest) GetRawParams() model.Params
- func (r *YunosservicecmnscoapushAPIRequest) SetMsgObj(_msgObj *CmnsMessage) error
- type YunosservicecmnscoapushAPIResponse
- type YunosservicecmnscoapushAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CmnsMessage ¶
type CmnsMessage struct { // 去重码,1-6位整数,0将视为不填,如果填写则同一appKey相同的去重码消息将会被去重,只保留最新的一条,请谨慎使用 CollapseKey string `json:"collapse_key,omitempty" xml:"collapse_key,omitempty"` // 消息内容 Data string `json:"data,omitempty" xml:"data,omitempty"` // 消息图标 Ico string `json:"ico,omitempty" xml:"ico,omitempty"` // 消息参数,json字符串格式 Parameter string `json:"parameter,omitempty" xml:"parameter,omitempty"` // 为action或广播侦听通道,要求填写应用包名(package) Program string `json:"program,omitempty" xml:"program,omitempty"` // 消息标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 应用订阅主题 Topic string `json:"topic,omitempty" xml:"topic,omitempty"` // yunos4.0专用,限制消息只有指定应用来侦听 Uri string `json:"uri,omitempty" xml:"uri,omitempty"` // 消息过期时间,lunix时间戳,单位S,为空或不填时为当前时间的1小时后 Expiration int64 `json:"expiration,omitempty" xml:"expiration,omitempty"` // 消息是否加密,1:加密,0:不加密 Important int64 `json:"important,omitempty" xml:"important,omitempty"` // 消息优先权 Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` // 消息发送对象 Receiver *Receiver `json:"receiver,omitempty" xml:"receiver,omitempty"` // 响应方式 0:无响应 4:打开应用 7:发送广播 Responsetype int64 `json:"responsetype,omitempty" xml:"responsetype,omitempty"` // 显示方式 1:通知中心 6:后台 Showtype int64 `json:"showtype,omitempty" xml:"showtype,omitempty"` // 消息是否压缩,0:二进制压缩,1:utf8文本 Text int64 `json:"text,omitempty" xml:"text,omitempty"` // 仅IOS应用推送时使用,默认值为0,开发环境为1,生产环境为0 DeployStatus int64 `json:"deploy_status,omitempty" xml:"deploy_status,omitempty"` }
CmnsMessage 结构体
type DeviceResult ¶
type DeviceResult struct { // 激活时间 ActiveTime string `json:"active_time,omitempty" xml:"active_time,omitempty"` // 基带 BaseType string `json:"base_type,omitempty" xml:"base_type,omitempty"` // BSP BspType string `json:"bsp_type,omitempty" xml:"bsp_type,omitempty"` // 有线网卡mac EthMac string `json:"eth_mac,omitempty" xml:"eth_mac,omitempty"` // imei Imei string `json:"imei,omitempty" xml:"imei,omitempty"` // imsi1 Imsi1 string `json:"imsi1,omitempty" xml:"imsi1,omitempty"` // imsi2 Imsi2 string `json:"imsi2,omitempty" xml:"imsi2,omitempty"` // isVendorRom IsVendorRom string `json:"is_vendor_rom,omitempty" xml:"is_vendor_rom,omitempty"` // kp Kp string `json:"kp,omitempty" xml:"kp,omitempty"` // 网络类型 Networking string `json:"networking,omitempty" xml:"networking,omitempty"` // phoneType PhoneType string `json:"phone_type,omitempty" xml:"phone_type,omitempty"` // 系统版本 Rom string `json:"rom,omitempty" xml:"rom,omitempty"` // romTuiguang RomTuiguang string `json:"rom_tuiguang,omitempty" xml:"rom_tuiguang,omitempty"` // romVendor RomVendor string `json:"rom_vendor,omitempty" xml:"rom_vendor,omitempty"` // 设备机型 Terminal string `json:"terminal,omitempty" xml:"terminal,omitempty"` // 轻量升级版本 UpdateVersion string `json:"update_version,omitempty" xml:"update_version,omitempty"` // uuid Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 无线mac WlanMac string `json:"wlan_mac,omitempty" xml:"wlan_mac,omitempty"` // 是否接收消息 AcceptMessage int64 `json:"accept_message,omitempty" xml:"accept_message,omitempty"` // 设备类型:1手机 2TV DeviceType int64 `json:"device_type,omitempty" xml:"device_type,omitempty"` // did Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 最近登录时间 LoginTime int64 `json:"login_time,omitempty" xml:"login_time,omitempty"` // 是否在线,1为在线,0为离线 Online int64 `json:"online,omitempty" xml:"online,omitempty"` }
DeviceResult 结构体
type MessageAckResult ¶
type MessageAckResult struct { // 消息回复时间 AckTime string `json:"ack_time,omitempty" xml:"ack_time,omitempty"` // uuid Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"` // 设备id Did int64 `json:"did,omitempty" xml:"did,omitempty"` // 消息id Mid int64 `json:"mid,omitempty" xml:"mid,omitempty"` }
MessageAckResult 结构体
type MessageDetailResult ¶
type MessageDetailResult struct { // 消息侦听通道 Action string `json:"action,omitempty" xml:"action,omitempty"` // appKey AppKey string `json:"app_key,omitempty" xml:"app_key,omitempty"` // 应用名称 AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"` // 通知消息内容 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 消息失效时间 ExipiredTime string `json:"exipired_time,omitempty" xml:"exipired_time,omitempty"` // 消息创建时间 GmtCreateTime string `json:"gmt_create_time,omitempty" xml:"gmt_create_time,omitempty"` // 消息参数 Parameter string `json:"parameter,omitempty" xml:"parameter,omitempty"` // 消息接收者json string Receiver string `json:"receiver,omitempty" xml:"receiver,omitempty"` // 通知消息标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 消息uri,yunos4.x系统专用 Uri string `json:"uri,omitempty" xml:"uri,omitempty"` // 消息到达数 AckCnt int64 `json:"ack_cnt,omitempty" xml:"ack_cnt,omitempty"` // 消息审核状态 Audit int64 `json:"audit,omitempty" xml:"audit,omitempty"` // 消息id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 预计发送数 PredictSendCnt int64 `json:"predict_send_cnt,omitempty" xml:"predict_send_cnt,omitempty"` // 消息优先级 Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` // 消息发送状态 0:发送中,1:发送完成,2:发送过期 SendStatus int64 `json:"send_status,omitempty" xml:"send_status,omitempty"` // 消息类型,1为透传,2为通知 Type int64 `json:"type,omitempty" xml:"type,omitempty"` }
MessageDetailResult 结构体
type MessageResult ¶
type MessageResult struct { // 消息过期时间 ExpireTime int64 `json:"expire_time,omitempty" xml:"expire_time,omitempty"` // 消息预计发送数 Total2send int64 `json:"total2send,omitempty" xml:"total2send,omitempty"` // 消息审核状态1,3:待审核 2:审核通过,处于发送中 4:审核拒绝 5 已撤回 6 已去重 Audit int64 `json:"audit,omitempty" xml:"audit,omitempty"` // 消息ID Mid int64 `json:"mid,omitempty" xml:"mid,omitempty"` // 消息达到设备数 Sentcount int64 `json:"sentcount,omitempty" xml:"sentcount,omitempty"` }
MessageResult 结构体
type Pagination ¶
type Pagination struct { // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` // 总页数,当totalCount=0 时,totalPageCount 必须设置为 1 TotalPageCount int64 `json:"total_page_count,omitempty" xml:"total_page_count,omitempty"` // 分页查询页码 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 分页每页数据集数 PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"` }
Pagination 结构体
type PaginationQueryResult ¶
type PaginationQueryResult struct { // ack记录列表 List []MessageAckResult `json:"list,omitempty" xml:"list>message_ack_result,omitempty"` // 分页数据 Pagination *Pagination `json:"pagination,omitempty" xml:"pagination,omitempty"` }
PaginationQueryResult 结构体
type PushRequest ¶
type PushRequest struct { // 消息内容, 为json字符串,格式详见http://open.yunos.com/doc/detail?spm=a2c01.7698725.0002.40.ZNPFOJ&documentId=102975 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 业务应用appKey,top调用不需要传此参数 BizAppKey string `json:"biz_app_key,omitempty" xml:"biz_app_key,omitempty"` // 去重码,为应用自己维护的消息唯一标记 CollapseKey string `json:"collapse_key,omitempty" xml:"collapse_key,omitempty"` // 设备类型,1:android or yunos,2:ios,当deviceType不指定时,服务器端对msg json字段按照android格式解析 DeviceType int64 `json:"device_type,omitempty" xml:"device_type,omitempty"` // 消息过期时间,相对时间(即多少秒后过期,最多7天),单位S,不填默认1小时过期 Expiration int64 `json:"expiration,omitempty" xml:"expiration,omitempty"` // 仅IOS应用推送时使用,0代表生成环境,1代表沙箱环境,默认值为0 IosEnvironment int64 `json:"ios_environment,omitempty" xml:"ios_environment,omitempty"` // 消息发送对象 Receiver *Receiver `json:"receiver,omitempty" xml:"receiver,omitempty"` // 消息类型,当前type只能取1,即只能发送给应用透传消息 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 消息发送优先级,范围为1-5,数字越高,优先级越大,不设置默认优先级为2 Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"` }
PushRequest 结构体
type Receiver ¶
type Receiver struct { // deviceToken值,最多1000个 Data []string `json:"data,omitempty" xml:"data>string,omitempty"` // deviceToken值,最多1000个 DataList []string `json:"data_list,omitempty" xml:"data_list>string,omitempty"` // 只能填写deviceToken Type string `json:"type,omitempty" xml:"type,omitempty"` }
Receiver 结构体
type YunosservicecmnscoadevicegetAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoadevicegetAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoadevicegetAPIRequest 设备详情查询 API请求 yunos.service.cmns.coa.device.get
第三方应用开发者调用此接口查询设备详情
func NewYunosservicecmnscoadevicegetRequest ¶ added in v1.3.1
func NewYunosservicecmnscoadevicegetRequest() *YunosservicecmnscoadevicegetAPIRequest
NewYunosservicecmnscoadevicegetRequest 初始化YunosservicecmnscoadevicegetAPIRequest对象
func (YunosservicecmnscoadevicegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoadevicegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoadevicegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoadevicegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoadevicegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoadevicegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YunosservicecmnscoadevicegetAPIRequest) GetType ¶ added in v1.3.1
func (r YunosservicecmnscoadevicegetAPIRequest) GetType() string
GetType Type Getter
func (YunosservicecmnscoadevicegetAPIRequest) GetValue ¶ added in v1.3.1
func (r YunosservicecmnscoadevicegetAPIRequest) GetValue() string
GetValue Value Getter
func (*YunosservicecmnscoadevicegetAPIRequest) SetType ¶ added in v1.3.1
func (r *YunosservicecmnscoadevicegetAPIRequest) SetType(_type string) error
SetType is Type Setter 设备id类型,可以是uuid,imei,deviceToken,kp
func (*YunosservicecmnscoadevicegetAPIRequest) SetValue ¶ added in v1.3.1
func (r *YunosservicecmnscoadevicegetAPIRequest) SetValue(_value string) error
SetValue is Value Setter 设备id
type YunosservicecmnscoadevicegetAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoadevicegetAPIResponse struct { model.CommonResponse YunosservicecmnscoadevicegetAPIResponseModel }
YunosservicecmnscoadevicegetAPIResponse 设备详情查询 API返回值 yunos.service.cmns.coa.device.get
第三方应用开发者调用此接口查询设备详情
type YunosservicecmnscoadevicegetAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoadevicegetAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_device_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 设备详情 DeviceList []DeviceResult `json:"device_list,omitempty" xml:"device_list>device_result,omitempty"` // 接口查询出错提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 200表示查询成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
YunosservicecmnscoadevicegetAPIResponseModel is 设备详情查询 成功返回结果
type YunosservicecmnscoadeviceisonlineAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoadeviceisonlineAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoadeviceisonlineAPIRequest 根据设备id查询设备是否在线 API请求 yunos.service.cmns.coa.device.isonline
根据设备id查询设备是否在线
func NewYunosservicecmnscoadeviceisonlineRequest ¶ added in v1.3.1
func NewYunosservicecmnscoadeviceisonlineRequest() *YunosservicecmnscoadeviceisonlineAPIRequest
NewYunosservicecmnscoadeviceisonlineRequest 初始化YunosservicecmnscoadeviceisonlineAPIRequest对象
func (YunosservicecmnscoadeviceisonlineAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoadeviceisonlineAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoadeviceisonlineAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YunosservicecmnscoadeviceisonlineAPIRequest) GetType ¶ added in v1.3.1
func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetType() string
GetType Type Getter
func (YunosservicecmnscoadeviceisonlineAPIRequest) GetValue ¶ added in v1.3.1
func (r YunosservicecmnscoadeviceisonlineAPIRequest) GetValue() string
GetValue Value Getter
func (*YunosservicecmnscoadeviceisonlineAPIRequest) SetType ¶ added in v1.3.1
func (r *YunosservicecmnscoadeviceisonlineAPIRequest) SetType(_type string) error
SetType is Type Setter 设备id类型,取值"uuid"或者"imei"或者"deviceToken"
func (*YunosservicecmnscoadeviceisonlineAPIRequest) SetValue ¶ added in v1.3.1
func (r *YunosservicecmnscoadeviceisonlineAPIRequest) SetValue(_value string) error
SetValue is Value Setter 对应的设备id值
type YunosservicecmnscoadeviceisonlineAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoadeviceisonlineAPIResponse struct { model.CommonResponse YunosservicecmnscoadeviceisonlineAPIResponseModel }
YunosservicecmnscoadeviceisonlineAPIResponse 根据设备id查询设备是否在线 API返回值 yunos.service.cmns.coa.device.isonline
根据设备id查询设备是否在线
type YunosservicecmnscoadeviceisonlineAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoadeviceisonlineAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_device_isonline_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // msg Message string `json:"message,omitempty" xml:"message,omitempty"` // data Data int64 `json:"data,omitempty" xml:"data,omitempty"` // status Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
YunosservicecmnscoadeviceisonlineAPIResponseModel is 根据设备id查询设备是否在线 成功返回结果
type YunosservicecmnscoamessageackAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoamessageackAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoamessageackAPIRequest 消息回执查询 API请求 yunos.service.cmns.coa.message.ack
第三方应用开发者调用此接口查询设备是否收到消息,只能查询此appKey床发的消息
func NewYunosservicecmnscoamessageackRequest ¶ added in v1.3.1
func NewYunosservicecmnscoamessageackRequest() *YunosservicecmnscoamessageackAPIRequest
NewYunosservicecmnscoamessageackRequest 初始化YunosservicecmnscoamessageackAPIRequest对象
func (YunosservicecmnscoamessageackAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoamessageackAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoamessageackAPIRequest) GetDeviceToken ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetDeviceToken() string
GetDeviceToken DeviceToken Getter
func (YunosservicecmnscoamessageackAPIRequest) GetImei ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetImei() string
GetImei Imei Getter
func (YunosservicecmnscoamessageackAPIRequest) GetMid ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetMid() int64
GetMid Mid Getter
func (YunosservicecmnscoamessageackAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (YunosservicecmnscoamessageackAPIRequest) GetUuid ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackAPIRequest) GetUuid() string
GetUuid Uuid Getter
func (*YunosservicecmnscoamessageackAPIRequest) SetDeviceToken ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackAPIRequest) SetDeviceToken(_deviceToken string) error
SetDeviceToken is DeviceToken Setter 设备唯一值deviceToken
func (*YunosservicecmnscoamessageackAPIRequest) SetImei ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackAPIRequest) SetImei(_imei string) error
SetImei is Imei Setter 设备imei
func (*YunosservicecmnscoamessageackAPIRequest) SetMid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackAPIRequest) SetMid(_mid int64) error
SetMid is Mid Setter 消息ID
func (*YunosservicecmnscoamessageackAPIRequest) SetUuid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackAPIRequest) SetUuid(_uuid string) error
SetUuid is Uuid Setter 设备uuid
type YunosservicecmnscoamessageackAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoamessageackAPIResponse struct { model.CommonResponse YunosservicecmnscoamessageackAPIResponseModel }
YunosservicecmnscoamessageackAPIResponse 消息回执查询 API返回值 yunos.service.cmns.coa.message.ack
第三方应用开发者调用此接口查询设备是否收到消息,只能查询此appKey床发的消息
type YunosservicecmnscoamessageackAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoamessageackAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_message_ack_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口出错提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 接口调用成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 接口调用成功返回信息<br/>0:未到达 1:已到达 Data int64 `json:"data,omitempty" xml:"data,omitempty"` }
YunosservicecmnscoamessageackAPIResponseModel is 消息回执查询 成功返回结果
type YunosservicecmnscoamessageackslistAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoamessageackslistAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoamessageackslistAPIRequest 消息ack记录查询 API请求 yunos.service.cmns.coa.message.acks.list
第三方应用开发者调用此接口查询消息ack记录
func NewYunosservicecmnscoamessageackslistRequest ¶ added in v1.3.1
func NewYunosservicecmnscoamessageackslistRequest() *YunosservicecmnscoamessageackslistAPIRequest
NewYunosservicecmnscoamessageackslistRequest 初始化YunosservicecmnscoamessageackslistAPIRequest对象
func (YunosservicecmnscoamessageackslistAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoamessageackslistAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoamessageackslistAPIRequest) GetDid ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetDid() int64
GetDid Did Getter
func (YunosservicecmnscoamessageackslistAPIRequest) GetMid ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetMid() int64
GetMid Mid Getter
func (YunosservicecmnscoamessageackslistAPIRequest) GetPageIndex ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetPageIndex() int64
GetPageIndex PageIndex Getter
func (YunosservicecmnscoamessageackslistAPIRequest) GetPageSize ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (YunosservicecmnscoamessageackslistAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessageackslistAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosservicecmnscoamessageackslistAPIRequest) SetDid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackslistAPIRequest) SetDid(_did int64) error
SetDid is Did Setter 设备id
func (*YunosservicecmnscoamessageackslistAPIRequest) SetMid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackslistAPIRequest) SetMid(_mid int64) error
SetMid is Mid Setter 消息id
func (*YunosservicecmnscoamessageackslistAPIRequest) SetPageIndex ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackslistAPIRequest) SetPageIndex(_pageIndex int64) error
SetPageIndex is PageIndex Setter 分页查询页码
func (*YunosservicecmnscoamessageackslistAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageackslistAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页每页数据集数
type YunosservicecmnscoamessageackslistAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoamessageackslistAPIResponse struct { model.CommonResponse YunosservicecmnscoamessageackslistAPIResponseModel }
YunosservicecmnscoamessageackslistAPIResponse 消息ack记录查询 API返回值 yunos.service.cmns.coa.message.acks.list
第三方应用开发者调用此接口查询消息ack记录
type YunosservicecmnscoamessageackslistAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoamessageackslistAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_message_acks_list_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口查询出错提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 分页结果对象 Data *PaginationQueryResult `json:"data,omitempty" xml:"data,omitempty"` // 200表示查询成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
YunosservicecmnscoamessageackslistAPIResponseModel is 消息ack记录查询 成功返回结果
type YunosservicecmnscoamessagecancelAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoamessagecancelAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoamessagecancelAPIRequest CMNS消息撤回 API请求 yunos.service.cmns.coa.message.cancel
此接口用户撤回之前已经发出去的消息,根据消息ID撤回,只能撤回此appKey创建的消息。
func NewYunosservicecmnscoamessagecancelRequest ¶ added in v1.3.1
func NewYunosservicecmnscoamessagecancelRequest() *YunosservicecmnscoamessagecancelAPIRequest
NewYunosservicecmnscoamessagecancelRequest 初始化YunosservicecmnscoamessagecancelAPIRequest对象
func (YunosservicecmnscoamessagecancelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoamessagecancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoamessagecancelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessagecancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoamessagecancelAPIRequest) GetMid ¶ added in v1.3.1
func (r YunosservicecmnscoamessagecancelAPIRequest) GetMid() int64
GetMid Mid Getter
func (YunosservicecmnscoamessagecancelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessagecancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosservicecmnscoamessagecancelAPIRequest) SetMid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessagecancelAPIRequest) SetMid(_mid int64) error
SetMid is Mid Setter 消息ID
type YunosservicecmnscoamessagecancelAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoamessagecancelAPIResponse struct { model.CommonResponse YunosservicecmnscoamessagecancelAPIResponseModel }
YunosservicecmnscoamessagecancelAPIResponse CMNS消息撤回 API返回值 yunos.service.cmns.coa.message.cancel
此接口用户撤回之前已经发出去的消息,根据消息ID撤回,只能撤回此appKey创建的消息。
type YunosservicecmnscoamessagecancelAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoamessagecancelAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_message_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 调用出错时返回信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 返回状态 200表示调用成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // true:撤回成功<br/>false:撤回失败 Data bool `json:"data,omitempty" xml:"data,omitempty"` }
YunosservicecmnscoamessagecancelAPIResponseModel is CMNS消息撤回 成功返回结果
type YunosservicecmnscoamessagegetAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoamessagegetAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoamessagegetAPIRequest 消息详情查询 API请求 yunos.service.cmns.coa.message.get
第三方应用开发者调用此接口查询消息详情,只能查询此appKey发的消息
func NewYunosservicecmnscoamessagegetRequest ¶ added in v1.3.1
func NewYunosservicecmnscoamessagegetRequest() *YunosservicecmnscoamessagegetAPIRequest
NewYunosservicecmnscoamessagegetRequest 初始化YunosservicecmnscoamessagegetAPIRequest对象
func (YunosservicecmnscoamessagegetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoamessagegetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoamessagegetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessagegetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoamessagegetAPIRequest) GetMid ¶ added in v1.3.1
func (r YunosservicecmnscoamessagegetAPIRequest) GetMid() int64
GetMid Mid Getter
func (YunosservicecmnscoamessagegetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessagegetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosservicecmnscoamessagegetAPIRequest) SetMid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessagegetAPIRequest) SetMid(_mid int64) error
SetMid is Mid Setter 消息id
type YunosservicecmnscoamessagegetAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoamessagegetAPIResponse struct { model.CommonResponse YunosservicecmnscoamessagegetAPIResponseModel }
YunosservicecmnscoamessagegetAPIResponse 消息详情查询 API返回值 yunos.service.cmns.coa.message.get
第三方应用开发者调用此接口查询消息详情,只能查询此appKey发的消息
type YunosservicecmnscoamessagegetAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoamessagegetAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_message_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口查询出错提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 消息内容 Data *MessageDetailResult `json:"data,omitempty" xml:"data,omitempty"` // 200表示查询成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
YunosservicecmnscoamessagegetAPIResponseModel is 消息详情查询 成功返回结果
type YunosservicecmnscoamessagepushAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoamessagepushAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoamessagepushAPIRequest 消息推送接口 API请求 yunos.service.cmns.coa.message.push
调用CMNS系统的pushMessage接口实现消息通知到YUNOS设备的第三方应用软件。
func NewYunosservicecmnscoamessagepushRequest ¶ added in v1.3.1
func NewYunosservicecmnscoamessagepushRequest() *YunosservicecmnscoamessagepushAPIRequest
NewYunosservicecmnscoamessagepushRequest 初始化YunosservicecmnscoamessagepushAPIRequest对象
func (YunosservicecmnscoamessagepushAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoamessagepushAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoamessagepushAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessagepushAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoamessagepushAPIRequest) GetPushRequest ¶ added in v1.3.1
func (r YunosservicecmnscoamessagepushAPIRequest) GetPushRequest() *PushRequest
GetPushRequest PushRequest Getter
func (YunosservicecmnscoamessagepushAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessagepushAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosservicecmnscoamessagepushAPIRequest) SetPushRequest ¶ added in v1.3.1
func (r *YunosservicecmnscoamessagepushAPIRequest) SetPushRequest(_pushRequest *PushRequest) error
SetPushRequest is PushRequest Setter 消息推送请求对象
type YunosservicecmnscoamessagepushAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoamessagepushAPIResponse struct { model.CommonResponse YunosservicecmnscoamessagepushAPIResponseModel }
YunosservicecmnscoamessagepushAPIResponse 消息推送接口 API返回值 yunos.service.cmns.coa.message.push
调用CMNS系统的pushMessage接口实现消息通知到YUNOS设备的第三方应用软件。
type YunosservicecmnscoamessagepushAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoamessagepushAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_message_push_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 消息发送提示 Message string `json:"message,omitempty" xml:"message,omitempty"` // 消息ID,失败则为null Mid int64 `json:"mid,omitempty" xml:"mid,omitempty"` // 200:消息发送成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
YunosservicecmnscoamessagepushAPIResponseModel is 消息推送接口 成功返回结果
type YunosservicecmnscoamessageresultgetAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoamessageresultgetAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoamessageresultgetAPIRequest CMNS消息发送到达查询 API请求 yunos.service.cmns.coa.messageresult.get
CMNS消息发送到达查询,根据消息ID查询,仅能查询该appKey所发送的消息
func NewYunosservicecmnscoamessageresultgetRequest ¶ added in v1.3.1
func NewYunosservicecmnscoamessageresultgetRequest() *YunosservicecmnscoamessageresultgetAPIRequest
NewYunosservicecmnscoamessageresultgetRequest 初始化YunosservicecmnscoamessageresultgetAPIRequest对象
func (YunosservicecmnscoamessageresultgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoamessageresultgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoamessageresultgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessageresultgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoamessageresultgetAPIRequest) GetMid ¶ added in v1.3.1
func (r YunosservicecmnscoamessageresultgetAPIRequest) GetMid() int64
GetMid Mid Getter
func (YunosservicecmnscoamessageresultgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoamessageresultgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosservicecmnscoamessageresultgetAPIRequest) SetMid ¶ added in v1.3.1
func (r *YunosservicecmnscoamessageresultgetAPIRequest) SetMid(_mid int64) error
SetMid is Mid Setter 消息ID
type YunosservicecmnscoamessageresultgetAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoamessageresultgetAPIResponse struct { model.CommonResponse YunosservicecmnscoamessageresultgetAPIResponseModel }
YunosservicecmnscoamessageresultgetAPIResponse CMNS消息发送到达查询 API返回值 yunos.service.cmns.coa.messageresult.get
CMNS消息发送到达查询,根据消息ID查询,仅能查询该appKey所发送的消息
type YunosservicecmnscoamessageresultgetAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoamessageresultgetAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_messageresult_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口查询出错提示信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 200表示查询成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 具体的消息返回值 Data *MessageResult `json:"data,omitempty" xml:"data,omitempty"` }
YunosservicecmnscoamessageresultgetAPIResponseModel is CMNS消息发送到达查询 成功返回结果
type YunosservicecmnscoapushAPIRequest ¶ added in v1.3.1
type YunosservicecmnscoapushAPIRequest struct { model.Params // contains filtered or unexported fields }
YunosservicecmnscoapushAPIRequest 消息推送接口 API请求 yunos.service.cmns.coa.push
调用CMNS系统的pushMessage接口实现消息通知到YUNOS设备的第三方应用软件。
func NewYunosservicecmnscoapushRequest ¶ added in v1.3.1
func NewYunosservicecmnscoapushRequest() *YunosservicecmnscoapushAPIRequest
NewYunosservicecmnscoapushRequest 初始化YunosservicecmnscoapushAPIRequest对象
func (YunosservicecmnscoapushAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r YunosservicecmnscoapushAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (YunosservicecmnscoapushAPIRequest) GetApiParams ¶ added in v1.3.1
func (r YunosservicecmnscoapushAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (YunosservicecmnscoapushAPIRequest) GetMsgObj ¶ added in v1.3.1
func (r YunosservicecmnscoapushAPIRequest) GetMsgObj() *CmnsMessage
GetMsgObj MsgObj Getter
func (YunosservicecmnscoapushAPIRequest) GetRawParams ¶ added in v1.3.1
func (r YunosservicecmnscoapushAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*YunosservicecmnscoapushAPIRequest) SetMsgObj ¶ added in v1.3.1
func (r *YunosservicecmnscoapushAPIRequest) SetMsgObj(_msgObj *CmnsMessage) error
SetMsgObj is MsgObj Setter 消息结构对象
type YunosservicecmnscoapushAPIResponse ¶ added in v1.3.1
type YunosservicecmnscoapushAPIResponse struct { model.CommonResponse YunosservicecmnscoapushAPIResponseModel }
YunosservicecmnscoapushAPIResponse 消息推送接口 API返回值 yunos.service.cmns.coa.push
调用CMNS系统的pushMessage接口实现消息通知到YUNOS设备的第三方应用软件。
type YunosservicecmnscoapushAPIResponseModel ¶ added in v1.3.1
type YunosservicecmnscoapushAPIResponseModel struct { XMLName xml.Name `xml:"yunos_service_cmns_coa_push_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 消息发送提示 Message string `json:"message,omitempty" xml:"message,omitempty"` // 消息ID,失败则为null Mid int64 `json:"mid,omitempty" xml:"mid,omitempty"` // 200:消息发送成功 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
YunosservicecmnscoapushAPIResponseModel is 消息推送接口 成功返回结果
Source Files
¶
- CmnsMessage.go
- DeviceResult.go
- MessageAckResult.go
- MessageDetailResult.go
- MessageResult.go
- Pagination.go
- PaginationQueryResult.go
- PushRequest.go
- Receiver.go
- YunosServiceCmnsCoaDeviceGetAPIRequest.go
- YunosServiceCmnsCoaDeviceGetAPIResponse.go
- YunosServiceCmnsCoaDeviceIsonlineAPIRequest.go
- YunosServiceCmnsCoaDeviceIsonlineAPIResponse.go
- YunosServiceCmnsCoaMessageAckAPIRequest.go
- YunosServiceCmnsCoaMessageAckAPIResponse.go
- YunosServiceCmnsCoaMessageAcksListAPIRequest.go
- YunosServiceCmnsCoaMessageAcksListAPIResponse.go
- YunosServiceCmnsCoaMessageCancelAPIRequest.go
- YunosServiceCmnsCoaMessageCancelAPIResponse.go
- YunosServiceCmnsCoaMessageGetAPIRequest.go
- YunosServiceCmnsCoaMessageGetAPIResponse.go
- YunosServiceCmnsCoaMessagePushAPIRequest.go
- YunosServiceCmnsCoaMessagePushAPIResponse.go
- YunosServiceCmnsCoaMessageresultGetAPIRequest.go
- YunosServiceCmnsCoaMessageresultGetAPIResponse.go
- YunosServiceCmnsCoaPushAPIRequest.go
- YunosServiceCmnsCoaPushAPIResponse.go
- doc.go