File tree Expand file tree Collapse file tree 4 files changed +36
-0
lines changed
scaleway/scaleway/cockpit/v1
scaleway-async/scaleway_async/cockpit/v1 Expand file tree Collapse file tree 4 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,14 @@ def unmarshal_PreconfiguredAlertData(data: Any) -> PreconfiguredAlertData:
470
470
if field is not None :
471
471
args ["display_description" ] = field
472
472
473
+ field = data .get ("product_name" , None )
474
+ if field is not None :
475
+ args ["product_name" ] = field
476
+
477
+ field = data .get ("product_family" , None )
478
+ if field is not None :
479
+ args ["product_family" ] = field
480
+
473
481
return PreconfiguredAlertData (** args )
474
482
475
483
Original file line number Diff line number Diff line change @@ -148,6 +148,16 @@ class PreconfiguredAlertData:
148
148
Human readable description of the alert.
149
149
"""
150
150
151
+ product_name : str
152
+ """
153
+ Product associated with the alert.
154
+ """
155
+
156
+ product_family : str
157
+ """
158
+ Family of the product associated with the alert.
159
+ """
160
+
151
161
152
162
@dataclass
153
163
class ContactPointEmail :
Original file line number Diff line number Diff line change @@ -470,6 +470,14 @@ def unmarshal_PreconfiguredAlertData(data: Any) -> PreconfiguredAlertData:
470
470
if field is not None :
471
471
args ["display_description" ] = field
472
472
473
+ field = data .get ("product_name" , None )
474
+ if field is not None :
475
+ args ["product_name" ] = field
476
+
477
+ field = data .get ("product_family" , None )
478
+ if field is not None :
479
+ args ["product_family" ] = field
480
+
473
481
return PreconfiguredAlertData (** args )
474
482
475
483
Original file line number Diff line number Diff line change @@ -148,6 +148,16 @@ class PreconfiguredAlertData:
148
148
Human readable description of the alert.
149
149
"""
150
150
151
+ product_name : str
152
+ """
153
+ Product associated with the alert.
154
+ """
155
+
156
+ product_family : str
157
+ """
158
+ Family of the product associated with the alert.
159
+ """
160
+
151
161
152
162
@dataclass
153
163
class ContactPointEmail :
You can’t perform that action at this time.
0 commit comments