model

package
v0.0.37-rc Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionDeviceAlarm

type ActionDeviceAlarm struct {
	Name string `json:"name"`

	AlarmStatus string `json:"alarm_status"`

	Severity string `json:"severity"`

	Description *string `json:"description,omitempty"`
}

上报设备告警消息结构

func (ActionDeviceAlarm) String

func (o ActionDeviceAlarm) String() string

type ActionDeviceCommand

type ActionDeviceCommand struct {
	DeviceId *string `json:"device_id,omitempty"`

	Cmd *Cmd `json:"cmd"`
}

下发设备命令消息结构

func (ActionDeviceCommand) String

func (o ActionDeviceCommand) String() string

type ActionDisForwarding

type ActionDisForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	StreamName *string `json:"stream_name,omitempty"`

	StreamId *string `json:"stream_id,omitempty"`
}

转发DIS服务消息结构

func (ActionDisForwarding) String

func (o ActionDisForwarding) String() string

type ActionIoTaForwarding

type ActionIoTaForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`
}

转发IoTA服务消息结构

func (ActionIoTaForwarding) String

func (o ActionIoTaForwarding) String() string

type ActionKafkaForwarding

type ActionKafkaForwarding struct {
	RegionName *string `json:"region_name,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	KafkaAddresses *[]NetAddress `json:"kafka_addresses,omitempty"`

	KafkaTopic *string `json:"kafka_topic,omitempty"`

	KafkaUsername *string `json:"kafka_username,omitempty"`

	KafkaPassword *string `json:"kafka_password,omitempty"`

	KafkaMechanism *string `json:"kafka_mechanism,omitempty"`
}

转发kafka消息结构

func (ActionKafkaForwarding) String

func (o ActionKafkaForwarding) String() string

type ActionObsForwarding

type ActionObsForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	BucketName string `json:"bucket_name"`

	Location *string `json:"location,omitempty"`
}

转发OBS服务消息结构

func (ActionObsForwarding) String

func (o ActionObsForwarding) String() string

type ActionRomaForwarding

type ActionRomaForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	RomaPushType *string `json:"roma_push_type,omitempty"`
}

转发ROMA Connect服务消息结构

func (ActionRomaForwarding) String

func (o ActionRomaForwarding) String() string

type ActionSmnForwarding

type ActionSmnForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	ThemeName string `json:"theme_name"`

	TopicUrn string `json:"topic_urn"`

	MessageContent string `json:"message_content"`

	MessageTitle string `json:"message_title"`
}

发送给SMN消息结构

func (ActionSmnForwarding) String

func (o ActionSmnForwarding) String() string

type AddActionReq

type AddActionReq struct {
	RuleId string `json:"rule_id"`

	Channel string `json:"channel"`

	ChannelDetail *ChannelDetail `json:"channel_detail"`

	Batch *bool `json:"batch,omitempty"`
}

创建规则动作请求结构体

func (AddActionReq) String

func (o AddActionReq) String() string

type AddApplication

type AddApplication struct {
	AppName string `json:"app_name"`

	AppId *string `json:"app_id,omitempty"`

	InstanceId *string `json:"instance_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`
}

创建资源空间结构体。

func (AddApplication) String

func (o AddApplication) String() string

type AddApplicationRequest

type AddApplicationRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *AddApplication `json:"body,omitempty"`
}

Request Object

func (AddApplicationRequest) String

func (o AddApplicationRequest) String() string

type AddApplicationResponse

type AddApplicationResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	DefaultApp *bool `json:"default_app,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	Username *string `json:"username,omitempty"`

	Permission *string `json:"permission,omitempty"`

	LastInstanceId *string `json:"last_instance_id,omitempty"`

	CurrentInstanceId *string `json:"current_instance_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	Freezed        *bool `json:"freezed,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (AddApplicationResponse) String

func (o AddApplicationResponse) String() string

type AddCertificateRequest

type AddCertificateRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *CreateCertificateDto `json:"body,omitempty"`
}

Request Object

func (AddCertificateRequest) String

func (o AddCertificateRequest) String() string

type AddCertificateResponse

type AddCertificateResponse struct {
	CertificateId *string `json:"certificate_id,omitempty"`

	CnName *string `json:"cn_name,omitempty"`

	Owner *string `json:"owner,omitempty"`

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

	VerifyCode *string `json:"verify_code,omitempty"`

	CreateDate *string `json:"create_date,omitempty"`

	EffectiveDate *string `json:"effective_date,omitempty"`

	ExpiryDate     *string `json:"expiry_date,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddCertificateResponse) String

func (o AddCertificateResponse) String() string

type AddDevice

type AddDevice struct {
	DeviceId *string `json:"device_id,omitempty"`

	NodeId string `json:"node_id"`

	DeviceName *string `json:"device_name,omitempty"`

	ProductId string `json:"product_id"`

	AuthInfo *AuthInfo `json:"auth_info,omitempty"`

	Description *string `json:"description,omitempty"`

	GatewayId *string `json:"gateway_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	ExtensionInfo *interface{} `json:"extension_info,omitempty"`

	Shadow *[]InitialDesired `json:"shadow,omitempty"`
}

添加设备结构体。

func (AddDevice) String

func (o AddDevice) String() string

type AddDeviceGroupDto

type AddDeviceGroupDto struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	SuperGroupId *string `json:"super_group_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`
}

创建设备组请求结构体

func (AddDeviceGroupDto) String

func (o AddDeviceGroupDto) String() string

type AddDeviceGroupRequest

type AddDeviceGroupRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *AddDeviceGroupDto `json:"body,omitempty"`
}

Request Object

func (AddDeviceGroupRequest) String

func (o AddDeviceGroupRequest) String() string

type AddDeviceGroupResponse

type AddDeviceGroupResponse struct {
	GroupId *string `json:"group_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	SuperGroupId   *string `json:"super_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddDeviceGroupResponse) String

func (o AddDeviceGroupResponse) String() string

type AddDeviceRequest

type AddDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *AddDevice `json:"body,omitempty"`
}

Request Object

func (AddDeviceRequest) String

func (o AddDeviceRequest) String() string

type AddDeviceResponse

type AddDeviceResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	NodeId *string `json:"node_id,omitempty"`

	GatewayId *string `json:"gateway_id,omitempty"`

	DeviceName *string `json:"device_name,omitempty"`

	NodeType *string `json:"node_type,omitempty"`

	Description *string `json:"description,omitempty"`

	FwVersion *string `json:"fw_version,omitempty"`

	SwVersion *string `json:"sw_version,omitempty"`

	AuthInfo *AuthInfo `json:"auth_info,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	ProductName *string `json:"product_name,omitempty"`

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

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

	Tags *[]TagV5Dto `json:"tags,omitempty"`

	ExtensionInfo  *interface{} `json:"extension_info,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (AddDeviceResponse) String

func (o AddDeviceResponse) String() string

type AddProduct

type AddProduct struct {
	ProductId *string `json:"product_id,omitempty"`

	Name string `json:"name"`

	DeviceType string `json:"device_type"`

	ProtocolType string `json:"protocol_type"`

	DataFormat string `json:"data_format"`

	ServiceCapabilities []ServiceCapability `json:"service_capabilities"`

	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	Industry *string `json:"industry,omitempty"`

	Description *string `json:"description,omitempty"`

	AppId *string `json:"app_id,omitempty"`
}

创建产品信息结构体。

func (AddProduct) String

func (o AddProduct) String() string

type AddQueueRequest

type AddQueueRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *QueueInfo `json:"body,omitempty"`
}

Request Object

func (AddQueueRequest) String

func (o AddQueueRequest) String() string

type AddQueueResponse

type AddQueueResponse struct {
	QueueId *string `json:"queue_id,omitempty"`

	QueueName *string `json:"queue_name,omitempty"`

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

	LastModifyTime *string `json:"last_modify_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (AddQueueResponse) String

func (o AddQueueResponse) String() string

type AddRuleReq

type AddRuleReq struct {
	RuleName *string `json:"rule_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Subject *RoutingRuleSubject `json:"subject"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Select *string `json:"select,omitempty"`

	Where *string `json:"where,omitempty"`

	DataVersion *string `json:"data_version,omitempty"`
}

规则触发条件请求结构体

func (AddRuleReq) String

func (o AddRuleReq) String() string

type AmqpForwarding

type AmqpForwarding struct {
	QueueName string `json:"queue_name"`
}

amqp queue配置信息

func (AmqpForwarding) String

func (o AmqpForwarding) String() string

type ApplicationDto

type ApplicationDto struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	DefaultApp *bool `json:"default_app,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	Username *string `json:"username,omitempty"`

	Permission *string `json:"permission,omitempty"`

	LastInstanceId *string `json:"last_instance_id,omitempty"`

	CurrentInstanceId *string `json:"current_instance_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	Freezed *bool `json:"freezed,omitempty"`
}

资源空间详情结构体。

func (ApplicationDto) String

func (o ApplicationDto) String() string

type AsyncDeviceCommand

type AsyncDeviceCommand struct {
	DeviceId *string `json:"device_id,omitempty"`

	CommandId *string `json:"command_id,omitempty"`

	ServiceId *string `json:"service_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`

	Paras *interface{} `json:"paras,omitempty"`

	ExpireTime *int32 `json:"expire_time,omitempty"`

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

	Result *interface{} `json:"result,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	SentTime *string `json:"sent_time,omitempty"`

	DeliveredTime *string `json:"delivered_time,omitempty"`

	SendStrategy *string `json:"send_strategy,omitempty"`

	ResponseTime *string `json:"response_time,omitempty"`
}

func (AsyncDeviceCommand) String

func (o AsyncDeviceCommand) String() string

type AsyncDeviceCommandRequest

type AsyncDeviceCommandRequest struct {
	ServiceId *string `json:"service_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`

	Paras *interface{} `json:"paras"`

	ExpireTime *int32 `json:"expire_time,omitempty"`

	SendStrategy string `json:"send_strategy"`
}

func (AsyncDeviceCommandRequest) String

func (o AsyncDeviceCommandRequest) String() string

type AuthInfo

type AuthInfo struct {
	AuthType *string `json:"auth_type,omitempty"`

	Secret *string `json:"secret,omitempty"`

	Fingerprint *string `json:"fingerprint,omitempty"`

	SecureAccess *bool `json:"secure_access,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`
}

设备接入类型。

func (AuthInfo) String

func (o AuthInfo) String() string

type AuthInfoWithoutSecret

type AuthInfoWithoutSecret struct {
	SecureAccess *bool `json:"secure_access,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`
}

设备接入类型不返回密钥模式。

func (AuthInfoWithoutSecret) String

func (o AuthInfoWithoutSecret) String() string

type BatchShowQueueRequest

type BatchShowQueueRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	QueueName *string `json:"queue_name,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (BatchShowQueueRequest) String

func (o BatchShowQueueRequest) String() string

type BatchShowQueueResponse

type BatchShowQueueResponse struct {
	Queues *[]QueryQueueBase `json:"queues,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (BatchShowQueueResponse) String

func (o BatchShowQueueResponse) String() string

type BatchTaskFile

type BatchTaskFile struct {
	FileId *string `json:"file_id,omitempty"`

	FileName *string `json:"file_name,omitempty"`

	UploadTime *string `json:"upload_time,omitempty"`
}

查询上传的批量任务文件结构体。

func (BatchTaskFile) String

func (o BatchTaskFile) String() string

type BindTagsDto

type BindTagsDto struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`

	Tags []TagV5Dto `json:"tags"`
}

创建标签请求结构体。

func (BindTagsDto) String

func (o BindTagsDto) String() string

type CertificatesRspDto

type CertificatesRspDto struct {
	CertificateId *string `json:"certificate_id,omitempty"`

	CnName *string `json:"cn_name,omitempty"`

	Owner *string `json:"owner,omitempty"`

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

	VerifyCode *string `json:"verify_code,omitempty"`

	CreateDate *string `json:"create_date,omitempty"`

	EffectiveDate *string `json:"effective_date,omitempty"`

	ExpiryDate *string `json:"expiry_date,omitempty"`
}

func (CertificatesRspDto) String

func (o CertificatesRspDto) String() string

type ChangeRuleStatusRequest

type ChangeRuleStatusRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`

	Body *RuleStatus `json:"body,omitempty"`
}

Request Object

func (ChangeRuleStatusRequest) String

func (o ChangeRuleStatusRequest) String() string

type ChangeRuleStatusResponse

type ChangeRuleStatusResponse struct {
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ChangeRuleStatusResponse) String

func (o ChangeRuleStatusResponse) String() string

type ChannelDetail

type ChannelDetail struct {
	HttpForwarding *HttpForwarding `json:"http_forwarding,omitempty"`

	DisForwarding *DisForwarding `json:"dis_forwarding,omitempty"`

	ObsForwarding *ObsForwarding `json:"obs_forwarding,omitempty"`

	AmqpForwarding *AmqpForwarding `json:"amqp_forwarding,omitempty"`

	DmsKafkaForwarding *DmsKafkaForwarding `json:"dms_kafka_forwarding,omitempty"`

	RomaForwarding *RomaForwarding `json:"roma_forwarding,omitempty"`

	IotaForwarding *IoTaForwarding `json:"iota_forwarding,omitempty"`

	MqsForwarding *MqsForwarding `json:"mqs_forwarding,omitempty"`

	MysqlForwarding *MysqlForwarding `json:"mysql_forwarding,omitempty"`

	MqttForwarding *MqttForwarding `json:"mqtt_forwarding,omitempty"`

	LtsForwarding *LtsForwarding `json:"lts_forwarding,omitempty"`

	InfluxdbForwarding *InfluxDbForwarding `json:"influxdb_forwarding,omitempty"`

	FunctiongraphForwarding *FunctionGraphForwarding `json:"functiongraph_forwarding,omitempty"`

	MrsKafkaForwarding *MrsKafkaForwarding `json:"mrs_kafka_forwarding,omitempty"`
}

物联网平台转发数据的通道配置参数。

func (ChannelDetail) String

func (o ChannelDetail) String() string

type CheckCertificateRequest

type CheckCertificateRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	CertificateId string `json:"certificate_id"`

	ActionId string `json:"action_id"`

	Body *VerifyCertificateDto `json:"body,omitempty"`
}

Request Object

func (CheckCertificateRequest) String

func (o CheckCertificateRequest) String() string

type CheckCertificateResponse

type CheckCertificateResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CheckCertificateResponse) String

func (o CheckCertificateResponse) String() string

type Cmd

type Cmd struct {
	CommandName string `json:"command_name"`

	CommandBody *interface{} `json:"command_body"`

	ServiceId string `json:"service_id"`

	BufferTimeout *int32 `json:"buffer_timeout,omitempty"`

	ResponseTimeout *int32 `json:"response_timeout,omitempty"`

	Mode *string `json:"mode,omitempty"`
}

给设备下发命令的命令内容,在动作的type为“DEVICE_CMD”时有效,且为必选

func (Cmd) String

func (o Cmd) String() string

type ColumnMapping

type ColumnMapping struct {
	ColumnName string `json:"column_name"`

	JsonKey string `json:"json_key"`
}

数据库的列和流转数据的对应关系。

func (ColumnMapping) String

func (o ColumnMapping) String() string

type ConditionGroup

type ConditionGroup struct {
	Conditions *[]RuleCondition `json:"conditions,omitempty"`

	Logic *string `json:"logic,omitempty"`

	TimeRange *TimeRange `json:"time_range,omitempty"`
}

规则条件组

func (ConditionGroup) String

func (o ConditionGroup) String() string

type CreateAccessCodeRequest

type CreateAccessCodeRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *CreateAccessCodeRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateAccessCodeRequest) String

func (o CreateAccessCodeRequest) String() string

type CreateAccessCodeRequestBody

type CreateAccessCodeRequestBody struct {
	Type *string `json:"type,omitempty"`
}

生成接入凭证的结构体。

func (CreateAccessCodeRequestBody) String

type CreateAccessCodeResponse

type CreateAccessCodeResponse struct {
	AccessKey *string `json:"access_key,omitempty"`

	AccessCode     *string `json:"access_code,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAccessCodeResponse) String

func (o CreateAccessCodeResponse) String() string

type CreateAsyncCommandRequest

type CreateAsyncCommandRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *AsyncDeviceCommandRequest `json:"body,omitempty"`
}

Request Object

func (CreateAsyncCommandRequest) String

func (o CreateAsyncCommandRequest) String() string

type CreateAsyncCommandResponse

type CreateAsyncCommandResponse struct {
	DeviceId *string `json:"device_id,omitempty"`

	CommandId *string `json:"command_id,omitempty"`

	ServiceId *string `json:"service_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`

	Paras *interface{} `json:"paras,omitempty"`

	ExpireTime *int32 `json:"expire_time,omitempty"`

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

	CreatedTime *string `json:"created_time,omitempty"`

	SendStrategy   *string `json:"send_strategy,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateAsyncCommandResponse) String

type CreateBatchTask

type CreateBatchTask struct {
	AppId *string `json:"app_id,omitempty"`

	TaskName string `json:"task_name"`

	TaskType string `json:"task_type"`

	Targets *[]string `json:"targets,omitempty"`

	TargetsFilter map[string]interface{} `json:"targets_filter,omitempty"`

	Document *interface{} `json:"document,omitempty"`

	TaskPolicy *TaskPolicy `json:"task_policy,omitempty"`

	DocumentSource *string `json:"document_source,omitempty"`
}

添加任务结构体

func (CreateBatchTask) String

func (o CreateBatchTask) String() string

type CreateBatchTaskRequest

type CreateBatchTaskRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *CreateBatchTask `json:"body,omitempty"`
}

Request Object

func (CreateBatchTaskRequest) String

func (o CreateBatchTaskRequest) String() string

type CreateBatchTaskResponse

type CreateBatchTaskResponse struct {
	TaskId *string `json:"task_id,omitempty"`

	TaskName *string `json:"task_name,omitempty"`

	TaskType *string `json:"task_type,omitempty"`

	Targets *[]string `json:"targets,omitempty"`

	TargetsFilter map[string]interface{} `json:"targets_filter,omitempty"`

	Document *interface{} `json:"document,omitempty"`

	TaskPolicy *TaskPolicy `json:"task_policy,omitempty"`

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

	StatusDesc *string `json:"status_desc,omitempty"`

	TaskProgress *TaskProgress `json:"task_progress,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateBatchTaskResponse) String

func (o CreateBatchTaskResponse) String() string

type CreateCertificateDto

type CreateCertificateDto struct {
	Content string `json:"content"`

	AppId *string `json:"app_id,omitempty"`
}

创建CA证书结构体。

func (CreateCertificateDto) String

func (o CreateCertificateDto) String() string

type CreateCommandRequest

type CreateCommandRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *DeviceCommandRequest `json:"body,omitempty"`
}

Request Object

func (CreateCommandRequest) String

func (o CreateCommandRequest) String() string

type CreateCommandResponse

type CreateCommandResponse struct {
	CommandId *string `json:"command_id,omitempty"`

	Response       *interface{} `json:"response,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (CreateCommandResponse) String

func (o CreateCommandResponse) String() string

type CreateMessageRequest

type CreateMessageRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *DeviceMessageRequest `json:"body,omitempty"`
}

Request Object

func (CreateMessageRequest) String

func (o CreateMessageRequest) String() string

type CreateMessageResponse

type CreateMessageResponse struct {
	MessageId *string `json:"message_id,omitempty"`

	Result         *MessageResult `json:"result,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (CreateMessageResponse) String

func (o CreateMessageResponse) String() string

type CreateOrDeleteDeviceInGroupRequest

type CreateOrDeleteDeviceInGroupRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	GroupId string `json:"group_id"`

	ActionId string `json:"action_id"`

	DeviceId string `json:"device_id"`
}

Request Object

func (CreateOrDeleteDeviceInGroupRequest) String

type CreateOrDeleteDeviceInGroupResponse

type CreateOrDeleteDeviceInGroupResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateOrDeleteDeviceInGroupResponse) String

type CreateProductRequest

type CreateProductRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *AddProduct `json:"body,omitempty"`
}

Request Object

func (CreateProductRequest) String

func (o CreateProductRequest) String() string

type CreateProductResponse

type CreateProductResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

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

	DeviceType *string `json:"device_type,omitempty"`

	ProtocolType *string `json:"protocol_type,omitempty"`

	DataFormat *string `json:"data_format,omitempty"`

	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	Industry *string `json:"industry,omitempty"`

	Description *string `json:"description,omitempty"`

	ServiceCapabilities *[]ServiceCapability `json:"service_capabilities,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateProductResponse) String

func (o CreateProductResponse) String() string

type CreateRoutingRuleRequest

type CreateRoutingRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *AddRuleReq `json:"body,omitempty"`
}

Request Object

func (CreateRoutingRuleRequest) String

func (o CreateRoutingRuleRequest) String() string

type CreateRoutingRuleResponse

type CreateRoutingRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	RuleName *string `json:"rule_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Subject *RoutingRuleSubject `json:"subject,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Select *string `json:"select,omitempty"`

	Where *string `json:"where,omitempty"`

	Active         *bool `json:"active,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CreateRoutingRuleResponse) String

func (o CreateRoutingRuleResponse) String() string

type CreateRuleActionRequest

type CreateRuleActionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	XLBService *string `json:"x-LB-Service,omitempty"`

	Body *AddActionReq `json:"body,omitempty"`
}

Request Object

func (CreateRuleActionRequest) String

func (o CreateRuleActionRequest) String() string

type CreateRuleActionResponse

type CreateRuleActionResponse struct {
	ActionId *string `json:"action_id,omitempty"`

	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Channel *string `json:"channel,omitempty"`

	ChannelDetail *ChannelDetail `json:"channel_detail,omitempty"`

	Batch          *bool `json:"batch,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CreateRuleActionResponse) String

func (o CreateRuleActionResponse) String() string

type CreateRuleRequest

type CreateRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *Rule `json:"body,omitempty"`
}

Request Object

func (CreateRuleRequest) String

func (o CreateRuleRequest) String() string

type CreateRuleResponse

type CreateRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	ConditionGroup *ConditionGroup `json:"condition_group,omitempty"`

	Actions *[]RuleAction `json:"actions,omitempty"`

	RuleType *string `json:"rule_type,omitempty"`

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

	AppId *string `json:"app_id,omitempty"`

	EdgeNodeIds *[]string `json:"edge_node_ids,omitempty"`

	LastUpdateTime *string `json:"last_update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateRuleResponse) String

func (o CreateRuleResponse) String() string

type CreateSubReq

type CreateSubReq struct {
	Subject *Subject `json:"subject"`

	Callbackurl string `json:"callbackurl"`

	AppId *string `json:"app_id,omitempty"`

	Channel string `json:"channel"`
}

创建订阅请求结构体

func (CreateSubReq) String

func (o CreateSubReq) String() string

type CreateSubscriptionRequest

type CreateSubscriptionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *CreateSubReq `json:"body,omitempty"`
}

Request Object

func (CreateSubscriptionRequest) String

func (o CreateSubscriptionRequest) String() string

type CreateSubscriptionResponse

type CreateSubscriptionResponse struct {
	SubscriptionId *string `json:"subscription_id,omitempty"`

	Subject *Subject `json:"subject,omitempty"`

	Callbackurl *string `json:"callbackurl,omitempty"`

	Channel        *string `json:"channel,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSubscriptionResponse) String

type DailyTimerType

type DailyTimerType struct {
	Time string `json:"time"`

	DaysOfWeek *string `json:"days_of_week,omitempty"`
}

条件中每日定时类型的信息,自定义结构。

func (DailyTimerType) String

func (o DailyTimerType) String() string

type DeleteApplicationRequest

type DeleteApplicationRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	AppId string `json:"app_id"`
}

Request Object

func (DeleteApplicationRequest) String

func (o DeleteApplicationRequest) String() string

type DeleteApplicationResponse

type DeleteApplicationResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteApplicationResponse) String

func (o DeleteApplicationResponse) String() string

type DeleteBatchTaskFileRequest

type DeleteBatchTaskFileRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	FileId string `json:"file_id"`
}

Request Object

func (DeleteBatchTaskFileRequest) String

type DeleteBatchTaskFileResponse

type DeleteBatchTaskFileResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteBatchTaskFileResponse) String

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	CertificateId string `json:"certificate_id"`
}

Request Object

func (DeleteCertificateRequest) String

func (o DeleteCertificateRequest) String() string

type DeleteCertificateResponse

type DeleteCertificateResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteCertificateResponse) String

func (o DeleteCertificateResponse) String() string

type DeleteDeviceGroupRequest

type DeleteDeviceGroupRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	GroupId string `json:"group_id"`
}

Request Object

func (DeleteDeviceGroupRequest) String

func (o DeleteDeviceGroupRequest) String() string

type DeleteDeviceGroupResponse

type DeleteDeviceGroupResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeviceGroupResponse) String

func (o DeleteDeviceGroupResponse) String() string

type DeleteDeviceRequest

type DeleteDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`
}

Request Object

func (DeleteDeviceRequest) String

func (o DeleteDeviceRequest) String() string

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteDeviceResponse) String

func (o DeleteDeviceResponse) String() string

type DeleteProductRequest

type DeleteProductRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ProductId string `json:"product_id"`

	AppId *string `json:"app_id,omitempty"`
}

Request Object

func (DeleteProductRequest) String

func (o DeleteProductRequest) String() string

type DeleteProductResponse

type DeleteProductResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteProductResponse) String

func (o DeleteProductResponse) String() string

type DeleteQueueRequest

type DeleteQueueRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	QueueId string `json:"queue_id"`
}

Request Object

func (DeleteQueueRequest) String

func (o DeleteQueueRequest) String() string

type DeleteQueueResponse

type DeleteQueueResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteQueueResponse) String

func (o DeleteQueueResponse) String() string

type DeleteRoutingRuleRequest

type DeleteRoutingRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteRoutingRuleRequest) String

func (o DeleteRoutingRuleRequest) String() string

type DeleteRoutingRuleResponse

type DeleteRoutingRuleResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteRoutingRuleResponse) String

func (o DeleteRoutingRuleResponse) String() string

type DeleteRuleActionRequest

type DeleteRuleActionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ActionId string `json:"action_id"`
}

Request Object

func (DeleteRuleActionRequest) String

func (o DeleteRuleActionRequest) String() string

type DeleteRuleActionResponse

type DeleteRuleActionResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteRuleActionResponse) String

func (o DeleteRuleActionResponse) String() string

type DeleteRuleRequest

type DeleteRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`
}

Request Object

func (DeleteRuleRequest) String

func (o DeleteRuleRequest) String() string

type DeleteRuleResponse

type DeleteRuleResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteRuleResponse) String

func (o DeleteRuleResponse) String() string

type DeleteSubscriptionRequest

type DeleteSubscriptionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	SubscriptionId string `json:"subscription_id"`
}

Request Object

func (DeleteSubscriptionRequest) String

func (o DeleteSubscriptionRequest) String() string

type DeleteSubscriptionResponse

type DeleteSubscriptionResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (DeleteSubscriptionResponse) String

type DeviceCommandRequest

type DeviceCommandRequest struct {
	ServiceId *string `json:"service_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`

	Paras *interface{} `json:"paras"`
}

func (DeviceCommandRequest) String

func (o DeviceCommandRequest) String() string

type DeviceDataCondition

type DeviceDataCondition struct {
	DeviceId *string `json:"device_id,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	Filters *[]PropertyFilter `json:"filters,omitempty"`
}

条件中设备数据类型的信息,自定义结构。

func (DeviceDataCondition) String

func (o DeviceDataCondition) String() string

type DeviceGroupResponseDto

type DeviceGroupResponseDto struct {
	GroupId *string `json:"group_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	SuperGroupId *string `json:"super_group_id,omitempty"`
}

设备组信息结构体,创建、查询、修改设备组时返回

func (DeviceGroupResponseDto) String

func (o DeviceGroupResponseDto) String() string

type DeviceMessage

type DeviceMessage struct {
	MessageId *string `json:"message_id,omitempty"`

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

	Message *interface{} `json:"message,omitempty"`

	Encoding *string `json:"encoding,omitempty"`

	PayloadFormat *string `json:"payload_format,omitempty"`

	Topic *string `json:"topic,omitempty"`

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

	CreatedTime *string `json:"created_time,omitempty"`

	FinishedTime *string `json:"finished_time,omitempty"`
}

func (DeviceMessage) String

func (o DeviceMessage) String() string

type DeviceMessageCondition

type DeviceMessageCondition struct {
	ProductId *string `json:"product_id,omitempty"`

	Topic *string `json:"topic,omitempty"`
}

条件中设备消息类型的信息,自定义结构。

func (DeviceMessageCondition) String

func (o DeviceMessageCondition) String() string

type DeviceMessageRequest

type DeviceMessageRequest struct {
	MessageId *string `json:"message_id,omitempty"`

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

	Message *interface{} `json:"message"`

	Encoding *string `json:"encoding,omitempty"`

	PayloadFormat *string `json:"payload_format,omitempty"`

	Topic *string `json:"topic,omitempty"`

	TopicFullName *string `json:"topic_full_name,omitempty"`
}

func (DeviceMessageRequest) String

func (o DeviceMessageRequest) String() string

type DevicePropertiesRequest

type DevicePropertiesRequest struct {
	Services *interface{} `json:"services,omitempty"`
}

func (DevicePropertiesRequest) String

func (o DevicePropertiesRequest) String() string

type DeviceShadowData

type DeviceShadowData struct {
	ServiceId string `json:"service_id"`

	Desired *DeviceShadowProperties `json:"desired,omitempty"`

	Reported *DeviceShadowProperties `json:"reported,omitempty"`

	Version *int64 `json:"version,omitempty"`
}

设备影子数据结构体。

func (DeviceShadowData) String

func (o DeviceShadowData) String() string

type DeviceShadowProperties

type DeviceShadowProperties struct {
	Properties *interface{} `json:"properties,omitempty"`

	EventTime *string `json:"event_time,omitempty"`
}

设备影子数据属性结构体。

func (DeviceShadowProperties) String

func (o DeviceShadowProperties) String() string

type DeviceStatusCondition

type DeviceStatusCondition struct {
	StatusList *[]string `json:"status_list,omitempty"`
}

条件中设备状态类型的信息,自定义结构。

func (DeviceStatusCondition) String

func (o DeviceStatusCondition) String() string

type DisForwarding

type DisForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	StreamName *string `json:"stream_name,omitempty"`

	StreamId *string `json:"stream_id,omitempty"`
}

DIS服务配置信息

func (DisForwarding) String

func (o DisForwarding) String() string

type DmsKafkaForwarding

type DmsKafkaForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	Addresses []NetAddress `json:"addresses"`

	Topic string `json:"topic"`

	Username *string `json:"username,omitempty"`

	Password *string `json:"password,omitempty"`

	Mechanism *string `json:"mechanism,omitempty"`
}

转发kafka消息结构

func (DmsKafkaForwarding) String

func (o DmsKafkaForwarding) String() string

type ErrorInfo

type ErrorInfo struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMsg *string `json:"error_msg,omitempty"`
}

错误码消息

func (ErrorInfo) String

func (o ErrorInfo) String() string

type FreezeDeviceRequest

type FreezeDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`
}

Request Object

func (FreezeDeviceRequest) String

func (o FreezeDeviceRequest) String() string

type FreezeDeviceResponse

type FreezeDeviceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (FreezeDeviceResponse) String

func (o FreezeDeviceResponse) String() string

type FunctionGraphForwarding

type FunctionGraphForwarding struct {
	FuncUrn string `json:"func_urn"`

	FuncName string `json:"func_name"`
}

函数工作流转发配置信息

func (FunctionGraphForwarding) String

func (o FunctionGraphForwarding) String() string

type HttpForwarding

type HttpForwarding struct {
	Url string `json:"url"`

	CertId *string `json:"cert_id,omitempty"`

	CnName *string `json:"cn_name,omitempty"`

	SniEnable *bool `json:"sni_enable,omitempty"`
}

httpserver配置信息

func (HttpForwarding) String

func (o HttpForwarding) String() string

type InfluxDbForwarding

type InfluxDbForwarding struct {
	Address *NetAddress `json:"address"`

	DbName string `json:"db_name"`

	Username string `json:"username"`

	Password string `json:"password"`

	Measurement string `json:"measurement"`

	ColumnMappings []ColumnMapping `json:"column_mappings"`
}

InfluxDB配置信息

func (InfluxDbForwarding) String

func (o InfluxDbForwarding) String() string

type InitialDesired

type InitialDesired struct {
	ServiceId string `json:"service_id"`

	Desired *interface{} `json:"desired"`
}

设备初始配置数据结构体。

func (InitialDesired) String

func (o InitialDesired) String() string

type IoTaForwarding

type IoTaForwarding struct {
	DataSourceId string `json:"data_source_id"`

	ProjectId string `json:"project_id"`
}

转发IoTA服务消息结构

func (IoTaForwarding) String

func (o IoTaForwarding) String() string

type ListAsyncCommandsRequest

type ListAsyncCommandsRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

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

	CommandId *string `json:"command_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`
}

Request Object

func (ListAsyncCommandsRequest) String

func (o ListAsyncCommandsRequest) String() string

type ListAsyncCommandsResponse

type ListAsyncCommandsResponse struct {
	Commands *[]AsyncDeviceCommand `json:"commands,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListAsyncCommandsResponse) String

func (o ListAsyncCommandsResponse) String() string

type ListAsyncHistoryCommandsRequest

type ListAsyncHistoryCommandsRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

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

	CommandId *string `json:"command_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`
}

Request Object

func (ListAsyncHistoryCommandsRequest) String

type ListAsyncHistoryCommandsResponse

type ListAsyncHistoryCommandsResponse struct {
	Commands *[]AsyncDeviceCommand `json:"commands,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListAsyncHistoryCommandsResponse) String

type ListBatchTaskFilesRequest

type ListBatchTaskFilesRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`
}

Request Object

func (ListBatchTaskFilesRequest) String

func (o ListBatchTaskFilesRequest) String() string

type ListBatchTaskFilesResponse

type ListBatchTaskFilesResponse struct {
	Files          *[]BatchTaskFile `json:"files,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListBatchTaskFilesResponse) String

type ListBatchTasksRequest

type ListBatchTasksRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	TaskType string `json:"task_type"`

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

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListBatchTasksRequest) String

func (o ListBatchTasksRequest) String() string

type ListBatchTasksResponse

type ListBatchTasksResponse struct {
	Batchtasks *[]Task `json:"batchtasks,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListBatchTasksResponse) String

func (o ListBatchTasksResponse) String() string

type ListCertificatesRequest

type ListCertificatesRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {
	Certificates *[]CertificatesRspDto `json:"certificates,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListDeviceGroupsRequest

type ListDeviceGroupsRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	LastModifiedTime *string `json:"last_modified_time,omitempty"`

	AppId *string `json:"app_id,omitempty"`
}

Request Object

func (ListDeviceGroupsRequest) String

func (o ListDeviceGroupsRequest) String() string

type ListDeviceGroupsResponse

type ListDeviceGroupsResponse struct {
	DeviceGroups *[]DeviceGroupResponseDto `json:"device_groups,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListDeviceGroupsResponse) String

func (o ListDeviceGroupsResponse) String() string

type ListDeviceMessagesRequest

type ListDeviceMessagesRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`
}

Request Object

func (ListDeviceMessagesRequest) String

func (o ListDeviceMessagesRequest) String() string

type ListDeviceMessagesResponse

type ListDeviceMessagesResponse struct {
	DeviceId *string `json:"device_id,omitempty"`

	Messages       *[]DeviceMessage `json:"messages,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListDeviceMessagesResponse) String

type ListDevicesRequest

type ListDevicesRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	GatewayId *string `json:"gateway_id,omitempty"`

	IsCascadeQuery *bool `json:"is_cascade_query,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	DeviceName *string `json:"device_name,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	StartTime *string `json:"start_time,omitempty"`

	EndTime *string `json:"end_time,omitempty"`

	AppId *string `json:"app_id,omitempty"`
}

Request Object

func (ListDevicesRequest) String

func (o ListDevicesRequest) String() string

type ListDevicesResponse

type ListDevicesResponse struct {
	Devices *[]QueryDeviceSimplify `json:"devices,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListDevicesResponse) String

func (o ListDevicesResponse) String() string

type ListProductsRequest

type ListProductsRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListProductsRequest) String

func (o ListProductsRequest) String() string

type ListProductsResponse

type ListProductsResponse struct {
	Products *[]ProductSummary `json:"products,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListProductsResponse) String

func (o ListProductsResponse) String() string

type ListPropertiesRequest

type ListPropertiesRequest struct {
	DeviceId string `json:"device_id"`

	StageAuthToken *string `json:"Stage-Auth-Token,omitempty"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	ServiceId string `json:"service_id"`
}

Request Object

func (ListPropertiesRequest) String

func (o ListPropertiesRequest) String() string

type ListPropertiesResponse

type ListPropertiesResponse struct {
	Response       *interface{} `json:"response,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListPropertiesResponse) String

func (o ListPropertiesResponse) String() string

type ListResourcesByTagsRequest

type ListResourcesByTagsRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	Body *QueryResourceByTagsDto `json:"body,omitempty"`
}

Request Object

func (ListResourcesByTagsRequest) String

type ListResourcesByTagsResponse

type ListResourcesByTagsResponse struct {
	Resources *[]ResourceDto `json:"resources,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListResourcesByTagsResponse) String

type ListRoutingRulesRequest

type ListRoutingRulesRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Resource *string `json:"resource,omitempty"`

	Event *string `json:"event,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	RuleName *string `json:"rule_name,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListRoutingRulesRequest) String

func (o ListRoutingRulesRequest) String() string

type ListRoutingRulesResponse

type ListRoutingRulesResponse struct {
	Rules *[]RoutingRule `json:"rules,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Marker         *string `json:"marker,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRoutingRulesResponse) String

func (o ListRoutingRulesResponse) String() string

type ListRuleActionsRequest

type ListRuleActionsRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId *string `json:"rule_id,omitempty"`

	Channel *string `json:"channel,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListRuleActionsRequest) String

func (o ListRuleActionsRequest) String() string

type ListRuleActionsResponse

type ListRuleActionsResponse struct {
	Actions *[]RoutingRuleAction `json:"actions,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Marker         *string `json:"marker,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRuleActionsResponse) String

func (o ListRuleActionsResponse) String() string

type ListRulesRequest

type ListRulesRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	RuleType *string `json:"rule_type,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListRulesRequest) String

func (o ListRulesRequest) String() string

type ListRulesResponse

type ListRulesResponse struct {
	Marker *string `json:"marker,omitempty"`

	Count *int64 `json:"count,omitempty"`

	Rules          *[]RuleResponse `json:"rules,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListRulesResponse) String

func (o ListRulesResponse) String() string

type ListSubscriptionsRequest

type ListSubscriptionsRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Resource *string `json:"resource,omitempty"`

	Event *string `json:"event,omitempty"`

	Callbackurl *string `json:"callbackurl,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Channel *string `json:"channel,omitempty"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListSubscriptionsRequest) String

func (o ListSubscriptionsRequest) String() string

type ListSubscriptionsResponse

type ListSubscriptionsResponse struct {
	Subscriptions *[]SubscriptionItem `json:"subscriptions,omitempty"`

	Count *int32 `json:"count,omitempty"`

	Marker         *string `json:"marker,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSubscriptionsResponse) String

func (o ListSubscriptionsResponse) String() string

type LtsForwarding

type LtsForwarding struct {
	LogGroupId string `json:"log_group_id"`

	LogStreamId string `json:"log_stream_id"`
}

LTS转发配置信息

func (LtsForwarding) String

func (o LtsForwarding) String() string

type MessageResult

type MessageResult struct {
	Status *string `json:"status,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	FinishedTime *string `json:"finished_time,omitempty"`
}

下发的消息响应结果

func (MessageResult) String

func (o MessageResult) String() string

type MqsForwarding

type MqsForwarding struct {
	Url string `json:"url"`

	UserName string `json:"user_name"`

	Password string `json:"password"`

	Topic string `json:"topic"`

	EncryptTransport *bool `json:"encrypt_transport,omitempty"`
}

服务配置信息

func (MqsForwarding) String

func (o MqsForwarding) String() string

type MqttForwarding

type MqttForwarding struct {
	Topic string `json:"topic"`
}

topic配置信息

func (MqttForwarding) String

func (o MqttForwarding) String() string

type MrsKafkaForwarding

type MrsKafkaForwarding struct {
	Addresses []NetAddress `json:"addresses"`

	Topic string `json:"topic"`
}

转发MRS Kafka消息结构

func (MrsKafkaForwarding) String

func (o MrsKafkaForwarding) String() string

type MysqlForwarding

type MysqlForwarding struct {
	Address *NetAddress `json:"address"`

	DbName string `json:"db_name"`

	Username string `json:"username"`

	Password string `json:"password"`

	TableName string `json:"table_name"`

	ColumnMappings []ColumnMapping `json:"column_mappings"`
}

MySql配置信息

func (MysqlForwarding) String

func (o MysqlForwarding) String() string

type NetAddress

type NetAddress struct {
	Ip *string `json:"ip,omitempty"`

	Port *int32 `json:"port,omitempty"`

	Domain *string `json:"domain,omitempty"`
}

网络地址信息。

func (NetAddress) String

func (o NetAddress) String() string

type ObsForwarding

type ObsForwarding struct {
	RegionName string `json:"region_name"`

	ProjectId string `json:"project_id"`

	BucketName string `json:"bucket_name"`

	Location *string `json:"location,omitempty"`
}

服务配置信息

func (ObsForwarding) String

func (o ObsForwarding) String() string

type Page

type Page struct {
	Count *int64 `json:"count,omitempty"`

	Marker *string `json:"marker,omitempty"`
}

查询批量分页结构体,定义了分页页码、每页记录数、记录总数、该页记录的最大Id。

func (Page) String

func (o Page) String() string

type ProductSummary

type ProductSummary struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

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

	DeviceType *string `json:"device_type,omitempty"`

	ProtocolType *string `json:"protocol_type,omitempty"`

	DataFormat *string `json:"data_format,omitempty"`

	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	Industry *string `json:"industry,omitempty"`

	Description *string `json:"description,omitempty"`

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

产品概要信息。

func (ProductSummary) String

func (o ProductSummary) String() string

type PropertyFilter

type PropertyFilter struct {
	Path string `json:"path"`

	Operator string `json:"operator"`

	Value string `json:"value"`

	Strategy *Strategy `json:"strategy,omitempty"`
}

设备属性过滤信息,自定义结构。

func (PropertyFilter) String

func (o PropertyFilter) String() string

type QueryDeviceSimplify

type QueryDeviceSimplify struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	NodeId *string `json:"node_id,omitempty"`

	GatewayId *string `json:"gateway_id,omitempty"`

	DeviceName *string `json:"device_name,omitempty"`

	NodeType *string `json:"node_type,omitempty"`

	Description *string `json:"description,omitempty"`

	FwVersion *string `json:"fw_version,omitempty"`

	SwVersion *string `json:"sw_version,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	ProductName *string `json:"product_name,omitempty"`

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

	Tags *[]TagV5Dto `json:"tags,omitempty"`
}

设备信息结构体,批量查询返回。

func (QueryDeviceSimplify) String

func (o QueryDeviceSimplify) String() string

type QueryQueueBase

type QueryQueueBase struct {
	QueueId *string `json:"queue_id,omitempty"`

	QueueName *string `json:"queue_name,omitempty"`

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

	LastModifyTime *string `json:"last_modify_time,omitempty"`
}

队列信息结构体,返回基本信息。

func (QueryQueueBase) String

func (o QueryQueueBase) String() string

type QueryResourceByTagsDto

type QueryResourceByTagsDto struct {
	ResourceType string `json:"resource_type"`

	Tags []TagV5Dto `json:"tags"`
}

按标签查询资源请求结构体。

func (QueryResourceByTagsDto) String

func (o QueryResourceByTagsDto) String() string

type QueueInfo

type QueueInfo struct {
	QueueName string `json:"queue_name"`
}

添加时队列结构体。

func (QueueInfo) String

func (o QueueInfo) String() string

type ResetDeviceSecret

type ResetDeviceSecret struct {
	Secret *string `json:"secret,omitempty"`

	ForceDisconnect *bool `json:"force_disconnect,omitempty"`
}

func (ResetDeviceSecret) String

func (o ResetDeviceSecret) String() string

type ResetDeviceSecretRequest

type ResetDeviceSecretRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`

	ActionId string `json:"action_id"`

	Body *ResetDeviceSecret `json:"body,omitempty"`
}

Request Object

func (ResetDeviceSecretRequest) String

func (o ResetDeviceSecretRequest) String() string

type ResetDeviceSecretResponse

type ResetDeviceSecretResponse struct {
	DeviceId *string `json:"device_id,omitempty"`

	Secret         *string `json:"secret,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ResetDeviceSecretResponse) String

func (o ResetDeviceSecretResponse) String() string

type ResourceDto

type ResourceDto struct {
	ResourceId *string `json:"resource_id,omitempty"`
}

资源结构体。

func (ResourceDto) String

func (o ResourceDto) String() string

type RomaForwarding

type RomaForwarding struct {
	Addresses []NetAddress `json:"addresses"`

	Topic string `json:"topic"`

	Username string `json:"username"`

	Password string `json:"password"`
}

转发roma消息结构

func (RomaForwarding) String

func (o RomaForwarding) String() string

type RoutingRule

type RoutingRule struct {
	RuleId *string `json:"rule_id,omitempty"`

	RuleName *string `json:"rule_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Subject *RoutingRuleSubject `json:"subject,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Select *string `json:"select,omitempty"`

	Where *string `json:"where,omitempty"`

	Active *bool `json:"active,omitempty"`
}

创建或修改规则条件的响应消息

func (RoutingRule) String

func (o RoutingRule) String() string

type RoutingRuleAction

type RoutingRuleAction struct {
	ActionId *string `json:"action_id,omitempty"`

	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Channel *string `json:"channel,omitempty"`

	ChannelDetail *ChannelDetail `json:"channel_detail,omitempty"`

	Batch *bool `json:"batch,omitempty"`
}

创建或修改规则动作响应结构体

func (RoutingRuleAction) String

func (o RoutingRuleAction) String() string

type RoutingRuleSubject

type RoutingRuleSubject struct {
	Resource string `json:"resource"`

	Event string `json:"event"`
}

创建或修改规则条件时,指定资源及其范围

func (RoutingRuleSubject) String

func (o RoutingRuleSubject) String() string

type Rule

type Rule struct {
	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	ConditionGroup *ConditionGroup `json:"condition_group"`

	Actions []RuleAction `json:"actions"`

	RuleType string `json:"rule_type"`

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

	AppId *string `json:"app_id,omitempty"`

	EdgeNodeIds *[]string `json:"edge_node_ids,omitempty"`
}

规则请求结构体

func (Rule) String

func (o Rule) String() string

type RuleAction

type RuleAction struct {
	Type string `json:"type"`

	Addition *[]string `json:"addition,omitempty"`

	SmnForwarding *ActionSmnForwarding `json:"smn_forwarding,omitempty"`

	DeviceAlarm *ActionDeviceAlarm `json:"device_alarm,omitempty"`

	DeviceCommand *ActionDeviceCommand `json:"device_command,omitempty"`

	DisForwarding *ActionDisForwarding `json:"dis_forwarding,omitempty"`

	ObsForwarding *ActionObsForwarding `json:"obs_forwarding,omitempty"`

	RomaForwarding *ActionRomaForwarding `json:"roma_forwarding,omitempty"`

	IotaForwarding *ActionIoTaForwarding `json:"iota_forwarding,omitempty"`

	KafkaForwarding *ActionKafkaForwarding `json:"kafka_forwarding,omitempty"`
}

规则动作结构体

func (RuleAction) String

func (o RuleAction) String() string

type RuleCondition

type RuleCondition struct {
	Type string `json:"type"`

	DevicePropertyCondition *DeviceDataCondition `json:"device_property_condition,omitempty"`

	SimpleTimerCondition *SimpleTimerType `json:"simple_timer_condition,omitempty"`

	DailyTimerCondition *DailyTimerType `json:"daily_timer_condition,omitempty"`

	DeviceMessageCondition *DeviceMessageCondition `json:"device_message_condition,omitempty"`

	DeviceStatusCondition *DeviceStatusCondition `json:"device_status_condition,omitempty"`
}

规则条件结构体

func (RuleCondition) String

func (o RuleCondition) String() string

type RuleResponse

type RuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	Name string `json:"name"`

	Description *string `json:"description,omitempty"`

	ConditionGroup *ConditionGroup `json:"condition_group"`

	Actions []RuleAction `json:"actions"`

	RuleType string `json:"rule_type"`

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

	AppId *string `json:"app_id,omitempty"`

	EdgeNodeIds *[]string `json:"edge_node_ids,omitempty"`

	LastUpdateTime *string `json:"last_update_time,omitempty"`
}

规则响应结构体

func (RuleResponse) String

func (o RuleResponse) String() string

type RuleStatus

type RuleStatus struct {
	Status string `json:"status"`
}

规则状态

func (RuleStatus) String

func (o RuleStatus) String() string

type ServiceCapability

type ServiceCapability struct {
	ServiceId string `json:"service_id"`

	ServiceType string `json:"service_type"`

	Properties *[]ServiceProperty `json:"properties,omitempty"`

	Commands *[]ServiceCommand `json:"commands,omitempty"`

	Events *[]ServiceEvent `json:"events,omitempty"`

	Description *string `json:"description,omitempty"`

	Option *string `json:"option,omitempty"`
}

ServiceCapability结构体。

func (ServiceCapability) String

func (o ServiceCapability) String() string

type ServiceCommand

type ServiceCommand struct {
	CommandName string `json:"command_name"`

	Paras *[]ServiceCommandPara `json:"paras,omitempty"`

	Responses *[]ServiceCommandResponse `json:"responses,omitempty"`
}

命令服务对象。

func (ServiceCommand) String

func (o ServiceCommand) String() string

type ServiceCommandPara

type ServiceCommandPara struct {
	ParaName string `json:"para_name"`

	DataType string `json:"data_type"`

	Required *bool `json:"required,omitempty"`

	EnumList *[]string `json:"enum_list,omitempty"`

	Min *string `json:"min,omitempty"`

	Max *string `json:"max,omitempty"`

	MaxLength *int32 `json:"max_length,omitempty"`

	Step *float64 `json:"step,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Description *string `json:"description,omitempty"`
}

参数服务对象。

func (ServiceCommandPara) String

func (o ServiceCommandPara) String() string

type ServiceCommandResponse

type ServiceCommandResponse struct {
	ResponseName string `json:"response_name"`

	Paras *[]ServiceCommandPara `json:"paras,omitempty"`
}

命令参数响应对象。

func (ServiceCommandResponse) String

func (o ServiceCommandResponse) String() string

type ServiceEvent

type ServiceEvent struct {
	EventType string `json:"event_type"`

	Paras *[]ServiceCommandPara `json:"paras,omitempty"`
}

事件服务对象。

func (ServiceEvent) String

func (o ServiceEvent) String() string

type ServiceProperty

type ServiceProperty struct {
	PropertyName string `json:"property_name"`

	DataType string `json:"data_type"`

	Required *bool `json:"required,omitempty"`

	EnumList *[]string `json:"enum_list,omitempty"`

	Min *string `json:"min,omitempty"`

	Max *string `json:"max,omitempty"`

	MaxLength *int32 `json:"max_length,omitempty"`

	Step *float64 `json:"step,omitempty"`

	Unit *string `json:"unit,omitempty"`

	Method string `json:"method"`

	Description *string `json:"description,omitempty"`

	DefaultValue *interface{} `json:"default_value,omitempty"`
}

属性服务对象。

func (ServiceProperty) String

func (o ServiceProperty) String() string

type ShowApplicationRequest

type ShowApplicationRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	AppId string `json:"app_id"`
}

Request Object

func (ShowApplicationRequest) String

func (o ShowApplicationRequest) String() string

type ShowApplicationResponse

type ShowApplicationResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	DefaultApp *bool `json:"default_app,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	Username *string `json:"username,omitempty"`

	Permission *string `json:"permission,omitempty"`

	LastInstanceId *string `json:"last_instance_id,omitempty"`

	CurrentInstanceId *string `json:"current_instance_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	Freezed        *bool `json:"freezed,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowApplicationResponse) String

func (o ShowApplicationResponse) String() string

type ShowApplicationsRequest

type ShowApplicationsRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DefaultApp *bool `json:"default_app,omitempty"`
}

Request Object

func (ShowApplicationsRequest) String

func (o ShowApplicationsRequest) String() string

type ShowApplicationsResponse

type ShowApplicationsResponse struct {
	Applications   *[]ApplicationDto `json:"applications,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ShowApplicationsResponse) String

func (o ShowApplicationsResponse) String() string

type ShowAsyncDeviceCommandRequest

type ShowAsyncDeviceCommandRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	CommandId string `json:"command_id"`
}

Request Object

func (ShowAsyncDeviceCommandRequest) String

type ShowAsyncDeviceCommandResponse

type ShowAsyncDeviceCommandResponse struct {
	DeviceId *string `json:"device_id,omitempty"`

	CommandId *string `json:"command_id,omitempty"`

	ServiceId *string `json:"service_id,omitempty"`

	CommandName *string `json:"command_name,omitempty"`

	Paras *interface{} `json:"paras,omitempty"`

	ExpireTime *int32 `json:"expire_time,omitempty"`

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

	Result *interface{} `json:"result,omitempty"`

	CreatedTime *string `json:"created_time,omitempty"`

	SentTime *string `json:"sent_time,omitempty"`

	DeliveredTime *string `json:"delivered_time,omitempty"`

	SendStrategy *string `json:"send_strategy,omitempty"`

	ResponseTime   *string `json:"response_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowAsyncDeviceCommandResponse) String

type ShowBatchTaskRequest

type ShowBatchTaskRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	TaskId string `json:"task_id"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ShowBatchTaskRequest) String

func (o ShowBatchTaskRequest) String() string

type ShowBatchTaskResponse

type ShowBatchTaskResponse struct {
	Batchtask *Task `json:"batchtask,omitempty"`

	TaskDetails *[]TaskDetail `json:"task_details,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowBatchTaskResponse) String

func (o ShowBatchTaskResponse) String() string

type ShowDeviceGroupRequest

type ShowDeviceGroupRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	GroupId string `json:"group_id"`
}

Request Object

func (ShowDeviceGroupRequest) String

func (o ShowDeviceGroupRequest) String() string

type ShowDeviceGroupResponse

type ShowDeviceGroupResponse struct {
	GroupId *string `json:"group_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	SuperGroupId   *string `json:"super_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDeviceGroupResponse) String

func (o ShowDeviceGroupResponse) String() string

type ShowDeviceMessageRequest

type ShowDeviceMessageRequest struct {
	DeviceId string `json:"device_id"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	MessageId string `json:"message_id"`
}

Request Object

func (ShowDeviceMessageRequest) String

func (o ShowDeviceMessageRequest) String() string

type ShowDeviceMessageResponse

type ShowDeviceMessageResponse struct {
	MessageId *string `json:"message_id,omitempty"`

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

	Message *interface{} `json:"message,omitempty"`

	Encoding *string `json:"encoding,omitempty"`

	PayloadFormat *string `json:"payload_format,omitempty"`

	Topic *string `json:"topic,omitempty"`

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

	CreatedTime *string `json:"created_time,omitempty"`

	FinishedTime   *string `json:"finished_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowDeviceMessageResponse) String

func (o ShowDeviceMessageResponse) String() string

type ShowDeviceRequest

type ShowDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`
}

Request Object

func (ShowDeviceRequest) String

func (o ShowDeviceRequest) String() string

type ShowDeviceResponse

type ShowDeviceResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	NodeId *string `json:"node_id,omitempty"`

	GatewayId *string `json:"gateway_id,omitempty"`

	DeviceName *string `json:"device_name,omitempty"`

	NodeType *string `json:"node_type,omitempty"`

	Description *string `json:"description,omitempty"`

	FwVersion *string `json:"fw_version,omitempty"`

	SwVersion *string `json:"sw_version,omitempty"`

	AuthInfo *AuthInfo `json:"auth_info,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	ProductName *string `json:"product_name,omitempty"`

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

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

	Tags *[]TagV5Dto `json:"tags,omitempty"`

	ExtensionInfo  *interface{} `json:"extension_info,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowDeviceResponse) String

func (o ShowDeviceResponse) String() string

type ShowDeviceShadowRequest

type ShowDeviceShadowRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`
}

Request Object

func (ShowDeviceShadowRequest) String

func (o ShowDeviceShadowRequest) String() string

type ShowDeviceShadowResponse

type ShowDeviceShadowResponse struct {
	DeviceId *string `json:"device_id,omitempty"`

	Shadow         *[]DeviceShadowData `json:"shadow,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ShowDeviceShadowResponse) String

func (o ShowDeviceShadowResponse) String() string

type ShowDevicesInGroupRequest

type ShowDevicesInGroupRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	GroupId string `json:"group_id"`

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

	Marker *string `json:"marker,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ShowDevicesInGroupRequest) String

func (o ShowDevicesInGroupRequest) String() string

type ShowDevicesInGroupResponse

type ShowDevicesInGroupResponse struct {
	Devices *[]SimplifyDevice `json:"devices,omitempty"`

	Page           *Page `json:"page,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowDevicesInGroupResponse) String

type ShowProductRequest

type ShowProductRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ProductId string `json:"product_id"`

	AppId *string `json:"app_id,omitempty"`
}

Request Object

func (ShowProductRequest) String

func (o ShowProductRequest) String() string

type ShowProductResponse

type ShowProductResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

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

	DeviceType *string `json:"device_type,omitempty"`

	ProtocolType *string `json:"protocol_type,omitempty"`

	DataFormat *string `json:"data_format,omitempty"`

	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	Industry *string `json:"industry,omitempty"`

	Description *string `json:"description,omitempty"`

	ServiceCapabilities *[]ServiceCapability `json:"service_capabilities,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowProductResponse) String

func (o ShowProductResponse) String() string

type ShowQueueRequest

type ShowQueueRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	QueueId string `json:"queue_id"`
}

Request Object

func (ShowQueueRequest) String

func (o ShowQueueRequest) String() string

type ShowQueueResponse

type ShowQueueResponse struct {
	QueueId *string `json:"queue_id,omitempty"`

	QueueName *string `json:"queue_name,omitempty"`

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

	LastModifyTime *string `json:"last_modify_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowQueueResponse) String

func (o ShowQueueResponse) String() string

type ShowRoutingRuleRequest

type ShowRoutingRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`
}

Request Object

func (ShowRoutingRuleRequest) String

func (o ShowRoutingRuleRequest) String() string

type ShowRoutingRuleResponse

type ShowRoutingRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	RuleName *string `json:"rule_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Subject *RoutingRuleSubject `json:"subject,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Select *string `json:"select,omitempty"`

	Where *string `json:"where,omitempty"`

	Active         *bool `json:"active,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowRoutingRuleResponse) String

func (o ShowRoutingRuleResponse) String() string

type ShowRuleActionRequest

type ShowRuleActionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ActionId string `json:"action_id"`
}

Request Object

func (ShowRuleActionRequest) String

func (o ShowRuleActionRequest) String() string

type ShowRuleActionResponse

type ShowRuleActionResponse struct {
	ActionId *string `json:"action_id,omitempty"`

	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Channel *string `json:"channel,omitempty"`

	ChannelDetail *ChannelDetail `json:"channel_detail,omitempty"`

	Batch          *bool `json:"batch,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowRuleActionResponse) String

func (o ShowRuleActionResponse) String() string

type ShowRuleRequest

type ShowRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`
}

Request Object

func (ShowRuleRequest) String

func (o ShowRuleRequest) String() string

type ShowRuleResponse

type ShowRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	ConditionGroup *ConditionGroup `json:"condition_group,omitempty"`

	Actions *[]RuleAction `json:"actions,omitempty"`

	RuleType *string `json:"rule_type,omitempty"`

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

	AppId *string `json:"app_id,omitempty"`

	EdgeNodeIds *[]string `json:"edge_node_ids,omitempty"`

	LastUpdateTime *string `json:"last_update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRuleResponse) String

func (o ShowRuleResponse) String() string

type ShowSubscriptionRequest

type ShowSubscriptionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	SubscriptionId string `json:"subscription_id"`
}

Request Object

func (ShowSubscriptionRequest) String

func (o ShowSubscriptionRequest) String() string

type ShowSubscriptionResponse

type ShowSubscriptionResponse struct {
	SubscriptionId *string `json:"subscription_id,omitempty"`

	Subject *Subject `json:"subject,omitempty"`

	Callbackurl *string `json:"callbackurl,omitempty"`

	Channel        *string `json:"channel,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowSubscriptionResponse) String

func (o ShowSubscriptionResponse) String() string

type SimpleTimerType

type SimpleTimerType struct {
	StartTime string `json:"start_time"`

	RepeatInterval int32 `json:"repeat_interval"`

	RepeatCount int32 `json:"repeat_count"`
}

条件中简单定时类型的信息,自定义结构。

func (SimpleTimerType) String

func (o SimpleTimerType) String() string

type SimplifyDevice

type SimplifyDevice struct {
	DeviceId *string `json:"device_id,omitempty"`

	NodeId *string `json:"node_id,omitempty"`

	DeviceName *string `json:"device_name,omitempty"`

	ProductId *string `json:"product_id,omitempty"`
}

设备信息结构体,批量查询返回。

func (SimplifyDevice) String

func (o SimplifyDevice) String() string

type Strategy

type Strategy struct {
	Trigger *string `json:"trigger,omitempty"`

	EventValidTime *int32 `json:"event_valid_time,omitempty"`
}

配置条件处理策略,用于确定规则是否判断上次数据是否满足条件。当rule_type类型为 “DEVICE_LINKAGE”时,为必选参数。默认为pulse触发类型,事件有效性为永久有效

func (Strategy) String

func (o Strategy) String() string

type Subject

type Subject struct {
	Resource string `json:"resource"`

	Event string `json:"event"`
}

创建或修改订阅主题时,指定订阅资源及其范围

func (Subject) String

func (o Subject) String() string

type SubscriptionItem

type SubscriptionItem struct {
	SubscriptionId *string `json:"subscription_id,omitempty"`

	Subject *Subject `json:"subject,omitempty"`

	Callbackurl *string `json:"callbackurl,omitempty"`

	Channel *string `json:"channel,omitempty"`
}

func (SubscriptionItem) String

func (o SubscriptionItem) String() string

type TagDeviceRequest

type TagDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *BindTagsDto `json:"body,omitempty"`
}

Request Object

func (TagDeviceRequest) String

func (o TagDeviceRequest) String() string

type TagDeviceResponse

type TagDeviceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (TagDeviceResponse) String

func (o TagDeviceResponse) String() string

type TagV5Dto

type TagV5Dto struct {
	TagKey string `json:"tag_key"`

	TagValue *string `json:"tag_value,omitempty"`
}

标签结构体。

func (TagV5Dto) String

func (o TagV5Dto) String() string

type Task

type Task struct {
	TaskId *string `json:"task_id,omitempty"`

	TaskName *string `json:"task_name,omitempty"`

	TaskType *string `json:"task_type,omitempty"`

	Targets *[]string `json:"targets,omitempty"`

	TargetsFilter map[string]interface{} `json:"targets_filter,omitempty"`

	Document *interface{} `json:"document,omitempty"`

	TaskPolicy *TaskPolicy `json:"task_policy,omitempty"`

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

	StatusDesc *string `json:"status_desc,omitempty"`

	TaskProgress *TaskProgress `json:"task_progress,omitempty"`

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

func (Task) String

func (o Task) String() string

type TaskDetail

type TaskDetail struct {
	Target *string `json:"target,omitempty"`

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

	Output *string `json:"output,omitempty"`

	Error *ErrorInfo `json:"error,omitempty"`
}

单个子任务详情结构体

func (TaskDetail) String

func (o TaskDetail) String() string

type TaskPolicy

type TaskPolicy struct {
	ScheduleTime *string `json:"schedule_time,omitempty"`

	RetryCount *int32 `json:"retry_count,omitempty"`

	RetryInterval *int32 `json:"retry_interval,omitempty"`
}

func (TaskPolicy) String

func (o TaskPolicy) String() string

type TaskProgress

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

	Processing *int32 `json:"processing,omitempty"`

	Success *int32 `json:"success,omitempty"`

	Fail *int32 `json:"fail,omitempty"`

	Waitting *int32 `json:"waitting,omitempty"`

	FailWaitRetry *int32 `json:"fail_wait_retry,omitempty"`

	Stopped *int32 `json:"stopped,omitempty"`
}

任务执行状态统计对象,用于统计任务的整体执行情况。

func (TaskProgress) String

func (o TaskProgress) String() string

type TimeRange

type TimeRange struct {
	StartTime string `json:"start_time"`

	EndTime string `json:"end_time"`

	DaysOfWeek *string `json:"days_of_week,omitempty"`
}

规则有效时间段

func (TimeRange) String

func (o TimeRange) String() string

type UnbindTagsDto

type UnbindTagsDto struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`

	TagKeys []string `json:"tag_keys"`
}

创建标签请求结构体。

func (UnbindTagsDto) String

func (o UnbindTagsDto) String() string

type UnfreezeDeviceRequest

type UnfreezeDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`
}

Request Object

func (UnfreezeDeviceRequest) String

func (o UnfreezeDeviceRequest) String() string

type UnfreezeDeviceResponse

type UnfreezeDeviceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UnfreezeDeviceResponse) String

func (o UnfreezeDeviceResponse) String() string

type UntagDeviceRequest

type UntagDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *UnbindTagsDto `json:"body,omitempty"`
}

Request Object

func (UntagDeviceRequest) String

func (o UntagDeviceRequest) String() string

type UntagDeviceResponse

type UntagDeviceResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UntagDeviceResponse) String

func (o UntagDeviceResponse) String() string

type UpdateActionReq

type UpdateActionReq struct {
	Channel *string `json:"channel,omitempty"`

	ChannelDetail *ChannelDetail `json:"channel_detail,omitempty"`

	Batch *bool `json:"batch,omitempty"`
}

修改规则动作请求结构体

func (UpdateActionReq) String

func (o UpdateActionReq) String() string

type UpdateDesired

type UpdateDesired struct {
	ServiceId string `json:"service_id"`

	Desired *interface{} `json:"desired"`

	Version *int64 `json:"version,omitempty"`
}

修改设备影子预期数据结构体。

func (UpdateDesired) String

func (o UpdateDesired) String() string

type UpdateDesireds

type UpdateDesireds struct {
	Shadow *[]UpdateDesired `json:"shadow,omitempty"`
}

修改设备影子预期数据结构体。

func (UpdateDesireds) String

func (o UpdateDesireds) String() string

type UpdateDevice

type UpdateDevice struct {
	DeviceName *string `json:"device_name,omitempty"`

	Description *string `json:"description,omitempty"`

	ExtensionInfo *interface{} `json:"extension_info,omitempty"`

	AuthInfo *AuthInfoWithoutSecret `json:"auth_info,omitempty"`
}

修改设备信息对象。

func (UpdateDevice) String

func (o UpdateDevice) String() string

type UpdateDeviceGroupDto

type UpdateDeviceGroupDto struct {
	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`
}

更新设备组请求结构体

func (UpdateDeviceGroupDto) String

func (o UpdateDeviceGroupDto) String() string

type UpdateDeviceGroupRequest

type UpdateDeviceGroupRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	GroupId string `json:"group_id"`

	Body *UpdateDeviceGroupDto `json:"body,omitempty"`
}

Request Object

func (UpdateDeviceGroupRequest) String

func (o UpdateDeviceGroupRequest) String() string

type UpdateDeviceGroupResponse

type UpdateDeviceGroupResponse struct {
	GroupId *string `json:"group_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	SuperGroupId   *string `json:"super_group_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDeviceGroupResponse) String

func (o UpdateDeviceGroupResponse) String() string

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`

	Body *UpdateDevice `json:"body,omitempty"`
}

Request Object

func (UpdateDeviceRequest) String

func (o UpdateDeviceRequest) String() string

type UpdateDeviceResponse

type UpdateDeviceResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

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

	NodeId *string `json:"node_id,omitempty"`

	GatewayId *string `json:"gateway_id,omitempty"`

	DeviceName *string `json:"device_name,omitempty"`

	NodeType *string `json:"node_type,omitempty"`

	Description *string `json:"description,omitempty"`

	FwVersion *string `json:"fw_version,omitempty"`

	SwVersion *string `json:"sw_version,omitempty"`

	AuthInfo *AuthInfo `json:"auth_info,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

	ProductName *string `json:"product_name,omitempty"`

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

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

	Tags *[]TagV5Dto `json:"tags,omitempty"`

	ExtensionInfo  *interface{} `json:"extension_info,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (UpdateDeviceResponse) String

func (o UpdateDeviceResponse) String() string

type UpdateDeviceShadowDesiredDataRequest

type UpdateDeviceShadowDesiredDataRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	DeviceId string `json:"device_id"`

	Body *UpdateDesireds `json:"body,omitempty"`
}

Request Object

func (UpdateDeviceShadowDesiredDataRequest) String

type UpdateDeviceShadowDesiredDataResponse

type UpdateDeviceShadowDesiredDataResponse struct {
	DeviceId *string `json:"device_id,omitempty"`

	Shadow         *[]DeviceShadowData `json:"shadow,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (UpdateDeviceShadowDesiredDataResponse) String

type UpdateProduct

type UpdateProduct struct {
	AppId *string `json:"app_id,omitempty"`

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

	DeviceType *string `json:"device_type,omitempty"`

	ProtocolType *string `json:"protocol_type,omitempty"`

	DataFormat *string `json:"data_format,omitempty"`

	ServiceCapabilities *[]ServiceCapability `json:"service_capabilities,omitempty"`

	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	Industry *string `json:"industry,omitempty"`

	Description *string `json:"description,omitempty"`
}

修改产品信息结构体。

func (UpdateProduct) String

func (o UpdateProduct) String() string

type UpdateProductRequest

type UpdateProductRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ProductId string `json:"product_id"`

	Body *UpdateProduct `json:"body,omitempty"`
}

Request Object

func (UpdateProductRequest) String

func (o UpdateProductRequest) String() string

type UpdateProductResponse

type UpdateProductResponse struct {
	AppId *string `json:"app_id,omitempty"`

	AppName *string `json:"app_name,omitempty"`

	ProductId *string `json:"product_id,omitempty"`

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

	DeviceType *string `json:"device_type,omitempty"`

	ProtocolType *string `json:"protocol_type,omitempty"`

	DataFormat *string `json:"data_format,omitempty"`

	ManufacturerName *string `json:"manufacturer_name,omitempty"`

	Industry *string `json:"industry,omitempty"`

	Description *string `json:"description,omitempty"`

	ServiceCapabilities *[]ServiceCapability `json:"service_capabilities,omitempty"`

	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateProductResponse) String

func (o UpdateProductResponse) String() string

type UpdatePropertiesRequest

type UpdatePropertiesRequest struct {
	DeviceId string `json:"device_id"`

	StageAuthToken *string `json:"Stage-Auth-Token,omitempty"`

	InstanceId *string `json:"Instance-Id,omitempty"`

	Body *DevicePropertiesRequest `json:"body,omitempty"`
}

Request Object

func (UpdatePropertiesRequest) String

func (o UpdatePropertiesRequest) String() string

type UpdatePropertiesResponse

type UpdatePropertiesResponse struct {
	Response       *interface{} `json:"response,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (UpdatePropertiesResponse) String

func (o UpdatePropertiesResponse) String() string

type UpdateRoutingRuleRequest

type UpdateRoutingRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`

	Body *UpdateRuleReq `json:"body,omitempty"`
}

Request Object

func (UpdateRoutingRuleRequest) String

func (o UpdateRoutingRuleRequest) String() string

type UpdateRoutingRuleResponse

type UpdateRoutingRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

	RuleName *string `json:"rule_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Subject *RoutingRuleSubject `json:"subject,omitempty"`

	AppType *string `json:"app_type,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Select *string `json:"select,omitempty"`

	Where *string `json:"where,omitempty"`

	Active         *bool `json:"active,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (UpdateRoutingRuleResponse) String

func (o UpdateRoutingRuleResponse) String() string

type UpdateRuleActionRequest

type UpdateRuleActionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	ActionId string `json:"action_id"`

	Body *UpdateActionReq `json:"body,omitempty"`
}

Request Object

func (UpdateRuleActionRequest) String

func (o UpdateRuleActionRequest) String() string

type UpdateRuleActionResponse

type UpdateRuleActionResponse struct {
	ActionId *string `json:"action_id,omitempty"`

	RuleId *string `json:"rule_id,omitempty"`

	AppId *string `json:"app_id,omitempty"`

	Channel *string `json:"channel,omitempty"`

	ChannelDetail *ChannelDetail `json:"channel_detail,omitempty"`

	Batch          *bool `json:"batch,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (UpdateRuleActionResponse) String

func (o UpdateRuleActionResponse) String() string

type UpdateRuleReq

type UpdateRuleReq struct {
	RuleName *string `json:"rule_name,omitempty"`

	Description *string `json:"description,omitempty"`

	Select *string `json:"select,omitempty"`

	Where *string `json:"where,omitempty"`

	Active *bool `json:"active,omitempty"`
}

修改规则触发条件请求结构体

func (UpdateRuleReq) String

func (o UpdateRuleReq) String() string

type UpdateRuleRequest

type UpdateRuleRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	RuleId string `json:"rule_id"`

	Body *Rule `json:"body,omitempty"`
}

Request Object

func (UpdateRuleRequest) String

func (o UpdateRuleRequest) String() string

type UpdateRuleResponse

type UpdateRuleResponse struct {
	RuleId *string `json:"rule_id,omitempty"`

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

	Description *string `json:"description,omitempty"`

	ConditionGroup *ConditionGroup `json:"condition_group,omitempty"`

	Actions *[]RuleAction `json:"actions,omitempty"`

	RuleType *string `json:"rule_type,omitempty"`

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

	AppId *string `json:"app_id,omitempty"`

	EdgeNodeIds *[]string `json:"edge_node_ids,omitempty"`

	LastUpdateTime *string `json:"last_update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateRuleResponse) String

func (o UpdateRuleResponse) String() string

type UpdateSubReq

type UpdateSubReq struct {
	Callbackurl *string `json:"callbackurl,omitempty"`
}

修改订阅主题请求结构体

func (UpdateSubReq) String

func (o UpdateSubReq) String() string

type UpdateSubscriptionRequest

type UpdateSubscriptionRequest struct {
	InstanceId *string `json:"Instance-Id,omitempty"`

	SubscriptionId string `json:"subscription_id"`

	Body *UpdateSubReq `json:"body,omitempty"`
}

Request Object

func (UpdateSubscriptionRequest) String

func (o UpdateSubscriptionRequest) String() string

type UpdateSubscriptionResponse

type UpdateSubscriptionResponse struct {
	SubscriptionId *string `json:"subscription_id,omitempty"`

	Subject *Subject `json:"subject,omitempty"`

	Callbackurl *string `json:"callbackurl,omitempty"`

	Channel        *string `json:"channel,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateSubscriptionResponse) String

type VerifyCertificateDto

type VerifyCertificateDto struct {
	VerifyContent string `json:"verify_content"`
}

验证CA证书结构体。

func (VerifyCertificateDto) String

func (o VerifyCertificateDto) String() string

Source Files

Jump to

Keyboard shortcuts

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