File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -6523,6 +6523,23 @@ func (s *Screenboard) SetWidth(v int) {
6523
6523
s .Width = & v
6524
6524
}
6525
6525
6526
+ // GetWidgets returns the []Widget field if non-nil, zero value otherwise.
6527
+ func (s * Screenboard ) GetWidgets () []Widget {
6528
+ if s == nil || s .Widgets == nil {
6529
+ return []Widget {}
6530
+ }
6531
+ return s .Widgets
6532
+ }
6533
+
6534
+ // GetWidgetsByOk returns a tuple with the []Widget field if it's non-nil, zero value otherwise
6535
+ // and a boolean to check if the value has been set.
6536
+ func (s * Screenboard ) GetWidgetsByOk () ([]Widget , bool ) {
6537
+ if s == nil || s .Widgets == nil {
6538
+ return []Widget {}, false
6539
+ }
6540
+ return s .Widgets , true
6541
+ }
6542
+
6526
6543
// GetId returns the Id field if non-nil, zero value otherwise.
6527
6544
func (s * ScreenboardLite ) GetId () int {
6528
6545
if s == nil || s .Id == nil {
You can’t perform that action at this time.
0 commit comments