Documentation
¶
Index ¶
- Constants
- type CallDeviceActionAsyncRequest
- type CallDeviceActionAsyncResponse
- type CallDeviceActionSyncRequest
- type CallDeviceActionSyncResponse
- type Client
- func (c *Client) CallDeviceActionAsync(request *CallDeviceActionAsyncRequest) (response *CallDeviceActionAsyncResponse, err error)
- func (c *Client) CallDeviceActionSync(request *CallDeviceActionSyncRequest) (response *CallDeviceActionSyncResponse, err error)
- func (c *Client) ControlDeviceData(request *ControlDeviceDataRequest) (response *ControlDeviceDataResponse, err error)
- func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
- func (c *Client) CreateLoRaFrequency(request *CreateLoRaFrequencyRequest) (response *CreateLoRaFrequencyResponse, err error)
- func (c *Client) CreateLoRaGateway(request *CreateLoRaGatewayRequest) (response *CreateLoRaGatewayResponse, err error)
- func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
- func (c *Client) CreateStudioProduct(request *CreateStudioProductRequest) (response *CreateStudioProductResponse, err error)
- func (c *Client) CreateTopicRule(request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteLoRaFrequency(request *DeleteLoRaFrequencyRequest) (response *DeleteLoRaFrequencyResponse, err error)
- func (c *Client) DeleteLoRaGateway(request *DeleteLoRaGatewayRequest) (response *DeleteLoRaGatewayResponse, err error)
- func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
- func (c *Client) DeleteStudioProduct(request *DeleteStudioProductRequest) (response *DeleteStudioProductResponse, err error)
- func (c *Client) DeleteTopicRule(request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)
- func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
- func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)
- func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)
- func (c *Client) DescribeFirmwareTask(request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
- func (c *Client) DescribeLoRaFrequency(request *DescribeLoRaFrequencyRequest) (response *DescribeLoRaFrequencyResponse, err error)
- func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)
- func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)
- func (c *Client) DescribeStudioProduct(request *DescribeStudioProductRequest) (response *DescribeStudioProductResponse, err error)
- func (c *Client) DescribeTopicRule(request *DescribeTopicRuleRequest) (response *DescribeTopicRuleResponse, err error)
- func (c *Client) DisableTopicRule(request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)
- func (c *Client) EnableTopicRule(request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)
- func (c *Client) GetCOSURL(request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)
- func (c *Client) GetDeviceList(request *GetDeviceListRequest) (response *GetDeviceListResponse, err error)
- func (c *Client) GetLoRaGatewayList(request *GetLoRaGatewayListRequest) (response *GetLoRaGatewayListResponse, err error)
- func (c *Client) GetProjectList(request *GetProjectListRequest) (response *GetProjectListResponse, err error)
- func (c *Client) GetStudioProductList(request *GetStudioProductListRequest) (response *GetStudioProductListResponse, err error)
- func (c *Client) GetTopicRuleList(request *GetTopicRuleListRequest) (response *GetTopicRuleListResponse, err error)
- func (c *Client) ListEventHistory(request *ListEventHistoryRequest) (response *ListEventHistoryResponse, err error)
- func (c *Client) ListFirmwares(request *ListFirmwaresRequest) (response *ListFirmwaresResponse, err error)
- func (c *Client) ModifyLoRaFrequency(request *ModifyLoRaFrequencyRequest) (response *ModifyLoRaFrequencyResponse, err error)
- func (c *Client) ModifyLoRaGateway(request *ModifyLoRaGatewayRequest) (response *ModifyLoRaGatewayResponse, err error)
- func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)
- func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
- func (c *Client) ModifyStudioProduct(request *ModifyStudioProductRequest) (response *ModifyStudioProductResponse, err error)
- func (c *Client) ModifyTopicRule(request *ModifyTopicRuleRequest) (response *ModifyTopicRuleResponse, err error)
- func (c *Client) PublishMessage(request *PublishMessageRequest) (response *PublishMessageResponse, err error)
- func (c *Client) ReleaseStudioProduct(request *ReleaseStudioProductRequest) (response *ReleaseStudioProductResponse, err error)
- func (c *Client) SearchStudioProduct(request *SearchStudioProductRequest) (response *SearchStudioProductResponse, err error)
- func (c *Client) SearchTopicRule(request *SearchTopicRuleRequest) (response *SearchTopicRuleResponse, err error)
- func (c *Client) UpdateFirmware(request *UpdateFirmwareRequest) (response *UpdateFirmwareResponse, err error)
- func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
- type ControlDeviceDataRequest
- type ControlDeviceDataResponse
- type CreateDeviceRequest
- type CreateDeviceResponse
- type CreateLoRaFrequencyRequest
- type CreateLoRaFrequencyResponse
- type CreateLoRaGatewayRequest
- type CreateLoRaGatewayResponse
- type CreateProjectRequest
- type CreateProjectResponse
- type CreateStudioProductRequest
- type CreateStudioProductResponse
- type CreateTopicRuleRequest
- type CreateTopicRuleResponse
- type DeleteDeviceRequest
- type DeleteDeviceResponse
- type DeleteLoRaFrequencyRequest
- type DeleteLoRaFrequencyResponse
- type DeleteLoRaGatewayRequest
- type DeleteLoRaGatewayResponse
- type DeleteProjectRequest
- type DeleteProjectResponse
- type DeleteStudioProductRequest
- type DeleteStudioProductResponse
- type DeleteTopicRuleRequest
- type DeleteTopicRuleResponse
- type DescribeDeviceDataHistoryRequest
- type DescribeDeviceDataHistoryResponse
- type DescribeDeviceDataRequest
- type DescribeDeviceDataResponse
- type DescribeDeviceRequest
- type DescribeDeviceResponse
- type DescribeFirmwareTaskRequest
- type DescribeFirmwareTaskResponse
- type DescribeLoRaFrequencyRequest
- type DescribeLoRaFrequencyResponse
- type DescribeModelDefinitionRequest
- type DescribeModelDefinitionResponse
- type DescribeProjectRequest
- type DescribeProjectResponse
- type DescribeStudioProductRequest
- type DescribeStudioProductResponse
- type DescribeTopicRuleRequest
- type DescribeTopicRuleResponse
- type DeviceData
- type DeviceDataHistoryItem
- type DeviceInfo
- type DisableTopicRuleRequest
- type DisableTopicRuleResponse
- type EnableTopicRuleRequest
- type EnableTopicRuleResponse
- type EventHistoryItem
- type FirmwareInfo
- type GetCOSURLRequest
- type GetCOSURLResponse
- type GetDeviceListRequest
- type GetDeviceListResponse
- type GetLoRaGatewayListRequest
- type GetLoRaGatewayListResponse
- type GetProjectListRequest
- type GetProjectListResponse
- type GetStudioProductListRequest
- type GetStudioProductListResponse
- type GetTopicRuleListRequest
- type GetTopicRuleListResponse
- type ListEventHistoryRequest
- type ListEventHistoryResponse
- type ListFirmwaresRequest
- type ListFirmwaresResponse
- type LoRaFrequencyEntry
- type LoRaGatewayItem
- type LoRaGatewayLocation
- type ModifyLoRaFrequencyRequest
- type ModifyLoRaFrequencyResponse
- type ModifyLoRaGatewayRequest
- type ModifyLoRaGatewayResponse
- type ModifyModelDefinitionRequest
- type ModifyModelDefinitionResponse
- type ModifyProjectRequest
- type ModifyProjectResponse
- type ModifyStudioProductRequest
- type ModifyStudioProductResponse
- type ModifyTopicRuleRequest
- type ModifyTopicRuleResponse
- type ProductEntry
- type ProductModelDefinition
- type ProjectEntry
- type ProjectEntryEx
- type PublishMessageRequest
- type PublishMessageResponse
- type ReleaseStudioProductRequest
- type ReleaseStudioProductResponse
- type SearchKeyword
- type SearchStudioProductRequest
- type SearchStudioProductResponse
- type SearchTopicRuleRequest
- type SearchTopicRuleResponse
- type TopicRule
- type TopicRuleInfo
- type TopicRulePayload
- type UpdateFirmwareRequest
- type UpdateFirmwareResponse
- type UploadFirmwareRequest
- type UploadFirmwareResponse
Constants ¶
const APIVersion = "2019-04-23"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallDeviceActionAsyncRequest ¶
type CallDeviceActionAsyncRequest struct {
*tchttp.BaseRequest
// 产品Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
ActionId *string `json:"ActionId,omitempty" name:"ActionId"`
// 输入参数
InputParams *string `json:"InputParams,omitempty" name:"InputParams"`
}
func NewCallDeviceActionAsyncRequest ¶
func NewCallDeviceActionAsyncRequest() (request *CallDeviceActionAsyncRequest)
func (*CallDeviceActionAsyncRequest) FromJsonString ¶
func (r *CallDeviceActionAsyncRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CallDeviceActionAsyncRequest) ToJsonString ¶
func (r *CallDeviceActionAsyncRequest) ToJsonString() string
type CallDeviceActionAsyncResponse ¶
type CallDeviceActionAsyncResponse struct {
*tchttp.BaseResponse
Response *struct {
// 调用Id
ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`
// 异步调用状态
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCallDeviceActionAsyncResponse ¶
func NewCallDeviceActionAsyncResponse() (response *CallDeviceActionAsyncResponse)
func (*CallDeviceActionAsyncResponse) FromJsonString ¶
func (r *CallDeviceActionAsyncResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CallDeviceActionAsyncResponse) ToJsonString ¶
func (r *CallDeviceActionAsyncResponse) ToJsonString() string
type CallDeviceActionSyncRequest ¶
type CallDeviceActionSyncRequest struct {
*tchttp.BaseRequest
// 产品Id
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 产品数据模板中行为功能的标识符,由开发者自行根据设备的应用场景定义
ActionId *string `json:"ActionId,omitempty" name:"ActionId"`
// 输入参数
InputParams *string `json:"InputParams,omitempty" name:"InputParams"`
}
func NewCallDeviceActionSyncRequest ¶
func NewCallDeviceActionSyncRequest() (request *CallDeviceActionSyncRequest)
func (*CallDeviceActionSyncRequest) FromJsonString ¶
func (r *CallDeviceActionSyncRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CallDeviceActionSyncRequest) ToJsonString ¶
func (r *CallDeviceActionSyncRequest) ToJsonString() string
type CallDeviceActionSyncResponse ¶
type CallDeviceActionSyncResponse struct {
*tchttp.BaseResponse
Response *struct {
// 调用Id
ClientToken *string `json:"ClientToken,omitempty" name:"ClientToken"`
// 输出参数
// 注意:此字段可能返回 null,表示取不到有效值。
OutputParams *string `json:"OutputParams,omitempty" name:"OutputParams"`
// 返回状态
Status *string `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCallDeviceActionSyncResponse ¶
func NewCallDeviceActionSyncResponse() (response *CallDeviceActionSyncResponse)
func (*CallDeviceActionSyncResponse) FromJsonString ¶
func (r *CallDeviceActionSyncResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CallDeviceActionSyncResponse) ToJsonString ¶
func (r *CallDeviceActionSyncResponse) ToJsonString() string
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CallDeviceActionAsync ¶
func (c *Client) CallDeviceActionAsync(request *CallDeviceActionAsyncRequest) (response *CallDeviceActionAsyncResponse, err error)
提供给用户异步调用设备行为的能力
func (*Client) CallDeviceActionSync ¶
func (c *Client) CallDeviceActionSync(request *CallDeviceActionSyncRequest) (response *CallDeviceActionSyncResponse, err error)
为用户提供同步调用设备行为的能力。
func (*Client) ControlDeviceData ¶
func (c *Client) ControlDeviceData(request *ControlDeviceDataRequest) (response *ControlDeviceDataResponse, err error)
根据设备产品ID、设备名称,设置控制设备的属性数据。
func (*Client) CreateDevice ¶
func (c *Client) CreateDevice(request *CreateDeviceRequest) (response *CreateDeviceResponse, err error)
创建设备
func (*Client) CreateLoRaFrequency ¶
func (c *Client) CreateLoRaFrequency(request *CreateLoRaFrequencyRequest) (response *CreateLoRaFrequencyResponse, err error)
创建 LoRa 自定义频点
func (*Client) CreateLoRaGateway ¶
func (c *Client) CreateLoRaGateway(request *CreateLoRaGatewayRequest) (response *CreateLoRaGatewayResponse, err error)
创建新 LoRa 网关设备接口
func (*Client) CreateProject ¶
func (c *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error)
为用户提供新建项目的能力,用于集中管理产品和应用。
func (*Client) CreateStudioProduct ¶
func (c *Client) CreateStudioProduct(request *CreateStudioProductRequest) (response *CreateStudioProductResponse, err error)
为用户提供新建产品的能力,用于管理用户的设备
func (*Client) CreateTopicRule ¶
func (c *Client) CreateTopicRule(request *CreateTopicRuleRequest) (response *CreateTopicRuleResponse, err error)
创建规则
func (*Client) DeleteDevice ¶
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
删除设备
func (*Client) DeleteLoRaFrequency ¶
func (c *Client) DeleteLoRaFrequency(request *DeleteLoRaFrequencyRequest) (response *DeleteLoRaFrequencyResponse, err error)
提供删除LoRa自定义频点的能力
func (*Client) DeleteLoRaGateway ¶
func (c *Client) DeleteLoRaGateway(request *DeleteLoRaGatewayRequest) (response *DeleteLoRaGatewayResponse, err error)
删除 LoRa 网关的接口
func (*Client) DeleteProject ¶
func (c *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error)
提供删除某个项目的能力
func (*Client) DeleteStudioProduct ¶
func (c *Client) DeleteStudioProduct(request *DeleteStudioProductRequest) (response *DeleteStudioProductResponse, err error)
提供删除某个项目下产品的能力
func (*Client) DeleteTopicRule ¶
func (c *Client) DeleteTopicRule(request *DeleteTopicRuleRequest) (response *DeleteTopicRuleResponse, err error)
删除规则
func (*Client) DescribeDevice ¶
func (c *Client) DescribeDevice(request *DescribeDeviceRequest) (response *DescribeDeviceResponse, err error)
用于查看某个设备的详细信息
func (*Client) DescribeDeviceData ¶
func (c *Client) DescribeDeviceData(request *DescribeDeviceDataRequest) (response *DescribeDeviceDataResponse, err error)
根据设备产品ID、设备名称,获取设备上报的属性数据。
func (*Client) DescribeDeviceDataHistory ¶
func (c *Client) DescribeDeviceDataHistory(request *DescribeDeviceDataHistoryRequest) (response *DescribeDeviceDataHistoryResponse, err error)
获取设备在指定时间范围内上报的历史数据。
func (*Client) DescribeFirmwareTask ¶
func (c *Client) DescribeFirmwareTask(request *DescribeFirmwareTaskRequest) (response *DescribeFirmwareTaskResponse, err error)
查询固件升级任务列表
func (*Client) DescribeLoRaFrequency ¶
func (c *Client) DescribeLoRaFrequency(request *DescribeLoRaFrequencyRequest) (response *DescribeLoRaFrequencyResponse, err error)
提供查询LoRa自定义频点详情的能力
func (*Client) DescribeModelDefinition ¶
func (c *Client) DescribeModelDefinition(request *DescribeModelDefinitionRequest) (response *DescribeModelDefinitionResponse, err error)
查询产品配置的数据模板信息
func (*Client) DescribeProject ¶
func (c *Client) DescribeProject(request *DescribeProjectRequest) (response *DescribeProjectResponse, err error)
查询项目详情
func (*Client) DescribeStudioProduct ¶
func (c *Client) DescribeStudioProduct(request *DescribeStudioProductRequest) (response *DescribeStudioProductResponse, err error)
提供查看产品详细信息的能力,包括产品的ID、数据协议、认证类型等重要参数
func (*Client) DescribeTopicRule ¶
func (c *Client) DescribeTopicRule(request *DescribeTopicRuleRequest) (response *DescribeTopicRuleResponse, err error)
获取规则信息
func (*Client) DisableTopicRule ¶
func (c *Client) DisableTopicRule(request *DisableTopicRuleRequest) (response *DisableTopicRuleResponse, err error)
禁用规则
func (*Client) EnableTopicRule ¶
func (c *Client) EnableTopicRule(request *EnableTopicRuleRequest) (response *EnableTopicRuleResponse, err error)
启用规则
func (*Client) GetCOSURL ¶
func (c *Client) GetCOSURL(request *GetCOSURLRequest) (response *GetCOSURLResponse, err error)
本接口(GetCOSURL)用于获取固件存储在COS的URL
func (*Client) GetDeviceList ¶
func (c *Client) GetDeviceList(request *GetDeviceListRequest) (response *GetDeviceListResponse, err error)
用于查询某个产品下的设备列表
func (*Client) GetLoRaGatewayList ¶
func (c *Client) GetLoRaGatewayList(request *GetLoRaGatewayListRequest) (response *GetLoRaGatewayListResponse, err error)
获取 LoRa 网关列表接口
func (*Client) GetProjectList ¶
func (c *Client) GetProjectList(request *GetProjectListRequest) (response *GetProjectListResponse, err error)
提供查询用户所创建的项目列表查询功能。
func (*Client) GetStudioProductList ¶
func (c *Client) GetStudioProductList(request *GetStudioProductListRequest) (response *GetStudioProductListResponse, err error)
提供查询某个项目下所有产品信息的能力。
func (*Client) GetTopicRuleList ¶
func (c *Client) GetTopicRuleList(request *GetTopicRuleListRequest) (response *GetTopicRuleListResponse, err error)
获取规则列表
func (*Client) ListEventHistory ¶
func (c *Client) ListEventHistory(request *ListEventHistoryRequest) (response *ListEventHistoryResponse, err error)
获取设备的历史事件
func (*Client) ListFirmwares ¶
func (c *Client) ListFirmwares(request *ListFirmwaresRequest) (response *ListFirmwaresResponse, err error)
本接口(ListFirmwares)用于获取固件列表
func (*Client) ModifyLoRaFrequency ¶
func (c *Client) ModifyLoRaFrequency(request *ModifyLoRaFrequencyRequest) (response *ModifyLoRaFrequencyResponse, err error)
修改LoRa自定义频点
func (*Client) ModifyLoRaGateway ¶
func (c *Client) ModifyLoRaGateway(request *ModifyLoRaGatewayRequest) (response *ModifyLoRaGatewayResponse, err error)
修改 LoRa 网关信息
func (*Client) ModifyModelDefinition ¶
func (c *Client) ModifyModelDefinition(request *ModifyModelDefinitionRequest) (response *ModifyModelDefinitionResponse, err error)
提供修改产品的数据模板的能力
func (*Client) ModifyProject ¶
func (c *Client) ModifyProject(request *ModifyProjectRequest) (response *ModifyProjectResponse, err error)
修改项目
func (*Client) ModifyStudioProduct ¶
func (c *Client) ModifyStudioProduct(request *ModifyStudioProductRequest) (response *ModifyStudioProductResponse, err error)
提供修改产品的名称和描述等信息的能力,对于已发布产品不允许进行修改。
func (*Client) ModifyTopicRule ¶
func (c *Client) ModifyTopicRule(request *ModifyTopicRuleRequest) (response *ModifyTopicRuleResponse, err error)
修改规则
func (*Client) PublishMessage ¶
func (c *Client) PublishMessage(request *PublishMessageRequest) (response *PublishMessageResponse, err error)
本接口(PublishMessage)用于使用自定义透传协议进行设备远控
func (*Client) ReleaseStudioProduct ¶
func (c *Client) ReleaseStudioProduct(request *ReleaseStudioProductRequest) (response *ReleaseStudioProductResponse, err error)
产品开发完成并测试通过后,通过发布产品将产品设置为发布状态
func (*Client) SearchStudioProduct ¶
func (c *Client) SearchStudioProduct(request *SearchStudioProductRequest) (response *SearchStudioProductResponse, err error)
提供根据产品名称查找产品的能力
func (*Client) SearchTopicRule ¶
func (c *Client) SearchTopicRule(request *SearchTopicRuleRequest) (response *SearchTopicRuleResponse, err error)
搜索规则
func (*Client) UpdateFirmware ¶
func (c *Client) UpdateFirmware(request *UpdateFirmwareRequest) (response *UpdateFirmwareResponse, err error)
本接口(UpdateFirmware)用于对指定设备发起固件升级请求
func (*Client) UploadFirmware ¶
func (c *Client) UploadFirmware(request *UploadFirmwareRequest) (response *UploadFirmwareResponse, err error)
本接口(UploadFirmware)用于上传设备固件至平台
type ControlDeviceDataRequest ¶
type ControlDeviceDataRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 属性数据, JSON格式字符串, 注意字段需要在物模型属性里定义
Data *string `json:"Data,omitempty" name:"Data"`
// 请求类型 , 不填该参数或者 desired 表示下发属性给设备, reported 表示模拟设备上报属性
Method *string `json:"Method,omitempty" name:"Method"`
// 设备ID,该字段有值将代替 ProductId/DeviceName , 通常情况不需要填写
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
// 上报数据UNIX时间戳(毫秒), 仅对Method:reported有效
DataTimestamp *int64 `json:"DataTimestamp,omitempty" name:"DataTimestamp"`
}
func NewControlDeviceDataRequest ¶
func NewControlDeviceDataRequest() (request *ControlDeviceDataRequest)
func (*ControlDeviceDataRequest) FromJsonString ¶
func (r *ControlDeviceDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ControlDeviceDataRequest) ToJsonString ¶
func (r *ControlDeviceDataRequest) ToJsonString() string
type ControlDeviceDataResponse ¶
type ControlDeviceDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回信息
Data *string `json:"Data,omitempty" name:"Data"`
// JSON字符串, 返回下发控制的结果信息,
// Sent = 1 表示设备已经在线并且订阅了控制下发的mqtt topic
// 注意:此字段可能返回 null,表示取不到有效值。
Result *string `json:"Result,omitempty" name:"Result"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewControlDeviceDataResponse ¶
func NewControlDeviceDataResponse() (response *ControlDeviceDataResponse)
func (*ControlDeviceDataResponse) FromJsonString ¶
func (r *ControlDeviceDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ControlDeviceDataResponse) ToJsonString ¶
func (r *ControlDeviceDataResponse) ToJsonString() string
type CreateDeviceRequest ¶
type CreateDeviceRequest struct {
*tchttp.BaseRequest
// 产品ID。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称。命名规则:[a-zA-Z0-9:_-]{1,48}。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// LoRaWAN 设备地址
DevAddr *string `json:"DevAddr,omitempty" name:"DevAddr"`
// LoRaWAN 应用密钥
AppKey *string `json:"AppKey,omitempty" name:"AppKey"`
// LoRaWAN 设备唯一标识
DevEUI *string `json:"DevEUI,omitempty" name:"DevEUI"`
// LoRaWAN 应用会话密钥
AppSKey *string `json:"AppSKey,omitempty" name:"AppSKey"`
// LoRaWAN 网络会话密钥
NwkSKey *string `json:"NwkSKey,omitempty" name:"NwkSKey"`
}
func NewCreateDeviceRequest ¶
func NewCreateDeviceRequest() (request *CreateDeviceRequest)
func (*CreateDeviceRequest) FromJsonString ¶
func (r *CreateDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceRequest) ToJsonString ¶
func (r *CreateDeviceRequest) ToJsonString() string
type CreateDeviceResponse ¶
type CreateDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备参数描述。
Data *DeviceData `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateDeviceResponse ¶
func NewCreateDeviceResponse() (response *CreateDeviceResponse)
func (*CreateDeviceResponse) FromJsonString ¶
func (r *CreateDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDeviceResponse) ToJsonString ¶
func (r *CreateDeviceResponse) ToJsonString() string
type CreateLoRaFrequencyRequest ¶
type CreateLoRaFrequencyRequest struct {
*tchttp.BaseRequest
// 频点配置名称
FreqName *string `json:"FreqName,omitempty" name:"FreqName"`
// 数据上行信道
ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitempty" name:"ChannelsDataUp" list`
// 数据下行RX1信道
ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitempty" name:"ChannelsDataRX1" list`
// 数据下行RX2信道
ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitempty" name:"ChannelsDataRX2" list`
// 入网上行信道
ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitempty" name:"ChannelsJoinUp" list`
// 入网下行RX1信道
ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitempty" name:"ChannelsJoinRX1" list`
// 入网下行RX2信道
ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitempty" name:"ChannelsJoinRX2" list`
// 频点配置描述
Description *string `json:"Description,omitempty" name:"Description"`
}
func NewCreateLoRaFrequencyRequest ¶
func NewCreateLoRaFrequencyRequest() (request *CreateLoRaFrequencyRequest)
func (*CreateLoRaFrequencyRequest) FromJsonString ¶
func (r *CreateLoRaFrequencyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoRaFrequencyRequest) ToJsonString ¶
func (r *CreateLoRaFrequencyRequest) ToJsonString() string
type CreateLoRaFrequencyResponse ¶
type CreateLoRaFrequencyResponse struct {
*tchttp.BaseResponse
Response *struct {
// LoRa频点信息
Data *LoRaFrequencyEntry `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateLoRaFrequencyResponse ¶
func NewCreateLoRaFrequencyResponse() (response *CreateLoRaFrequencyResponse)
func (*CreateLoRaFrequencyResponse) FromJsonString ¶
func (r *CreateLoRaFrequencyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoRaFrequencyResponse) ToJsonString ¶
func (r *CreateLoRaFrequencyResponse) ToJsonString() string
type CreateLoRaGatewayRequest ¶
type CreateLoRaGatewayRequest struct {
*tchttp.BaseRequest
// LoRa 网关Id
GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`
// 网关名称
Name *string `json:"Name,omitempty" name:"Name"`
// 详情描述
Description *string `json:"Description,omitempty" name:"Description"`
// 位置坐标
Location *LoRaGatewayLocation `json:"Location,omitempty" name:"Location"`
// 位置信息
Position *string `json:"Position,omitempty" name:"Position"`
// 位置详情
PositionDetails *string `json:"PositionDetails,omitempty" name:"PositionDetails"`
// 是否公开
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// 频点ID
FrequencyId *string `json:"FrequencyId,omitempty" name:"FrequencyId"`
}
func NewCreateLoRaGatewayRequest ¶
func NewCreateLoRaGatewayRequest() (request *CreateLoRaGatewayRequest)
func (*CreateLoRaGatewayRequest) FromJsonString ¶
func (r *CreateLoRaGatewayRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoRaGatewayRequest) ToJsonString ¶
func (r *CreateLoRaGatewayRequest) ToJsonString() string
type CreateLoRaGatewayResponse ¶
type CreateLoRaGatewayResponse struct {
*tchttp.BaseResponse
Response *struct {
// LoRa 网关信息
Gateway *LoRaGatewayItem `json:"Gateway,omitempty" name:"Gateway"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateLoRaGatewayResponse ¶
func NewCreateLoRaGatewayResponse() (response *CreateLoRaGatewayResponse)
func (*CreateLoRaGatewayResponse) FromJsonString ¶
func (r *CreateLoRaGatewayResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoRaGatewayResponse) ToJsonString ¶
func (r *CreateLoRaGatewayResponse) ToJsonString() string
type CreateProjectRequest ¶
type CreateProjectRequest struct {
*tchttp.BaseRequest
// 项目名称
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
// 项目描述
ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"`
// 实例ID,不带实例ID,默认为公共实例
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}
func NewCreateProjectRequest ¶
func NewCreateProjectRequest() (request *CreateProjectRequest)
func (*CreateProjectRequest) FromJsonString ¶
func (r *CreateProjectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectRequest) ToJsonString ¶
func (r *CreateProjectRequest) ToJsonString() string
type CreateProjectResponse ¶
type CreateProjectResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回信息
Project *ProjectEntry `json:"Project,omitempty" name:"Project"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateProjectResponse ¶
func NewCreateProjectResponse() (response *CreateProjectResponse)
func (*CreateProjectResponse) FromJsonString ¶
func (r *CreateProjectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProjectResponse) ToJsonString ¶
func (r *CreateProjectResponse) ToJsonString() string
type CreateStudioProductRequest ¶
type CreateStudioProductRequest struct {
*tchttp.BaseRequest
// 产品名称,名称不能和已经存在的产品名称重复。命名规则:[a-zA-Z0-9:_-]{1,32}
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)
CategoryId *int64 `json:"CategoryId,omitempty" name:"CategoryId"`
// 产品类型 填写 ( 0 普通产品 )
ProductType *int64 `json:"ProductType,omitempty" name:"ProductType"`
// 加密类型 加密类型,1表示证书认证,2表示签名认证。
EncryptionType *string `json:"EncryptionType,omitempty" name:"EncryptionType"`
// 连接类型 可以填写 wifi cellular else
NetType *string `json:"NetType,omitempty" name:"NetType"`
// 数据协议 (1 使用物模型 2 为自定义)
DataProtocol *int64 `json:"DataProtocol,omitempty" name:"DataProtocol"`
// 产品描述
ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"`
// 产品的项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
}
func NewCreateStudioProductRequest ¶
func NewCreateStudioProductRequest() (request *CreateStudioProductRequest)
func (*CreateStudioProductRequest) FromJsonString ¶
func (r *CreateStudioProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStudioProductRequest) ToJsonString ¶
func (r *CreateStudioProductRequest) ToJsonString() string
type CreateStudioProductResponse ¶
type CreateStudioProductResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品描述
Product *ProductEntry `json:"Product,omitempty" name:"Product"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateStudioProductResponse ¶
func NewCreateStudioProductResponse() (response *CreateStudioProductResponse)
func (*CreateStudioProductResponse) FromJsonString ¶
func (r *CreateStudioProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateStudioProductResponse) ToJsonString ¶
func (r *CreateStudioProductResponse) ToJsonString() string
type CreateTopicRuleRequest ¶
type CreateTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则内容
TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitempty" name:"TopicRulePayload"`
}
func NewCreateTopicRuleRequest ¶
func NewCreateTopicRuleRequest() (request *CreateTopicRuleRequest)
func (*CreateTopicRuleRequest) FromJsonString ¶
func (r *CreateTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRuleRequest) ToJsonString ¶
func (r *CreateTopicRuleRequest) ToJsonString() string
type CreateTopicRuleResponse ¶
type CreateTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewCreateTopicRuleResponse ¶
func NewCreateTopicRuleResponse() (response *CreateTopicRuleResponse)
func (*CreateTopicRuleResponse) FromJsonString ¶
func (r *CreateTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTopicRuleResponse) ToJsonString ¶
func (r *CreateTopicRuleResponse) ToJsonString() string
type DeleteDeviceRequest ¶
type DeleteDeviceRequest struct {
*tchttp.BaseRequest
// 产品ID。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewDeleteDeviceRequest ¶
func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)
func (*DeleteDeviceRequest) FromJsonString ¶
func (r *DeleteDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceRequest) ToJsonString ¶
func (r *DeleteDeviceRequest) ToJsonString() string
type DeleteDeviceResponse ¶
type DeleteDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 删除的结果代码
// 注意:此字段可能返回 null,表示取不到有效值。
ResultCode *string `json:"ResultCode,omitempty" name:"ResultCode"`
// 删除的结果信息
// 注意:此字段可能返回 null,表示取不到有效值。
ResultMessage *string `json:"ResultMessage,omitempty" name:"ResultMessage"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteDeviceResponse ¶
func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)
func (*DeleteDeviceResponse) FromJsonString ¶
func (r *DeleteDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDeviceResponse) ToJsonString ¶
func (r *DeleteDeviceResponse) ToJsonString() string
type DeleteLoRaFrequencyRequest ¶
type DeleteLoRaFrequencyRequest struct {
*tchttp.BaseRequest
// 频点唯一ID
FreqId *string `json:"FreqId,omitempty" name:"FreqId"`
}
func NewDeleteLoRaFrequencyRequest ¶
func NewDeleteLoRaFrequencyRequest() (request *DeleteLoRaFrequencyRequest)
func (*DeleteLoRaFrequencyRequest) FromJsonString ¶
func (r *DeleteLoRaFrequencyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoRaFrequencyRequest) ToJsonString ¶
func (r *DeleteLoRaFrequencyRequest) ToJsonString() string
type DeleteLoRaFrequencyResponse ¶
type DeleteLoRaFrequencyResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteLoRaFrequencyResponse ¶
func NewDeleteLoRaFrequencyResponse() (response *DeleteLoRaFrequencyResponse)
func (*DeleteLoRaFrequencyResponse) FromJsonString ¶
func (r *DeleteLoRaFrequencyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoRaFrequencyResponse) ToJsonString ¶
func (r *DeleteLoRaFrequencyResponse) ToJsonString() string
type DeleteLoRaGatewayRequest ¶
type DeleteLoRaGatewayRequest struct {
*tchttp.BaseRequest
// LoRa 网关 Id
GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`
}
func NewDeleteLoRaGatewayRequest ¶
func NewDeleteLoRaGatewayRequest() (request *DeleteLoRaGatewayRequest)
func (*DeleteLoRaGatewayRequest) FromJsonString ¶
func (r *DeleteLoRaGatewayRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoRaGatewayRequest) ToJsonString ¶
func (r *DeleteLoRaGatewayRequest) ToJsonString() string
type DeleteLoRaGatewayResponse ¶
type DeleteLoRaGatewayResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteLoRaGatewayResponse ¶
func NewDeleteLoRaGatewayResponse() (response *DeleteLoRaGatewayResponse)
func (*DeleteLoRaGatewayResponse) FromJsonString ¶
func (r *DeleteLoRaGatewayResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoRaGatewayResponse) ToJsonString ¶
func (r *DeleteLoRaGatewayResponse) ToJsonString() string
type DeleteProjectRequest ¶
type DeleteProjectRequest struct {
*tchttp.BaseRequest
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
}
func NewDeleteProjectRequest ¶
func NewDeleteProjectRequest() (request *DeleteProjectRequest)
func (*DeleteProjectRequest) FromJsonString ¶
func (r *DeleteProjectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectRequest) ToJsonString ¶
func (r *DeleteProjectRequest) ToJsonString() string
type DeleteProjectResponse ¶
type DeleteProjectResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteProjectResponse ¶
func NewDeleteProjectResponse() (response *DeleteProjectResponse)
func (*DeleteProjectResponse) FromJsonString ¶
func (r *DeleteProjectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProjectResponse) ToJsonString ¶
func (r *DeleteProjectResponse) ToJsonString() string
type DeleteStudioProductRequest ¶
type DeleteStudioProductRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDeleteStudioProductRequest ¶
func NewDeleteStudioProductRequest() (request *DeleteStudioProductRequest)
func (*DeleteStudioProductRequest) FromJsonString ¶
func (r *DeleteStudioProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStudioProductRequest) ToJsonString ¶
func (r *DeleteStudioProductRequest) ToJsonString() string
type DeleteStudioProductResponse ¶
type DeleteStudioProductResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteStudioProductResponse ¶
func NewDeleteStudioProductResponse() (response *DeleteStudioProductResponse)
func (*DeleteStudioProductResponse) FromJsonString ¶
func (r *DeleteStudioProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteStudioProductResponse) ToJsonString ¶
func (r *DeleteStudioProductResponse) ToJsonString() string
type DeleteTopicRuleRequest ¶
type DeleteTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewDeleteTopicRuleRequest ¶
func NewDeleteTopicRuleRequest() (request *DeleteTopicRuleRequest)
func (*DeleteTopicRuleRequest) FromJsonString ¶
func (r *DeleteTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRuleRequest) ToJsonString ¶
func (r *DeleteTopicRuleRequest) ToJsonString() string
type DeleteTopicRuleResponse ¶
type DeleteTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDeleteTopicRuleResponse ¶
func NewDeleteTopicRuleResponse() (response *DeleteTopicRuleResponse)
func (*DeleteTopicRuleResponse) FromJsonString ¶
func (r *DeleteTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteTopicRuleResponse) ToJsonString ¶
func (r *DeleteTopicRuleResponse) ToJsonString() string
type DescribeDeviceDataHistoryRequest ¶
type DescribeDeviceDataHistoryRequest struct {
*tchttp.BaseRequest
// 区间开始时间(Unix 时间戳,毫秒级)
MinTime *uint64 `json:"MinTime,omitempty" name:"MinTime"`
// 区间结束时间(Unix 时间戳,毫秒级)
MaxTime *uint64 `json:"MaxTime,omitempty" name:"MaxTime"`
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 属性字段名称,对应数据模板中功能属性的标识符
FieldName *string `json:"FieldName,omitempty" name:"FieldName"`
// 返回条数
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 检索上下文
Context *string `json:"Context,omitempty" name:"Context"`
}
func NewDescribeDeviceDataHistoryRequest ¶
func NewDescribeDeviceDataHistoryRequest() (request *DescribeDeviceDataHistoryRequest)
func (*DescribeDeviceDataHistoryRequest) FromJsonString ¶
func (r *DescribeDeviceDataHistoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataHistoryRequest) ToJsonString ¶
func (r *DescribeDeviceDataHistoryRequest) ToJsonString() string
type DescribeDeviceDataHistoryResponse ¶
type DescribeDeviceDataHistoryResponse struct {
*tchttp.BaseResponse
Response *struct {
// 属性字段名称,对应数据模板中功能属性的标识符
// 注意:此字段可能返回 null,表示取不到有效值。
FieldName *string `json:"FieldName,omitempty" name:"FieldName"`
// 数据是否已全部返回,true 表示数据全部返回,false 表示还有数据待返回,可将 Context 作为入参,继续查询返回结果。
// 注意:此字段可能返回 null,表示取不到有效值。
Listover *bool `json:"Listover,omitempty" name:"Listover"`
// 检索上下文,当 ListOver 为false时,可以用此上下文,继续读取后续数据
// 注意:此字段可能返回 null,表示取不到有效值。
Context *string `json:"Context,omitempty" name:"Context"`
// 历史数据结果数组,返回对应时间点及取值。
// 注意:此字段可能返回 null,表示取不到有效值。
Results []*DeviceDataHistoryItem `json:"Results,omitempty" name:"Results" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDeviceDataHistoryResponse ¶
func NewDescribeDeviceDataHistoryResponse() (response *DescribeDeviceDataHistoryResponse)
func (*DescribeDeviceDataHistoryResponse) FromJsonString ¶
func (r *DescribeDeviceDataHistoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataHistoryResponse) ToJsonString ¶
func (r *DescribeDeviceDataHistoryResponse) ToJsonString() string
type DescribeDeviceDataRequest ¶
type DescribeDeviceDataRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备ID,该字段有值将代替 ProductId/DeviceName
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewDescribeDeviceDataRequest ¶
func NewDescribeDeviceDataRequest() (request *DescribeDeviceDataRequest)
func (*DescribeDeviceDataRequest) FromJsonString ¶
func (r *DescribeDeviceDataRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataRequest) ToJsonString ¶
func (r *DescribeDeviceDataRequest) ToJsonString() string
type DescribeDeviceDataResponse ¶
type DescribeDeviceDataResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备数据
Data *string `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDeviceDataResponse ¶
func NewDescribeDeviceDataResponse() (response *DescribeDeviceDataResponse)
func (*DescribeDeviceDataResponse) FromJsonString ¶
func (r *DescribeDeviceDataResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceDataResponse) ToJsonString ¶
func (r *DescribeDeviceDataResponse) ToJsonString() string
type DescribeDeviceRequest ¶
type DescribeDeviceRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备ID,该字段有值将代替 ProductId/DeviceName
DeviceId *string `json:"DeviceId,omitempty" name:"DeviceId"`
}
func NewDescribeDeviceRequest ¶
func NewDescribeDeviceRequest() (request *DescribeDeviceRequest)
func (*DescribeDeviceRequest) FromJsonString ¶
func (r *DescribeDeviceRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceRequest) ToJsonString ¶
func (r *DescribeDeviceRequest) ToJsonString() string
type DescribeDeviceResponse ¶
type DescribeDeviceResponse struct {
*tchttp.BaseResponse
Response *struct {
// 设备信息
Device *DeviceInfo `json:"Device,omitempty" name:"Device"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeDeviceResponse ¶
func NewDescribeDeviceResponse() (response *DescribeDeviceResponse)
func (*DescribeDeviceResponse) FromJsonString ¶
func (r *DescribeDeviceResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeviceResponse) ToJsonString ¶
func (r *DescribeDeviceResponse) ToJsonString() string
type DescribeFirmwareTaskRequest ¶
type DescribeFirmwareTaskRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件任务ID
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
}
func NewDescribeFirmwareTaskRequest ¶
func NewDescribeFirmwareTaskRequest() (request *DescribeFirmwareTaskRequest)
func (*DescribeFirmwareTaskRequest) FromJsonString ¶
func (r *DescribeFirmwareTaskRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskRequest) ToJsonString ¶
func (r *DescribeFirmwareTaskRequest) ToJsonString() string
type DescribeFirmwareTaskResponse ¶
type DescribeFirmwareTaskResponse struct {
*tchttp.BaseResponse
Response *struct {
// 固件任务ID
// 注意:此字段可能返回 null,表示取不到有效值。
TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"`
// 固件任务状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *int64 `json:"Status,omitempty" name:"Status"`
// 固件任务创建时间,单位:秒
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 固件任务升级类型
// 注意:此字段可能返回 null,表示取不到有效值。
Type *int64 `json:"Type,omitempty" name:"Type"`
// 产品名称
// 注意:此字段可能返回 null,表示取不到有效值。
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 固件任务升级模式。originalVersion(按版本号升级)、filename(提交文件升级)、devicenames(按设备名称升级)
// 注意:此字段可能返回 null,表示取不到有效值。
UpgradeMode *string `json:"UpgradeMode,omitempty" name:"UpgradeMode"`
// 产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 原始固件版本号,在UpgradeMode是originalVersion升级模式下会返回
// 注意:此字段可能返回 null,表示取不到有效值。
OriginalVersion *string `json:"OriginalVersion,omitempty" name:"OriginalVersion"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeFirmwareTaskResponse ¶
func NewDescribeFirmwareTaskResponse() (response *DescribeFirmwareTaskResponse)
func (*DescribeFirmwareTaskResponse) FromJsonString ¶
func (r *DescribeFirmwareTaskResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirmwareTaskResponse) ToJsonString ¶
func (r *DescribeFirmwareTaskResponse) ToJsonString() string
type DescribeLoRaFrequencyRequest ¶
type DescribeLoRaFrequencyRequest struct {
*tchttp.BaseRequest
// 频点唯一ID
FreqId *string `json:"FreqId,omitempty" name:"FreqId"`
}
func NewDescribeLoRaFrequencyRequest ¶
func NewDescribeLoRaFrequencyRequest() (request *DescribeLoRaFrequencyRequest)
func (*DescribeLoRaFrequencyRequest) FromJsonString ¶
func (r *DescribeLoRaFrequencyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoRaFrequencyRequest) ToJsonString ¶
func (r *DescribeLoRaFrequencyRequest) ToJsonString() string
type DescribeLoRaFrequencyResponse ¶
type DescribeLoRaFrequencyResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回详情项
// 注意:此字段可能返回 null,表示取不到有效值。
Data *LoRaFrequencyEntry `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeLoRaFrequencyResponse ¶
func NewDescribeLoRaFrequencyResponse() (response *DescribeLoRaFrequencyResponse)
func (*DescribeLoRaFrequencyResponse) FromJsonString ¶
func (r *DescribeLoRaFrequencyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoRaFrequencyResponse) ToJsonString ¶
func (r *DescribeLoRaFrequencyResponse) ToJsonString() string
type DescribeModelDefinitionRequest ¶
type DescribeModelDefinitionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribeModelDefinitionRequest ¶
func NewDescribeModelDefinitionRequest() (request *DescribeModelDefinitionRequest)
func (*DescribeModelDefinitionRequest) FromJsonString ¶
func (r *DescribeModelDefinitionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelDefinitionRequest) ToJsonString ¶
func (r *DescribeModelDefinitionRequest) ToJsonString() string
type DescribeModelDefinitionResponse ¶
type DescribeModelDefinitionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品数据模板
Model *ProductModelDefinition `json:"Model,omitempty" name:"Model"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeModelDefinitionResponse ¶
func NewDescribeModelDefinitionResponse() (response *DescribeModelDefinitionResponse)
func (*DescribeModelDefinitionResponse) FromJsonString ¶
func (r *DescribeModelDefinitionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeModelDefinitionResponse) ToJsonString ¶
func (r *DescribeModelDefinitionResponse) ToJsonString() string
type DescribeProjectRequest ¶
type DescribeProjectRequest struct {
*tchttp.BaseRequest
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
}
func NewDescribeProjectRequest ¶
func NewDescribeProjectRequest() (request *DescribeProjectRequest)
func (*DescribeProjectRequest) FromJsonString ¶
func (r *DescribeProjectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectRequest) ToJsonString ¶
func (r *DescribeProjectRequest) ToJsonString() string
type DescribeProjectResponse ¶
type DescribeProjectResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回信息
Project *ProjectEntryEx `json:"Project,omitempty" name:"Project"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeProjectResponse ¶
func NewDescribeProjectResponse() (response *DescribeProjectResponse)
func (*DescribeProjectResponse) FromJsonString ¶
func (r *DescribeProjectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProjectResponse) ToJsonString ¶
func (r *DescribeProjectResponse) ToJsonString() string
type DescribeStudioProductRequest ¶
type DescribeStudioProductRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
func NewDescribeStudioProductRequest ¶
func NewDescribeStudioProductRequest() (request *DescribeStudioProductRequest)
func (*DescribeStudioProductRequest) FromJsonString ¶
func (r *DescribeStudioProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStudioProductRequest) ToJsonString ¶
func (r *DescribeStudioProductRequest) ToJsonString() string
type DescribeStudioProductResponse ¶
type DescribeStudioProductResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品详情
Product *ProductEntry `json:"Product,omitempty" name:"Product"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeStudioProductResponse ¶
func NewDescribeStudioProductResponse() (response *DescribeStudioProductResponse)
func (*DescribeStudioProductResponse) FromJsonString ¶
func (r *DescribeStudioProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeStudioProductResponse) ToJsonString ¶
func (r *DescribeStudioProductResponse) ToJsonString() string
type DescribeTopicRuleRequest ¶
type DescribeTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewDescribeTopicRuleRequest ¶
func NewDescribeTopicRuleRequest() (request *DescribeTopicRuleRequest)
func (*DescribeTopicRuleRequest) FromJsonString ¶
func (r *DescribeTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicRuleRequest) ToJsonString ¶
func (r *DescribeTopicRuleRequest) ToJsonString() string
type DescribeTopicRuleResponse ¶
type DescribeTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 规则描述。
// 注意:此字段可能返回 null,表示取不到有效值。
Rule *TopicRule `json:"Rule,omitempty" name:"Rule"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDescribeTopicRuleResponse ¶
func NewDescribeTopicRuleResponse() (response *DescribeTopicRuleResponse)
func (*DescribeTopicRuleResponse) FromJsonString ¶
func (r *DescribeTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopicRuleResponse) ToJsonString ¶
func (r *DescribeTopicRuleResponse) ToJsonString() string
type DeviceData ¶
type DeviceData struct {
// 设备证书,用于 TLS 建立链接时校验客户端身份。采用非对称加密时返回该参数。
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"`
// 设备名称。
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 设备私钥,用于 TLS 建立链接时校验客户端身份,腾讯云后台不保存,请妥善保管。采用非对称加密时返回该参数。
// 注意:此字段可能返回 null,表示取不到有效值。
DevicePrivateKey *string `json:"DevicePrivateKey,omitempty" name:"DevicePrivateKey"`
// 对称加密密钥,base64编码。采用对称加密时返回该参数。
// 注意:此字段可能返回 null,表示取不到有效值。
DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"`
}
type DeviceDataHistoryItem ¶
type DeviceInfo ¶
type DeviceInfo struct {
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 0: 离线, 1: 在线, 2: 获取失败, 3 未激活
Status *int64 `json:"Status,omitempty" name:"Status"`
// 设备密钥,密钥加密的设备返回
DevicePsk *string `json:"DevicePsk,omitempty" name:"DevicePsk"`
// 首次上线时间
// 注意:此字段可能返回 null,表示取不到有效值。
// 注意:此字段可能返回 null,表示取不到有效值。
FirstOnlineTime *int64 `json:"FirstOnlineTime,omitempty" name:"FirstOnlineTime"`
// 最后一次上线时间
// 注意:此字段可能返回 null,表示取不到有效值。
LoginTime *int64 `json:"LoginTime,omitempty" name:"LoginTime"`
// 设备创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 设备固件版本
// 注意:此字段可能返回 null,表示取不到有效值。
Version *string `json:"Version,omitempty" name:"Version"`
// 设备证书
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceCert *string `json:"DeviceCert,omitempty" name:"DeviceCert"`
// 日志级别
// 注意:此字段可能返回 null,表示取不到有效值。
LogLevel *int64 `json:"LogLevel,omitempty" name:"LogLevel"`
// LoRaWAN 设备地址
// 注意:此字段可能返回 null,表示取不到有效值。
DevAddr *string `json:"DevAddr,omitempty" name:"DevAddr"`
// LoRaWAN 应用密钥
// 注意:此字段可能返回 null,表示取不到有效值。
AppKey *string `json:"AppKey,omitempty" name:"AppKey"`
// LoRaWAN 设备唯一标识
// 注意:此字段可能返回 null,表示取不到有效值。
DevEUI *string `json:"DevEUI,omitempty" name:"DevEUI"`
// LoRaWAN 应用会话密钥
// 注意:此字段可能返回 null,表示取不到有效值。
AppSKey *string `json:"AppSKey,omitempty" name:"AppSKey"`
// LoRaWAN 网络会话密钥
// 注意:此字段可能返回 null,表示取不到有效值。
NwkSKey *string `json:"NwkSKey,omitempty" name:"NwkSKey"`
}
type DisableTopicRuleRequest ¶
type DisableTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewDisableTopicRuleRequest ¶
func NewDisableTopicRuleRequest() (request *DisableTopicRuleRequest)
func (*DisableTopicRuleRequest) FromJsonString ¶
func (r *DisableTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableTopicRuleRequest) ToJsonString ¶
func (r *DisableTopicRuleRequest) ToJsonString() string
type DisableTopicRuleResponse ¶
type DisableTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewDisableTopicRuleResponse ¶
func NewDisableTopicRuleResponse() (response *DisableTopicRuleResponse)
func (*DisableTopicRuleResponse) FromJsonString ¶
func (r *DisableTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableTopicRuleResponse) ToJsonString ¶
func (r *DisableTopicRuleResponse) ToJsonString() string
type EnableTopicRuleRequest ¶
type EnableTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewEnableTopicRuleRequest ¶
func NewEnableTopicRuleRequest() (request *EnableTopicRuleRequest)
func (*EnableTopicRuleRequest) FromJsonString ¶
func (r *EnableTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableTopicRuleRequest) ToJsonString ¶
func (r *EnableTopicRuleRequest) ToJsonString() string
type EnableTopicRuleResponse ¶
type EnableTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewEnableTopicRuleResponse ¶
func NewEnableTopicRuleResponse() (response *EnableTopicRuleResponse)
func (*EnableTopicRuleResponse) FromJsonString ¶
func (r *EnableTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableTopicRuleResponse) ToJsonString ¶
func (r *EnableTopicRuleResponse) ToJsonString() string
type EventHistoryItem ¶
type EventHistoryItem struct {
// 事件的时间戳
// 注意:此字段可能返回 null,表示取不到有效值。
TimeStamp *int64 `json:"TimeStamp,omitempty" name:"TimeStamp"`
// 事件的产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 事件的设备名称
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 事件的标识符ID
// 注意:此字段可能返回 null,表示取不到有效值。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 事件的类型
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// 事件的数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data *string `json:"Data,omitempty" name:"Data"`
}
type FirmwareInfo ¶
type FirmwareInfo struct {
// 固件版本
Version *string `json:"Version,omitempty" name:"Version"`
// 固件MD5值
Md5sum *string `json:"Md5sum,omitempty" name:"Md5sum"`
// 固件创建时间
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 产品名称
// 注意:此字段可能返回 null,表示取不到有效值。
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 固件名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 固件描述
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitempty" name:"Description"`
// 产品ID
// 注意:此字段可能返回 null,表示取不到有效值。
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
}
type GetCOSURLRequest ¶
type GetCOSURLRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 文件大小
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
}
func NewGetCOSURLRequest ¶
func NewGetCOSURLRequest() (request *GetCOSURLRequest)
func (*GetCOSURLRequest) FromJsonString ¶
func (r *GetCOSURLRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCOSURLRequest) ToJsonString ¶
func (r *GetCOSURLRequest) ToJsonString() string
type GetCOSURLResponse ¶
type GetCOSURLResponse struct {
*tchttp.BaseResponse
Response *struct {
// 固件URL
Url *string `json:"Url,omitempty" name:"Url"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetCOSURLResponse ¶
func NewGetCOSURLResponse() (response *GetCOSURLResponse)
func (*GetCOSURLResponse) FromJsonString ¶
func (r *GetCOSURLResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetCOSURLResponse) ToJsonString ¶
func (r *GetCOSURLResponse) ToJsonString() string
type GetDeviceListRequest ¶
type GetDeviceListRequest struct {
*tchttp.BaseRequest
// 需要查看设备列表的产品 ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 分页偏移
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页的大小,数值范围 10-100
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 设备固件版本号,若不带此参数会返回所有固件版本的设备。传"None-FirmwareVersion"查询无版本号的设备
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 需要过滤的设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
}
func NewGetDeviceListRequest ¶
func NewGetDeviceListRequest() (request *GetDeviceListRequest)
func (*GetDeviceListRequest) FromJsonString ¶
func (r *GetDeviceListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetDeviceListRequest) ToJsonString ¶
func (r *GetDeviceListRequest) ToJsonString() string
type GetDeviceListResponse ¶
type GetDeviceListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回的设备列表, 注意列表设备的 DevicePsk 为空, 要获取设备的 DevicePsk 请使用 DescribeDevice
// 注意:此字段可能返回 null,表示取不到有效值。
Devices []*DeviceInfo `json:"Devices,omitempty" name:"Devices" list`
// 产品下的设备总数
// 注意:此字段可能返回 null,表示取不到有效值。
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetDeviceListResponse ¶
func NewGetDeviceListResponse() (response *GetDeviceListResponse)
func (*GetDeviceListResponse) FromJsonString ¶
func (r *GetDeviceListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetDeviceListResponse) ToJsonString ¶
func (r *GetDeviceListResponse) ToJsonString() string
type GetLoRaGatewayListRequest ¶
type GetLoRaGatewayListRequest struct {
*tchttp.BaseRequest
// 是否是社区网关
IsCommunity *bool `json:"IsCommunity,omitempty" name:"IsCommunity"`
// 偏移量
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 限制个数
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewGetLoRaGatewayListRequest ¶
func NewGetLoRaGatewayListRequest() (request *GetLoRaGatewayListRequest)
func (*GetLoRaGatewayListRequest) FromJsonString ¶
func (r *GetLoRaGatewayListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLoRaGatewayListRequest) ToJsonString ¶
func (r *GetLoRaGatewayListRequest) ToJsonString() string
type GetLoRaGatewayListResponse ¶
type GetLoRaGatewayListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回总数
Total *uint64 `json:"Total,omitempty" name:"Total"`
// 返回详情项
// 注意:此字段可能返回 null,表示取不到有效值。
Gateways []*LoRaGatewayItem `json:"Gateways,omitempty" name:"Gateways" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetLoRaGatewayListResponse ¶
func NewGetLoRaGatewayListResponse() (response *GetLoRaGatewayListResponse)
func (*GetLoRaGatewayListResponse) FromJsonString ¶
func (r *GetLoRaGatewayListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLoRaGatewayListResponse) ToJsonString ¶
func (r *GetLoRaGatewayListResponse) ToJsonString() string
type GetProjectListRequest ¶
type GetProjectListRequest struct {
*tchttp.BaseRequest
// 偏移量
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 个数限制
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 实例ID
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}
func NewGetProjectListRequest ¶
func NewGetProjectListRequest() (request *GetProjectListRequest)
func (*GetProjectListRequest) FromJsonString ¶
func (r *GetProjectListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetProjectListRequest) ToJsonString ¶
func (r *GetProjectListRequest) ToJsonString() string
type GetProjectListResponse ¶
type GetProjectListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 项目列表
// 注意:此字段可能返回 null,表示取不到有效值。
Projects []*ProjectEntryEx `json:"Projects,omitempty" name:"Projects" list`
// 列表项个数
// 注意:此字段可能返回 null,表示取不到有效值。
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetProjectListResponse ¶
func NewGetProjectListResponse() (response *GetProjectListResponse)
func (*GetProjectListResponse) FromJsonString ¶
func (r *GetProjectListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetProjectListResponse) ToJsonString ¶
func (r *GetProjectListResponse) ToJsonString() string
type GetStudioProductListRequest ¶
type GetStudioProductListRequest struct {
*tchttp.BaseRequest
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
// 产品DevStatus
DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"`
// Offset
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// Limit
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
}
func NewGetStudioProductListRequest ¶
func NewGetStudioProductListRequest() (request *GetStudioProductListRequest)
func (*GetStudioProductListRequest) FromJsonString ¶
func (r *GetStudioProductListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetStudioProductListRequest) ToJsonString ¶
func (r *GetStudioProductListRequest) ToJsonString() string
type GetStudioProductListResponse ¶
type GetStudioProductListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品列表
Products []*ProductEntry `json:"Products,omitempty" name:"Products" list`
// 产品数量
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetStudioProductListResponse ¶
func NewGetStudioProductListResponse() (response *GetStudioProductListResponse)
func (*GetStudioProductListResponse) FromJsonString ¶
func (r *GetStudioProductListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetStudioProductListResponse) ToJsonString ¶
func (r *GetStudioProductListResponse) ToJsonString() string
type GetTopicRuleListRequest ¶
type GetTopicRuleListRequest struct {
*tchttp.BaseRequest
// 请求的页数
PageNum *int64 `json:"PageNum,omitempty" name:"PageNum"`
// 分页的大小
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
}
func NewGetTopicRuleListRequest ¶
func NewGetTopicRuleListRequest() (request *GetTopicRuleListRequest)
func (*GetTopicRuleListRequest) FromJsonString ¶
func (r *GetTopicRuleListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTopicRuleListRequest) ToJsonString ¶
func (r *GetTopicRuleListRequest) ToJsonString() string
type GetTopicRuleListResponse ¶
type GetTopicRuleListResponse struct {
*tchttp.BaseResponse
Response *struct {
// 规则总数量
TotalCnt *int64 `json:"TotalCnt,omitempty" name:"TotalCnt"`
// 规则列表
Rules []*TopicRuleInfo `json:"Rules,omitempty" name:"Rules" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewGetTopicRuleListResponse ¶
func NewGetTopicRuleListResponse() (response *GetTopicRuleListResponse)
func (*GetTopicRuleListResponse) FromJsonString ¶
func (r *GetTopicRuleListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTopicRuleListResponse) ToJsonString ¶
func (r *GetTopicRuleListResponse) ToJsonString() string
type ListEventHistoryRequest ¶
type ListEventHistoryRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 搜索的事件类型:alert 表示告警,fault 表示故障,info 表示信息,为空则表示查询上述所有类型事件
Type *string `json:"Type,omitempty" name:"Type"`
// 起始时间(Unix 时间戳,秒级), 为0 表示 当前时间 - 24h
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间(Unix 时间戳,秒级), 为0 表示当前时间
EndTime *uint64 `json:"EndTime,omitempty" name:"EndTime"`
// 搜索上下文, 用作查询游标
Context *string `json:"Context,omitempty" name:"Context"`
// 单次获取的历史数据项目的最大数量, 缺省10
Size *int64 `json:"Size,omitempty" name:"Size"`
// 事件标识符,可以用来指定查询特定的事件,如果不指定,则查询所有事件。
EventId *string `json:"EventId,omitempty" name:"EventId"`
}
func NewListEventHistoryRequest ¶
func NewListEventHistoryRequest() (request *ListEventHistoryRequest)
func (*ListEventHistoryRequest) FromJsonString ¶
func (r *ListEventHistoryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListEventHistoryRequest) ToJsonString ¶
func (r *ListEventHistoryRequest) ToJsonString() string
type ListEventHistoryResponse ¶
type ListEventHistoryResponse struct {
*tchttp.BaseResponse
Response *struct {
// 搜索上下文, 用作查询游标
// 注意:此字段可能返回 null,表示取不到有效值。
Context *string `json:"Context,omitempty" name:"Context"`
// 搜索结果数量
// 注意:此字段可能返回 null,表示取不到有效值。
Total *int64 `json:"Total,omitempty" name:"Total"`
// 搜索结果是否已经结束
// 注意:此字段可能返回 null,表示取不到有效值。
Listover *bool `json:"Listover,omitempty" name:"Listover"`
// 搜集结果集
// 注意:此字段可能返回 null,表示取不到有效值。
EventHistory []*EventHistoryItem `json:"EventHistory,omitempty" name:"EventHistory" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewListEventHistoryResponse ¶
func NewListEventHistoryResponse() (response *ListEventHistoryResponse)
func (*ListEventHistoryResponse) FromJsonString ¶
func (r *ListEventHistoryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListEventHistoryResponse) ToJsonString ¶
func (r *ListEventHistoryResponse) ToJsonString() string
type ListFirmwaresRequest ¶
type ListFirmwaresRequest struct {
*tchttp.BaseRequest
// 获取的页数
PageNum *uint64 `json:"PageNum,omitempty" name:"PageNum"`
// 分页的大小
PageSize *uint64 `json:"PageSize,omitempty" name:"PageSize"`
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 搜索过滤条件
Filters []*SearchKeyword `json:"Filters,omitempty" name:"Filters" list`
}
func NewListFirmwaresRequest ¶
func NewListFirmwaresRequest() (request *ListFirmwaresRequest)
func (*ListFirmwaresRequest) FromJsonString ¶
func (r *ListFirmwaresRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListFirmwaresRequest) ToJsonString ¶
func (r *ListFirmwaresRequest) ToJsonString() string
type ListFirmwaresResponse ¶
type ListFirmwaresResponse struct {
*tchttp.BaseResponse
Response *struct {
// 固件总数
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 固件列表
Firmwares []*FirmwareInfo `json:"Firmwares,omitempty" name:"Firmwares" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewListFirmwaresResponse ¶
func NewListFirmwaresResponse() (response *ListFirmwaresResponse)
func (*ListFirmwaresResponse) FromJsonString ¶
func (r *ListFirmwaresResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ListFirmwaresResponse) ToJsonString ¶
func (r *ListFirmwaresResponse) ToJsonString() string
type LoRaFrequencyEntry ¶
type LoRaFrequencyEntry struct {
// 频点唯一ID
FreqId *string `json:"FreqId,omitempty" name:"FreqId"`
// 频点名称
FreqName *string `json:"FreqName,omitempty" name:"FreqName"`
// 频点描述
Description *string `json:"Description,omitempty" name:"Description"`
// 数据上行信道
ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitempty" name:"ChannelsDataUp" list`
// 数据下行信道RX1
ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitempty" name:"ChannelsDataRX1" list`
// 数据下行信道RX2
ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitempty" name:"ChannelsDataRX2" list`
// 入网上行信道
ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitempty" name:"ChannelsJoinUp" list`
// 入网下行RX1信道
ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitempty" name:"ChannelsJoinRX1" list`
// 入网下行RX2信道
ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitempty" name:"ChannelsJoinRX2" list`
// 创建时间
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
}
type LoRaGatewayItem ¶
type LoRaGatewayItem struct {
// LoRa 网关Id
GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`
// 是否是公开网关
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// 网关描述
Description *string `json:"Description,omitempty" name:"Description"`
// 网关名称
Name *string `json:"Name,omitempty" name:"Name"`
// 网关位置信息
Position *string `json:"Position,omitempty" name:"Position"`
// 网关位置详情
PositionDetails *string `json:"PositionDetails,omitempty" name:"PositionDetails"`
// LoRa 网关位置坐标
Location *LoRaGatewayLocation `json:"Location,omitempty" name:"Location"`
// 最后更新时间
UpdatedAt *string `json:"UpdatedAt,omitempty" name:"UpdatedAt"`
// 创建时间
CreatedAt *string `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 最后上报时间
LastSeenAt *string `json:"LastSeenAt,omitempty" name:"LastSeenAt"`
// 频点ID
FrequencyId *string `json:"FrequencyId,omitempty" name:"FrequencyId"`
}
type LoRaGatewayLocation ¶
type LoRaGatewayLocation struct {
// 准确度
Accuracy *float64 `json:"Accuracy,omitempty" name:"Accuracy"`
// 海拔
Altitude *float64 `json:"Altitude,omitempty" name:"Altitude"`
// 纬度
Latitude *float64 `json:"Latitude,omitempty" name:"Latitude"`
// 精度
Longitude *float64 `json:"Longitude,omitempty" name:"Longitude"`
}
type ModifyLoRaFrequencyRequest ¶
type ModifyLoRaFrequencyRequest struct {
*tchttp.BaseRequest
// 频点唯一ID
FreqId *string `json:"FreqId,omitempty" name:"FreqId"`
// 频点名称
FreqName *string `json:"FreqName,omitempty" name:"FreqName"`
// 频点描述
Description *string `json:"Description,omitempty" name:"Description"`
// 数据上行信道
ChannelsDataUp []*uint64 `json:"ChannelsDataUp,omitempty" name:"ChannelsDataUp" list`
// 数据下行信道RX1
ChannelsDataRX1 []*uint64 `json:"ChannelsDataRX1,omitempty" name:"ChannelsDataRX1" list`
// 数据下行信道RX2
ChannelsDataRX2 []*uint64 `json:"ChannelsDataRX2,omitempty" name:"ChannelsDataRX2" list`
// 入网上行信道
ChannelsJoinUp []*uint64 `json:"ChannelsJoinUp,omitempty" name:"ChannelsJoinUp" list`
// 入网下行信道RX1
ChannelsJoinRX1 []*uint64 `json:"ChannelsJoinRX1,omitempty" name:"ChannelsJoinRX1" list`
// 入网下行信道RX2
ChannelsJoinRX2 []*uint64 `json:"ChannelsJoinRX2,omitempty" name:"ChannelsJoinRX2" list`
}
func NewModifyLoRaFrequencyRequest ¶
func NewModifyLoRaFrequencyRequest() (request *ModifyLoRaFrequencyRequest)
func (*ModifyLoRaFrequencyRequest) FromJsonString ¶
func (r *ModifyLoRaFrequencyRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoRaFrequencyRequest) ToJsonString ¶
func (r *ModifyLoRaFrequencyRequest) ToJsonString() string
type ModifyLoRaFrequencyResponse ¶
type ModifyLoRaFrequencyResponse struct {
*tchttp.BaseResponse
Response *struct {
// 频点信息
Data *LoRaFrequencyEntry `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyLoRaFrequencyResponse ¶
func NewModifyLoRaFrequencyResponse() (response *ModifyLoRaFrequencyResponse)
func (*ModifyLoRaFrequencyResponse) FromJsonString ¶
func (r *ModifyLoRaFrequencyResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoRaFrequencyResponse) ToJsonString ¶
func (r *ModifyLoRaFrequencyResponse) ToJsonString() string
type ModifyLoRaGatewayRequest ¶
type ModifyLoRaGatewayRequest struct {
*tchttp.BaseRequest
// 描述信息
Description *string `json:"Description,omitempty" name:"Description"`
// LoRa网关Id
GatewayId *string `json:"GatewayId,omitempty" name:"GatewayId"`
// LoRa网关位置坐标
Location *LoRaGatewayLocation `json:"Location,omitempty" name:"Location"`
// LoRa网关名称
Name *string `json:"Name,omitempty" name:"Name"`
// 是否公开可见
IsPublic *bool `json:"IsPublic,omitempty" name:"IsPublic"`
// 位置信息
Position *string `json:"Position,omitempty" name:"Position"`
// 位置详情
PositionDetails *string `json:"PositionDetails,omitempty" name:"PositionDetails"`
// 频点ID
FrequencyId *string `json:"FrequencyId,omitempty" name:"FrequencyId"`
}
func NewModifyLoRaGatewayRequest ¶
func NewModifyLoRaGatewayRequest() (request *ModifyLoRaGatewayRequest)
func (*ModifyLoRaGatewayRequest) FromJsonString ¶
func (r *ModifyLoRaGatewayRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoRaGatewayRequest) ToJsonString ¶
func (r *ModifyLoRaGatewayRequest) ToJsonString() string
type ModifyLoRaGatewayResponse ¶
type ModifyLoRaGatewayResponse struct {
*tchttp.BaseResponse
Response *struct {
// 返回网关数据
Gateway *LoRaGatewayItem `json:"Gateway,omitempty" name:"Gateway"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyLoRaGatewayResponse ¶
func NewModifyLoRaGatewayResponse() (response *ModifyLoRaGatewayResponse)
func (*ModifyLoRaGatewayResponse) FromJsonString ¶
func (r *ModifyLoRaGatewayResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoRaGatewayResponse) ToJsonString ¶
func (r *ModifyLoRaGatewayResponse) ToJsonString() string
type ModifyModelDefinitionRequest ¶
type ModifyModelDefinitionRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 数据模板定义
ModelSchema *string `json:"ModelSchema,omitempty" name:"ModelSchema"`
}
func NewModifyModelDefinitionRequest ¶
func NewModifyModelDefinitionRequest() (request *ModifyModelDefinitionRequest)
func (*ModifyModelDefinitionRequest) FromJsonString ¶
func (r *ModifyModelDefinitionRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModelDefinitionRequest) ToJsonString ¶
func (r *ModifyModelDefinitionRequest) ToJsonString() string
type ModifyModelDefinitionResponse ¶
type ModifyModelDefinitionResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyModelDefinitionResponse ¶
func NewModifyModelDefinitionResponse() (response *ModifyModelDefinitionResponse)
func (*ModifyModelDefinitionResponse) FromJsonString ¶
func (r *ModifyModelDefinitionResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyModelDefinitionResponse) ToJsonString ¶
func (r *ModifyModelDefinitionResponse) ToJsonString() string
type ModifyProjectRequest ¶
type ModifyProjectRequest struct {
*tchttp.BaseRequest
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
// 项目名称
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
// 项目描述
ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"`
}
func NewModifyProjectRequest ¶
func NewModifyProjectRequest() (request *ModifyProjectRequest)
func (*ModifyProjectRequest) FromJsonString ¶
func (r *ModifyProjectRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProjectRequest) ToJsonString ¶
func (r *ModifyProjectRequest) ToJsonString() string
type ModifyProjectResponse ¶
type ModifyProjectResponse struct {
*tchttp.BaseResponse
Response *struct {
// 项目详情
Project *ProjectEntry `json:"Project,omitempty" name:"Project"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyProjectResponse ¶
func NewModifyProjectResponse() (response *ModifyProjectResponse)
func (*ModifyProjectResponse) FromJsonString ¶
func (r *ModifyProjectResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProjectResponse) ToJsonString ¶
func (r *ModifyProjectResponse) ToJsonString() string
type ModifyStudioProductRequest ¶
type ModifyStudioProductRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品描述
ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"`
// 模型ID
ModuleId *int64 `json:"ModuleId,omitempty" name:"ModuleId"`
// 是否打开二进制转Json功能, 取值为字符串 true/false
EnableProductScript *string `json:"EnableProductScript,omitempty" name:"EnableProductScript"`
}
func NewModifyStudioProductRequest ¶
func NewModifyStudioProductRequest() (request *ModifyStudioProductRequest)
func (*ModifyStudioProductRequest) FromJsonString ¶
func (r *ModifyStudioProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyStudioProductRequest) ToJsonString ¶
func (r *ModifyStudioProductRequest) ToJsonString() string
type ModifyStudioProductResponse ¶
type ModifyStudioProductResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品描述
Product *ProductEntry `json:"Product,omitempty" name:"Product"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyStudioProductResponse ¶
func NewModifyStudioProductResponse() (response *ModifyStudioProductResponse)
func (*ModifyStudioProductResponse) FromJsonString ¶
func (r *ModifyStudioProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyStudioProductResponse) ToJsonString ¶
func (r *ModifyStudioProductResponse) ToJsonString() string
type ModifyTopicRuleRequest ¶
type ModifyTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 替换的规则包体
TopicRulePayload *TopicRulePayload `json:"TopicRulePayload,omitempty" name:"TopicRulePayload"`
}
func NewModifyTopicRuleRequest ¶
func NewModifyTopicRuleRequest() (request *ModifyTopicRuleRequest)
func (*ModifyTopicRuleRequest) FromJsonString ¶
func (r *ModifyTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicRuleRequest) ToJsonString ¶
func (r *ModifyTopicRuleRequest) ToJsonString() string
type ModifyTopicRuleResponse ¶
type ModifyTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewModifyTopicRuleResponse ¶
func NewModifyTopicRuleResponse() (response *ModifyTopicRuleResponse)
func (*ModifyTopicRuleResponse) FromJsonString ¶
func (r *ModifyTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTopicRuleResponse) ToJsonString ¶
func (r *ModifyTopicRuleResponse) ToJsonString() string
type ProductEntry ¶
type ProductEntry struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 产品分组模板ID
CategoryId *int64 `json:"CategoryId,omitempty" name:"CategoryId"`
// 加密类型
EncryptionType *string `json:"EncryptionType,omitempty" name:"EncryptionType"`
// 连接类型
NetType *string `json:"NetType,omitempty" name:"NetType"`
// 数据协议
DataProtocol *int64 `json:"DataProtocol,omitempty" name:"DataProtocol"`
// 产品描述
ProductDesc *string `json:"ProductDesc,omitempty" name:"ProductDesc"`
// 状态
DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"`
// 创建时间
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 更新时间
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 区域
Region *string `json:"Region,omitempty" name:"Region"`
// 产品类型
ProductType *int64 `json:"ProductType,omitempty" name:"ProductType"`
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
// 产品ModuleId
ModuleId *int64 `json:"ModuleId,omitempty" name:"ModuleId"`
// 是否使用脚本进行二进制转json功能 可以取值 true / false
// 注意:此字段可能返回 null,表示取不到有效值。
EnableProductScript *string `json:"EnableProductScript,omitempty" name:"EnableProductScript"`
}
type ProductModelDefinition ¶
type ProductModelDefinition struct {
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 模型定义
ModelDefine *string `json:"ModelDefine,omitempty" name:"ModelDefine"`
// 更新时间,秒级时间戳
UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 创建时间,秒级时间戳
CreateTime *int64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 产品所属分类的模型快照(产品创建时刻的)
// 注意:此字段可能返回 null,表示取不到有效值。
CategoryModel *string `json:"CategoryModel,omitempty" name:"CategoryModel"`
// 产品的连接类型的模型
// 注意:此字段可能返回 null,表示取不到有效值。
NetTypeModel *string `json:"NetTypeModel,omitempty" name:"NetTypeModel"`
}
type ProjectEntry ¶
type ProjectEntry struct {
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
// 项目名称
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
// 项目描述
ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"`
// 创建时间,unix时间戳
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 更新时间,unix时间戳
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type ProjectEntryEx ¶
type ProjectEntryEx struct {
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
// 项目名称
ProjectName *string `json:"ProjectName,omitempty" name:"ProjectName"`
// 项目描述
ProjectDesc *string `json:"ProjectDesc,omitempty" name:"ProjectDesc"`
// 项目创建时间,unix时间戳
CreateTime *uint64 `json:"CreateTime,omitempty" name:"CreateTime"`
// 项目更新时间,unix时间戳
UpdateTime *uint64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 产品数量
ProductCount *uint64 `json:"ProductCount,omitempty" name:"ProductCount"`
// NativeApp数量
NativeAppCount *uint64 `json:"NativeAppCount,omitempty" name:"NativeAppCount"`
// WebApp数量
WebAppCount *uint64 `json:"WebAppCount,omitempty" name:"WebAppCount"`
// 实例ID
// 注意:此字段可能返回 null,表示取不到有效值。
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
}
type PublishMessageRequest ¶
type PublishMessageRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 消息发往的主题
Topic *string `json:"Topic,omitempty" name:"Topic"`
// 云端下发到设备的控制报文
Payload *string `json:"Payload,omitempty" name:"Payload"`
// 消息服务质量等级,取值为0或1
Qos *uint64 `json:"Qos,omitempty" name:"Qos"`
// Payload的内容编码格式,取值为base64或空。base64表示云端将接收到的base64编码后的报文再转换成二进制报文下发至设备,为空表示不作转换,透传下发至设备
PayloadEncoding *string `json:"PayloadEncoding,omitempty" name:"PayloadEncoding"`
}
func NewPublishMessageRequest ¶
func NewPublishMessageRequest() (request *PublishMessageRequest)
func (*PublishMessageRequest) FromJsonString ¶
func (r *PublishMessageRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishMessageRequest) ToJsonString ¶
func (r *PublishMessageRequest) ToJsonString() string
type PublishMessageResponse ¶
type PublishMessageResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewPublishMessageResponse ¶
func NewPublishMessageResponse() (response *PublishMessageResponse)
func (*PublishMessageResponse) FromJsonString ¶
func (r *PublishMessageResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*PublishMessageResponse) ToJsonString ¶
func (r *PublishMessageResponse) ToJsonString() string
type ReleaseStudioProductRequest ¶
type ReleaseStudioProductRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductId *string `json:"ProductId,omitempty" name:"ProductId"`
// 产品DevStatus
DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"`
}
func NewReleaseStudioProductRequest ¶
func NewReleaseStudioProductRequest() (request *ReleaseStudioProductRequest)
func (*ReleaseStudioProductRequest) FromJsonString ¶
func (r *ReleaseStudioProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseStudioProductRequest) ToJsonString ¶
func (r *ReleaseStudioProductRequest) ToJsonString() string
type ReleaseStudioProductResponse ¶
type ReleaseStudioProductResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewReleaseStudioProductResponse ¶
func NewReleaseStudioProductResponse() (response *ReleaseStudioProductResponse)
func (*ReleaseStudioProductResponse) FromJsonString ¶
func (r *ReleaseStudioProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReleaseStudioProductResponse) ToJsonString ¶
func (r *ReleaseStudioProductResponse) ToJsonString() string
type SearchKeyword ¶
type SearchStudioProductRequest ¶
type SearchStudioProductRequest struct {
*tchttp.BaseRequest
// 项目ID
ProjectId *string `json:"ProjectId,omitempty" name:"ProjectId"`
// 产品名称
ProductName *string `json:"ProductName,omitempty" name:"ProductName"`
// 列表Limit
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 列表Offset
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 产品Status
DevStatus *string `json:"DevStatus,omitempty" name:"DevStatus"`
}
func NewSearchStudioProductRequest ¶
func NewSearchStudioProductRequest() (request *SearchStudioProductRequest)
func (*SearchStudioProductRequest) FromJsonString ¶
func (r *SearchStudioProductRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchStudioProductRequest) ToJsonString ¶
func (r *SearchStudioProductRequest) ToJsonString() string
type SearchStudioProductResponse ¶
type SearchStudioProductResponse struct {
*tchttp.BaseResponse
Response *struct {
// 产品列表
Products []*ProductEntry `json:"Products,omitempty" name:"Products" list`
// 产品数量
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSearchStudioProductResponse ¶
func NewSearchStudioProductResponse() (response *SearchStudioProductResponse)
func (*SearchStudioProductResponse) FromJsonString ¶
func (r *SearchStudioProductResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchStudioProductResponse) ToJsonString ¶
func (r *SearchStudioProductResponse) ToJsonString() string
type SearchTopicRuleRequest ¶
type SearchTopicRuleRequest struct {
*tchttp.BaseRequest
// 规则名
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
}
func NewSearchTopicRuleRequest ¶
func NewSearchTopicRuleRequest() (request *SearchTopicRuleRequest)
func (*SearchTopicRuleRequest) FromJsonString ¶
func (r *SearchTopicRuleRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchTopicRuleRequest) ToJsonString ¶
func (r *SearchTopicRuleRequest) ToJsonString() string
type SearchTopicRuleResponse ¶
type SearchTopicRuleResponse struct {
*tchttp.BaseResponse
Response *struct {
// 搜索到的规则总数
TotalCnt *int64 `json:"TotalCnt,omitempty" name:"TotalCnt"`
// 规则信息列表
Rules []*TopicRuleInfo `json:"Rules,omitempty" name:"Rules" list`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewSearchTopicRuleResponse ¶
func NewSearchTopicRuleResponse() (response *SearchTopicRuleResponse)
func (*SearchTopicRuleResponse) FromJsonString ¶
func (r *SearchTopicRuleResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SearchTopicRuleResponse) ToJsonString ¶
func (r *SearchTopicRuleResponse) ToJsonString() string
type TopicRule ¶
type TopicRule struct {
// 规则名称。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
Sql *string `json:"Sql,omitempty" name:"Sql"`
// 规则描述。
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitempty" name:"Description"`
// 行为的JSON字符串。
// 注意:此字段可能返回 null,表示取不到有效值。
Actions *string `json:"Actions,omitempty" name:"Actions"`
// 是否禁用规则
// 注意:此字段可能返回 null,表示取不到有效值。
RuleDisabled *bool `json:"RuleDisabled,omitempty" name:"RuleDisabled"`
}
type TopicRuleInfo ¶
type TopicRuleInfo struct {
// 规则名称
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则描述
Description *string `json:"Description,omitempty" name:"Description"`
// 创建时间
CreatedAt *int64 `json:"CreatedAt,omitempty" name:"CreatedAt"`
// 规则是否禁用
RuleDisabled *bool `json:"RuleDisabled,omitempty" name:"RuleDisabled"`
}
type TopicRulePayload ¶
type TopicRulePayload struct {
// 规则的SQL语句,如: SELECT * FROM 'pid/dname/event',然后对其进行base64编码,得:U0VMRUNUICogRlJPTSAncGlkL2RuYW1lL2V2ZW50Jw==
Sql *string `json:"Sql,omitempty" name:"Sql"`
// 行为的JSON字符串,大部分种类举例如下:
// [
// {
// "republish": {
// "topic": "TEST/test"
// }
// },
// {
// "forward": {
// "api": "http://test.com:8080"
// }
// },
// {
// "ckafka": {
// "instance": {
// "id": "ckafka-test",
// "name": ""
// },
// "topic": {
// "id": "topic-test",
// "name": "test"
// },
// "region": "gz"
// }
// },
// {
// "cmqqueue": {
// "queuename": "queue-test-TEST",
// "region": "gz"
// }
// },
// {
// "mysql": {
// "instanceid": "cdb-test",
// "region": "gz",
// "username": "test",
// "userpwd": "*****",
// "dbname": "d_mqtt",
// "tablename": "t_test",
// "fieldpairs": [
// {
// "field": "test",
// "value": "test"
// }
// ],
// "devicetype": "CUSTOM"
// }
// }
// ]
Actions *string `json:"Actions,omitempty" name:"Actions"`
// 规则描述
Description *string `json:"Description,omitempty" name:"Description"`
// 是否禁用规则
RuleDisabled *bool `json:"RuleDisabled,omitempty" name:"RuleDisabled"`
}
type UpdateFirmwareRequest ¶
type UpdateFirmwareRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 设备名
DeviceName *string `json:"DeviceName,omitempty" name:"DeviceName"`
// 固件新的版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件原版本号
FirmwareOriVersion *string `json:"FirmwareOriVersion,omitempty" name:"FirmwareOriVersion"`
// 固件升级方式;0 静默升级 1 用户确认升级 不填默认静默升级
UpgradeMethod *uint64 `json:"UpgradeMethod,omitempty" name:"UpgradeMethod"`
}
func NewUpdateFirmwareRequest ¶
func NewUpdateFirmwareRequest() (request *UpdateFirmwareRequest)
func (*UpdateFirmwareRequest) FromJsonString ¶
func (r *UpdateFirmwareRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFirmwareRequest) ToJsonString ¶
func (r *UpdateFirmwareRequest) ToJsonString() string
type UpdateFirmwareResponse ¶
type UpdateFirmwareResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUpdateFirmwareResponse ¶
func NewUpdateFirmwareResponse() (response *UpdateFirmwareResponse)
func (*UpdateFirmwareResponse) FromJsonString ¶
func (r *UpdateFirmwareResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateFirmwareResponse) ToJsonString ¶
func (r *UpdateFirmwareResponse) ToJsonString() string
type UploadFirmwareRequest ¶
type UploadFirmwareRequest struct {
*tchttp.BaseRequest
// 产品ID
ProductID *string `json:"ProductID,omitempty" name:"ProductID"`
// 固件版本号
FirmwareVersion *string `json:"FirmwareVersion,omitempty" name:"FirmwareVersion"`
// 固件的MD5值
Md5sum *string `json:"Md5sum,omitempty" name:"Md5sum"`
// 固件的大小
FileSize *uint64 `json:"FileSize,omitempty" name:"FileSize"`
// 固件名称
FirmwareName *string `json:"FirmwareName,omitempty" name:"FirmwareName"`
// 固件描述
FirmwareDescription *string `json:"FirmwareDescription,omitempty" name:"FirmwareDescription"`
}
func NewUploadFirmwareRequest ¶
func NewUploadFirmwareRequest() (request *UploadFirmwareRequest)
func (*UploadFirmwareRequest) FromJsonString ¶
func (r *UploadFirmwareRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadFirmwareRequest) ToJsonString ¶
func (r *UploadFirmwareRequest) ToJsonString() string
type UploadFirmwareResponse ¶
type UploadFirmwareResponse struct {
*tchttp.BaseResponse
Response *struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
} `json:"Response"`
}
func NewUploadFirmwareResponse ¶
func NewUploadFirmwareResponse() (response *UploadFirmwareResponse)
func (*UploadFirmwareResponse) FromJsonString ¶
func (r *UploadFirmwareResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UploadFirmwareResponse) ToJsonString ¶
func (r *UploadFirmwareResponse) ToJsonString() string