model

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetDeviceAlarmArrayObject

type GetDeviceAlarmArrayObject struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	AlarmId *int32 `json:"alarm_id,omitempty"`

	Level *string `json:"level,omitempty"`

	Platform *string `json:"platform,omitempty"`

	Impact *string `json:"impact,omitempty"`

	Detail *string `json:"detail,omitempty"`

	Reason *string `json:"reason,omitempty"`

	DealSuggestion *string `json:"deal_suggestion,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`
}

设备告警实体列表

func (GetDeviceAlarmArrayObject) String

func (o GetDeviceAlarmArrayObject) String() string

type GetDevicesListArrayObject

type GetDevicesListArrayObject struct {
	Id *string `json:"id,omitempty"`

	Name *string `json:"name,omitempty"`

	Type *string `json:"type,omitempty"`

	Status *int32 `json:"status,omitempty"`

	Cpu *int32 `json:"cpu,omitempty"`

	Memory *int32 `json:"memory,omitempty"`

	Os *string `json:"os,omitempty"`

	FirmwareName *string `json:"firmware_name,omitempty"`

	FirmwareVersion *string `json:"firmware_version,omitempty"`

	FirmwareStatus *int32 `json:"firmware_status,omitempty"`

	FirmwareCause *string `json:"firmware_cause,omitempty"`

	Path *string `json:"path,omitempty"`

	PathUpdateStatus *int32 `json:"path_update_status,omitempty"`

	PathUpdateCause *string `json:"path_update_cause,omitempty"`

	CreateTime *int64 `json:"create_time,omitempty"`

	UpdateTime *int64 `json:"update_time,omitempty"`

	UserTime *string `json:"user_time,omitempty"`

	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`

	CloudServiceType *string `json:"cloud_service_type,omitempty"`

	ActiveContent *string `json:"active_content,omitempty"`

	ActiveFlag *int32 `json:"active_flag,omitempty"`

	TopicUrn *string `json:"topic_urn,omitempty"`
}

设备实体列表

func (GetDevicesListArrayObject) String

func (o GetDevicesListArrayObject) String() string

type ListDeviceAlarmsRequest

type ListDeviceAlarmsRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	DeviceId *string `json:"device_id,omitempty"`
}

Request Object

func (ListDeviceAlarmsRequest) String

func (o ListDeviceAlarmsRequest) String() string

type ListDeviceAlarmsResponse

type ListDeviceAlarmsResponse struct {
	Total *int32 `json:"total,omitempty"`

	Data           *[]GetDeviceAlarmArrayObject `json:"data,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ListDeviceAlarmsResponse) String

func (o ListDeviceAlarmsResponse) String() string

type ListDevicesRequest

type ListDevicesRequest struct {
	Offset *int32 `json:"offset,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Name *string `json:"name,omitempty"`
}

Request Object

func (ListDevicesRequest) String

func (o ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {
	Total *int32 `json:"total,omitempty"`

	Data           *[]GetDevicesListArrayObject `json:"data,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ListDevicesResponse) String

func (o ListDevicesResponse) String() string

Jump to

Keyboard shortcuts

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