Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 917ae30a86 |
@@ -56,13 +56,13 @@ type DeviceAttributeOption struct {
|
||||
Type uint8 `json:"type"`
|
||||
ContentType uint8 `json:"content_type"`
|
||||
Attribute []struct {
|
||||
Type uint8 `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Flag uint8 `json:"flag"`
|
||||
Field string `json:"field"`
|
||||
Readonly bool `json:"readonly"`
|
||||
AllowItem *[]int `json:"allow_item,omitempty"`
|
||||
Min *uint32 `json:"min,omitempty"`
|
||||
Max *uint32 `json:"max,omitempty"`
|
||||
Type uint8 `json:"type"`
|
||||
Name string `json:"name"`
|
||||
Flag uint8 `json:"flag"`
|
||||
Field string `json:"field"`
|
||||
Readonly bool `json:"readonly"`
|
||||
AllowItem *[]uint8 `json:"allow_item,omitempty"`
|
||||
Min *uint32 `json:"min,omitempty"`
|
||||
Max *uint32 `json:"max,omitempty"`
|
||||
} `json:"attribute"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user