Skip to content

Commit b3a3cf6

Browse files
chore(api): update composite API spec
1 parent 17b788b commit b3a3cf6

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1821
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-1938cc0b51139d714e4def7300332cd7b6f684a8cb79316f75fecb0ed63a518c.yml
3-
openapi_spec_hash: 372f7b6992a08d849bcd448ce9031522
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d8e7ff1453f8ed1da8441c816ddeeb62fea2b80612e1e2b4f62257853a6dc7eb.yml
3+
openapi_spec_hash: a40e8a9f5429ad266d3dcd9fbbaf4a4d
44
config_hash: 0ce5789fc4b59ae352e68d00847570c2

src/cloudflare/types/magic_transit/connectors/snapshot_get_response.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
__all__ = [
88
"SnapshotGetResponse",
9+
"Bond",
910
"DHCPLease",
1011
"Disk",
1112
"Interface",
@@ -17,6 +18,14 @@
1718
]
1819

1920

21+
class Bond(BaseModel):
22+
name: str
23+
"""Name of the network interface"""
24+
25+
status: str
26+
"""Current status of the network interface"""
27+
28+
2029
class DHCPLease(BaseModel):
2130
client_id: str
2231
"""Client ID of the device the IP Address was leased to"""
@@ -253,6 +262,9 @@ class Tunnel(BaseModel):
253262
connector_id: Optional[str] = None
254263
"""Connector identifier"""
255264

265+
probed_mtu: Optional[float] = None
266+
"""MTU as measured between the two ends of the tunnel"""
267+
256268

257269
class SnapshotGetResponse(BaseModel):
258270
count_reclaim_failures: float
@@ -273,6 +285,8 @@ class SnapshotGetResponse(BaseModel):
273285
v: str
274286
"""Version"""
275287

288+
bonds: Optional[List[Bond]] = None
289+
276290
cpu_count: Optional[float] = None
277291
"""Count of processors/cores"""
278292

src/cloudflare/types/magic_transit/connectors/snapshots/latest_list_response.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
__all__ = [
88
"LatestListResponse",
99
"Item",
10+
"ItemBond",
1011
"ItemDHCPLease",
1112
"ItemDisk",
1213
"ItemInterface",
@@ -18,6 +19,14 @@
1819
]
1920

2021

22+
class ItemBond(BaseModel):
23+
name: str
24+
"""Name of the network interface"""
25+
26+
status: str
27+
"""Current status of the network interface"""
28+
29+
2130
class ItemDHCPLease(BaseModel):
2231
client_id: str
2332
"""Client ID of the device the IP Address was leased to"""
@@ -254,6 +263,9 @@ class ItemTunnel(BaseModel):
254263
connector_id: Optional[str] = None
255264
"""Connector identifier"""
256265

266+
probed_mtu: Optional[float] = None
267+
"""MTU as measured between the two ends of the tunnel"""
268+
257269

258270
class Item(BaseModel):
259271
count_reclaim_failures: float
@@ -274,6 +286,8 @@ class Item(BaseModel):
274286
v: str
275287
"""Version"""
276288

289+
bonds: Optional[List[ItemBond]] = None
290+
277291
cpu_count: Optional[float] = None
278292
"""Count of processors/cores"""
279293

0 commit comments

Comments
 (0)