response

package
v3.0.0-beta9 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountRegisgerData

type AccountRegisgerData struct {
	ApplyTime    int    `json:"apply_time"`
	AuditComment string `json:"audit_comment"`
	AuditStatus  int    `json:"audit_status"`
	AuditTime    int    `json:"audit_time"`
}

type BeaconInfo

type BeaconInfo struct {
	Distance float64 `json:"distance"`
	Major    int     `json:"major"`
	Minor    int     `json:"minor"`
	Uuid     string  `json:"uuid"`
}

type DataGroupAddDevice

type DataGroupAddDevice struct {
	GroupID    int      `json:"group_id"`
	GroupName  string   `json:"group_name"`
	TotalCount int      `json:"total_count"`
	Devices    []Device `json:"devices"`
}

type DataMaterialUpload

type DataMaterialUpload struct {
	PicURL string `json:"pic_url"`
}

type DataPage

type DataPage struct {
	PageID int `json:"page_id"`
}

type DataPageList

type DataPageList struct {
	Pages      []*Page `json:"pages"`
	TotalCount int     `json:"total_count"`
}

type DataRelationSearch

type DataRelationSearch struct {
	Relations  []*Relation `json:"relations"`
	TotalCount int         `json:"total_count"`
}

type DataSummary

type DataSummary struct {
	ClickPV int `json:"click_pv"`
	ClickUV int `json:"click_uv"`
	FTime   int `json:"ftime"`
	ShakePV int `json:"shake_pv"`
	ShakeUV int `json:"shake_uv"`
}

type Device

type Device struct {
	Comment        string `json:"comment"`
	DeviceID       int    `json:"device_id"`
	Major          int    `json:"major"`
	Minor          int    `json:"minor"`
	Status         int    `json:"status"`
	LastActiveTime int    `json:"last_active_time"`
	PoiID          int    `json:"poi_id"`
	UUID           string `json:"uuid"`
	PoiAppID       string `json:"poi_appid,omitempty"`
	ShakePv        int    `json:"shake_pv"`
	ShakeUv        int    `json:"shake_uv"`
	ClickPv        int    `json:"click_pv"`
	ClickUv        int    `json:"click_uv"`
}

type DeviceApplyData

type DeviceApplyData struct {
	ApplyID      int    `json:"apply_id"`
	AuditStatus  int    `json:"audit_status"`
	AuditComment string `json:"audit_comment"`
}

type DeviceApplyDataStatus

type DeviceApplyDataStatus struct {
	ApplyTime    int    `json:"apply_time"`
	AuditComment string `json:"audit_comment"`
	AuditStatus  int    `json:"audit_status"`
	AuditTime    int    `json:"audit_time"`
}

type GroupData

type GroupData struct {
	GroupID   int    `json:"group_id"`
	GroupName string `json:"group_name"`
}

type GroupDetail

type GroupDetail struct {
	GroupID    int       `json:"group_id"`
	GroupName  string    `json:"group_name"`
	TotalCount int       `json:"total_count"`
	Devices    []*Device `json:"devices"`
}

type GroupList

type GroupList struct {
	TotalCount int          `json:"total_count"`
	Groups     []*GroupData `json:"groups"`
}

type Page

type Page struct {
	Comment     string `json:"comment"`
	Description string `json:"description"`
	IconURL     string `json:"icon_url"`
	PageID      int    `json:"page_id"`
	PageURL     string `json:"page_url"`
	Title       string `json:"title"`
}

type Relation

type Relation struct {
	DeviceID int    `json:"device_id"`
	Major    int    `json:"major"`
	Minor    int    `json:"minor"`
	PageID   int    `json:"page_id"`
	UUID     string `json:"uuid"`
}

type ResponseDeviceApply

type ResponseDeviceApply struct {
	*response.ResponseOfficialAccount

	Data *DeviceApplyData `json:"data"`
}

type ResponseDeviceApplyStatus

type ResponseDeviceApplyStatus struct {
	*response.ResponseOfficialAccount

	Data *DeviceApplyDataStatus `json:"data"`
}

type ResponseDeviceBindPoi

type ResponseDeviceBindPoi struct {
	*response.ResponseOfficialAccount

	Data interface{} `json:"data"`
}

type ResponseDeviceSearch

type ResponseDeviceSearch struct {
	*response.ResponseOfficialAccount

	Data *SearchData `json:"data"`
}

type ResponseGroup

type ResponseGroup struct {
	*response.ResponseOfficialAccount

	Data *GroupData `json:"data"`
}

type ResponseGroupAddDevices

type ResponseGroupAddDevices struct {
	*response.ResponseOfficialAccount

	Data *DataGroupAddDevice `json:"data"`
}

type ResponseGroupDetail

type ResponseGroupDetail struct {
	*response.ResponseOfficialAccount

	Data *GroupDetail `json:"data"`
}

type ResponseGroupList

type ResponseGroupList struct {
	*response.ResponseOfficialAccount

	Data *GroupList `json:"data"`
}

type ResponseMaterialUpload

type ResponseMaterialUpload struct {
	*response.ResponseOfficialAccount

	Data DataMaterialUpload `json:"data"`
}

type ResponsePage

type ResponsePage struct {
	*response.ResponseOfficialAccount

	Data *DataPage `json:"data"`
}

type ResponsePageList

type ResponsePageList struct {
	*response.ResponseOfficialAccount

	Data *DataPageList `json:"data"`
}

type ResponseRelationSearch

type ResponseRelationSearch struct {
	*response.ResponseOfficialAccount

	Data *DataRelationSearch `json:"data"`
}

type ResponseShakeAroundAccountRegister

type ResponseShakeAroundAccountRegister struct {
	*response.ResponseOfficialAccount

	Data *AccountRegisgerData `json:"data"`
}

type ResponseShakeAroundUser

type ResponseShakeAroundUser struct {
	*response.ResponseOfficialAccount

	Data *UserData `json:"data"`
}

type ResponseStatsDeviceList

type ResponseStatsDeviceList struct {
	*response.ResponseOfficialAccount

	Data       *StatsDeviceList `json:"data"`
	Date       int              `json:"date"`
	TotalCount int              `json:"total_count"`
	PageIndex  int              `json:"page_index"`
	Success    string           `json:"success."`
}

type ResponseStatsPage

type ResponseStatsPage struct {
	*response.ResponseOfficialAccount

	Data []*DataSummary `json:"data"`
}

type ResponseStatsPageList

type ResponseStatsPageList struct {
	*response.ResponseOfficialAccount

	Data       *StatePageList `json:"data"`
	Date       int            `json:"date"`
	TotalCount int            `json:"total_count"`
	PageIndex  int            `json:"page_index"`
}

type ResponseStatsSummary

type ResponseStatsSummary struct {
	*response.ResponseOfficialAccount

	Data []DataSummary `json:"data"`
}

type SearchData

type SearchData struct {
	Devices    []*Device `json:"devices"`
	TotalCount int       `json:"total_count"`
}

type StateDevice

type StateDevice struct {
	DeviceID int    `json:"device_id"`
	Major    string `json:"major"`
	Minor    string `json:"minor"`
	UUID     string `json:"uuid"`
	ClickPV  int    `json:"click_pv"`
	ClickUV  int    `json:"click_uv"`
	ShakePV  int    `json:"shake_pv"`
	ShakeUV  int    `json:"shake_uv"`
}

type StatePageList

type StatePageList struct {
	Pages []StatsPage `json:"pages"`
}

type StatsDeviceList

type StatsDeviceList struct {
	Devices []*StateDevice `json:"devices"`
}

type StatsPage

type StatsPage struct {
	PageID  int `json:"page_id"`
	ClickPV int `json:"click_pv"`
	ClickUV int `json:"click_uv"`
	ShakePV int `json:"shake_pv"`
	ShakeUV int `json:"shake_uv"`
}

type UserData

type UserData struct {
	PageID     int         `json:"page_id "`
	BeaconInfo *BeaconInfo `json:"beacon_info"`
	Openid     string      `json:"openid"`
	PoiID      int         `json:" poi_id"`
}

Jump to

Keyboard shortcuts

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