From cf972bbbe25203a42bfc9f9b6c80a0aac64a30dc Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 21:43:04 +0000 Subject: [PATCH] feat(api): update via SDK Studio (#1189) --- .../types/zero_trust/gateway/location.py | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/cloudflare/types/zero_trust/gateway/location.py b/src/cloudflare/types/zero_trust/gateway/location.py index 4b76f631fc4..ae5690f7331 100644 --- a/src/cloudflare/types/zero_trust/gateway/location.py +++ b/src/cloudflare/types/zero_trust/gateway/location.py @@ -8,10 +8,10 @@ __all__ = [ "Location", "Endpoints", - "EndpointsDoh", - "EndpointsDohNetwork", - "EndpointsDot", - "EndpointsDotNetwork", + "EndpointsDOH", + "EndpointsDOHNetwork", + "EndpointsDOT", + "EndpointsDOTNetwork", "EndpointsIPV4", "EndpointsIPV6", "EndpointsIPV6Network", @@ -19,16 +19,16 @@ ] -class EndpointsDohNetwork(BaseModel): +class EndpointsDOHNetwork(BaseModel): network: str """The IP address or IP CIDR.""" -class EndpointsDoh(BaseModel): +class EndpointsDOH(BaseModel): enabled: Optional[bool] = None """True if the endpoint is enabled for this location.""" - networks: Optional[List[EndpointsDohNetwork]] = None + networks: Optional[List[EndpointsDOHNetwork]] = None """A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if @@ -43,16 +43,16 @@ class EndpointsDoh(BaseModel): """ -class EndpointsDotNetwork(BaseModel): +class EndpointsDOTNetwork(BaseModel): network: str """The IP address or IP CIDR.""" -class EndpointsDot(BaseModel): +class EndpointsDOT(BaseModel): enabled: Optional[bool] = None """True if the endpoint is enabled for this location.""" - networks: Optional[List[EndpointsDotNetwork]] = None + networks: Optional[List[EndpointsDOTNetwork]] = None """A list of allowed source IP network ranges for this endpoint. When empty, all source IPs are allowed. A non-empty list is only effective if @@ -83,9 +83,9 @@ class EndpointsIPV6(BaseModel): class Endpoints(BaseModel): - doh: Optional[EndpointsDoh] = None + doh: Optional[EndpointsDOH] = None - dot: Optional[EndpointsDot] = None + dot: Optional[EndpointsDOT] = None ipv4: Optional[EndpointsIPV4] = None