mirror of
https://github.com/cloudflare/cloudflare-python.git
synced 2026-01-16 23:01:03 +00:00
feat: OpenAPI spec update via Stainless API (#122)
This commit is contained in:
parent
cae2868592
commit
383c2db34c
5 changed files with 35 additions and 15 deletions
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
from typing import List, Union, Optional
|
||||
from datetime import datetime
|
||||
from typing_extensions import Literal
|
||||
from typing_extensions import Literal, Annotated
|
||||
|
||||
from ..._utils import PropertyInfo
|
||||
from ..._models import BaseModel
|
||||
|
||||
__all__ = [
|
||||
|
|
@ -1659,6 +1660,9 @@ class URI(BaseModel):
|
|||
"""The domain of the record."""
|
||||
|
||||
|
||||
RecordCreateResponse = Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
RecordCreateResponse = Annotated[
|
||||
Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
],
|
||||
PropertyInfo(discriminator="type"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
from typing import List, Union, Optional
|
||||
from datetime import datetime
|
||||
from typing_extensions import Literal
|
||||
from typing_extensions import Literal, Annotated
|
||||
|
||||
from ..._utils import PropertyInfo
|
||||
from ..._models import BaseModel
|
||||
|
||||
__all__ = [
|
||||
|
|
@ -1659,6 +1660,9 @@ class URI(BaseModel):
|
|||
"""The domain of the record."""
|
||||
|
||||
|
||||
RecordEditResponse = Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
RecordEditResponse = Annotated[
|
||||
Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
],
|
||||
PropertyInfo(discriminator="type"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
from typing import List, Union, Optional
|
||||
from datetime import datetime
|
||||
from typing_extensions import Literal
|
||||
from typing_extensions import Literal, Annotated
|
||||
|
||||
from ..._utils import PropertyInfo
|
||||
from ..._models import BaseModel
|
||||
|
||||
__all__ = [
|
||||
|
|
@ -1659,6 +1660,9 @@ class URI(BaseModel):
|
|||
"""The domain of the record."""
|
||||
|
||||
|
||||
RecordGetResponse = Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
RecordGetResponse = Annotated[
|
||||
Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
],
|
||||
PropertyInfo(discriminator="type"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
from typing import List, Union, Optional
|
||||
from datetime import datetime
|
||||
from typing_extensions import Literal
|
||||
from typing_extensions import Literal, Annotated
|
||||
|
||||
from ..._utils import PropertyInfo
|
||||
from ..._models import BaseModel
|
||||
|
||||
__all__ = [
|
||||
|
|
@ -1659,6 +1660,9 @@ class URI(BaseModel):
|
|||
"""The domain of the record."""
|
||||
|
||||
|
||||
RecordListResponse = Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
RecordListResponse = Annotated[
|
||||
Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
],
|
||||
PropertyInfo(discriminator="type"),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -2,8 +2,9 @@
|
|||
|
||||
from typing import List, Union, Optional
|
||||
from datetime import datetime
|
||||
from typing_extensions import Literal
|
||||
from typing_extensions import Literal, Annotated
|
||||
|
||||
from ..._utils import PropertyInfo
|
||||
from ..._models import BaseModel
|
||||
|
||||
__all__ = [
|
||||
|
|
@ -1659,6 +1660,9 @@ class URI(BaseModel):
|
|||
"""The domain of the record."""
|
||||
|
||||
|
||||
RecordUpdateResponse = Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
RecordUpdateResponse = Annotated[
|
||||
Union[
|
||||
A, AAAA, CAA, Cert, CNAME, DNSKEY, DS, HTTPS, LOC, MX, NAPTR, NS, PTR, Smimea, SRV, SSHFP, SVCB, TLSA, TXT, URI
|
||||
],
|
||||
PropertyInfo(discriminator="type"),
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue