File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed
scaleway-async/scaleway_async/mnq/v1beta1
scaleway/scaleway/mnq/v1beta1 Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,12 @@ def unmarshal_NatsCredentials(data: Any) -> NatsCredentials:
137
137
else :
138
138
args ["nats_account_id" ] = None
139
139
140
+ field = data .get ("region" , None )
141
+ if field is not None :
142
+ args ["region" ] = field
143
+ else :
144
+ args ["region" ] = None
145
+
140
146
field = data .get ("checksum" , None )
141
147
if field is not None :
142
148
args ["checksum" ] = field
Original file line number Diff line number Diff line change @@ -185,6 +185,11 @@ class NatsCredentials:
185
185
NATS account containing the credentials.
186
186
"""
187
187
188
+ region : ScwRegion
189
+ """
190
+ Region where the NATS account is deployed.
191
+ """
192
+
188
193
checksum : str
189
194
"""
190
195
Checksum of the credentials file.
Original file line number Diff line number Diff line change @@ -137,6 +137,12 @@ def unmarshal_NatsCredentials(data: Any) -> NatsCredentials:
137
137
else :
138
138
args ["nats_account_id" ] = None
139
139
140
+ field = data .get ("region" , None )
141
+ if field is not None :
142
+ args ["region" ] = field
143
+ else :
144
+ args ["region" ] = None
145
+
140
146
field = data .get ("checksum" , None )
141
147
if field is not None :
142
148
args ["checksum" ] = field
Original file line number Diff line number Diff line change @@ -185,6 +185,11 @@ class NatsCredentials:
185
185
NATS account containing the credentials.
186
186
"""
187
187
188
+ region : ScwRegion
189
+ """
190
+ Region where the NATS account is deployed.
191
+ """
192
+
188
193
checksum : str
189
194
"""
190
195
Checksum of the credentials file.
You can’t perform that action at this time.
0 commit comments