-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(origin_post_quantum_encryption): swap PUT for PATCH operation (#…
- Loading branch information
1 parent
bdb21a5
commit f6b6e83
Showing
7 changed files
with
285 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
configured_endpoints: 1489 | ||
configured_endpoints: 1490 | ||
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d52d1344e2e65f3eda2fe8fff8c7d95cebf7cad134af21eaf9d6d5b6a04d783a.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
...dflare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_edit_params.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing_extensions import Literal, Required, TypedDict | ||
|
||
__all__ = ["OriginPostQuantumEncryptionEditParams"] | ||
|
||
|
||
class OriginPostQuantumEncryptionEditParams(TypedDict, total=False): | ||
zone_id: Required[str] | ||
"""Identifier""" | ||
|
||
value: Required[Literal["preferred", "supported", "off"]] | ||
"""Value of the Origin Post Quantum Encryption Setting.""" |
23 changes: 23 additions & 0 deletions
23
...lare/types/origin_post_quantum_encryption/origin_post_quantum_encryption_edit_response.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from datetime import datetime | ||
from typing_extensions import Literal | ||
|
||
from ..._models import BaseModel | ||
|
||
__all__ = ["OriginPostQuantumEncryptionEditResponse"] | ||
|
||
|
||
class OriginPostQuantumEncryptionEditResponse(BaseModel): | ||
id: Literal["origin_pqe"] | ||
"""Value of the zone setting.""" | ||
|
||
editable: bool | ||
"""Whether the setting is editable""" | ||
|
||
value: Literal["preferred", "supported", "off"] | ||
"""The value of the feature""" | ||
|
||
modified_on: Optional[datetime] = None | ||
"""Last time this setting was modified.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters