@@ -68,53 +68,58 @@ var (
68
68
Widgets : []iotclient.Widget {
69
69
{Name : toStringPointer ("Switch-name" ), Height : 1 , HeightMobile : toInt64Pointer (2 ), Width : 3 , WidthMobile : toInt64Pointer (4 ),
70
70
X : 5 , XMobile : toInt64Pointer (6 ), Y : 7 , YMobile : toInt64Pointer (8 ), Options : map [string ]interface {}{"showLabels" : true },
71
- Type : "Switch" ,
71
+ Type : "Switch" , AdditionalProperties : map [ string ] any {},
72
72
},
73
73
},
74
+ AdditionalProperties : map [string ]any {},
74
75
}
75
76
76
77
dashboardNoOptions = & iotclient.Dashboardv2 {
77
78
Name : toStringPointer ("dashboard-no-options" ),
78
79
Widgets : []iotclient.Widget {
79
80
{Name : toStringPointer ("Switch-name" ), Height : 1 , HeightMobile : toInt64Pointer (2 ), Width : 3 , WidthMobile : toInt64Pointer (4 ),
80
81
X : 5 , XMobile : toInt64Pointer (6 ), Y : 7 , YMobile : toInt64Pointer (8 ), Options : map [string ]interface {}{},
81
- Type : "Switch" ,
82
+ Type : "Switch" , AdditionalProperties : map [ string ] any {},
82
83
},
83
84
},
85
+ AdditionalProperties : map [string ]any {},
84
86
}
85
87
86
88
dashboardWithVariable = & iotclient.Dashboardv2 {
87
89
Name : toStringPointer ("dashboard-with-variable" ),
88
90
Widgets : []iotclient.Widget {
89
91
{Name : toStringPointer ("Switch-name" ), Height : 1 , HeightMobile : toInt64Pointer (2 ), Width : 3 , WidthMobile : toInt64Pointer (4 ),
90
92
X : 5 , XMobile : toInt64Pointer (6 ), Y : 7 , YMobile : toInt64Pointer (8 ), Options : map [string ]interface {}{"showLabels" : true }, Type : "Switch" ,
91
- Variables : []string {switchyID },
93
+ Variables : []string {switchyID }, AdditionalProperties : map [ string ] any {},
92
94
},
93
95
},
96
+ AdditionalProperties : map [string ]any {},
94
97
}
95
98
96
99
dashboardVariableOverride = & iotclient.Dashboardv2 {
97
100
Name : toStringPointer ("dashboard-with-variable" ),
98
101
Widgets : []iotclient.Widget {
99
102
{Name : toStringPointer ("Switch-name" ), Height : 1 , HeightMobile : toInt64Pointer (2 ), Width : 3 , WidthMobile : toInt64Pointer (4 ),
100
103
X : 5 , XMobile : toInt64Pointer (6 ), Y : 7 , YMobile : toInt64Pointer (8 ), Options : map [string ]interface {}{"showLabels" : true }, Type : "Switch" ,
101
- Variables : []string {switchyOverriddenID },
104
+ Variables : []string {switchyOverriddenID }, AdditionalProperties : map [ string ] any {},
102
105
},
103
106
},
107
+ AdditionalProperties : map [string ]any {},
104
108
}
105
109
106
110
dashboardTwoWidgets = & iotclient.Dashboardv2 {
107
111
Name : toStringPointer ("dashboard-two-widgets" ),
108
112
Widgets : []iotclient.Widget {
109
113
{Name : toStringPointer ("blink_speed" ), Height : 7 , Width : 8 ,
110
114
X : 7 , Y : 5 , Options : map [string ]interface {}{"min" : float64 (0 ), "max" : float64 (5000 )}, Type : "Slider" ,
111
- Variables : []string {blinkSpeedID },
115
+ Variables : []string {blinkSpeedID }, AdditionalProperties : map [ string ] any {},
112
116
},
113
117
{Name : toStringPointer ("relay_2" ), Height : 5 , Width : 5 ,
114
118
X : 5 , Y : 0 , Options : map [string ]interface {}{"showLabels" : true }, Type : "Switch" ,
115
- Variables : []string {relayID },
119
+ Variables : []string {relayID }, AdditionalProperties : map [ string ] any {},
116
120
},
117
121
},
122
+ AdditionalProperties : map [string ]any {},
118
123
}
119
124
)
120
125
0 commit comments