Skip to content

Commit f180318

Browse files
feat(api): api update
1 parent 1a667f2 commit f180318

4 files changed

Lines changed: 20 additions & 5 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1780
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4d23d05052d02bb368fe9c777172efa371c6be9d1855f3851d42f89c05b57370.yml
3-
openapi_spec_hash: 57e8b58a5c0f3ffa1dfb7a9e68486641
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-e11ecd82283dd3f7b3656cad55808ac97ed1580774b39d374ad31e8177dd90d1.yml
3+
openapi_spec_hash: 7164ecdc98d777ab3e0fcff08126b34a
44
config_hash: d0e248ca79b5e8c02f412a9f5cbf5fc5

src/cloudflare/types/network_interconnects/interconnect_create_response.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import List, Union, Optional
4-
from typing_extensions import TypeAlias
4+
from typing_extensions import Literal, TypeAlias
55

66
from ..._models import BaseModel
77

@@ -49,5 +49,10 @@ class NscInterconnectGcpPartnerBody(BaseModel):
4949

5050
owner: Optional[str] = None
5151

52+
speed: Optional[Literal["50M", "100M", "200M", "300M", "400M", "500M", "1G", "2G", "5G", "10G", "20G", "50G"]] = (
53+
None
54+
)
55+
"""Bandwidth structure as visible through the customer-facing API."""
56+
5257

5358
InterconnectCreateResponse: TypeAlias = Union[NscInterconnectPhysicalBody, NscInterconnectGcpPartnerBody]

src/cloudflare/types/network_interconnects/interconnect_get_response.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import List, Union, Optional
4-
from typing_extensions import TypeAlias
4+
from typing_extensions import Literal, TypeAlias
55

66
from ..._models import BaseModel
77

@@ -49,5 +49,10 @@ class NscInterconnectGcpPartnerBody(BaseModel):
4949

5050
owner: Optional[str] = None
5151

52+
speed: Optional[Literal["50M", "100M", "200M", "300M", "400M", "500M", "1G", "2G", "5G", "10G", "20G", "50G"]] = (
53+
None
54+
)
55+
"""Bandwidth structure as visible through the customer-facing API."""
56+
5257

5358
InterconnectGetResponse: TypeAlias = Union[NscInterconnectPhysicalBody, NscInterconnectGcpPartnerBody]

src/cloudflare/types/network_interconnects/interconnect_list_response.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import List, Union, Optional
4-
from typing_extensions import TypeAlias
4+
from typing_extensions import Literal, TypeAlias
55

66
from ..._models import BaseModel
77

@@ -50,6 +50,11 @@ class ItemNscInterconnectGcpPartnerBody(BaseModel):
5050

5151
owner: Optional[str] = None
5252

53+
speed: Optional[Literal["50M", "100M", "200M", "300M", "400M", "500M", "1G", "2G", "5G", "10G", "20G", "50G"]] = (
54+
None
55+
)
56+
"""Bandwidth structure as visible through the customer-facing API."""
57+
5358

5459
Item: TypeAlias = Union[ItemNscInterconnectPhysicalBody, ItemNscInterconnectGcpPartnerBody]
5560

0 commit comments

Comments
 (0)