Documentation ¶
Index ¶
- type ActionDeviceAlarm
- type ActionDeviceCommand
- type ActionSmnForwarding
- type AddActionReq
- type AddApplication
- type AddApplicationRequest
- type AddApplicationResponse
- type AddCertificateRequest
- type AddCertificateResponse
- type AddDevice
- type AddDeviceGroupDto
- type AddDeviceGroupRequest
- type AddDeviceGroupResponse
- type AddDeviceRequest
- type AddDeviceResponse
- type AddProduct
- type AddQueueRequest
- type AddQueueResponse
- type AddRuleReq
- type AmqpForwarding
- type ApplicationDto
- type AsyncDeviceCommandRequest
- type AuthInfo
- type AuthInfoWithoutSecret
- type BatchShowQueueRequest
- type BatchShowQueueResponse
- type BatchTaskFile
- type BindTagsDto
- type CertificatesRspDto
- type ChangeRuleStatusRequest
- type ChangeRuleStatusResponse
- type ChannelDetail
- type CheckCertificateRequest
- type CheckCertificateResponse
- type Cmd
- type ConditionGroup
- type CreateAccessCodeRequest
- type CreateAccessCodeRequestBody
- type CreateAccessCodeResponse
- type CreateAsyncCommandRequest
- type CreateAsyncCommandResponse
- type CreateBatchTask
- type CreateBatchTaskRequest
- type CreateBatchTaskResponse
- type CreateCertificateDto
- type CreateCommandRequest
- type CreateCommandResponse
- type CreateMessageRequest
- type CreateMessageResponse
- type CreateOrDeleteDeviceInGroupRequest
- type CreateOrDeleteDeviceInGroupResponse
- type CreateProductRequest
- type CreateProductResponse
- type CreateRoutingRuleRequest
- type CreateRoutingRuleResponse
- type CreateRuleActionRequest
- type CreateRuleActionResponse
- type CreateRuleRequest
- type CreateRuleResponse
- type DailyTimerType
- type DeleteApplicationRequest
- type DeleteApplicationResponse
- type DeleteBatchTaskFileRequest
- type DeleteBatchTaskFileResponse
- type DeleteCertificateRequest
- type DeleteCertificateResponse
- type DeleteDeviceGroupRequest
- type DeleteDeviceGroupResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteProductRequest
- type DeleteProductResponse
- type DeleteQueueRequest
- type DeleteQueueResponse
- type DeleteRoutingRuleRequest
- type DeleteRoutingRuleResponse
- type DeleteRuleActionRequest
- type DeleteRuleActionResponse
- type DeleteRuleRequest
- type DeleteRuleResponse
- type DeviceCommandRequest
- type DeviceDataCondition
- type DeviceGroupResponseDto
- type DeviceMessage
- type DeviceMessageRequest
- type DevicePropertiesRequest
- type DeviceShadowData
- type DeviceShadowProperties
- type DisForwarding
- type DmsKafkaForwarding
- type ErrorInfo
- type FreezeDeviceRequest
- type FreezeDeviceResponse
- type HttpForwarding
- type InitialDesired
- type ListBatchTaskFilesRequest
- type ListBatchTaskFilesResponse
- type ListBatchTasksRequest
- type ListBatchTasksResponse
- type ListCertificatesRequest
- type ListCertificatesResponse
- type ListDeviceGroupsRequest
- type ListDeviceGroupsResponse
- type ListDeviceMessagesRequest
- type ListDeviceMessagesResponse
- type ListDevicesRequest
- type ListDevicesResponse
- type ListProductsRequest
- type ListProductsResponse
- type ListPropertiesRequest
- type ListPropertiesResponse
- type ListResourcesByTagsRequest
- type ListResourcesByTagsResponse
- type ListRoutingRulesRequest
- type ListRoutingRulesResponse
- type ListRuleActionsRequest
- type ListRuleActionsResponse
- type ListRulesRequest
- type ListRulesResponse
- type MessageResult
- type NetAddress
- type ObsForwarding
- type Page
- type ProductSummary
- type PropertyFilter
- type QueryDeviceSimplify
- type QueryQueueBase
- type QueryResourceByTagsDto
- type QueueInfo
- type ResetDeviceSecret
- type ResetDeviceSecretRequest
- type ResetDeviceSecretResponse
- type ResourceDto
- type RoutingRule
- type RoutingRuleAction
- type RoutingRuleSubject
- type Rule
- type RuleAction
- type RuleCondition
- type RuleResponse
- type RuleStatus
- type ServiceCapability
- type ServiceCommand
- type ServiceCommandPara
- type ServiceCommandResponse
- type ServiceEvent
- type ServiceProperty
- type ShowApplicationRequest
- type ShowApplicationResponse
- type ShowApplicationsRequest
- type ShowApplicationsResponse
- type ShowAsyncDeviceCommandRequest
- type ShowAsyncDeviceCommandResponse
- type ShowBatchTaskRequest
- type ShowBatchTaskResponse
- type ShowDeviceGroupRequest
- type ShowDeviceGroupResponse
- type ShowDeviceMessageRequest
- type ShowDeviceMessageResponse
- type ShowDeviceRequest
- type ShowDeviceResponse
- type ShowDeviceShadowRequest
- type ShowDeviceShadowResponse
- type ShowDevicesInGroupRequest
- type ShowDevicesInGroupResponse
- type ShowProductRequest
- type ShowProductResponse
- type ShowQueueRequest
- type ShowQueueResponse
- type ShowRoutingRuleRequest
- type ShowRoutingRuleResponse
- type ShowRuleActionRequest
- type ShowRuleActionResponse
- type ShowRuleRequest
- type ShowRuleResponse
- type SimpleTimerType
- type SimplifyDevice
- type Strategy
- type TagDeviceRequest
- type TagDeviceResponse
- type TagV5Dto
- type Task
- type TaskDetail
- type TaskPolicy
- type TaskProgress
- type TimeRange
- type UnbindTagsDto
- type UnfreezeDeviceRequest
- type UnfreezeDeviceResponse
- type UntagDeviceRequest
- type UntagDeviceResponse
- type UpdateActionReq
- type UpdateDesired
- type UpdateDesireds
- type UpdateDevice
- type UpdateDeviceGroupDto
- type UpdateDeviceGroupRequest
- type UpdateDeviceGroupResponse
- type UpdateDeviceRequest
- type UpdateDeviceResponse
- type UpdateDeviceShadowDesiredDataRequest
- type UpdateDeviceShadowDesiredDataResponse
- type UpdateProduct
- type UpdateProductRequest
- type UpdateProductResponse
- type UpdatePropertiesRequest
- type UpdatePropertiesResponse
- type UpdateRoutingRuleRequest
- type UpdateRoutingRuleResponse
- type UpdateRuleActionRequest
- type UpdateRuleActionResponse
- type UpdateRuleReq
- type UpdateRuleRequest
- type UpdateRuleResponse
- type VerifyCertificateDto
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 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"` }
创建规则动作请求结构体
func (AddActionReq) String ¶
func (o AddActionReq) String() string
type AddApplication ¶
type AddApplication struct {
AppName string `json:"app_name"`
}
创建资源空间结构体。
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"` 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"` }
添加设备结构体。
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"` DeviceSdkVersion *string `json:"device_sdk_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"` }
规则触发条件请求结构体
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"` }
资源空间详情结构体。
func (ApplicationDto) String ¶
func (o ApplicationDto) 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"` }
设备接入类型。
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"` }
物联网平台转发数据的通道配置参数。
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”时有效,且为必选
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 ¶
func (o CreateAccessCodeRequestBody) String() 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 ¶
func (o CreateAsyncCommandResponse) String() 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 ¶
func (o CreateOrDeleteDeviceInGroupRequest) String() string
type CreateOrDeleteDeviceInGroupResponse ¶
type CreateOrDeleteDeviceInGroupResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateOrDeleteDeviceInGroupResponse) String ¶
func (o CreateOrDeleteDeviceInGroupResponse) String() 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"` 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"` 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 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 ¶
func (o DeleteBatchTaskFileRequest) String() string
type DeleteBatchTaskFileResponse ¶
type DeleteBatchTaskFileResponse struct { Body *string `json:"body,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (DeleteBatchTaskFileResponse) String ¶
func (o DeleteBatchTaskFileResponse) String() 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 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 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 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"` }
错误码消息
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 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 InitialDesired ¶
type InitialDesired struct { ServiceId string `json:"service_id"` Desired *interface{} `json:"desired"` }
设备初始配置数据结构体。
func (InitialDesired) String ¶
func (o InitialDesired) String() 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 ¶
func (o ListBatchTaskFilesResponse) String() 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 ¶
func (o ListDeviceMessagesResponse) String() 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"` 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 ¶
func (o ListResourcesByTagsRequest) String() string
type ListResourcesByTagsResponse ¶
type ListResourcesByTagsResponse struct { Resources *[]ResourceDto `json:"resources,omitempty"` Page *Page `json:"page,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListResourcesByTagsResponse) String ¶
func (o ListResourcesByTagsResponse) String() 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 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 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 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"` DeviceSdkVersion *string `json:"device_sdk_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 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 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"` }
创建或修改规则动作响应结构体
func (RoutingRuleAction) String ¶
func (o RoutingRuleAction) String() string
type RoutingRuleSubject ¶
创建或修改规则条件时,指定资源及其范围
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"` }
规则请求结构体
type RuleAction ¶
type RuleAction struct { Type string `json:"type"` SmnForwarding *ActionSmnForwarding `json:"smn_forwarding,omitempty"` DeviceAlarm *ActionDeviceAlarm `json:"device_alarm,omitempty"` DeviceCommand *ActionDeviceCommand `json:"device_command,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"` }
规则条件结构体
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"` 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 ¶
func (o ShowAsyncDeviceCommandRequest) String() 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 ¶
func (o ShowAsyncDeviceCommandResponse) String() 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"` DeviceSdkVersion *string `json:"device_sdk_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 ¶
func (o ShowDevicesInGroupResponse) String() 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"` 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 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触发类型,事件有效性为永久有效
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"` }
标签结构体。
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"` }
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"` }
规则有效时间段
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"` }
修改规则动作请求结构体
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"` DeviceSdkVersion *string `json:"device_sdk_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 ¶
func (o UpdateDeviceShadowDesiredDataRequest) String() 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 ¶
func (o UpdateDeviceShadowDesiredDataResponse) String() 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"` 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"` 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 VerifyCertificateDto ¶
type VerifyCertificateDto struct {
VerifyContent string `json:"verify_content"`
}
验证CA证书结构体。
func (VerifyCertificateDto) String ¶
func (o VerifyCertificateDto) String() string
Source Files ¶
- model_action_device_alarm.go
- model_action_device_command.go
- model_action_smn_forwarding.go
- model_add_action_req.go
- model_add_application.go
- model_add_application_request.go
- model_add_application_response.go
- model_add_certificate_request.go
- model_add_certificate_response.go
- model_add_device.go
- model_add_device_group_dto.go
- model_add_device_group_request.go
- model_add_device_group_response.go
- model_add_device_request.go
- model_add_device_response.go
- model_add_product.go
- model_add_queue_request.go
- model_add_queue_response.go
- model_add_rule_req.go
- model_amqp_forwarding.go
- model_application_dto.go
- model_async_device_command_request.go
- model_auth_info.go
- model_auth_info_without_secret.go
- model_batch_show_queue_request.go
- model_batch_show_queue_response.go
- model_batch_task_file.go
- model_bind_tags_dto.go
- model_certificates_rsp_dto.go
- model_change_rule_status_request.go
- model_change_rule_status_response.go
- model_channel_detail.go
- model_check_certificate_request.go
- model_check_certificate_response.go
- model_cmd.go
- model_condition_group.go
- model_create_access_code_request.go
- model_create_access_code_request_body.go
- model_create_access_code_response.go
- model_create_async_command_request.go
- model_create_async_command_response.go
- model_create_batch_task.go
- model_create_batch_task_request.go
- model_create_batch_task_response.go
- model_create_certificate_dto.go
- model_create_command_request.go
- model_create_command_response.go
- model_create_message_request.go
- model_create_message_response.go
- model_create_or_delete_device_in_group_request.go
- model_create_or_delete_device_in_group_response.go
- model_create_product_request.go
- model_create_product_response.go
- model_create_routing_rule_request.go
- model_create_routing_rule_response.go
- model_create_rule_action_request.go
- model_create_rule_action_response.go
- model_create_rule_request.go
- model_create_rule_response.go
- model_daily_timer_type.go
- model_delete_application_request.go
- model_delete_application_response.go
- model_delete_batch_task_file_request.go
- model_delete_batch_task_file_response.go
- model_delete_certificate_request.go
- model_delete_certificate_response.go
- model_delete_device_group_request.go
- model_delete_device_group_response.go
- model_delete_device_request.go
- model_delete_device_response.go
- model_delete_product_request.go
- model_delete_product_response.go
- model_delete_queue_request.go
- model_delete_queue_response.go
- model_delete_routing_rule_request.go
- model_delete_routing_rule_response.go
- model_delete_rule_action_request.go
- model_delete_rule_action_response.go
- model_delete_rule_request.go
- model_delete_rule_response.go
- model_device_command_request.go
- model_device_data_condition.go
- model_device_group_response_dto.go
- model_device_message.go
- model_device_message_request.go
- model_device_properties_request.go
- model_device_shadow_data.go
- model_device_shadow_properties.go
- model_dis_forwarding.go
- model_dms_kafka_forwarding.go
- model_error_info.go
- model_freeze_device_request.go
- model_freeze_device_response.go
- model_http_forwarding.go
- model_initial_desired.go
- model_list_batch_task_files_request.go
- model_list_batch_task_files_response.go
- model_list_batch_tasks_request.go
- model_list_batch_tasks_response.go
- model_list_certificates_request.go
- model_list_certificates_response.go
- model_list_device_groups_request.go
- model_list_device_groups_response.go
- model_list_device_messages_request.go
- model_list_device_messages_response.go
- model_list_devices_request.go
- model_list_devices_response.go
- model_list_products_request.go
- model_list_products_response.go
- model_list_properties_request.go
- model_list_properties_response.go
- model_list_resources_by_tags_request.go
- model_list_resources_by_tags_response.go
- model_list_routing_rules_request.go
- model_list_routing_rules_response.go
- model_list_rule_actions_request.go
- model_list_rule_actions_response.go
- model_list_rules_request.go
- model_list_rules_response.go
- model_message_result.go
- model_net_address.go
- model_obs_forwarding.go
- model_page.go
- model_product_summary.go
- model_property_filter.go
- model_query_device_simplify.go
- model_query_queue_base.go
- model_query_resource_by_tags_dto.go
- model_queue_info.go
- model_reset_device_secret.go
- model_reset_device_secret_request.go
- model_reset_device_secret_response.go
- model_resource_dto.go
- model_routing_rule.go
- model_routing_rule_action.go
- model_routing_rule_subject.go
- model_rule.go
- model_rule_action.go
- model_rule_condition.go
- model_rule_response.go
- model_rule_status.go
- model_service_capability.go
- model_service_command.go
- model_service_command_para.go
- model_service_command_response.go
- model_service_event.go
- model_service_property.go
- model_show_application_request.go
- model_show_application_response.go
- model_show_applications_request.go
- model_show_applications_response.go
- model_show_async_device_command_request.go
- model_show_async_device_command_response.go
- model_show_batch_task_request.go
- model_show_batch_task_response.go
- model_show_device_group_request.go
- model_show_device_group_response.go
- model_show_device_message_request.go
- model_show_device_message_response.go
- model_show_device_request.go
- model_show_device_response.go
- model_show_device_shadow_request.go
- model_show_device_shadow_response.go
- model_show_devices_in_group_request.go
- model_show_devices_in_group_response.go
- model_show_product_request.go
- model_show_product_response.go
- model_show_queue_request.go
- model_show_queue_response.go
- model_show_routing_rule_request.go
- model_show_routing_rule_response.go
- model_show_rule_action_request.go
- model_show_rule_action_response.go
- model_show_rule_request.go
- model_show_rule_response.go
- model_simple_timer_type.go
- model_simplify_device.go
- model_strategy.go
- model_tag_device_request.go
- model_tag_device_response.go
- model_tag_v5_dto.go
- model_task.go
- model_task_detail.go
- model_task_policy.go
- model_task_progress.go
- model_time_range.go
- model_unbind_tags_dto.go
- model_unfreeze_device_request.go
- model_unfreeze_device_response.go
- model_untag_device_request.go
- model_untag_device_response.go
- model_update_action_req.go
- model_update_desired.go
- model_update_desireds.go
- model_update_device.go
- model_update_device_group_dto.go
- model_update_device_group_request.go
- model_update_device_group_response.go
- model_update_device_request.go
- model_update_device_response.go
- model_update_device_shadow_desired_data_request.go
- model_update_device_shadow_desired_data_response.go
- model_update_product.go
- model_update_product_request.go
- model_update_product_response.go
- model_update_properties_request.go
- model_update_properties_response.go
- model_update_routing_rule_request.go
- model_update_routing_rule_response.go
- model_update_rule_action_request.go
- model_update_rule_action_response.go
- model_update_rule_req.go
- model_update_rule_request.go
- model_update_rule_response.go
- model_verify_certificate_dto.go