1
1
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
3
- from typing import Optional
3
+ from typing import List , Optional
4
4
from typing_extensions import Literal
5
5
6
+ from .ttl import TTL
6
7
from ..._models import BaseModel
8
+ from .record_tags import RecordTags
7
9
8
10
__all__ = ["CERTRecord" , "Data" ]
9
11
@@ -23,11 +25,36 @@ class Data(BaseModel):
23
25
24
26
25
27
class CERTRecord (BaseModel ):
28
+ comment : Optional [str ] = None
29
+ """Comments or notes about the DNS record.
30
+
31
+ This field has no effect on DNS responses.
32
+ """
33
+
26
34
content : Optional [str ] = None
27
35
"""Formatted CERT content. See 'data' to set CERT properties."""
28
36
29
37
data : Optional [Data ] = None
30
38
"""Components of a CERT record."""
31
39
40
+ name : Optional [str ] = None
41
+ """DNS record name (or @ for the zone apex) in Punycode."""
42
+
43
+ proxied : Optional [bool ] = None
44
+ """
45
+ Whether the record is receiving the performance and security benefits of
46
+ Cloudflare.
47
+ """
48
+
49
+ tags : Optional [List [RecordTags ]] = None
50
+ """Custom tags for the DNS record. This field has no effect on DNS responses."""
51
+
52
+ ttl : Optional [TTL ] = None
53
+ """Time To Live (TTL) of the DNS record in seconds.
54
+
55
+ Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the
56
+ minimum reduced to 30 for Enterprise zones.
57
+ """
58
+
32
59
type : Optional [Literal ["CERT" ]] = None
33
60
"""Record type."""
0 commit comments