|
@@ -17,97 +17,109 @@ package iot
|
|
|
|
|
|
|
|
// Data is a nested struct in iot response
|
|
// Data is a nested struct in iot response
|
|
|
type Data struct {
|
|
type Data struct {
|
|
|
- DataFormat int `json:"DataFormat" xml:"DataFormat"`
|
|
|
|
|
- BizEnable bool `json:"BizEnable" xml:"BizEnable"`
|
|
|
|
|
LatestDeploymentStatus int `json:"LatestDeploymentStatus" xml:"LatestDeploymentStatus"`
|
|
LatestDeploymentStatus int `json:"LatestDeploymentStatus" xml:"LatestDeploymentStatus"`
|
|
|
RoleAttachTime string `json:"RoleAttachTime" xml:"RoleAttachTime"`
|
|
RoleAttachTime string `json:"RoleAttachTime" xml:"RoleAttachTime"`
|
|
|
RequestProtocol string `json:"RequestProtocol" xml:"RequestProtocol"`
|
|
RequestProtocol string `json:"RequestProtocol" xml:"RequestProtocol"`
|
|
|
- GmtCompleted string `json:"GmtCompleted" xml:"GmtCompleted"`
|
|
|
|
|
- UtcCreate string `json:"UtcCreate" xml:"UtcCreate"`
|
|
|
|
|
|
|
+ ContainerConfig string `json:"ContainerConfig" xml:"ContainerConfig"`
|
|
|
UtcStartTime string `json:"UtcStartTime" xml:"UtcStartTime"`
|
|
UtcStartTime string `json:"UtcStartTime" xml:"UtcStartTime"`
|
|
|
RoleName string `json:"RoleName" xml:"RoleName"`
|
|
RoleName string `json:"RoleName" xml:"RoleName"`
|
|
|
Spec int `json:"Spec" xml:"Spec"`
|
|
Spec int `json:"Spec" xml:"Spec"`
|
|
|
- DeviceActive int `json:"DeviceActive" xml:"DeviceActive"`
|
|
|
|
|
RequestMethod string `json:"RequestMethod" xml:"RequestMethod"`
|
|
RequestMethod string `json:"RequestMethod" xml:"RequestMethod"`
|
|
|
Nickname string `json:"Nickname" xml:"Nickname"`
|
|
Nickname string `json:"Nickname" xml:"Nickname"`
|
|
|
- PageNo int `json:"PageNo" xml:"PageNo"`
|
|
|
|
|
UtcEndTime string `json:"UtcEndTime" xml:"UtcEndTime"`
|
|
UtcEndTime string `json:"UtcEndTime" xml:"UtcEndTime"`
|
|
|
DevEui string `json:"DevEui" xml:"DevEui"`
|
|
DevEui string `json:"DevEui" xml:"DevEui"`
|
|
|
GroupId string `json:"GroupId" xml:"GroupId"`
|
|
GroupId string `json:"GroupId" xml:"GroupId"`
|
|
|
JobType string `json:"JobType" xml:"JobType"`
|
|
JobType string `json:"JobType" xml:"JobType"`
|
|
|
LatestDeploymentType string `json:"LatestDeploymentType" xml:"LatestDeploymentType"`
|
|
LatestDeploymentType string `json:"LatestDeploymentType" xml:"LatestDeploymentType"`
|
|
|
- RoleArn string `json:"RoleArn" xml:"RoleArn"`
|
|
|
|
|
Type string `json:"Type" xml:"Type"`
|
|
Type string `json:"Type" xml:"Type"`
|
|
|
FileId string `json:"FileId" xml:"FileId"`
|
|
FileId string `json:"FileId" xml:"FileId"`
|
|
|
ThingModelJson string `json:"ThingModelJson" xml:"ThingModelJson"`
|
|
ThingModelJson string `json:"ThingModelJson" xml:"ThingModelJson"`
|
|
|
LastUpdateTime int64 `json:"LastUpdateTime" xml:"LastUpdateTime"`
|
|
LastUpdateTime int64 `json:"LastUpdateTime" xml:"LastUpdateTime"`
|
|
|
- Tags string `json:"Tags" xml:"Tags"`
|
|
|
|
|
Versions string `json:"Versions" xml:"Versions"`
|
|
Versions string `json:"Versions" xml:"Versions"`
|
|
|
TslUri string `json:"TslUri" xml:"TslUri"`
|
|
TslUri string `json:"TslUri" xml:"TslUri"`
|
|
|
SelectionType string `json:"SelectionType" xml:"SelectionType"`
|
|
SelectionType string `json:"SelectionType" xml:"SelectionType"`
|
|
|
FirmwareId string `json:"FirmwareId" xml:"FirmwareId"`
|
|
FirmwareId string `json:"FirmwareId" xml:"FirmwareId"`
|
|
|
AliyunCommodityCode string `json:"AliyunCommodityCode" xml:"AliyunCommodityCode"`
|
|
AliyunCommodityCode string `json:"AliyunCommodityCode" xml:"AliyunCommodityCode"`
|
|
|
ApplyId int64 `json:"ApplyId" xml:"ApplyId"`
|
|
ApplyId int64 `json:"ApplyId" xml:"ApplyId"`
|
|
|
- UtcCreatedOn string `json:"UtcCreatedOn" xml:"UtcCreatedOn"`
|
|
|
|
|
- UtcModified string `json:"UtcModified" xml:"UtcModified"`
|
|
|
|
|
Host string `json:"Host" xml:"Host"`
|
|
Host string `json:"Host" xml:"Host"`
|
|
|
- MessageId string `json:"MessageId" xml:"MessageId"`
|
|
|
|
|
DeviceName string `json:"DeviceName" xml:"DeviceName"`
|
|
DeviceName string `json:"DeviceName" xml:"DeviceName"`
|
|
|
PageCount int64 `json:"PageCount" xml:"PageCount"`
|
|
PageCount int64 `json:"PageCount" xml:"PageCount"`
|
|
|
Size string `json:"Size" xml:"Size"`
|
|
Size string `json:"Size" xml:"Size"`
|
|
|
- Id2 bool `json:"Id2" xml:"Id2"`
|
|
|
|
|
- NodeType int `json:"NodeType" xml:"NodeType"`
|
|
|
|
|
- TslStr string `json:"TslStr" xml:"TslStr"`
|
|
|
|
|
UtcScheduleTime string `json:"UtcScheduleTime" xml:"UtcScheduleTime"`
|
|
UtcScheduleTime string `json:"UtcScheduleTime" xml:"UtcScheduleTime"`
|
|
|
- ApiSrn string `json:"ApiSrn" xml:"ApiSrn"`
|
|
|
|
|
ProductName string `json:"ProductName" xml:"ProductName"`
|
|
ProductName string `json:"ProductName" xml:"ProductName"`
|
|
|
Name string `json:"Name" xml:"Name"`
|
|
Name string `json:"Name" xml:"Name"`
|
|
|
- OSSAccessKeyId string `json:"OSSAccessKeyId" xml:"OSSAccessKeyId"`
|
|
|
|
|
- GroupName string `json:"GroupName" xml:"GroupName"`
|
|
|
|
|
|
|
+ GmtCreateTimestamp int64 `json:"GmtCreateTimestamp" xml:"GmtCreateTimestamp"`
|
|
|
DownloadUrl string `json:"DownloadUrl" xml:"DownloadUrl"`
|
|
DownloadUrl string `json:"DownloadUrl" xml:"DownloadUrl"`
|
|
|
RetryCount int `json:"RetryCount" xml:"RetryCount"`
|
|
RetryCount int `json:"RetryCount" xml:"RetryCount"`
|
|
|
- CreateTime int64 `json:"CreateTime" xml:"CreateTime"`
|
|
|
|
|
TimeoutInMinutes int `json:"TimeoutInMinutes" xml:"TimeoutInMinutes"`
|
|
TimeoutInMinutes int `json:"TimeoutInMinutes" xml:"TimeoutInMinutes"`
|
|
|
- DeploymentId string `json:"DeploymentId" xml:"DeploymentId"`
|
|
|
|
|
PageSize int `json:"PageSize" xml:"PageSize"`
|
|
PageSize int `json:"PageSize" xml:"PageSize"`
|
|
|
Key string `json:"Key" xml:"Key"`
|
|
Key string `json:"Key" xml:"Key"`
|
|
|
GmtCreate string `json:"GmtCreate" xml:"GmtCreate"`
|
|
GmtCreate string `json:"GmtCreate" xml:"GmtCreate"`
|
|
|
- FirmwareUrl string `json:"FirmwareUrl" xml:"FirmwareUrl"`
|
|
|
|
|
DestVersion string `json:"DestVersion" xml:"DestVersion"`
|
|
DestVersion string `json:"DestVersion" xml:"DestVersion"`
|
|
|
InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
MaximumPerMinute int `json:"MaximumPerMinute" xml:"MaximumPerMinute"`
|
|
MaximumPerMinute int `json:"MaximumPerMinute" xml:"MaximumPerMinute"`
|
|
|
- JobDesc string `json:"JobDesc" xml:"JobDesc"`
|
|
|
|
|
JobStatus string `json:"JobStatus" xml:"JobStatus"`
|
|
JobStatus string `json:"JobStatus" xml:"JobStatus"`
|
|
|
- Description string `json:"Description" xml:"Description"`
|
|
|
|
|
Policy string `json:"Policy" xml:"Policy"`
|
|
Policy string `json:"Policy" xml:"Policy"`
|
|
|
DateFormat string `json:"DateFormat" xml:"DateFormat"`
|
|
DateFormat string `json:"DateFormat" xml:"DateFormat"`
|
|
|
- ApiPath string `json:"ApiPath" xml:"ApiPath"`
|
|
|
|
|
DeviceOnline int `json:"DeviceOnline" xml:"DeviceOnline"`
|
|
DeviceOnline int `json:"DeviceOnline" xml:"DeviceOnline"`
|
|
|
JobId string `json:"JobId" xml:"JobId"`
|
|
JobId string `json:"JobId" xml:"JobId"`
|
|
|
- Status int `json:"Status" xml:"Status"`
|
|
|
|
|
- Result string `json:"Result" xml:"Result"`
|
|
|
|
|
RetryInterval int `json:"RetryInterval" xml:"RetryInterval"`
|
|
RetryInterval int `json:"RetryInterval" xml:"RetryInterval"`
|
|
|
- DeviceSecret string `json:"DeviceSecret" xml:"DeviceSecret"`
|
|
|
|
|
- ProductKey string `json:"ProductKey" xml:"ProductKey"`
|
|
|
|
|
- GmtModified string `json:"GmtModified" xml:"GmtModified"`
|
|
|
|
|
- DisplayName string `json:"DisplayName" xml:"DisplayName"`
|
|
|
|
|
|
|
+ EdgeVersion string `json:"EdgeVersion" xml:"EdgeVersion"`
|
|
|
JoinEui string `json:"JoinEui" xml:"JoinEui"`
|
|
JoinEui string `json:"JoinEui" xml:"JoinEui"`
|
|
|
|
|
+ DriverId string `json:"DriverId" xml:"DriverId"`
|
|
|
CurrentPage int `json:"CurrentPage" xml:"CurrentPage"`
|
|
CurrentPage int `json:"CurrentPage" xml:"CurrentPage"`
|
|
|
Signature string `json:"Signature" xml:"Signature"`
|
|
Signature string `json:"Signature" xml:"Signature"`
|
|
|
- IotId string `json:"IotId" xml:"IotId"`
|
|
|
|
|
- GroupDesc string `json:"GroupDesc" xml:"GroupDesc"`
|
|
|
|
|
DeviceCount int `json:"DeviceCount" xml:"DeviceCount"`
|
|
DeviceCount int `json:"DeviceCount" xml:"DeviceCount"`
|
|
|
- GrayPercent string `json:"GrayPercent" xml:"GrayPercent"`
|
|
|
|
|
ProtocolType string `json:"ProtocolType" xml:"ProtocolType"`
|
|
ProtocolType string `json:"ProtocolType" xml:"ProtocolType"`
|
|
|
AuthType string `json:"AuthType" xml:"AuthType"`
|
|
AuthType string `json:"AuthType" xml:"AuthType"`
|
|
|
Total int64 `json:"Total" xml:"Total"`
|
|
Total int64 `json:"Total" xml:"Total"`
|
|
|
TargetSelection string `json:"TargetSelection" xml:"TargetSelection"`
|
|
TargetSelection string `json:"TargetSelection" xml:"TargetSelection"`
|
|
|
|
|
+ DataFormat int `json:"DataFormat" xml:"DataFormat"`
|
|
|
|
|
+ BizEnable bool `json:"BizEnable" xml:"BizEnable"`
|
|
|
|
|
+ GmtCompleted string `json:"GmtCompleted" xml:"GmtCompleted"`
|
|
|
|
|
+ UtcCreate string `json:"UtcCreate" xml:"UtcCreate"`
|
|
|
|
|
+ DeviceActive int `json:"DeviceActive" xml:"DeviceActive"`
|
|
|
|
|
+ DriverVersion string `json:"DriverVersion" xml:"DriverVersion"`
|
|
|
|
|
+ GmtCompletedTimestamp int64 `json:"GmtCompletedTimestamp" xml:"GmtCompletedTimestamp"`
|
|
|
|
|
+ PageNo int `json:"PageNo" xml:"PageNo"`
|
|
|
|
|
+ DriverConfig string `json:"DriverConfig" xml:"DriverConfig"`
|
|
|
|
|
+ RoleArn string `json:"RoleArn" xml:"RoleArn"`
|
|
|
|
|
+ Tags string `json:"Tags" xml:"Tags"`
|
|
|
|
|
+ UtcCreatedOn string `json:"UtcCreatedOn" xml:"UtcCreatedOn"`
|
|
|
|
|
+ UtcModified string `json:"UtcModified" xml:"UtcModified"`
|
|
|
|
|
+ MessageId string `json:"MessageId" xml:"MessageId"`
|
|
|
|
|
+ SrcVersions string `json:"SrcVersions" xml:"SrcVersions"`
|
|
|
|
|
+ Id2 bool `json:"Id2" xml:"Id2"`
|
|
|
|
|
+ NodeType int `json:"NodeType" xml:"NodeType"`
|
|
|
|
|
+ ConfigCheckRule string `json:"ConfigCheckRule" xml:"ConfigCheckRule"`
|
|
|
|
|
+ TslStr string `json:"TslStr" xml:"TslStr"`
|
|
|
|
|
+ ApiSrn string `json:"ApiSrn" xml:"ApiSrn"`
|
|
|
|
|
+ OSSAccessKeyId string `json:"OSSAccessKeyId" xml:"OSSAccessKeyId"`
|
|
|
|
|
+ SourceConfig string `json:"SourceConfig" xml:"SourceConfig"`
|
|
|
|
|
+ GroupName string `json:"GroupName" xml:"GroupName"`
|
|
|
|
|
+ CreateTime int64 `json:"CreateTime" xml:"CreateTime"`
|
|
|
|
|
+ DeploymentId string `json:"DeploymentId" xml:"DeploymentId"`
|
|
|
|
|
+ FirmwareUrl string `json:"FirmwareUrl" xml:"FirmwareUrl"`
|
|
|
|
|
+ RoleAttachTimestamp int64 `json:"RoleAttachTimestamp" xml:"RoleAttachTimestamp"`
|
|
|
|
|
+ JobDesc string `json:"JobDesc" xml:"JobDesc"`
|
|
|
|
|
+ Description string `json:"Description" xml:"Description"`
|
|
|
|
|
+ GmtModifiedTimestamp int64 `json:"GmtModifiedTimestamp" xml:"GmtModifiedTimestamp"`
|
|
|
|
|
+ ApiPath string `json:"ApiPath" xml:"ApiPath"`
|
|
|
|
|
+ Status int `json:"Status" xml:"Status"`
|
|
|
|
|
+ Result string `json:"Result" xml:"Result"`
|
|
|
|
|
+ DeviceSecret string `json:"DeviceSecret" xml:"DeviceSecret"`
|
|
|
|
|
+ ProductKey string `json:"ProductKey" xml:"ProductKey"`
|
|
|
|
|
+ GmtModified string `json:"GmtModified" xml:"GmtModified"`
|
|
|
|
|
+ DisplayName string `json:"DisplayName" xml:"DisplayName"`
|
|
|
|
|
+ VersionState string `json:"VersionState" xml:"VersionState"`
|
|
|
|
|
+ IotId string `json:"IotId" xml:"IotId"`
|
|
|
|
|
+ GroupDesc string `json:"GroupDesc" xml:"GroupDesc"`
|
|
|
|
|
+ GrayPercent string `json:"GrayPercent" xml:"GrayPercent"`
|
|
|
|
|
+ ResultList ResultList `json:"ResultList" xml:"ResultList"`
|
|
|
FieldNameList FieldNameList `json:"FieldNameList" xml:"FieldNameList"`
|
|
FieldNameList FieldNameList `json:"FieldNameList" xml:"FieldNameList"`
|
|
|
- SrcVersions SrcVersions `json:"SrcVersions" xml:"SrcVersions"`
|
|
|
|
|
InvalidDeviceNameList InvalidDeviceNameList `json:"InvalidDeviceNameList" xml:"InvalidDeviceNameList"`
|
|
InvalidDeviceNameList InvalidDeviceNameList `json:"InvalidDeviceNameList" xml:"InvalidDeviceNameList"`
|
|
|
- ResultList ResultList `json:"ResultList" xml:"ResultList"`
|
|
|
|
|
SqlTemplateDTO SqlTemplateDTO `json:"SqlTemplateDTO" xml:"SqlTemplateDTO"`
|
|
SqlTemplateDTO SqlTemplateDTO `json:"SqlTemplateDTO" xml:"SqlTemplateDTO"`
|
|
|
- ModelVersions []ModelVersion `json:"ModelVersions" xml:"ModelVersions"`
|
|
|
|
|
TaskList []Task `json:"TaskList" xml:"TaskList"`
|
|
TaskList []Task `json:"TaskList" xml:"TaskList"`
|
|
|
|
|
+ ModelVersions []ModelVersion `json:"ModelVersions" xml:"ModelVersions"`
|
|
|
List ListInGetThingTopo `json:"List" xml:"List"`
|
|
List ListInGetThingTopo `json:"List" xml:"List"`
|
|
|
}
|
|
}
|