Skip to content

Commit 0a85035

Browse files
committed
regenerate code after upgrade
1 parent f6cea48 commit 0a85035

1,683 files changed

Lines changed: 5581 additions & 3747 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

equinix/services/fabricv4/api/cloud_routers_api.py

Lines changed: 126 additions & 84 deletions
Large diffs are not rendered by default.

equinix/services/fabricv4/api/connections_api.py

Lines changed: 63 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ def _create_connection_serialize(
291291
_query_params: List[Tuple[str, str]] = []
292292
_header_params: Dict[str, Optional[str]] = _headers or {}
293293
_form_params: List[Tuple[str, str]] = []
294-
_files: Dict[str, str] = {}
294+
_files: Dict[
295+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
296+
] = {}
295297
_body_params: Optional[bytes] = None
296298

297299
# process the path parameters
@@ -308,11 +310,12 @@ def _create_connection_serialize(
308310

309311

310312
# set the HTTP header `Accept`
311-
_header_params['Accept'] = self.api_client.select_header_accept(
312-
[
313-
'application/json'
314-
]
315-
)
313+
if 'Accept' not in _header_params:
314+
_header_params['Accept'] = self.api_client.select_header_accept(
315+
[
316+
'application/json'
317+
]
318+
)
316319

317320
# set the HTTP header `Content-Type`
318321
if _content_type:
@@ -591,7 +594,9 @@ def _create_connection_action_serialize(
591594
_query_params: List[Tuple[str, str]] = []
592595
_header_params: Dict[str, Optional[str]] = _headers or {}
593596
_form_params: List[Tuple[str, str]] = []
594-
_files: Dict[str, str] = {}
597+
_files: Dict[
598+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
599+
] = {}
595600
_body_params: Optional[bytes] = None
596601

597602
# process the path parameters
@@ -606,11 +611,12 @@ def _create_connection_action_serialize(
606611

607612

608613
# set the HTTP header `Accept`
609-
_header_params['Accept'] = self.api_client.select_header_accept(
610-
[
611-
'application/json'
612-
]
613-
)
614+
if 'Accept' not in _header_params:
615+
_header_params['Accept'] = self.api_client.select_header_accept(
616+
[
617+
'application/json'
618+
]
619+
)
614620

615621
# set the HTTP header `Content-Type`
616622
if _content_type:
@@ -879,7 +885,9 @@ def _delete_connection_by_uuid_serialize(
879885
_query_params: List[Tuple[str, str]] = []
880886
_header_params: Dict[str, Optional[str]] = _headers or {}
881887
_form_params: List[Tuple[str, str]] = []
882-
_files: Dict[str, str] = {}
888+
_files: Dict[
889+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
890+
] = {}
883891
_body_params: Optional[bytes] = None
884892

885893
# process the path parameters
@@ -892,11 +900,12 @@ def _delete_connection_by_uuid_serialize(
892900

893901

894902
# set the HTTP header `Accept`
895-
_header_params['Accept'] = self.api_client.select_header_accept(
896-
[
897-
'application/json'
898-
]
899-
)
903+
if 'Accept' not in _header_params:
904+
_header_params['Accept'] = self.api_client.select_header_accept(
905+
[
906+
'application/json'
907+
]
908+
)
900909

901910

902911
# authentication setting
@@ -1159,7 +1168,9 @@ def _get_connection_by_uuid_serialize(
11591168
_query_params: List[Tuple[str, str]] = []
11601169
_header_params: Dict[str, Optional[str]] = _headers or {}
11611170
_form_params: List[Tuple[str, str]] = []
1162-
_files: Dict[str, str] = {}
1171+
_files: Dict[
1172+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1173+
] = {}
11631174
_body_params: Optional[bytes] = None
11641175

11651176
# process the path parameters
@@ -1176,11 +1187,12 @@ def _get_connection_by_uuid_serialize(
11761187

11771188

11781189
# set the HTTP header `Accept`
1179-
_header_params['Accept'] = self.api_client.select_header_accept(
1180-
[
1181-
'application/json'
1182-
]
1183-
)
1190+
if 'Accept' not in _header_params:
1191+
_header_params['Accept'] = self.api_client.select_header_accept(
1192+
[
1193+
'application/json'
1194+
]
1195+
)
11841196

11851197

11861198
# authentication setting
@@ -1433,7 +1445,9 @@ def _search_connections_serialize(
14331445
_query_params: List[Tuple[str, str]] = []
14341446
_header_params: Dict[str, Optional[str]] = _headers or {}
14351447
_form_params: List[Tuple[str, str]] = []
1436-
_files: Dict[str, str] = {}
1448+
_files: Dict[
1449+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1450+
] = {}
14371451
_body_params: Optional[bytes] = None
14381452

14391453
# process the path parameters
@@ -1446,11 +1460,12 @@ def _search_connections_serialize(
14461460

14471461

14481462
# set the HTTP header `Accept`
1449-
_header_params['Accept'] = self.api_client.select_header_accept(
1450-
[
1451-
'application/json'
1452-
]
1453-
)
1463+
if 'Accept' not in _header_params:
1464+
_header_params['Accept'] = self.api_client.select_header_accept(
1465+
[
1466+
'application/json'
1467+
]
1468+
)
14541469

14551470
# set the HTTP header `Content-Type`
14561471
if _content_type:
@@ -1727,7 +1742,9 @@ def _update_connection_by_uuid_serialize(
17271742
_query_params: List[Tuple[str, str]] = []
17281743
_header_params: Dict[str, Optional[str]] = _headers or {}
17291744
_form_params: List[Tuple[str, str]] = []
1730-
_files: Dict[str, str] = {}
1745+
_files: Dict[
1746+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1747+
] = {}
17311748
_body_params: Optional[bytes] = None
17321749

17331750
# process the path parameters
@@ -1742,11 +1759,12 @@ def _update_connection_by_uuid_serialize(
17421759

17431760

17441761
# set the HTTP header `Accept`
1745-
_header_params['Accept'] = self.api_client.select_header_accept(
1746-
[
1747-
'application/json'
1748-
]
1749-
)
1762+
if 'Accept' not in _header_params:
1763+
_header_params['Accept'] = self.api_client.select_header_accept(
1764+
[
1765+
'application/json'
1766+
]
1767+
)
17501768

17511769
# set the HTTP header `Content-Type`
17521770
if _content_type:
@@ -2003,7 +2021,9 @@ def _validate_connections_serialize(
20032021
_query_params: List[Tuple[str, str]] = []
20042022
_header_params: Dict[str, Optional[str]] = _headers or {}
20052023
_form_params: List[Tuple[str, str]] = []
2006-
_files: Dict[str, str] = {}
2024+
_files: Dict[
2025+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2026+
] = {}
20072027
_body_params: Optional[bytes] = None
20082028

20092029
# process the path parameters
@@ -2016,11 +2036,12 @@ def _validate_connections_serialize(
20162036

20172037

20182038
# set the HTTP header `Accept`
2019-
_header_params['Accept'] = self.api_client.select_header_accept(
2020-
[
2021-
'application/json'
2022-
]
2023-
)
2039+
if 'Accept' not in _header_params:
2040+
_header_params['Accept'] = self.api_client.select_header_accept(
2041+
[
2042+
'application/json'
2043+
]
2044+
)
20242045

20252046
# set the HTTP header `Content-Type`
20262047
if _content_type:

equinix/services/fabricv4/api/health_api.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ def _get_status_serialize(
238238
_query_params: List[Tuple[str, str]] = []
239239
_header_params: Dict[str, Optional[str]] = _headers or {}
240240
_form_params: List[Tuple[str, str]] = []
241-
_files: Dict[str, str] = {}
241+
_files: Dict[
242+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
243+
] = {}
242244
_body_params: Optional[bytes] = None
243245

244246
# process the path parameters
@@ -249,11 +251,12 @@ def _get_status_serialize(
249251

250252

251253
# set the HTTP header `Accept`
252-
_header_params['Accept'] = self.api_client.select_header_accept(
253-
[
254-
'application/json'
255-
]
256-
)
254+
if 'Accept' not in _header_params:
255+
_header_params['Accept'] = self.api_client.select_header_accept(
256+
[
257+
'application/json'
258+
]
259+
)
257260

258261

259262
# authentication setting

equinix/services/fabricv4/api/marketplace_subscriptions_api.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ def _get_subscription_by_id_serialize(
265265
_query_params: List[Tuple[str, str]] = []
266266
_header_params: Dict[str, Optional[str]] = _headers or {}
267267
_form_params: List[Tuple[str, str]] = []
268-
_files: Dict[str, str] = {}
268+
_files: Dict[
269+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
270+
] = {}
269271
_body_params: Optional[bytes] = None
270272

271273
# process the path parameters
@@ -278,11 +280,12 @@ def _get_subscription_by_id_serialize(
278280

279281

280282
# set the HTTP header `Accept`
281-
_header_params['Accept'] = self.api_client.select_header_accept(
282-
[
283-
'application/json'
284-
]
285-
)
283+
if 'Accept' not in _header_params:
284+
_header_params['Accept'] = self.api_client.select_header_accept(
285+
[
286+
'application/json'
287+
]
288+
)
286289

287290

288291
# authentication setting

equinix/services/fabricv4/api/metros_api.py

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,9 @@ def _get_metro_by_code_serialize(
265265
_query_params: List[Tuple[str, str]] = []
266266
_header_params: Dict[str, Optional[str]] = _headers or {}
267267
_form_params: List[Tuple[str, str]] = []
268-
_files: Dict[str, str] = {}
268+
_files: Dict[
269+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
270+
] = {}
269271
_body_params: Optional[bytes] = None
270272

271273
# process the path parameters
@@ -278,11 +280,12 @@ def _get_metro_by_code_serialize(
278280

279281

280282
# set the HTTP header `Accept`
281-
_header_params['Accept'] = self.api_client.select_header_accept(
282-
[
283-
'application/json'
284-
]
285-
)
283+
if 'Accept' not in _header_params:
284+
_header_params['Accept'] = self.api_client.select_header_accept(
285+
[
286+
'application/json'
287+
]
288+
)
286289

287290

288291
# authentication setting
@@ -558,7 +561,9 @@ def _get_metros_serialize(
558561
_query_params: List[Tuple[str, str]] = []
559562
_header_params: Dict[str, Optional[str]] = _headers or {}
560563
_form_params: List[Tuple[str, str]] = []
561-
_files: Dict[str, str] = {}
564+
_files: Dict[
565+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
566+
] = {}
562567
_body_params: Optional[bytes] = None
563568

564569
# process the path parameters
@@ -581,11 +586,12 @@ def _get_metros_serialize(
581586

582587

583588
# set the HTTP header `Accept`
584-
_header_params['Accept'] = self.api_client.select_header_accept(
585-
[
586-
'application/json'
587-
]
588-
)
589+
if 'Accept' not in _header_params:
590+
_header_params['Accept'] = self.api_client.select_header_accept(
591+
[
592+
'application/json'
593+
]
594+
)
589595

590596

591597
# authentication setting

0 commit comments

Comments
 (0)