Skip to content

Commit 5745f74

Browse files
feat(api): api update
1 parent 1a935f1 commit 5745f74

3 files changed

Lines changed: 11 additions & 13 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: 1777
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a4f690382f570f545a035c6a1c0e0e77ec55d8070a52f245dc46b069fb3c6009.yml
3-
openapi_spec_hash: 7fb90352e3acc8b7bad0718ec46e6c30
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d07750284af5d32083cde2ea5f50c31f1d02b2eaf1b549fd5038ebc4e04aac3e.yml
3+
openapi_spec_hash: c0969d735c1e7c616d8bece6c9954bfc
44
config_hash: a35e9eb0436652c704bebf7c0a38085b
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3-
from typing import Optional
4-
53
from ...._models import BaseModel
64
from .doh_endpoint import DOHEndpoint
75
from .dot_endpoint import DOTEndpoint
@@ -12,10 +10,10 @@
1210

1311

1412
class Endpoint(BaseModel):
15-
doh: Optional[DOHEndpoint] = None
13+
doh: DOHEndpoint
1614

17-
dot: Optional[DOTEndpoint] = None
15+
dot: DOTEndpoint
1816

19-
ipv4: Optional[IPV4Endpoint] = None
17+
ipv4: IPV4Endpoint
2018

21-
ipv6: Optional[IPV6Endpoint] = None
19+
ipv6: IPV6Endpoint

src/cloudflare/types/zero_trust/gateway/endpoint_param.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from typing_extensions import TypedDict
5+
from typing_extensions import Required, TypedDict
66

77
from .doh_endpoint_param import DOHEndpointParam
88
from .dot_endpoint_param import DOTEndpointParam
@@ -13,10 +13,10 @@
1313

1414

1515
class EndpointParam(TypedDict, total=False):
16-
doh: DOHEndpointParam
16+
doh: Required[DOHEndpointParam]
1717

18-
dot: DOTEndpointParam
18+
dot: Required[DOTEndpointParam]
1919

20-
ipv4: IPV4EndpointParam
20+
ipv4: Required[IPV4EndpointParam]
2121

22-
ipv6: IPV6EndpointParam
22+
ipv6: Required[IPV6EndpointParam]

0 commit comments

Comments
 (0)